prometheus-fastapi-instrumentator icon indicating copy to clipboard operation
prometheus-fastapi-instrumentator copied to clipboard

Project still uses prometheus_multiproc_dir environment variable in lower-case

Open neilferreira opened this issue 3 years ago • 0 comments

To remain consistent with the Prometheus Python client it would be great if the uppercase version of this environment variable is used, as this is likely what people (like myself) would be trying to use based on the Prometheus documentation.

As per https://github.com/prometheus/client_python/releases/tag/v0.10.0

[CHANGE] The prometheus_multiproc_dir environment variable is deprecated in favor of PROMETHEUS_MULTIPROC_DIR. #624 - https://github.com/prometheus/client_python/pull/624

The lowercase version is still used in https://github.com/trallnag/prometheus-fastapi-instrumentator/blob/45d0ba1d03c565f2caca807b7df813e434c90ec8/prometheus_fastapi_instrumentator/instrumentation.py#L257

neilferreira avatar Dec 08 '21 06:12 neilferreira