diff options
author | Alex Auvolat <alex@adnab.me> | 2022-08-30 15:48:10 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-08-30 15:48:32 +0200 |
commit | e81716e41eac813e12824e028ec72c3daeb57588 (patch) | |
tree | 5cdc72edc5a318df605183d5d33cfc7b97dc6247 /cluster/prod/app/telemetry/config | |
parent | b5328c33411382799739fa30e30558c5e6b879cf (diff) | |
download | nixcfg-e81716e41eac813e12824e028ec72c3daeb57588.tar.gz nixcfg-e81716e41eac813e12824e028ec72c3daeb57588.zip |
Update drone config and add drone monitoring to prometheus
Diffstat (limited to 'cluster/prod/app/telemetry/config')
-rw-r--r-- | cluster/prod/app/telemetry/config/prometheus.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/cluster/prod/app/telemetry/config/prometheus.yml b/cluster/prod/app/telemetry/config/prometheus.yml index d30ee13..42d438c 100644 --- a/cluster/prod/app/telemetry/config/prometheus.yml +++ b/cluster/prod/app/telemetry/config/prometheus.yml @@ -28,3 +28,16 @@ scrape_configs: ca_file: /etc/prometheus/consul.crt cert_file: /etc/prometheus/consul-client.crt key_file: /etc/prometheus/consul-client.key + + - job_name: 'drone' + authorization: + type: Bearer + credentials: {{ key "secrets/drone-ci/metrics_token" }} + consul_sd_configs: + - server: 'https://localhost:8501' + services: + - 'drone' + tls_config: + ca_file: /etc/prometheus/consul.crt + cert_file: /etc/prometheus/consul-client.crt + key_file: /etc/prometheus/consul-client.key |