Skip to content
Extraits de code Groupes Projets
Non vérifiée Valider c80c50c9 rédigé par Sorunome's avatar Sorunome
Parcourir les fichiers

Merge branch 'j94/metrics-config' of...

Merge branch 'j94/metrics-config' of https://github.com/jaller94/matrix-appservice-discord into develop
parents 08033760 95a118dc
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -104,3 +104,8 @@ ghosts: ...@@ -104,3 +104,8 @@ ghosts:
nickPattern: ":nick" nickPattern: ":nick"
# Pattern for the ghosts username, available is :username, :tag and :id # Pattern for the ghosts username, available is :username, :tag and :id
usernamePattern: ":username#:tag" usernamePattern: ":username#:tag"
# Prometheus-compatible metrics endpoint
metrics:
enabled: false
port: 9001
host: "127.0.0.1"
\ No newline at end of file
...@@ -124,3 +124,12 @@ properties: ...@@ -124,3 +124,12 @@ properties:
type: "string" type: "string"
usernamePattern: usernamePattern:
type: "string" type: "string"
metrics:
type: "object"
properties:
enabled:
type: "boolean"
port:
type: "number"
host:
type: "string"
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter