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 9fb20efea9
Chore: Bump Go version to 1.24.3 (#105098)
2 weeks ago
..
client Prometheus: Fix passing query timeout to upstream queries (#95104) 7 months ago
converter Chore: Remove dataplane as option from prom converter (#102320) 2 months ago
instrumentation Plugins: Enhanced plugin instrumentation (#90199) 11 months ago
intervalv2
middleware
models Chore: bump grafana-plugin-sdk-go from v0.275.0 to v0.277.0 (#103971) 1 month ago
querydata Prometheus: Remove prometheusRunQueriesInParallel feature toggle (#103824) 1 month ago
resource PromLib: Take AdHoc filters into account when requesting suggestions without label (#101555) 3 months ago
testdata Prometheus: Remove prometheusRunQueriesInParallel feature toggle (#103824) 1 month ago
utils
README.md Chore: Bump promlib v0.0.4 (#84882) 1 year ago
admission_handler.go Plugins: Add support for ResourceConversion (#91977) 9 months ago
admission_handler_test.go chore: add unit tests for admission handler (#104650) 2 weeks ago
conversion_handler.go Plugins: Add support for ResourceConversion (#91977) 9 months ago
go.mod Chore: Bump Go version to 1.24.3 (#105098) 2 weeks ago
go.sum Chore: bump grafana-plugin-sdk-go from v0.275.0 to v0.277.0 (#103971) 1 month ago
healthcheck.go Prometheus: Create jsonschema spec (#85077) 1 year ago
healthcheck_test.go Prometheus: Remove prometheusRunQueriesInParallel feature toggle (#103824) 1 month ago
heuristics.go Chore: Promlib allows extendOptions to be nil (#84463) 1 year ago
heuristics_test.go Prometheus: Reintroduce Azure audience override feature flag (#90339) 10 months ago
library.go Prometheus: Read feature toggles once when creating plugin instance (#102131) 2 months ago
library_test.go Prometheus: Add resource for suggestions that include scopes/adhoc filters (#94001) 8 months 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.