Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cortexproject/cortex
/ buildMetricsOptions
Function
buildMetricsOptions
integration/e2e/metrics_options.go:52–58 ·
view source on GitHub ↗
(opts []MetricsOption)
Source
from the content-addressed store, hash-verified
50
}
51
52
func
buildMetricsOptions(opts []MetricsOption) MetricsOptions {
53
result := DefaultMetricsOptions
54
for
_, opt :=
range
opts {
55
opt(&result)
56
}
57
return
result
58
}
Callers
4
WaitSumMetricsWithOptions
Method · 0.85
WaitSumMetricsWithOptions
Method · 0.85
SumMetrics
Method · 0.85
WaitRemovedMetric
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected