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.
26 lines
463 B
Plaintext
26 lines
463 B
Plaintext
---
|
|
extends: default
|
|
ignore: |
|
|
**/node_modules
|
|
|
|
rules:
|
|
braces:
|
|
max-spaces-inside: 1
|
|
level: error
|
|
brackets:
|
|
max-spaces-inside: 1
|
|
level: error
|
|
commas: disable
|
|
comments: disable
|
|
comments-indentation: disable
|
|
document-start: disable
|
|
indentation:
|
|
spaces: consistent
|
|
indent-sequences: consistent
|
|
key-duplicates:
|
|
ignore: |
|
|
config/testdata/section_key_dup.bad.yml
|
|
line-length: disable
|
|
truthy:
|
|
check-keys: false
|