Instrumentation: Add histogram for request duration (#28364)

Signed-off-by: bergquist <carl.bergquist@gmail.com>
(cherry picked from commit edbaa9d681)
This commit is contained in:
Carl Bergquist
2020-10-22 12:47:29 +02:00
committed by Arve Knudsen
parent df2fda3f88
commit 08be99fa45
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