diff options
author | Alex Auvolat <alex@adnab.me> | 2022-12-06 14:41:53 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-12-06 14:41:53 +0100 |
commit | 6036f5a1b7f648cbd84dd4f698811d8aa0e2dd50 (patch) | |
tree | fde129edfd1d2e1e7a8358e4bee58186b7edab53 /cluster/prod/app/telemetry/config | |
parent | e1ddb2d1d37a404d1fb33e65ea935212e91cf40a (diff) | |
download | nixcfg-6036f5a1b7f648cbd84dd4f698811d8aa0e2dd50.tar.gz nixcfg-6036f5a1b7f648cbd84dd4f698811d8aa0e2dd50.zip |
deploy tricot metrics on production
Diffstat (limited to 'cluster/prod/app/telemetry/config')
-rw-r--r-- | cluster/prod/app/telemetry/config/prometheus.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cluster/prod/app/telemetry/config/prometheus.yml b/cluster/prod/app/telemetry/config/prometheus.yml index a52b64d..6525513 100644 --- a/cluster/prod/app/telemetry/config/prometheus.yml +++ b/cluster/prod/app/telemetry/config/prometheus.yml @@ -16,6 +16,16 @@ scrape_configs: cert_file: /etc/prometheus/consul-client.crt key_file: /etc/prometheus/consul-client.key + - job_name: 'tricot' + consul_sd_configs: + - server: 'https://localhost:8501' + services: + - 'tricot-metrics' + tls_config: + ca_file: /etc/prometheus/consul.crt + cert_file: /etc/prometheus/consul-client.crt + key_file: /etc/prometheus/consul-client.key + - job_name: 'garage' authorization: type: Bearer |