Instrumentation: Add histogram for request duration (#28364)

Signed-off-by: bergquist <carl.bergquist@gmail.com>
This commit is contained in:
Carl Bergquist
2020-10-20 09:44:38 +02:00
committed by GitHub
parent b036112444
commit edbaa9d681
3 changed files with 48 additions and 23 deletions
+4
View File
@@ -344,6 +344,10 @@ func (c Cfg) IsDatabaseMetricsEnabled() bool {
return c.FeatureToggles["database_metrics"]
}
func (c Cfg) IsHTTPRequestHistogramEnabled() bool {
return c.FeatureToggles["http_request_histogram"]
}
type CommandLineArgs struct {
Config string
HomePath string