mirror of
https://github.com/hanzoai/common.git
synced 2026-10-30 18:44:05 +00:00
Module path renamed github.com/prometheus/common → github.com/hanzoai/common. The only functional patch is config/http_config.go: strip conntrack-based dial-context instrumentation, replace with stdlib net.Dialer. This breaks the transitive chain prometheus/common/config → mwitkow/go-conntrack → prometheus/client_golang/prometheus that was leaking into every consumer of prometheus/common/config (alertmanager notifiers, etc.). Functional impact: HTTP clients built via NewClientFromConfig no longer emit go-conntrack connection-tracking metrics (active/closed counters). The connection count is observable via the underlying http.Transport metrics that luxfi/metric ships, so this is loss-of-observability-zero for callers on the Hanzo/Lux stack.
47 lines
777 B
Plaintext
47 lines
777 B
Plaintext
[
|
|
{
|
|
"baseLabels": {
|
|
"__name__": "rpc_calls_total",
|
|
"job": "batch_job"
|
|
},
|
|
"docstring": "RPC calls.",
|
|
"metric": {
|
|
"type": "counter",
|
|
"value": [
|
|
{
|
|
"labels": {
|
|
"service": "zed"
|
|
},
|
|
"value": 25
|
|
},
|
|
{
|
|
"labels": {
|
|
"service": "bar"
|
|
},
|
|
"value": 24
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"baseLabels": {
|
|
"__name__": "rpc_latency_microseconds"
|
|
},
|
|
"docstring": "RPC latency.",
|
|
"metric": {
|
|
"type": "histogram",
|
|
"value": [
|
|
{
|
|
"labels": {
|
|
"service": "foo"
|
|
},
|
|
"value": {
|
|
"0.010000": 15,
|
|
"0.990000": 17
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|