grafana/pkg/promlib
2024-07-04 10:49:51 +02:00
..
client
converter
instrumentation
intervalv2
middleware
models Scopes: Select scope even without data retrieval (#87988) 2024-05-29 20:09:27 +03:00
querydata Prometheus: (Instrumentation) Add rawExpr (pre-interpolation) to traces (#86449) 2024-04-17 19:53:38 +02:00
resource
testdata
utils
admission_handler.go Chore: fixes for admisison handlers (#90033) 2024-07-04 10:49:51 +02:00
go.mod Chore: Update go.mod go.sum and go.work.sum files (#89992) 2024-07-03 14:08:44 +02:00
go.sum Chore: Update go.mod go.sum and go.work.sum files (#89992) 2024-07-03 14:08:44 +02:00
healthcheck_test.go
healthcheck.go Prometheus: Create jsonschema spec (#85077) 2024-03-26 16:36:39 +03:00
heuristics_test.go
heuristics.go
library_test.go
library.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.