Instrumentation: Add feature toggle for logging requests instrumented as unknown (#50566)

Signed-off-by: bergquist <carl.bergquist@gmail.com>
This commit is contained in:
Carl Bergquist
2022-06-10 10:56:55 +02:00
committed by GitHub
parent 6a4906ef7e
commit 2d6e69226b
4 changed files with 22 additions and 6 deletions
+5
View File
@@ -237,5 +237,10 @@ var (
State: FeatureStateAlpha,
FrontendOnly: true,
},
{
Name: "logRequestsInstrumentedAsUnknown",
Description: "Logs the path for requests that are instrumented as unknown",
State: FeatureStateAlpha,
},
}
)
+4
View File
@@ -174,4 +174,8 @@ const (
// FlagCloudMonitoringExperimentalUI
// Use grafana-experimental UI in Cloud Monitoring
FlagCloudMonitoringExperimentalUI = "cloudMonitoringExperimentalUI"
// FlagLogRequestsInstrumentedAsUnknown
// Logs the path for requests that are instrumented as unknown
FlagLogRequestsInstrumentedAsUnknown = "logRequestsInstrumentedAsUnknown"
)