Actualiser configs/traefik.yml
This commit is contained in:
parent
68a97ba36f
commit
788e10b187
@ -15,6 +15,8 @@ entryPoints:
|
||||
scheme: "https"
|
||||
https:
|
||||
address: ":443"
|
||||
metrics:
|
||||
address: ":8181"
|
||||
|
||||
# Access logs
|
||||
# accessLog: fields:
|
||||
@ -26,7 +28,7 @@ providers:
|
||||
docker:
|
||||
endpoint: "unix:///var/run/docker.sock"
|
||||
exposedByDefault: false
|
||||
network: "interne"
|
||||
# network: "interne"
|
||||
watch: true
|
||||
file:
|
||||
directory: /etc/traefik/dynamic
|
||||
@ -49,9 +51,28 @@ api:
|
||||
log:
|
||||
level: DEBUG
|
||||
filepath: "/var/log/traefik.log"
|
||||
format: json
|
||||
# default: "common"
|
||||
|
||||
accesslog:
|
||||
filepath: "/var/log/access.log"
|
||||
format: json
|
||||
bufferingSize: 100
|
||||
# format: common
|
||||
|
||||
# Ajout de la partie métrique qui concerne Prometheus
|
||||
metrics:
|
||||
prometheus:
|
||||
# Nom du point d'entrée défini au dessus
|
||||
entryPoint: metrics
|
||||
# On configure la latence des métriques
|
||||
buckets:
|
||||
- 0.1
|
||||
- 0.3
|
||||
- 1.2
|
||||
- 5.0
|
||||
# Ajout des métriques sur les points d'entrée
|
||||
addEntryPointsLabels: true
|
||||
# Ajout des services
|
||||
addServicesLabels: true
|
||||
addRoutersLabels: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user