Skip to main content
Version: nightly

Migrate from Prometheus

GreptimeDB can be used to store time series data for Prometheus. Additionally, GreptimeDB supports the Prometheus query language via its HTTP API. This allows for an easy migration of your Prometheus long-term storage to GreptimeDB.

Data model in difference

To understand the differences between the data models of Prometheus and GreptimeDB, please refer to the Data Model in the Ingest Data documentation.

Prometheus Remote Write

For information on configuring Prometheus to write data to GreptimeDB, please refer to the remote write documentation.

Prometheus HTTP API and PromQL

GreptimeDB supports the Prometheus query language (PromQL) via its HTTP API.

For detailed information on querying data in GreptimeDB using Prometheus query language, please refer to the HTTP API section in the PromQL documentation.

Visualize data using Grafana

For developers accustomed to using Grafana for visualizing Prometheus data, you can continue to use the same Grafana dashboards to visualize data stored in GreptimeDB.

To add GreptimeDB as a Prometheus data source in Grafana, please refer to the Grafana documentation.

Reference

For tutorials and user stories on integrating GreptimeDB with Prometheus, please refer to the following blog posts: