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

how to add custom meta fields for tracking #632

Closed
ryandawsonuk opened this issue Jun 17, 2019 · 3 comments
Closed

how to add custom meta fields for tracking #632

ryandawsonuk opened this issue Jun 17, 2019 · 3 comments

Comments

@ryandawsonuk
Copy link
Contributor

Say I need to set a 'customerId' on every request so that I can track which requests were for which customer.

Presumably I could set the 'meta.tags' section in the SeldonMessage. But how can I do this from within a microservice using the wrapper?

Need to document this as it's relevant to request logging #545

Related #198

@ryandawsonuk
Copy link
Contributor Author

It seems predict_raw is the way to get access to the SeldonMessage (and with it the meta.tags)

https://docs.seldon.io/projects/seldon-core/en/latest/python/python_component.html?highlight=predict_raw#low-level-methods

@ryandawsonuk
Copy link
Contributor Author

Including a note in PR #616

cde596a

@ryandawsonuk
Copy link
Contributor Author

#616 was merged so closing this issue

agrski pushed a commit that referenced this issue Dec 2, 2022
* set parallel workers to zero for explainers and update notebooks

* update to ensure models don't get parallel workers 0
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

1 participant