mirror of
https://github.com/minio/minio.git
synced 2025-04-22 03:24:38 -04:00
Move /system/go to /debug/go (#19707)
This commit is contained in:
parent
4e5fcca8b9
commit
b2a82248b1
@ -42,7 +42,8 @@ const (
|
|||||||
systemMemoryCollectorPath collectorPath = "/system/memory"
|
systemMemoryCollectorPath collectorPath = "/system/memory"
|
||||||
systemCPUCollectorPath collectorPath = "/system/cpu"
|
systemCPUCollectorPath collectorPath = "/system/cpu"
|
||||||
systemProcessCollectorPath collectorPath = "/system/process"
|
systemProcessCollectorPath collectorPath = "/system/process"
|
||||||
systemGoCollectorPath collectorPath = "/system/go"
|
|
||||||
|
debugGoCollectorPath collectorPath = "/debug/go"
|
||||||
|
|
||||||
clusterHealthCollectorPath collectorPath = "/cluster/health"
|
clusterHealthCollectorPath collectorPath = "/cluster/health"
|
||||||
clusterUsageObjectsCollectorPath collectorPath = "/cluster/usage/objects"
|
clusterUsageObjectsCollectorPath collectorPath = "/cluster/usage/objects"
|
||||||
@ -350,7 +351,7 @@ func newMetricGroups(r *prometheus.Registry) *metricsV3Collection {
|
|||||||
|
|
||||||
// Create all Non-`MetricGroup` collectors here.
|
// Create all Non-`MetricGroup` collectors here.
|
||||||
collectors := map[collectorPath]prometheus.Collector{
|
collectors := map[collectorPath]prometheus.Collector{
|
||||||
systemGoCollectorPath: collectors.NewGoCollector(),
|
debugGoCollectorPath: collectors.NewGoCollector(),
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add all `MetricGroup` collectors to the map.
|
// Add all `MetricGroup` collectors to the map.
|
||||||
|
@ -52,7 +52,15 @@ These are metrics about the minio process and the node.
|
|||||||
| `/system/memory` | Metrics about memory on the system |
|
| `/system/memory` | Metrics about memory on the system |
|
||||||
| `/system/network/internode` | Metrics about internode requests made by the node |
|
| `/system/network/internode` | Metrics about internode requests made by the node |
|
||||||
| `/system/process` | Standard process metrics |
|
| `/system/process` | Standard process metrics |
|
||||||
| `/system/go` | Standard Go lang metrics |
|
| | |
|
||||||
|
|
||||||
|
### Debug metrics
|
||||||
|
|
||||||
|
These are metrics for debugging
|
||||||
|
|
||||||
|
| Path | Description |
|
||||||
|
|-----------------------------|---------------------------------------------------|
|
||||||
|
| `/debug/go` | Standard Go lang metrics |
|
||||||
| | |
|
| | |
|
||||||
|
|
||||||
### Cluster metrics
|
### Cluster metrics
|
||||||
|
Loading…
x
Reference in New Issue
Block a user