grafana/pkg/promlib
Tobias Skarhed eb16fa1642
Scopes: Generate new field for default parent node (#108666)
* Generate new field for default parent node

* Update ScopeSpec with defaultPath and fix list types. Remove unused field

* Update frontend types

* Fix some errors

* ScopesSelector: Update zod types for spec schema

* Promlib: Update Scopes schema

---------

Co-authored-by: Matheus Macabu <macabu.matheus@gmail.com>
2025-09-26 12:02:45 +02:00
..
client
converter Prometheus: Fix interpolating minStep for range queries when incremental querying enabled (#107715) 2025-07-15 08:37:43 +02:00
instrumentation
intervalv2
middleware
models Scopes: Generate new field for default parent node (#108666) 2025-09-26 12:02:45 +02:00
querydata Prometheus: Fix interpolating minStep for range queries when incremental querying enabled (#107715) 2025-07-15 08:37:43 +02:00
resource
testdata Prometheus: Fix interpolating minStep for range queries when incremental querying enabled (#107715) 2025-07-15 08:37:43 +02:00
utils
README.md
admission_handler.go
admission_handler_test.go
conversion_handler.go
go.mod App sdk: Update to v0.45.0 (#111222) 2025-09-17 09:03:30 +03:00
go.sum App sdk: Update to v0.45.0 (#111222) 2025-09-17 09:03:30 +03: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.