Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #193 from heroku/only-use-l2met-provider-when-not-…
…otel We don't want to run an `l2met` provider by default. With a [prior change](https://github.com/heroku/x/pull/179/files#diff-9692d64d304dc9da6aaa7ad1bac87402306ed56bb5507e9665598bc9e0f7b997L76-R77), that is now the behavior. This PR changes the default behavior so that an `l2met` provider will only be started if OTEL is not enabled. This behavior can be overridden by setting the `METRICS_ENABLE_L2MET_OVERRIDE` env var, in which case, an `l2met` provider will be started regardless of the OTEL settings.
- Loading branch information