Skip to content

Commit 97bb1ff

Browse files
alvaroalemank8s-infra-cherrypick-robot
authored and
k8s-infra-cherrypick-robot
committed
Revert "[release-0.20] ✨ Expose all Go runtime metrics (#3100)"
This reverts commit fc48583. This change breaks some users.
1 parent 56df553 commit 97bb1ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: pkg/internal/controller/metrics/metrics.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func init() {
8888
ActiveWorkers,
8989
// expose process metrics like CPU, Memory, file descriptor usage etc.
9090
collectors.NewProcessCollector(collectors.ProcessCollectorOpts{}),
91-
// expose all Go runtime metrics like GC stats, memory stats etc.
92-
collectors.NewGoCollector(collectors.WithGoCollectorRuntimeMetrics(collectors.MetricsAll)),
91+
// expose Go runtime metrics like GC stats, memory stats etc.
92+
collectors.NewGoCollector(),
9393
)
9494
}

0 commit comments

Comments
 (0)