Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderegg authored May 30, 2024
1 parent c1a7fb4 commit 7544948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/monitoring/prometheus/prometheus-aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ scrape_configs:
password: ${SERVICES_PASSWORD}

relabel_configs:
- source_labels: [__meta_ec2_private_dns_name] # or use __meta_ec2_instance_id, __meta_ec2_private_ip depending on your network setup
- source_labels: [__meta_ec2_private_ip] # or use __meta_ec2_instance_id, __meta_ec2_private_ip depending on your network setup
target_label: __address__
replacement: "${1}:9090" # Assumes Prometheus is running on port 9090

Expand Down

0 comments on commit 7544948

Please sign in to comment.