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
9090// GoRuntimeMetricsRule allow enabling and configuring particular group of runtime/metrics.
9191// TODO(bwplotka): Consider adding ability to adjust buckets.
9292type 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
9494 // Use `regexp.MustCompile` or `regexp.Compile` to create this field.
9595 Matcher * regexp.Regexp
9696}
9797
9898// 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!).
100100// You can use this option in repeated manner, which will add new rules. The order of rules is important, the last rule
101101// that matches particular metrics is applied.
102102func WithGoCollectorRuntimeMetrics (rules ... GoRuntimeMetricsRule ) func (options * internal.GoCollectorOptions ) {
You can’t perform that action at this time.
0 commit comments