Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upLimit EC2 SD by tag #1642
Comments
This comment has been minimized.
This comment has been minimized.
|
See https://prometheus.io/docs/operating/configuration/#ec2_sd_config
|
brian-brazil
added
the
kind/support
label
May 19, 2016
This comment has been minimized.
This comment has been minimized.
|
thanks @brian-brazil what do you mean by a keep or limit? I don't see that in the docs. |
This comment has been minimized.
This comment has been minimized.
|
See http://www.robustperception.io/automatically-monitoring-ec2-instances/ for an example, and https://prometheus.io/docs/operating/configuration/#<relabel_config> for the docs. |
This comment has been minimized.
This comment has been minimized.
|
Thanks @brian-brazil |
chbatey
closed this
May 23, 2016
brian-brazil
added
kind/question
and removed
kind/support
labels
Jul 14, 2017
This comment has been minimized.
This comment has been minimized.
apandey2017
commented
Oct 3, 2017
|
Hi @brian-brazil - how do we specify aws:cloudformation:stack-name in ? I could overcome : by _ but not having any luck with a - replacement in stack-name. |
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
chbatey commentedMay 19, 2016
From what I can tell from the docs/code the EC2 service discovery finds all EC2 instances for a region. In the typical EC2 deployments I work with I only want a subset of the instances to be monitored by prometheus so I'd like to tag these instances with something like Prometheus: True or Monitored: True.
I am happy to contribute the change is it is something you'll accept.