MCPcopy Index your code
hub / github.com/coder/coder / BatchUpsertConnectionLogs

Method BatchUpsertConnectionLogs

coderd/database/querier.go:83–83  ·  view source on GitHub ↗
(ctx context.Context, arg BatchUpsertConnectionLogsParams)

Source from the content-addressed store, hash-verified

81 BatchUpdateWorkspaceLastUsedAt(ctx context.Context, arg BatchUpdateWorkspaceLastUsedAtParams) error
82 BatchUpdateWorkspaceNextStartAt(ctx context.Context, arg BatchUpdateWorkspaceNextStartAtParams) error
83 BatchUpsertConnectionLogs(ctx context.Context, arg BatchUpsertConnectionLogsParams) error
84 BulkMarkNotificationMessagesFailed(ctx context.Context, arg BulkMarkNotificationMessagesFailedParams) (int64, error)
85 BulkMarkNotificationMessagesSent(ctx context.Context, arg BulkMarkNotificationMessagesSentParams) (int64, error)
86 // Calculates the telemetry summary for a given provider, model, and client

Callers 9

TestConnectionLogsMethod · 0.65
ConnectionLogFunction · 0.65
Test_batcherFlushFunction · 0.65
flushMethod · 0.65
retryBatchMethod · 0.65
shutdownBatchMethod · 0.65

Implementers 5

sqlQueriercoderd/database/db.go
queryMetricsStorecoderd/database/dbmetrics/querymetrics
queriercoderd/database/dbauthz/dbauthz.go
MockStorecoderd/database/dbmock/dbmock.go
MockStoreMockRecordercoderd/database/dbmock/dbmock.go

Calls

no outgoing calls

Tested by 3

TestConnectionLogsMethod · 0.52
Test_batcherFlushFunction · 0.52