EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit 5f489b25 authored by Nicolas Baudoin's avatar Nicolas Baudoin
Browse files

Adding the haproxy prometheus exporter

parent 75627079
No related branches found
No related tags found
No related merge requests found
......@@ -246,6 +246,19 @@ scrape_configs:
- 'gitlab-rails.{{datacenter_url}}'
type: 'SRV'
### haproxy
- job_name: haproxy.{{datacenter_url}}
metrics_path: /haproxy_metrics
scheme: https
tls_config:
ca_file: '/etc/ssl/prometheus_client/root.ca.crt'
cert_file: '/etc/ssl/prometheus_client/{{fqdn}}.crt'
key_file: '/etc/ssl/prometheus_client/{{fqdn}}.key'
dns_sd_configs:
- names:
- 'haproxy.{{datacenter_url}}'
type: 'SRV'
{% if (prometheus_peers is defined) and (fqdn in prometheus_peers) %}
- job_name: 'prometheus_servers'
scheme: https
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment