Hi All,
I have just installed Prometheus info below and Grafana on the same host.
I have configured 2 targets one is Docker using cAdvisor the second is the local host.
Grafana was installed and configured and managing collecting data from other sources and i have imported several dashboard to present the Prometheus info.
However I am missing something and I will appreciate any help.
The Grafana dashboard is still empty showing "no data point" for example in one of the dashboard.
For example in a graph for metric lookup for " container_cpu_user_seconds_total" i can get the info from the Prometheus console.
But the dashboard graph for the query sort_desc(sum(rate(container_cpu_user_seconds_total{image!=""}[1m])) by (name)) return no data also from the Prometheus console.
What am I am missing in the configuration or did I missed something in the installation.
Any information suggestion will be highly appreciated.
Thanks,
Zohar.
Version: 1.7.1
GoVersion: go1.8.3
Revision: 3afb3fffa3a29c3de865e1172fb740442e9d0133
Config file:
global:
scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
# scrape_timeout is set to the global default (10s).
# Attach these labels to any time series or alerts when communicating with
# external systems (federation, remote storage, Alertmanager).
external_labels:
monitor: 'prod-monitor'
scrape_configs:
- job_name: 'node'
ec2_sd_configs:
- region: '-SSS-1b'
access_key: XXXXXXX
secret_key: XXXXXXX
port: 9100
- job_name: 'cAdvisor'
static_configs:
- targets: ['10.0.4.70:8080']
scrape_configs:- job_name: 'prometheus'static_configs:- targets: ['localhost:9090']- job_name: 'node-exporter'static_configs:- targets: ['10.0.4.70:8080']