Table of Go Metrics Exposed by Prometheus under Different Rules
Prometheus golang_client helps to expose go runtime/metrics so you can collect it, and the block below shows a short example.
collectors.WithGoCollectorRuntimeMetrics accepts various rules and prometheus collector package also offers several options.
This page offers a table to show prometheus exposed go runtime metrics naming, and the rules to enable them for reference. It solves 2 painpoints listed below.