fix type
This commit is contained in:
parent
8901d81c7f
commit
573d70fc37
|
@ -32,13 +32,13 @@ type OrclInstance struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type MetricConfig struct {
|
type MetricConfig struct {
|
||||||
Mesurement string `toml:"mesurement"`
|
Mesurement string `toml:"mesurement"`
|
||||||
LabelFields []string `toml:"label_fields"`
|
LabelFields []string `toml:"label_fields"`
|
||||||
MetricFields map[string]string `toml:"metric_fields"` // column_name -> value type(float64, bool, int64)
|
MetricFields []string `toml:"metric_fields"` // column_name -> value type(float64, bool, int64)
|
||||||
FieldToAppend string `toml:"field_to_append"`
|
FieldToAppend string `toml:"field_to_append"`
|
||||||
Timeout config.Duration `toml:"timeout"`
|
Timeout config.Duration `toml:"timeout"`
|
||||||
Request string `toml:"request"`
|
Request string `toml:"request"`
|
||||||
IgnoreZeroResult bool `toml:"ignore_zero_result"`
|
IgnoreZeroResult bool `toml:"ignore_zero_result"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type Oracle struct {
|
type Oracle struct {
|
||||||
|
|
Loading…
Reference in New Issue