grafana/pkg/promlib
Dominik Prokop e266c88505 Merge main into feat/faro-tracing-integration-part1
- Sync feature branch with latest main branch changes
- Resolve conflicts in dashboard scene serialization imports
- Include both existing and new profiler functions for compatibility
- Refactor dashboard performance profiling architecture
- Create shared performanceUtils.ts with memory utilities and grouped logging
- Convert observer methods to arrow functions in analytics and logger classes
- Add type-safe performance.memory access with proper TypeScript interfaces
- Standardize performance logging with writePerformanceGroup utilities
- Convert duration logging from strings to numeric values for better analysis
- Fix localStorage usage to use @grafana/data store for consistency
- Update dashboard scene integration to use improved profiling system
2025-10-07 22:28:34 +02:00
..
client Prometheus: Fix passing query timeout to upstream queries (#95104) 2024-10-23 16:16:00 +02:00
converter Prometheus: Fix interpolating minStep for range queries when incremental querying enabled (#107715) 2025-07-15 08:37:43 +02:00
instrumentation Plugins: Enhanced plugin instrumentation (#90199) 2024-07-09 15:03:46 +02:00
intervalv2
middleware
models Merge main into feat/faro-tracing-integration-part1 2025-10-07 22:28:34 +02:00
querydata Merge main into feat/faro-tracing-integration-part1 2025-10-07 22:28:34 +02:00
resource PromLib: Take AdHoc filters into account when requesting suggestions without label (#101555) 2025-03-06 12:21:10 +01:00
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 Plugins: Add support for ResourceConversion (#91977) 2024-08-15 16:02:21 -04:00
admission_handler_test.go chore: add unit tests for admission handler (#104650) 2025-05-07 20:06:54 +02:00
conversion_handler.go Plugins: Add support for ResourceConversion (#91977) 2024-08-15 16:02:21 -04:00
go.mod Merge main into feat/faro-tracing-integration-part1 2025-10-07 22:28:34 +02:00
go.sum Merge main into feat/faro-tracing-integration-part1 2025-10-07 22:28:34 +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 Prometheus: Reintroduce Azure audience override feature flag (#90339) 2024-07-17 15:09:55 +01:00
library.go Prometheus: Read feature toggles once when creating plugin instance (#102131) 2025-03-14 13:54:19 +01:00
library_test.go Prometheus: Add resource for suggestions that include scopes/adhoc filters (#94001) 2024-10-01 07:17:59 -04:00

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.