@@ -103,25 +103,26 @@ type tagsConfig struct {
103
103
}
104
104
105
105
type carbonserverConfig struct {
106
- Listen string `toml:"listen"`
107
- Enabled bool `toml:"enabled"`
108
- ReadTimeout * Duration `toml:"read-timeout"`
109
- IdleTimeout * Duration `toml:"idle-timeout"`
110
- WriteTimeout * Duration `toml:"write-timeout"`
111
- RequestTimeout * Duration `toml:"request-timeout"`
112
- ScanFrequency * Duration `toml:"scan-frequency"`
113
- QueryCacheEnabled bool `toml:"query-cache-enabled"`
114
- QueryCacheSizeMB int `toml:"query-cache-size-mb"`
115
- FindCacheEnabled bool `toml:"find-cache-enabled"`
116
- Buckets int `toml:"buckets"`
117
- MaxGlobs int `toml:"max-globs"`
118
- FailOnMaxGlobs bool `toml:"fail-on-max-globs"`
119
- EmptyResultOk bool `toml:"empty-result-ok"`
120
- MetricsAsCounters bool `toml:"metrics-as-counters"`
121
- TrigramIndex bool `toml:"trigram-index"`
122
- InternalStatsDir string `toml:"internal-stats-dir"`
123
- Percentiles []int `toml:"stats-percentiles"`
124
- CacheScan bool `toml:"cache-scan"`
106
+ Listen string `toml:"listen"`
107
+ Enabled bool `toml:"enabled"`
108
+ Grpc grpcConfig `toml:"grpc"`
109
+ ReadTimeout * Duration `toml:"read-timeout"`
110
+ IdleTimeout * Duration `toml:"idle-timeout"`
111
+ WriteTimeout * Duration `toml:"write-timeout"`
112
+ RequestTimeout * Duration `toml:"request-timeout"`
113
+ ScanFrequency * Duration `toml:"scan-frequency"`
114
+ QueryCacheEnabled bool `toml:"query-cache-enabled"`
115
+ QueryCacheSizeMB int `toml:"query-cache-size-mb"`
116
+ FindCacheEnabled bool `toml:"find-cache-enabled"`
117
+ Buckets int `toml:"buckets"`
118
+ MaxGlobs int `toml:"max-globs"`
119
+ FailOnMaxGlobs bool `toml:"fail-on-max-globs"`
120
+ EmptyResultOk bool `toml:"empty-result-ok"`
121
+ MetricsAsCounters bool `toml:"metrics-as-counters"`
122
+ TrigramIndex bool `toml:"trigram-index"`
123
+ InternalStatsDir string `toml:"internal-stats-dir"`
124
+ Percentiles []int `toml:"stats-percentiles"`
125
+ CacheScan bool `toml:"cache-scan"`
125
126
126
127
MaxMetricsGlobbed int `toml:"max-metrics-globbed"`
127
128
MaxMetricsRendered int `toml:"max-metrics-rendered"`
0 commit comments