Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support setting veneur_metrics_scopes via environment variables #783

Open
jonasschmidt opened this issue May 4, 2020 · 0 comments
Open

Comments

@jonasschmidt
Copy link

Hey,

I did not find a way to set veneur_metrics_scopes via environment variables. After digging a bit through the https://github.com/kelseyhightower/envconfig documentation, I don't see how that would be possible with how the corresponding Veneur config is structured here:

veneur/config.go

Lines 112 to 118 in 00be4dd

VeneurMetricsScopes struct {
Counter string `yaml:"counter"`
Gauge string `yaml:"gauge"`
Histogram string `yaml:"histogram"`
Set string `yaml:"set"`
Status string `yaml:"status"`
} `yaml:"veneur_metrics_scopes"`

I tried VENEUR_VENEURMETRICSSCOPES="counter:local,gauge:local,histogram:local,set:local,status:local" and VENEUR_VENEURMETRICSSCOPES_COUNTER="local" but there seems to be no effect on where internal metrics are sent.

Maybe I'm missing something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant