Skip to content

Commit 886fafb

Browse files
committed
metrics: add remote label
1 parent 4330fad commit 886fafb

File tree

2 files changed

+219
-223
lines changed

2 files changed

+219
-223
lines changed

internal/web/metrics.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,9 @@ var (
6767
Hostname, _ = os.Hostname()
6868

6969
ConstLabels = map[string]string{
70-
"hostname": Hostname,
70+
"ehco_runner_hostname": Hostname,
7171
}
72+
7273
EhcoAlive = prometheus.NewGauge(prometheus.GaugeOpts{
7374
Namespace: METRIC_NS,
7475
Subsystem: "",

0 commit comments

Comments
 (0)