Skip to content
Snippets Groups Projects
Verified Commit 180e80f5 authored by Thorben Günther's avatar Thorben Günther
Browse files

gitlab: Send prometheus metrics to monitoring.al.org

parent 0f1e4f44
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !440. Comments created here will be created in the context of that merge request.
gitlab_backupdir: /srv/gitlab/data/backups
monitoring_domain: "{{ hostvars['monitoring.archlinux.org']['wireguard_address'] }}"
......@@ -97,6 +97,18 @@
]
grafana['enable'] = false
node_exporter['enable'] = false
prometheus['external_labels'] = {
'source' => 'gitlab'
}
prometheus['remote_write'] = [
{
url: 'http://{{ monitoring_domain }}:9090/api/v1/write',
basic_auth: {
username: '{{ vault_prometheus_monitoring_user }}',
password: '{{ vault_prometheus_monitoring_passwd }}'
}
}
]
volumes:
- "/srv/gitlab/config:/etc/gitlab"
- "/srv/gitlab/logs:/var/log/gitlab"
......
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