---
type: api
title: Prometheus
description: The Prometheus Query Language (PromQL) is a functional query language to select and aggregate metrics. Elasticsearch supports PromQL through a Prometheus-compatible HTTP API for Prometheus-compatible clients.
url: https://www.elastic.co/elastic/docs-builder/docs/4850/api/doc/elasticsearch/v9/group/endpoint-prometheus
resource: https://www.elastic.co/elastic/docs-builder/docs/4850/api/doc/elasticsearch/v9/group/endpoint-prometheus
products:
  - Elasticsearch
---

# Prometheus

`prometheus`

The Prometheus Query Language (PromQL) is a functional query language to select and aggregate metrics. Elasticsearch supports PromQL through a Prometheus-compatible HTTP API for Prometheus-compatible clients.

[Learn more about PromQL in Elasticsearch.](https://www.elastic.co/docs/reference/query-languages/promql)

- [Get Prometheus build information](https://www.elastic.co/elastic/docs-builder/docs/4850/api/doc/elasticsearch/v9/operation/operation-prometheus-status-buildinfo): `GET` `/_prometheus/{index}/api/v1/status/buildinfo`, `GET` `/_prometheus/api/v1/status/buildinfo`
