3
0
mirror of https://github.com/grafana/grafana.git synced 2025-02-25 18:55:37 -06:00

Prometheus: Turn browser resource cache on by default ()

* turn prometheus browser cache flag on by default
This commit is contained in:
Galen Kistler 2023-07-25 07:39:56 -05:00 committed by GitHub
parent 296e30d620
commit 51847cc797
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions
docs/sources/setup-grafana/configure-grafana/feature-toggles
pkg/services/featuremgmt

View File

@ -37,6 +37,7 @@ Some features are enabled by default. You can disable these feature by setting t
| `lokiQuerySplitting` | Split large interval queries into subqueries with smaller time intervals | Yes |
| `gcomOnlyExternalOrgRoleSync` | Prohibits a user from changing organization roles synced with Grafana Cloud auth provider | |
| `prometheusMetricEncyclopedia` | Adds the metrics explorer component to the Prometheus query builder as an option in metric select | Yes |
| `prometheusResourceBrowserCache` | Displays browser caching options in Prometheus data source configuration | Yes |
| `prometheusDataplane` | Changes responses to from Prometheus to be compliant with the dataplane specification. In particular it sets the numeric Field.Name from 'Value' to the value of the `__name__` label when present. | Yes |
| `lokiMetricDataplane` | Changes metric responses from Loki to be compliant with the dataplane specification. | Yes |
| `dataplaneFrontendFallback` | Support dataplane contract field name change for transformations and field name matchers where the name is different | Yes |
@ -96,7 +97,6 @@ Experimental features might be changed or removed without prior notice.
| `lokiQuerySplittingConfig` | Give users the option to configure split durations for Loki queries |
| `individualCookiePreferences` | Support overriding cookie preferences per user |
| `timeSeriesTable` | Enable time series table transformer & sparkline cell type |
| `prometheusResourceBrowserCache` | Displays browser caching options in Prometheus data source configuration |
| `influxdbBackendMigration` | Query InfluxDB InfluxQL without the proxy |
| `clientTokenRotation` | Replaces the current in-request token rotation so that the client initiates the rotation |
| `lokiLogsDataplane` | Changes logs responses from Loki to be compliant with the dataplane specification. |

View File

@ -340,8 +340,9 @@ var (
{
Name: "prometheusResourceBrowserCache",
Description: "Displays browser caching options in Prometheus data source configuration",
Stage: FeatureStageExperimental,
Stage: FeatureStageGeneralAvailability,
FrontendOnly: true,
Expression: "true", // turned on by default
Owner: grafanaObservabilityMetricsSquad,
},
{

View File

@ -48,7 +48,7 @@ individualCookiePreferences,experimental,@grafana/backend-platform,false,false,f
gcomOnlyExternalOrgRoleSync,GA,@grafana/grafana-authnz-team,false,false,false,false
prometheusMetricEncyclopedia,GA,@grafana/observability-metrics,false,false,false,true
timeSeriesTable,experimental,@grafana/app-o11y,false,false,false,true
prometheusResourceBrowserCache,experimental,@grafana/observability-metrics,false,false,false,true
prometheusResourceBrowserCache,GA,@grafana/observability-metrics,false,false,false,true
influxdbBackendMigration,experimental,@grafana/observability-metrics,false,false,false,true
clientTokenRotation,experimental,@grafana/grafana-authnz-team,false,false,false,false
prometheusDataplane,GA,@grafana/observability-metrics,false,false,false,false

1 Name Stage Owner requiresDevMode RequiresLicense RequiresRestart FrontendOnly
48 gcomOnlyExternalOrgRoleSync GA @grafana/grafana-authnz-team false false false false
49 prometheusMetricEncyclopedia GA @grafana/observability-metrics false false false true
50 timeSeriesTable experimental @grafana/app-o11y false false false true
51 prometheusResourceBrowserCache experimental GA @grafana/observability-metrics false false false true
52 influxdbBackendMigration experimental @grafana/observability-metrics false false false true
53 clientTokenRotation experimental @grafana/grafana-authnz-team false false false false
54 prometheusDataplane GA @grafana/observability-metrics false false false false