BIENVENUE10valid for the first month only! on all offersView plans
Skip to content
← Knowledge base

Use managed Prometheus (metrics)

Access Prometheus, configure remote_write from your services, basic PromQL queries.

Use managed Prometheus

Prometheus collects and stores your metrics. The instance is managed and pre-configured to be queried by Grafana.

1. Access

  • Prometheus UI: available from the panel (service tab) or via Grafana (Prometheus datasource pre-wired).
  • The remote write endpoint (/api/v1/write) and auth token are in the panel.

2. Send metrics (remote_write)

Point your exporters/services to push to the onesubnet endpoint:

remote_write:
  - url: "https://<host>/api/v1/write"
    bearer_token: "<token>"

Restart your exporters so they push their metrics.

3. PromQL — common queries

node_cpu_seconds_total{mode="idle"}            # CPU
rate(http_requests_total[5m])                  # request rate
sum by (job) (rate(http_requests_total[5m]))   # by job
histogram_quantile(0.95, rate(http_duration_seconds_bucket[5m]))  # p95
up                                            # target health

4. Grafana

In Grafana, add/edit a Prometheus datasource pointing to your instance (URL from the panel). Your dashboards can then query these metrics.

References

Related products

oneSubnet

French hosting provider in Paris. High-performance game and voice servers.

SERVICES

Resources

LEGAL

All systems operational