File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -90,13 +90,13 @@ func WithGoCollectorMemStatsMetricsDisabled() func(options *internal.GoCollector
90
90
// GoRuntimeMetricsRule allow enabling and configuring particular group of runtime/metrics.
91
91
// TODO(bwplotka): Consider adding ability to adjust buckets.
92
92
type GoRuntimeMetricsRule struct {
93
- // Matcher represents RE2 expression will match the runtime/metrics from https://golang.bg/src/ runtime/metrics/description.go
93
+ // Matcher represents RE2 expression will match the runtime/metrics from https://pkg.go.dev/ runtime/metrics
94
94
// Use `regexp.MustCompile` or `regexp.Compile` to create this field.
95
95
Matcher * regexp.Regexp
96
96
}
97
97
98
98
// WithGoCollectorRuntimeMetrics allows enabling and configuring particular group of runtime/metrics.
99
- // See the list of metrics https://golang.bg/src/ runtime/metrics/description.go (pick the Go version you use there!).
99
+ // See the list of metrics https://pkg.go.dev/ runtime/metrics (pick the Go version you use there!).
100
100
// You can use this option in repeated manner, which will add new rules. The order of rules is important, the last rule
101
101
// that matches particular metrics is applied.
102
102
func WithGoCollectorRuntimeMetrics (rules ... GoRuntimeMetricsRule ) func (options * internal.GoCollectorOptions ) {
You can’t perform that action at this time.
0 commit comments