Commit 1c3f6427 authored by Hamdi Allam's avatar Hamdi Allam

interval_failures name

parent 2abe032c
...@@ -51,10 +51,10 @@ func NewMetrics(registry *prometheus.Registry, subsystem string) Metricer { ...@@ -51,10 +51,10 @@ func NewMetrics(registry *prometheus.Registry, subsystem string) Metricer {
intervalFailures: factory.NewCounter(prometheus.CounterOpts{ intervalFailures: factory.NewCounter(prometheus.CounterOpts{
Namespace: MetricsNamespace, Namespace: MetricsNamespace,
Subsystem: subsystem, Subsystem: subsystem,
Name: "failures_total", Name: "interval_failures_total",
Help: "number of times the etl encountered a failure during the processing loop", Help: "number of times the etl encountered a failure during the processing loop",
}), }),
latestHeight: factory.NewCounter(prometheus.CounterOpts{ latestHeight: factory.NewGauge(prometheus.GaugeOpts{
Namespace: MetricsNamespace, Namespace: MetricsNamespace,
Subsystem: subsystem, Subsystem: subsystem,
Name: "latest_height", Name: "latest_height",
......
...@@ -83,7 +83,7 @@ func NewMetrics(registry *prometheus.Registry) Metricer { ...@@ -83,7 +83,7 @@ func NewMetrics(registry *prometheus.Registry) Metricer {
}), }),
intervalFailures: factory.NewCounter(prometheus.CounterOpts{ intervalFailures: factory.NewCounter(prometheus.CounterOpts{
Namespace: MetricsNamespace, Namespace: MetricsNamespace,
Name: "failures_total", Name: "interval_failures_total",
Help: "number of failures encountered", Help: "number of failures encountered",
}), }),
latestL1Height: factory.NewGauge(prometheus.GaugeOpts{ latestL1Height: factory.NewGauge(prometheus.GaugeOpts{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment