metrics config infrastructure (#74)

This commit is contained in:
Michael Quigley 2022-10-12 12:42:05 -04:00
parent 01f056784a
commit 9d78e8e942
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62
2 changed files with 19 additions and 6 deletions

View File

@ -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 {

12
controller/metrics.go Normal file
View File

@ -0,0 +1,12 @@
package controller
type MetricsConfig struct {
Influx *InfluxConfig
}
type InfluxConfig struct {
Url string
Bucket string
Org string
Token string
}