zrok/controller/metrics/config.go

18 lines
237 B
Go
Raw Normal View History

2023-03-03 19:31:57 +01:00
package metrics
type Config struct {
2023-03-15 21:14:06 +01:00
Influx *InfluxConfig
Agent *AgentConfig
}
type AgentConfig struct {
Source interface{}
}
type InfluxConfig struct {
Url string
Bucket string
Org string
Token string `cf:"+secret"`
2023-03-03 19:31:57 +01:00
}