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

Disable scraping of explainer metrics as unsupported #3710

Conversation

agrski
Copy link
Contributor

@agrski agrski commented Oct 28, 2021

What this PR does / why we need it:
(Alibi) explainers do not provide any metrics, and do not expose a port to scrape metrics on.
However, they still have Prometheus annotations indicating they should be scraped.
This is unhelpful and creates false positives where things look unhealthy even when they're exactly as expected.
This PR removes that noise by disabling Prometheus annotations for explainers.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

Removed Prometheus annotations from explainers, as these do not expose metrics.

@seldondev
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please assign jklaise
You can assign the PR to them by writing /assign @jklaise in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link
Contributor

@SachinVarghese SachinVarghese left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@agrski agrski merged commit fe2660c into SeldonIO:master Oct 29, 2021
@agrski agrski deleted the disable-explainer-metrics-scraping-as-unsupported branch October 29, 2021 09:52
stephen37 pushed a commit to stephen37/seldon-core that referenced this pull request Dec 21, 2021
* Separate stdlib from 3rd party imports

* Allow disabling of Prometheus annotations for Seldon Deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants