Synapse: document how to configure prometheus for workers

Created on 1 Jul 2020  路  1Comment  路  Source: matrix-org/synapse

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

docs help wanted p2

Most helpful comment

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

>All comments

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
Was this page helpful?
0 / 5 - 0 ratings