mirror of
https://github.com/openziti/zrok.git
synced 2024-11-22 16:13:47 +01:00
metrics config infrastructure (#74)
This commit is contained in:
parent
01f056784a
commit
9d78e8e942
@ -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
12
controller/metrics.go
Normal file
@ -0,0 +1,12 @@
|
||||
package controller
|
||||
|
||||
type MetricsConfig struct {
|
||||
Influx *InfluxConfig
|
||||
}
|
||||
|
||||
type InfluxConfig struct {
|
||||
Url string
|
||||
Bucket string
|
||||
Org string
|
||||
Token string
|
||||
}
|
Loading…
Reference in New Issue
Block a user