mirror of
https://github.com/retailcrm/mg-transport-core.git
synced 2025-04-05 22:33:33 +03:00
add metric_prefix
field in zabbix config
This commit is contained in:
commit
0dfde8f31c
1 changed files with 5 additions and 4 deletions
|
@ -92,10 +92,11 @@ type HTTPServerConfig struct {
|
|||
|
||||
// ZabbixConfig contains information about Zabbix connection.
|
||||
type ZabbixConfig struct {
|
||||
ServerHost string `yaml:"server_host"`
|
||||
Host string `yaml:"host"`
|
||||
ServerPort int `yaml:"server_port"`
|
||||
Interval uint64 `yaml:"interval"`
|
||||
ServerHost string `yaml:"server_host"`
|
||||
Host string `yaml:"host"`
|
||||
ServerPort int `yaml:"server_port"`
|
||||
MetricPrefix string `yaml:"metric_prefix"`
|
||||
Interval uint64 `yaml:"interval"`
|
||||
}
|
||||
|
||||
// NewConfig reads configuration file and returns config instance
|
||||
|
|
Loading…
Add table
Reference in a new issue