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

Request logger with cloud events (compatible with Seldon Deploy install) #151

Merged
merged 5 commits into from
Jun 21, 2021

Conversation

axsaucedo
Copy link
Contributor

Extension to support request logger for seldon deploy, with nuances around current limitations that should be explored further, but provides base functionality to make it work with request logger screen, and that could work with outlier / drift detectors + metrics servers, load testers, etc

Requests Screen

image

Model screen

image

@ukclivecox ukclivecox merged commit 79e2d00 into SeldonIO:master Jun 21, 2021
tempo_wrapper = TempoContextWrapper(payload_context, insights_wrapper)
tempo_context.set(tempo_wrapper)

response_dict = self._model.request(request_dict)
if self._is_coroutine:
response_dict = await response_dict # type: ignore

# TODO: Ensure model_version is added by mlserver
response_dict["model_version"] = "NOTIMPLEMENTED"
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 needs to be replaced for self.version as it's mlserver class

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

Successfully merging this pull request may close these issues.

2 participants