-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathprometheus.yml
More file actions
25 lines (24 loc) · 770 Bytes
/
prometheus.yml
File metadata and controls
25 lines (24 loc) · 770 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
global:
scrape_interval: 5s
external_labels:
monitor: 'devopsage-monitor'
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090'] ## IP Address of the localhost
- job_name: 'ec2_aws_node_exporter_discovery'
ec2_sd_configs:
- port: 9100 # referred to nodeExporter exposed port
#role_arn: arn:aws:iam::342241566140:role/Ec2-Instance-Role
filters:
- name: tag:aws:autoscaling:groupName
values:
- ECS
- job_name: ecs_CAdvisor
ec2_sd_configs:
- port: 9200 # referred to cAdvisor exposed port
#role_arn: arn:aws:iam::342241566140:role/Ec2-Instance-Role
filters:
- name: tag:aws:autoscaling:groupName
values:
- ECS