The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/pkg/promlib
Kyle Brandt b89f3f8115
Ad-Hoc Filters & Scopes: don't remap one-of to regex in frontend (#92995)
9 months ago
..
client Prometheus: Prevent duplicate registration of custom header middleware (#84860) 1 year ago
converter Prometheus: Introduce prometheus backend library (#83952) 1 year ago
instrumentation Plugins: Enhanced plugin instrumentation (#90199) 11 months ago
intervalv2 Prometheus: Introduce prometheus backend library (#83952) 1 year ago
middleware Prometheus: Introduce prometheus backend library (#83952) 1 year ago
models Ad-Hoc Filters & Scopes: don't remap one-of to regex in frontend (#92995) 9 months ago
querydata Ensure that datasource apiservers receive and forwards headers (#92304) 9 months ago
resource Prometheus: Introduce prometheus backend library (#83952) 1 year ago
testdata Prometheus/Promlib: Remove the PrometheusDataplane feature so always enabled (#92218) 9 months ago
utils Prometheus: Introduce prometheus backend library (#83952) 1 year ago
README.md Chore: Bump promlib v0.0.4 (#84882) 1 year ago
admission_handler.go Plugins: Add support for ResourceConversion (#91977) 10 months ago
conversion_handler.go Plugins: Add support for ResourceConversion (#91977) 10 months ago
go.mod Chore: Bump grafana-plugin-sdk-go version to v0.247.0 (#93095) 9 months ago
go.sum Chore: Bump grafana-plugin-sdk-go version to v0.247.0 (#93095) 9 months ago
healthcheck.go Prometheus: Create jsonschema spec (#85077) 1 year ago
healthcheck_test.go Chore: Define promlib depguard rules (#85082) 1 year ago
heuristics.go Chore: Promlib allows extendOptions to be nil (#84463) 1 year ago
heuristics_test.go Prometheus: Reintroduce Azure audience override feature flag (#90339) 10 months ago
library.go Prometheus: Reintroduce Azure audience override feature flag (#90339) 10 months ago
library_test.go Prometheus: Reintroduce Azure audience override feature flag (#90339) 10 months ago

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.