Commit de1b5f25 authored by S M Y's avatar S M Y
Browse files

Fixed docker not running issue

Showing with 0 additions and 11 deletions
+0 -11
......@@ -49,17 +49,6 @@ 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 %}
- job_name: 'nginx'
metrics_path: /metrics
scrape_interval: 10s
......
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