grafana/pkg/promlib
Matheus Macabu 7c94db649a
[release-12.0.6] Go: Update to 1.25.3 (#112364)
Go: Update to 1.25.3
2025-10-14 12:22:15 +02:00
..
client
converter
instrumentation
intervalv2
middleware
models [release-12.0.1] Dependencies: Unpin and bump github.com/getkin/kin-openapi from v0.126.0 to v0.132.0 (#105249) 2025-05-13 12:23:12 +03:00
querydata Prometheus: Remove prometheusRunQueriesInParallel feature toggle (#103824) 2025-04-11 23:11:19 +01:00
resource
testdata Prometheus: Remove prometheusRunQueriesInParallel feature toggle (#103824) 2025-04-11 23:11:19 +01:00
utils
README.md
admission_handler.go
conversion_handler.go
go.mod [release-12.0.6] Go: Update to 1.25.3 (#112364) 2025-10-14 12:22:15 +02:00
go.sum [release-12.0.6] Go: Update to 1.25.2 + golangci-lint v2.5.0 + golang.org/x/net v0.45.0 (#112161) 2025-10-08 14:02:29 +02:00
healthcheck.go
healthcheck_test.go Prometheus: Remove prometheusRunQueriesInParallel feature toggle (#103824) 2025-04-11 23:11:19 +01:00
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.