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 upMarathon Service Discovery `portMappings` meta label broken for Marathon 1.5.x #3465
Comments
This comment has been minimized.
This comment has been minimized.
|
I believe I have already debugged the issue - in Marathon 1.5.x the However it seems that prometheus only looks for the values of port mappings in Fixing this should be as simple as also looking for labels inside |
This comment has been minimized.
This comment has been minimized.
|
I'll take care of this - going to put up a PR soon. |
whoward
referenced this issue
Dec 5, 2017
Merged
Parse the normalized container.PortMappings presented by the Marathon 1.5.x API #3548
whoward
added a commit
to whoward/prometheus
that referenced
this issue
Dec 6, 2017
whoward
added a commit
to whoward/prometheus
that referenced
this issue
Dec 6, 2017
Conorbro
closed this
in
#3548
Dec 6, 2017
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. |
whoward commentedNov 13, 2017
•
edited
What did you do?
Started prometheus with a marathon service discovery configuration that uses the
__meta_marathon_port_mapping_label_<labelname>meta tag in arelabel_configto determine whether or not to keep the matching port for scraping and at which path to scrape:What did you expect to see?
Targets populated within 1 minute of boot
What did you see instead? Under which circumstances?
No targets populated
Environment
CoreOS 1235.12.0
Amazon AWS EC2
System information:
Linux 4.13.9-coreos x86_64
Prometheus version:
Tested on multiple versions: