grafana/pkg/promlib
Marcus Efraimsson fbcb9a3677
Chore: Upgrade/fix deps after thema removal (#86763)
* Chore: Upgrade/fix deps after thema removal

* github.com/deepmap/oapi-codegen v1.14.0

* github.com/deepmap/oapi-codegen v1.15.0

* github.com/deepmap/oapi-codegen v1.16.0

* fix for dep used in enterprise

* github.com/deepmap/oapi-codegen/v2 v2.0.0

* oapi-codegen/v2 v2.1.0, kin-openapi v0.122.0, sdk

* keep kin-openapi at v0.122.0 and allow SDK to use v0.124.0

* remove github.com/deepmap/oapi-codegen v1 dep

* fix owner

* add back github.com/deepmap/oapi-codegen v1 dep

* upgrade github.com/influxdata/influxdb-client-go/v2 to get rid of deepmap/oapi-codegen

* migrate to oapi-codegen/runtime

* sdk

* sdk v0.227.0
2024-04-25 20:52:09 +02:00
..
client Prometheus: Prevent duplicate registration of custom header middleware (#84860) 2024-03-20 21:22:33 +02:00
converter Prometheus: Introduce prometheus backend library (#83952) 2024-03-11 17:22:33 +01:00
instrumentation Prometheus: Introduce prometheus backend library (#83952) 2024-03-11 17:22:33 +01: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: (Instrumentation) Add rawExpr (pre-interpolation) to traces (#86449) 2024-04-17 19:53:38 +02:00
querydata Prometheus: (Instrumentation) Add rawExpr (pre-interpolation) to traces (#86449) 2024-04-17 19:53:38 +02:00
resource Prometheus: Introduce prometheus backend library (#83952) 2024-03-11 17:22:33 +01:00
testdata Prometheus: Introduce prometheus backend library (#83952) 2024-03-11 17:22:33 +01:00
utils Prometheus: Introduce prometheus backend library (#83952) 2024-03-11 17:22:33 +01:00
go.mod Chore: Upgrade/fix deps after thema removal (#86763) 2024-04-25 20:52:09 +02:00
go.sum Chore: Upgrade/fix deps after thema removal (#86763) 2024-04-25 20:52:09 +02:00
healthcheck_test.go Chore: Define promlib depguard rules (#85082) 2024-03-25 17:32:56 +01:00
healthcheck.go Prometheus: Create jsonschema spec (#85077) 2024-03-26 16:36:39 +03:00
heuristics_test.go Chore: Promlib allows extendOptions to be nil (#84463) 2024-03-15 13:37:29 +01:00
heuristics.go Chore: Promlib allows extendOptions to be nil (#84463) 2024-03-15 13:37:29 +01:00
library_test.go Chore: Promlib allows extendOptions to be nil (#84463) 2024-03-15 13:37:29 +01:00
library.go Chore: Promlib allows extendOptions to be nil (#84463) 2024-03-15 13:37:29 +01: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.