A
Size: a a a
A
A
View and search for alerts from Prometheus compatible data sources
Alerts for Prometheus compatible data sources are now listed under the Grafana alerts section. You can search for labels across multiple data sources to quickly find relevant alerts.
AS
A
A
A
Cortex - When configuring a Grafana Prometheus data source to point to Cortex, use the legacy /api/prom prefix, not /prometheus. The Prometheus data source supports both Cortex and Prometheus, and Grafana expects that both the Query API and Ruler API are under the same URL. You cannot provide a separate URL for the Ruler API.
A
RK
RK
С&
С&
V
from prometheus_client import Gauge, CollectorRegistry, push_to_gateway, Counter, pushadd_to_gatewayподскажите, где может быть проблема?
labels = ['instance']
label = {'instance': 'node1'}
registry = CollectorRegistry()
g = Gauge(metric_name, 'metric for collecting numpers of processed records', labels, registry=registry)
for i in range(1, m + 1):
g.labels(label['instance']).set(str(i))
push_to_gateway('143.110.235.229:9091', job='new', registry)
С&
RK
AS
RK
AS
A
С&
A