Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2,604 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Prometheus data source for Grafana

Note: This core plugin was extracted from the grafana/grafana repository and is now developed and released from this repository.

Overview

Prometheus is an open-source time series database and alerting system. The Prometheus data source plugin lets Grafana query, visualize, and alert on metrics stored in Prometheus or any Prometheus-compatible backend (for example Grafana Mimir, Cortex, Thanos).

This repository hosts:

  • The plugin frontend — published to npm as @grafana/prometheus and consumed by Grafana core until the plugin is removed from the monorepo.
  • The plugin backend — the promlib Go library under pkg/promlib, consumed by Grafana core via a go.mod replace until the plugin is removed from the monorepo.
  • The standalone plugin binary built from pkg/main.go and pkg/datasource.go, distributed through the Grafana plugin catalog.

Requirements

  • Grafana 12.3.0 or later (see dependencies.grafanaDependency in src/plugin.json).

Getting started

For Grafana versions where Prometheus is still bundled as a core data source, no installation is required.

For detailed setup instructions, see the Prometheus data source documentation.

Issues

Please report bugs and feature requests at grafana/grafana-prometheus-datasource/issues.

Contributing

Follow the Grafana plugin development guide for local development. Run mage -v to build the backend and npm run dev (or npm run build) for the frontend.

License

This plugin is licensed under the AGPL-3.0.

About

Grafana Prometheus datasource

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages