diff --git a/config/config.sample.yaml b/config/config.sample.yaml index 9f66f8f35ebdd7697fd0fb10b6ce5d8cc095c504..30938c3d665a7ec899bb3bc8f8e3ccd432dd5f35 100644 --- a/config/config.sample.yaml +++ b/config/config.sample.yaml @@ -104,3 +104,8 @@ ghosts: nickPattern: ":nick" # Pattern for the ghosts username, available is :username, :tag and :id usernamePattern: ":username#:tag" +# Prometheus-compatible metrics endpoint +metrics: + enabled: false + port: 9001 + host: "localhost" \ No newline at end of file diff --git a/config/config.schema.yaml b/config/config.schema.yaml index 39427476032e864240785f972383166ecf9da31b..560508e582cad9f167a0a27fd3cba30fa71023e9 100644 --- a/config/config.schema.yaml +++ b/config/config.schema.yaml @@ -124,3 +124,12 @@ properties: type: "string" usernamePattern: type: "string" + metrics: + type: "object" + properties: + enabled: + type: "boolean" + port: + type: "number" + host: + type: "string"