Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
70
func
createMetrics() *notifications.Metrics {
71
return
notifications.NewMetrics(prometheus.NewRegistry())
72
}
73
74
type
dispatchInterceptor
struct
{
75
handler notifications.Handler
Callers
15
TestBasicNotificationRoundtrip
Function · 0.85
TestSMTPDispatch
Function · 0.85
TestWebhookDispatch
Function · 0.85
TestBackpressure
Function · 0.85
TestRetries
Function · 0.85
TestExpiredLeaseIsRequeued
Function · 0.85
TestInvalidConfig
Function · 0.85
TestNotifierPaused
Function · 0.85
TestNotificationTemplates_Golden
Function · 0.85
TestDisabledAfterEnqueue
Function · 0.85
TestCustomNotificationMethod
Function · 0.85
TestNotificationDuplicates
Function · 0.85
Calls
1
NewMetrics
Function · 0.92
Tested by
no test coverage detected