Allow prometheus metrics collection

This patch adds a METRICS_ENABLED configuration variables which,
when switched on, defines a metrics entrypoint and enables the
built-in prometheus metrics exporter. This allows the monitoring
stack to collect and show traefik metrics
This commit is contained in:
2021-08-09 23:28:15 +00:00
parent 9e123afb07
commit fc5aa70d27
3 changed files with 19 additions and 1 deletions

View File

@ -1,3 +1,3 @@
export TRAEFIK_YML_VERSION=v11
export TRAEFIK_YML_VERSION=v12
export FILE_PROVIDER_YML_VERSION=v2
export ENTRYPOINT_VERSION=v2