EOX GitLab Instance
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
prometheus role
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ansible-public
prometheus role
Commits
80dba6cb
Commit
80dba6cb
authored
9 months ago
by
Nicolas Baudoin
Browse files
Options
Downloads
Patches
Plain Diff
Enabling listening for glrunner metrics and adding exporter
parent
85aff291
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/prometheus.yml.j2
+14
-1
14 additions, 1 deletion
templates/prometheus.yml.j2
with
14 additions
and
1 deletion
templates/prometheus.yml.j2
+
14
−
1
View file @
80dba6cb
...
...
@@ -283,7 +283,20 @@ scrape_configs:
dns_sd_configs:
- names:
- 'patroni.{{datacenter_url}}'
type: 'SRV'
type: 'SRV'
### runner
- job_name: runner.{{datacenter_url}}
metrics_path: /runner_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:
- 'runner.{{datacenter_url}}'
type: 'SRV'
{% if (prometheus_peers is defined) and (fqdn in prometheus_peers) %}
- job_name: 'prometheus_servers'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment