diff options
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 |