diff --git a/controller/config.go b/controller/config.go index adf3bf60..247460d8 100644 --- a/controller/config.go +++ b/controller/config.go @@ -7,12 +7,13 @@ import ( ) type Config struct { - Endpoint *EndpointConfig - Proxy *ProxyConfig - Email *EmailConfig - Registration *RegistrationConfig - Store *store.Config - Ziti *ZitiConfig + Endpoint *EndpointConfig + Proxy *ProxyConfig + Email *EmailConfig + Registration *RegistrationConfig + Store *store.Config + Ziti *ZitiConfig + MetricsConfig *MetricsConfig } type EndpointConfig struct { diff --git a/controller/metrics.go b/controller/metrics.go new file mode 100644 index 00000000..319ac3d2 --- /dev/null +++ b/controller/metrics.go @@ -0,0 +1,12 @@ +package controller + +type MetricsConfig struct { + Influx *InfluxConfig +} + +type InfluxConfig struct { + Url string + Bucket string + Org string + Token string +}