File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -132,16 +132,19 @@ type GoCollectionOption uint32
132
132
133
133
const (
134
134
// GoRuntimeMemStatsCollection represents the metrics represented by runtime.MemStats structure.
135
- // Deprecated. Use WithGoCollectorMemStatsMetricsDisabled() function to disable those metrics in the collector.
135
+ //
136
+ // Deprecated: Use WithGoCollectorMemStatsMetricsDisabled() function to disable those metrics in the collector.
136
137
GoRuntimeMemStatsCollection GoCollectionOption = 1 << iota
137
138
// GoRuntimeMetricsCollection is the new set of metrics represented by runtime/metrics package.
138
- // Deprecated. Use WithGoCollectorRuntimeMetrics(GoRuntimeMetricsRule{Matcher: regexp.MustCompile("/.*")})
139
+ //
140
+ // Deprecated: Use WithGoCollectorRuntimeMetrics(GoRuntimeMetricsRule{Matcher: regexp.MustCompile("/.*")})
139
141
// function to enable those metrics in the collector.
140
142
GoRuntimeMetricsCollection
141
143
)
142
144
143
145
// WithGoCollections allows enabling different collections for Go collector on top of base metrics.
144
- // Deprecated. Use WithGoCollectorRuntimeMetrics() and WithGoCollectorMemStatsMetricsDisabled() instead to control metrics.
146
+ //
147
+ // Deprecated: Use WithGoCollectorRuntimeMetrics() and WithGoCollectorMemStatsMetricsDisabled() instead to control metrics.
145
148
func WithGoCollections (flags GoCollectionOption ) func (options * internal.GoCollectorOptions ) {
146
149
return func (options * internal.GoCollectorOptions ) {
147
150
if flags & GoRuntimeMemStatsCollection == 0 {
You can’t perform that action at this time.
0 commit comments