Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] Ability to filter relevant scraper port with marathon_sd #1814

Closed
czervenyvlk opened this Issue Jul 15, 2016 · 3 comments

Comments

Projects
None yet
2 participants
@czervenyvlk
Copy link

czervenyvlk commented Jul 15, 2016

Hi,
With meta label _meta_marathon_app_label I can only filter all application tasks with help of an application label.
I run docker container and in this case application task expose multiple generated host ports to which only few application scrapers are bind to from the container.
Is it possible to filter/identify these relevant services providing Prometheus metrics?

@grobie

This comment has been minimized.

Copy link
Member

grobie commented Jul 28, 2016

Do you want to give it a try?

@czervenyvlk czervenyvlk changed the title [feature] Ability to specify marathon_sd service with tag [feature] Ability to filter relevant scraper port with marathon_sd Aug 5, 2016

@czervenyvlk

This comment has been minimized.

Copy link
Author

czervenyvlk commented Aug 5, 2016

Hi @grobie I played with file_sd_configs and query marathon api for list of the ports for marathon task and then ensure that prometheus metrics is exposed on that port - it works, but I think it's not really clear way how to do it.

@grobie grobie closed this Mar 5, 2017

@lock

This comment has been minimized.

Copy link

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.

@lock lock bot locked and limited conversation to collaborators Mar 23, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.