grafana/pkg/promlib
2026-02-03 11:07:53 +00:00
..
client Prometheus: Fix passing query timeout to upstream queries (#95104) 2024-10-23 16:16:00 +02:00
converter Prometheus: Fix interpolating minStep for range queries when incremental querying enabled (#107715) 2025-07-15 08:37:43 +02:00
instrumentation Plugins: Enhanced plugin instrumentation (#90199) 2024-07-09 15:03:46 +02:00
intervalv2 Prometheus: Introduce prometheus backend library (#83952) 2024-03-11 17:22:33 +01:00
middleware Prometheus: Introduce prometheus backend library (#83952) 2024-03-11 17:22:33 +01:00
models Prometheus: Revert "Prometheus: Make sure "Min Step" has precedence (#115941)" (#116959) 2026-01-27 11:14:31 -08:00
querydata Prometheus: Revert "Prometheus: Make sure "Min Step" has precedence (#115941)" (#116959) 2026-01-27 11:14:31 -08:00
resource Scopes: Remove all duplicated types for single source of truth (#112100) 2025-10-09 10:56:12 +02:00
testdata Prometheus: Fix interpolating minStep for range queries when incremental querying enabled (#107715) 2025-07-15 08:37:43 +02:00
utils Prometheus: Introduce prometheus backend library (#83952) 2024-03-11 17:22:33 +01:00
admission_handler.go Plugins: Add support for ResourceConversion (#91977) 2024-08-15 16:02:21 -04:00
admission_handler_test.go chore: add unit tests for admission handler (#104650) 2025-05-07 20:06:54 +02:00
conversion_handler.go Plugins: Add support for ResourceConversion (#91977) 2024-08-15 16:02:21 -04:00
go.mod Build: Bump authlib to latest version (#117296) 2026-02-03 11:07:53 +00:00
go.sum Build: Bump authlib to latest version (#117296) 2026-02-03 11:07:53 +00:00
healthcheck.go Prometheus: Create jsonschema spec (#85077) 2024-03-26 16:36:39 +03:00
healthcheck_test.go Prometheus: Remove prometheusRunQueriesInParallel feature toggle (#103824) 2025-04-11 23:11:19 +01:00
heuristics.go Chore: Promlib allows extendOptions to be nil (#84463) 2024-03-15 13:37:29 +01:00
heuristics_test.go Prometheus: Reintroduce Azure audience override feature flag (#90339) 2024-07-17 15:09:55 +01:00
library.go Prometheus: Read feature toggles once when creating plugin instance (#102131) 2025-03-14 13:54:19 +01:00
library_test.go Prometheus: Add resource for suggestions that include scopes/adhoc filters (#94001) 2024-10-01 07:17:59 -04:00
README.md Chore: Bump promlib v0.0.4 (#84882) 2024-03-22 18:28:22 +01:00

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.