mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Metrics: Remove support for using summaries instead of histogram for HTTP instrumentation (#49985)
Signed-off-by: bergquist <carl.bergquist@gmail.com>
This commit is contained in:
@@ -117,11 +117,6 @@ var (
|
||||
State: FeatureStateAlpha,
|
||||
RequiresDevMode: true,
|
||||
},
|
||||
{
|
||||
Name: "disable_http_request_histogram",
|
||||
Description: "Do not create histograms for http requests",
|
||||
State: FeatureStateAlpha,
|
||||
},
|
||||
{
|
||||
Name: "publicDashboards",
|
||||
Description: "enables public access to dashboards",
|
||||
|
||||
@@ -87,10 +87,6 @@ const (
|
||||
// Show feature flags in the settings UI
|
||||
FlagShowFeatureFlagsInUI = "showFeatureFlagsInUI"
|
||||
|
||||
// FlagDisableHttpRequestHistogram
|
||||
// Do not create histograms for http requests
|
||||
FlagDisableHttpRequestHistogram = "disable_http_request_histogram"
|
||||
|
||||
// FlagPublicDashboards
|
||||
// enables public access to dashboards
|
||||
FlagPublicDashboards = "publicDashboards"
|
||||
|
||||
@@ -18,14 +18,13 @@ import (
|
||||
|
||||
func TestFeatureToggleFiles(t *testing.T) {
|
||||
legacyNames := map[string]bool{
|
||||
"httpclientprovider_azure_auth": true,
|
||||
"service-accounts": true,
|
||||
"database_metrics": true,
|
||||
"live-config": true,
|
||||
"live-pipeline": true,
|
||||
"live-service-web-worker": true,
|
||||
"prometheus_azure_auth": true,
|
||||
"disable_http_request_histogram": true,
|
||||
"httpclientprovider_azure_auth": true,
|
||||
"service-accounts": true,
|
||||
"database_metrics": true,
|
||||
"live-config": true,
|
||||
"live-pipeline": true,
|
||||
"live-service-web-worker": true,
|
||||
"prometheus_azure_auth": true,
|
||||
}
|
||||
|
||||
t.Run("verify files", func(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user