storage: add sync querier (#5570)

* storage: add fallback querier

* storage: add sync querier

* storage: add typed querier

* use synced querier
This commit is contained in:
Caleb Doxsey 2025-04-23 10:15:48 -06:00 committed by GitHub
parent e1d84a1dde
commit 8738066ce4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 569 additions and 214 deletions

View file

@ -25,6 +25,10 @@ var (
// RuntimeFlagAddExtraMetricsLabels enables adding extra labels to metrics (host and installation id)
RuntimeFlagAddExtraMetricsLabels = runtimeFlag("add_extra_metrics_labels", true)
// RuntimeFlagAuthorizeUseSyncedData enables synced data for querying the databroker for
// certain types of data.
RuntimeFlagAuthorizeUseSyncedData = runtimeFlag("authorize_use_synced_data", true)
)
// RuntimeFlag is a runtime flag that can flip on/off certain features