rsz_1screenshot_2020-06-11_at_10541_pm.png rsz_screenshot_2020-06-11_at_10555_pm.png
Monitoring Linux host using the metrics from Node Exporter having scrapper scrapping data via service discovery(AWS)
More details: https://github.com/vikramjakhr/adhoc/tree/master/monitoring
Collector Configuration Details
global: scrape_interval: 15s evaluation_interval: 15s scrape_timeout: 15s
scrape_configs:
- job_name: 'node'
ec2_sd_configs:
- region: us-west-2 port: 9100
- region: us-east-2 port: 9100
- region: us-east-1 port: 9100
- region: us-west-1 port: 9100 relabel_configs:
- source_labels: [__meta_ec2_instance_id] target_label: instance
- source_labels: [__meta_ec2_instance_type] target_label: instanceType
- source_labels: [__meta_ec2_owner_id] target_label: ownerId
- source_labels: [__meta_ec2_primary_subnet_id] target_label: subnet
- source_labels: [__meta_ec2_public_dns_name] target_label: dnsname
- source_labels: [__meta_ec2_private_ip] target_label: privateip
- source_labels: [__meta_ec2_public_ip] target_label: publicip
- source_labels: [__meta_ec2_vpc_id] target_label: vpcid
- source_labels: [__meta_ec2_tag_JobID] target_label: jobId
- source_labels: [__meta_ec2_tag_Name] target_label: jobName
- source_labels: [__meta_ec2_tag_ResourceType] target_label: resourceType