Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

document how to configure prometheus for workers #7773

Closed
richvdh opened this issue Jul 1, 2020 · 1 comment · Fixed by #8822
Closed

document how to configure prometheus for workers #7773

richvdh opened this issue Jul 1, 2020 · 1 comment · Fixed by #8822
Labels
A-Docs things relating to the documentation Z-Help-Wanted We know exactly how to fix this issue, and would be grateful for any contribution z-p2 (Deprecated Label)

Comments

@richvdh
Copy link
Member

richvdh commented Jul 1, 2020

#7357 talks about setting up the synapse end, but I don't think we have anything for the prometheus end.

@richvdh
Copy link
Member Author

richvdh commented Jul 1, 2020

it should look something like this:

  - job_name: "synapse"
    scrape_interval: 15s
    metrics_path: "/_synapse/metrics"
    static_configs:
      - targets: ["localhost:9092"]
        labels:
          instance: "sw1v.org"
          job: "master"
          index: 1
      - targets: ["localhost:8283"]
        labels:
          instance: "sw1v.org"
          job: "synchrotron"
          index: 1

@babolivier babolivier added A-Docs things relating to the documentation z-p2 (Deprecated Label) Z-Help-Wanted We know exactly how to fix this issue, and would be grateful for any contribution labels Jul 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Docs things relating to the documentation Z-Help-Wanted We know exactly how to fix this issue, and would be grateful for any contribution z-p2 (Deprecated Label)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants