mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-12 16:44:05 -08:00
Change subsystem to "storage" in remote_read_queries gauge
Updated the Prometheus gauge definition for `remote_read_queries` to reflect the correct subsystem ("storage" instead of "api"). Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu> Signed-off-by: Julien <roidelapluie@o11y.eu>
This commit is contained in:
parent
20a5f742e8
commit
01209b384a
|
@ -57,8 +57,8 @@ func NewReadHandler(logger log.Logger, r prometheus.Registerer, queryable storag
|
|||
marshalPool: &sync.Pool{},
|
||||
|
||||
queries: prometheus.NewGauge(prometheus.GaugeOpts{
|
||||
Namespace: "prometheus",
|
||||
Subsystem: "api", // TODO: changes to storage in Prometheus 3.0.
|
||||
Namespace: namespace,
|
||||
Subsystem: "remote_read_handler",
|
||||
Name: "remote_read_queries",
|
||||
Help: "The current number of remote read queries being executed or waiting.",
|
||||
}),
|
||||
|
|
Loading…
Reference in a new issue