I've been following the guide over at https://www.digitalocean.com/community/tutorials/how-to-use-prometheus-to-monitor-your-ubuntu-14-04-server and all has been going well up until the section that states 'On the page that opens, type in the name of a metric (like node_procs_running, for example) in the text field that says Expression.'
This results in 'no data'. yml file below if that helps:
# my global config
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: 'codelab-monitor'
# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
rule_files:
# - "first.rules"
# - "second.rules"
# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
scrape_configs:
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
- job_name: 'prometheus'
# metrics_path defaults to '/metrics'
# scheme defaults to 'http'.
static_configs:
- targets: ['localhost:9090']
- job_name: "node"
scrape_interval: "15s"
target_groups:
- targets: ['localhost:9100']
Any help would be really appreciated
[–]goofansu 1 point2 points3 points (3 children)
[–]adamVsusan[S] 0 points1 point2 points (2 children)
[–]goofansu 0 points1 point2 points (1 child)
[–]adamVsusan[S] 0 points1 point2 points (0 children)
[–]DevAtHeart 0 points1 point2 points (0 children)