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

configurable metrics port name for analytics #1809

Closed
ryandawsonuk opened this issue May 7, 2020 · 3 comments
Closed

configurable metrics port name for analytics #1809

ryandawsonuk opened this issue May 7, 2020 · 3 comments

Comments

@ryandawsonuk
Copy link
Contributor

The metrics port name has been hard-coded but is now becoming configurable through a contribution from @xaniasd.

That port name is referenced in the scrape config in the seldon analytics chart. We should make it configurable in that chart too.

@ryandawsonuk ryandawsonuk added the triage Needs to be triaged and prioritised accordingly label May 7, 2020
@ukclivecox
Copy link
Contributor

You interested @xaniasd to add a PR for this?

@ukclivecox ukclivecox removed the triage Needs to be triaged and prioritised accordingly label May 14, 2020
@axsaucedo
Copy link
Contributor

We should probably move this to 1.2 as it seems we may get issues otherwise (such as #1854)

@ukclivecox ukclivecox added this to the 1.2 milestone May 20, 2020
@ukclivecox ukclivecox removed this from the 1.2 milestone May 21, 2020
@ryandawsonuk
Copy link
Contributor Author

Actually on a second look I don't think the name of the metrics port matters. I think seldon pod metrics get scraped on the correct port just because the metrics port points to the same port as the container port (8000).

Worth noting that port being scraped can be overridden with prometheus.io/port annotation. So if a different port were used then that annotation would be used to handle it. But there's no option to put the metrics endpoint on a different port with seldon, just to change its name. So this is a non-issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants