Prometheus: Reintroduce Azure audience override feature flag (#90339)
* Re-add feature flag with deprecation note
* Hide the field in frontend if ff disabled
* Block scope overriding if ff is disabled in backend
- Update promlib to forward logger to extendOptions
- Add warning
- Update tests
* Default toggle to true for now
* Update description
* Update prom tests
* Fix lint
(cherry picked from commit 2616366a0a)
# Conflicts:
# packages/grafana-data/src/types/featureToggles.gen.ts
# pkg/services/featuremgmt/registry.go
# pkg/services/featuremgmt/toggles_gen.csv
# pkg/services/featuremgmt/toggles_gen.go
# pkg/services/featuremgmt/toggles_gen.json
# pkg/tsdb/prometheus/prometheus.go
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 examplegit 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
promlibversion ongrafana/grafana- Bumping the version on
grafana/grafanais not necessary asgrafana/grafanais using the local version of it always. - But it is a good practice to do it.
- Bumping the version on