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

Extend drift detect server to expose metrics #2557

Merged
merged 4 commits into from
Oct 22, 2020

Conversation

axsaucedo
Copy link
Contributor

Fixes #2537

@axsaucedo axsaucedo added this to the 1.5 milestone Oct 19, 2020
@seldondev
Copy link
Collaborator

Mon Oct 19 14:30:09 UTC 2020
The logs for [pr-build] [1] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-2557/1.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-2557 --build=1

@seldondev
Copy link
Collaborator

Mon Oct 19 14:30:18 UTC 2020
The logs for [lint] [2] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-2557/2.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-2557 --build=2

@seldondev
Copy link
Collaborator

Mon Oct 19 14:37:20 UTC 2020
The logs for [pr-build] [3] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-2557/3.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-2557 --build=3

@seldondev
Copy link
Collaborator

Mon Oct 19 14:37:32 UTC 2020
The logs for [lint] [4] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-2557/4.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-2557 --build=4

components/alibi-detect-server/adserver/cd_model.py Outdated Show resolved Hide resolved
runtime_metrics = seldon_response.metrics
if runtime_metrics is not None:
if validate_metrics(runtime_metrics):
self.seldon_metrics.update(runtime_metrics, "ce_server")
Copy link
Contributor

Choose a reason for hiding this comment

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

is ce_server not a bit generic. What is this argument used for?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is an extra tag, more specifically it's the "method" tag, which in the case of the metrics in the python wrapper it would be "predict", "feedback", "input_transform", etc. In this case it would just be the "ce_server" metrics. I guess we could have it more specific to the type of server, such as DRIFT / OUTLIER / CUSTOM_METRICS?

@seldondev
Copy link
Collaborator

Wed Oct 21 13:50:07 UTC 2020
The logs for [pr-build] [5] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-2557/5.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-2557 --build=5

@seldondev
Copy link
Collaborator

Wed Oct 21 13:50:24 UTC 2020
The logs for [lint] [6] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-2557/6.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-2557 --build=6

@ukclivecox ukclivecox modified the milestones: 1.5, 1.4 Oct 22, 2020
@ukclivecox
Copy link
Contributor

/approve

@seldondev seldondev added the lgtm label Oct 22, 2020
@seldondev
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cliveseldon

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

The pull request process is described 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

@ukclivecox ukclivecox merged commit fec5417 into SeldonIO:master Oct 22, 2020
@seldondev
Copy link
Collaborator

Thu Oct 22 13:56:43 UTC 2020
The logs for [pr-build] [7] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-2557/7.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-2557 --build=7

@seldondev
Copy link
Collaborator

Thu Oct 22 13:56:47 UTC 2020
The logs for [lint] [8] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-2557/8.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-2557 --build=8

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

Successfully merging this pull request may close these issues.

Extend drift detector server (inside alibi detect server) to return metrics
3 participants