Prometheus GraphQL Schema
This directory contains a conceptual GraphQL schema that maps the Prometheus HTTP API to GraphQL types and queries. Prometheus itself exposes a REST/PromQL HTTP API — this schema is a structural representation for tooling, documentation, and integration work, not a deployed GraphQL endpoint.
Overview
Prometheus GraphQL Schema is a GraphQL API specification published by Prometheus on the APIs.io network.
This directory contains a conceptual GraphQL schema that maps the Prometheus HTTP API to GraphQL types and queries. Prometheus itself exposes a REST/PromQL HTTP API — this schema is a structural representation for tooling, documentation, and integration work, not a deployed GraphQL endpoint.
The specification includes 10 reference links.
Tagged areas include Monitoring, Metrics, Observability, Time Series, and Alerting.
Endpoint
References
- HTTP API Reference https://prometheus.io/docs/prometheus/latest/querying/api/
- GitHub https://github.com/prometheus/prometheus
- Prometheus HTTP API https://prometheus.io/docs/prometheus/latest/querying/api/
- PromQL Basics https://prometheus.io/docs/prometheus/latest/querying/basics/
- PromQL Operators https://prometheus.io/docs/prometheus/latest/querying/operators/
- PromQL Functions https://prometheus.io/docs/prometheus/latest/querying/functions/
- Data Model https://prometheus.io/docs/concepts/data_model/
- Metric Types https://prometheus.io/docs/concepts/metric_types/
- Remote Write Spec https://prometheus.io/docs/specs/prw/remote_write_spec_2_0/
- OpenMetrics https://openmetrics.io/