comment default WriteRelabels
This commit is contained in:
parent
454dc7f983
commit
f34c3c6a2c
|
@ -190,12 +190,12 @@ KeepAlive = 30000
|
||||||
MaxConnsPerHost = 0
|
MaxConnsPerHost = 0
|
||||||
MaxIdleConns = 100
|
MaxIdleConns = 100
|
||||||
MaxIdleConnsPerHost = 100
|
MaxIdleConnsPerHost = 100
|
||||||
[[Writers.WriteRelabels]]
|
# [[Writers.WriteRelabels]]
|
||||||
Action = "replace"
|
# Action = "replace"
|
||||||
SourceLabels = ["__address__"]
|
# SourceLabels = ["__address__"]
|
||||||
Regex = "([^:]+)(?::\\d+)?"
|
# Regex = "([^:]+)(?::\\d+)?"
|
||||||
Replacement = "$1:80"
|
# Replacement = "$1:80"
|
||||||
TargetLabel = "__address__"
|
# TargetLabel = "__address__"
|
||||||
|
|
||||||
# [[Writers]]
|
# [[Writers]]
|
||||||
# Url = "http://127.0.0.1:7201/api/v1/prom/remote/write"
|
# Url = "http://127.0.0.1:7201/api/v1/prom/remote/write"
|
||||||
|
|
Loading…
Reference in New Issue