You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per comment, there is a variadic option on func NewGoCollector() prometheus.Collector, so func NewGoCollector(opts...GoOption) prometheus.Collector where GoOption is some func(o *goOptions) and then we can have WithMemStatsEnabled(bool)WithRuntimeMetricsEnabled(bool) and both true by default, which allows to customize metric behaviour.