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

Function createMetrics

coderd/notifications/utils_test.go:70–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68}
69
70func createMetrics() *notifications.Metrics {
71 return notifications.NewMetrics(prometheus.NewRegistry())
72}
73
74type dispatchInterceptor struct {
75 handler notifications.Handler

Callers 15

TestSMTPDispatchFunction · 0.85
TestWebhookDispatchFunction · 0.85
TestBackpressureFunction · 0.85
TestRetriesFunction · 0.85
TestInvalidConfigFunction · 0.85
TestNotifierPausedFunction · 0.85
TestDisabledAfterEnqueueFunction · 0.85

Calls 1

NewMetricsFunction · 0.92

Tested by

no test coverage detected