Commit f031b477 authored by S M Y's avatar S M Y Committed by rjshrjndrn
Browse files

Removing docker metrics as not monitoring it

Showing with 10 additions and 10 deletions
+10 -10
......@@ -53,16 +53,16 @@ scrape_configs:
type: 'A'
port: 9093
{% if enable_scraping_docker_metrics %}
# This empty line ensures indentation is correct after ansible jinja2 template is materialized
- job_name: 'docker'
static_configs:
- targets: ["{{ groups['swarm-manager'] | map('regex_replace', '^(.*)$', '\\1:' + docker_metrics_port ) | list | join("\", \"") }}"]
metric_relabel_configs:
- source_labels: [__name__]
regex: 'grpc_.*'
action: drop
{% endif %}
# {% if enable_scraping_docker_metrics %}
# # This empty line ensures indentation is correct after ansible jinja2 template is materialized
# - job_name: 'docker'
# static_configs:
# - targets: ["{{ groups['swarm-manager'] | map('regex_replace', '^(.*)$', '\\1:' + docker_metrics_port ) | list | join("\", \"") }}"]
# metric_relabel_configs:
# - source_labels: [__name__]
# regex: 'grpc_.*'
# action: drop
# {% endif %}
- job_name: 'elasticsearch-exporter'
static_configs:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment