mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-09-30 14:06:48 +02:00
Add IMGPROXY_PROMETHEUS_NAMESPACE config (#405)
* Add IMGPROXY_PROMETHEUS_NAMESPACE config * Add documentations about IMGPROXY_PROMETHEUS_NAMESPACE Co-authored-by: Alexey Remizov <alexey.remizov@sport24.ru>
This commit is contained in:
@@ -231,7 +231,8 @@ type config struct {
|
||||
NewRelicAppName string
|
||||
NewRelicKey string
|
||||
|
||||
PrometheusBind string
|
||||
PrometheusBind string
|
||||
PrometheusNamespace string
|
||||
|
||||
BugsnagKey string
|
||||
BugsnagStage string
|
||||
@@ -389,6 +390,7 @@ func configure() error {
|
||||
strEnvConfig(&conf.NewRelicKey, "IMGPROXY_NEW_RELIC_KEY")
|
||||
|
||||
strEnvConfig(&conf.PrometheusBind, "IMGPROXY_PROMETHEUS_BIND")
|
||||
strEnvConfig(&conf.PrometheusNamespace, "IMGPROXY_PROMETHEUS_NAMESPACE")
|
||||
|
||||
strEnvConfig(&conf.BugsnagKey, "IMGPROXY_BUGSNAG_KEY")
|
||||
strEnvConfig(&conf.BugsnagStage, "IMGPROXY_BUGSNAG_STAGE")
|
||||
|
Reference in New Issue
Block a user