# my global config
global:
scrape_interval: 15s
label: titan
scrape_configs:
- job_name: cassandra_titan
static_configs:
- targets:
- 00.0.0.00:7070
- job_name: titan_server
static_configs:
- targets:
- 00.0.0.00:9100
label: cassandra_development
scrape_configs:
- job_name: cassandra_node1
static_configs:
- targets:
- 10.0.0.00:7070
- job_name: cassandra_node2
static_configs:
- targets:
- 00.0.0.00:7070
- job_name: cassandra_node3
static_configs:
- targets:
- 10.0.0.00:7070
I am writing a prometheus.yml file to monitor multiple cassandra nodes. I grouped the nodes under 'titan' and 'cassandra_development'. Getting the below error while starting prometheus:
msg="Error loading config" err="couldn't load configuration (--config.file=prometheus.yml): yaml: line 5: mapping values are not allowed in this context"