grafana/pkg/promlib
Mariell Hoversholm cc4a103944
[release-11.4.8] Go: Update to 1.24.6 (#109316)
2025-08-07 10:27:39 +02:00
..
client [v11.3.x] Prometheus: Fix passing query timeout to upstream queries (#95264) 2024-10-23 17:02:18 +02:00
converter
instrumentation
intervalv2
middleware
models
querydata [v11.3.x] Prometheus: Fix passing query timeout to upstream queries (#95264) 2024-10-23 17:02:18 +02:00
resource [v11.3.x] Prometheus: Fix passing query timeout to upstream queries (#95264) 2024-10-23 17:02:18 +02:00
testdata
utils
README.md
admission_handler.go
conversion_handler.go
go.mod [release-11.4.8] Go: Update to 1.24.6 (#109316) 2025-08-07 10:27:39 +02:00
go.sum Chore: Migrate infra to 11.4.8 (#109141) 2025-08-06 10:20:30 -06:00
healthcheck.go
healthcheck_test.go
heuristics.go
heuristics_test.go
library.go
library_test.go

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.