The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/pkg/promlib
Matheus Macabu 2e2e89a816
[release-11.5.6] Dependencies: Bump github.com/openfga/openfga to v1.8.13 to address CVE-2025-48371 (#106118)
7 months ago
..
client Prometheus: Fix passing query timeout to upstream queries (#95104) 1 year ago
converter Plugins: Capture error source from grpc status errors (#97471) 12 months ago
instrumentation Plugins: Enhanced plugin instrumentation (#90199) 1 year ago
intervalv2
middleware
models Scopes: Merge scopes filters with OR condition in case they overlap. (#97276) 1 year ago
querydata Prometheus: Add error source to data response when prom returns a response (#98144) 1 year ago
resource Scopes: Add scopes to metrics explore (#94802) 1 year ago
testdata Prometheus/Promlib: Remove the PrometheusDataplane feature so always enabled (#92218) 1 year ago
utils
README.md Chore: Bump promlib v0.0.4 (#84882) 2 years ago
admission_handler.go Plugins: Add support for ResourceConversion (#91977) 1 year ago
conversion_handler.go Plugins: Add support for ResourceConversion (#91977) 1 year ago
go.mod [release-11.5.6] Dependencies: Bump github.com/openfga/openfga to v1.8.13 to address CVE-2025-48371 (#106118) 7 months ago
go.sum [release-11.5.6] Dependencies: Bump github.com/openfga/openfga to v1.8.13 to address CVE-2025-48371 (#106118) 7 months ago
healthcheck.go Prometheus: Create jsonschema spec (#85077) 2 years ago
healthcheck_test.go Chore: Define promlib depguard rules (#85082) 2 years ago
heuristics.go Chore: Promlib allows extendOptions to be nil (#84463) 2 years ago
heuristics_test.go Prometheus: Reintroduce Azure audience override feature flag (#90339) 1 year ago
library.go Prometheus: Remove unused version-detect endpoint (#98349) 1 year ago
library_test.go Prometheus: Add resource for suggestions that include scopes/adhoc filters (#94001) 1 year ago

README.md

promlib

Prometheus Library (a.k.a. promlib) is the foundation of the Grafana Prometheus data source backend.

How to tag/version?

  • Checkout the commit you want to tag (git checkout <COMMIT_SHA>)
  • Run git tag pkg/promlib/<VERSION> (For example git tag pkg/promlib/v0.0.12)
    • NOTE: We're using Lightweight Tags, so no other options are required
  • Run git push origin pkg/promlib/<VERSION>
  • Verify that the tag was created successfully here
  • DO NOT RELEASE anything! Tagging is enough.
  • After tagging and waiting 5-10 minutes for go module registry to catch up just bump the promlib version on grafana/grafana
    • Bumping the version on grafana/grafana is not necessary as grafana/grafana is using the local version of it always.
    • But it is a good practice to do it.