-
Notifications
You must be signed in to change notification settings - Fork 831
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
Unable to view feedback reward on Grafana dashboard #2115
Comments
Hi @adriangonz |
@Nithinbs18 I can confirm this is a bug, we're doing some work right now on metrics, and it seems that the feedback component wasn't updated with the executor. For the meantime you can still get it to work if you run it with backwards compatibility as outlined here https://docs.seldon.io/projects/seldon-core/en/latest/reference/upgrading.html#new-service-orchestrator, but otherwise we'll be looking to fix this in 1.3 |
Hello @axsaucedo Thanks for your reply.
Now I have an issue with the feedback, I cannot feedback any rewards as the endpoint /seldon/default/test2/api/v1.0/feedback returns 404 when I try to use it in the seldon python client (v 1.1.0). |
Oh @Nithinbs18 my suggestion wasn't to downgrade Seldon Core, it was to basically switch to the "engine" which is the old service orchestrator (the new one is the "executor"). You can still do this in the latest version 1.2.1. I would recommend you to still stick to the latest version, as I can confirm feedback is working correctly, and if you switch to the "engine" you should start seeing reward in the metrics. We are aiming to add the fix for /feedback, so you'll be able to get it working without the need of the backwards compatibility flag from ~1.3. |
Hi @axsaucedo |
@Nithinbs18 that shouldn't be the case, the req/sec and latency should still be displayed. It may just be that given it's running on the older backwards compatibility, it may also need to run on an older version of seldon-core-analytics. If this is the case we should make sure to add that in the documentation - @RafalSkolasinski would actually be able to provide more insights specifically on the point about compatibility with the version of seldon-core-analytics. |
Hi @axsaucedo & @RafalSkolasinski I tried the below combination; Thanks and looking forward to 1.3 :) |
Thank you very much for doing this arduous testing @Nithinbs18, it may be useful for us to add into on our docuemntation in the upgrading section. We're currently having a look at this now and will be providing updates so you get notified once this is addressed. |
Hello @axsaucedo & @RafalSkolasinski , I see that this issue is closed now thanks for that. Could you please let me know how to get this working now? |
Hi @Nithinbs18 , Fix is now in master. If you use 1.2.2 version of wrapper then rewards will be collecected automatically using custom metrics mechanism and exposed to prometheus. From there Granana should be able to pick it up without issues. |
Thanks for the response, I tried using the charts available in the master (with 1.2.2-dev tag) for core-operator and analytics I still face the same issue when I use the latest executor the reward is not visible and when I use the legacy engine other metrics are not visible, can you please point what am I doing wrong? |
You need to build your model usibg latest s2i python wrapper - this is the fixed component |
@Nithinbs18 I now see that you are using the |
@Nithinbs18 Could you use helm-charts from Please make sure you are using 1.2.2 image, the |
Hi @RafalSkolasinski |
Dear team,
Greetings!
I am currently working with Seldon-analytics and unable to visualize the feedback data on the grafana dashboard.
Please find the below details;
Seldon deployment manifest:
Helm charts used to install the pre-requisites :
Client program ;
I also tried manually posing the data using;
with Request:
meta {
}
data {
names: "fixed acidity"
names: "volatile acidity"
names: "citric acid"
names: "residual sugar"
names: "chlorides"
names: "free sulfur dioxide"
names: "total sulfur dioxide"
names: "density"
names: "pH"
names: "sulphates"
names: "alcohol"
tensor {
shape: 1
shape: 11
values: 8.3
values: 0.42
values: 0.62
values: 19.25
values: 0.04
values: 41.0
values: 172.0
values: 1.0002
values: 2.98
values: 0.67
values: 9.7
}
}
Response:
{'data': {'names': [], 'tensor': {'shape': [1], 'values': [5.277768952367847]}}, 'meta': {}}
Code:
This returns 400 with below message:
The prediction works absolutely fine but does not return anything in meta eg:
{'data': {'names': [], 'tensor': {'shape': [1], 'values': [5.277768952367847]}}, 'meta': {}}
Please find the screenshot:
The return value of feedback function:
Any help on this will be highly appreciated.
Thanks in advance.
The text was updated successfully, but these errors were encountered: