Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synapse Worker Metrics exposed at wrong path since Traefik migration #3154

Closed
davidmehren opened this issue Feb 3, 2024 · 1 comment
Closed

Comments

@davidmehren
Copy link
Contributor

Describe the bug
The documentation states:

the playbook will also automatically expose all Synapse worker threads' metrics to https://matrix.DOMAIN/metrics/synapse/worker/ID, where ID corresponds to the worker id

But since the migration to Traefik this does not seem to be the case anymore.
The worker containers have labels like
"traefik.http.routers.matrix-synapse-worker-generic-0-metrics.rule": "Host(`matrix.kif.rocks`) && Path(`/metrics/synapse/generic-worker-0`)", which misses the worker subpath.

To Reproduce
My vars.yml file looks like this:

# A bunch of stuff omitted, the relevant settings are:

matrix_synapse_metrics_enabled: true
matrix_synapse_metrics_proxying_enabled: true
matrix_metrics_exposure_enabled: true

matrix_metrics_exposure_http_basic_auth_enabled: true
matrix_metrics_exposure_http_basic_auth_users: <redacted>

Expected behavior
Metrics should be available at the documented place or the documentation should be adjusted and the change announced.

Matrix Server:

  • OS: Debian 12
  • Architecture: amd64
spantaleev added a commit that referenced this issue Feb 3, 2024
@spantaleev
Copy link
Owner

Indeed, it seems to have gotten lost in translation! Thanks for reporting it!

KarolosLykos pushed a commit to KarolosLykos/matrix-docker-ansible-deploy that referenced this issue Mar 5, 2024
KarolosLykos pushed a commit to KarolosLykos/matrix-docker-ansible-deploy that referenced this issue Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants