Enable grpc timing histograms

This enables the grpc timing histograms via a config option as they are
metrics of high cardinality.

This is useful for perf testing and debugging but should not be the
default on production systems unless needed.

```toml
[metrics]
	grpc_histogram = true

```

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby
2018-01-05 15:03:15 -05:00
parent 002c0e2901
commit fd29dbe4c8
2 changed files with 8 additions and 1 deletions

View File

@@ -50,7 +50,8 @@ type Debug struct {
// MetricsConfig provides metrics configuration
type MetricsConfig struct {
Address string `toml:"address"`
Address string `toml:"address"`
GRPCHistogram bool `toml:"grpc_histogram"`
}
// CgroupConfig provides cgroup configuration