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

Metrics server with capabilities to fetch response from elasticsearch via request Puid in feedback request #2604

Merged

Conversation

axsaucedo
Copy link
Contributor

What this PR does / why we need it:

Introduces further capability from infrastructure metrics workingroup to enable "RESPONSE" to be fetched directly from the elasticsearch database. PR includes:

  • Extra parameter for adserver to initialise elasticsearch client
  • Custom metrics able to fetch RESPONSE if request PUID is provided
  • Fixes on custom metrics server to work with param ndarrays
  • Example showing the workflow using metrics server with feedback containing request Puid

Jupyter notebook and README version of example.

Further discussion points:

  • Currently it's required to pass request Puid as feedback Puid header, however this may be ambiguous if we want to eventually have unique feedback UIDs
  • Current elasticsearch configuration is quite basic, but there could be some exploration to leverage the logic in the payload request logger to interact with ELK - this could involve merging the payload request logger with the CEServer as it's already quite modular.

@axsaucedo axsaucedo added this to the 1.5 milestone Nov 2, 2020
@axsaucedo axsaucedo added this to In progress in 1.5 via automation Nov 2, 2020
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@seldondev
Copy link
Collaborator

Mon Nov 2 19:16:34 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-2604/2.log

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

@seldondev
Copy link
Collaborator

Mon Nov 2 19:16:47 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-2604/1.log

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

@axsaucedo
Copy link
Contributor Author

/test notebooks

@seldondev
Copy link
Collaborator

Mon Nov 2 19:21:09 UTC 2020
The logs for [notebooks] [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-2604/3.log

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

@seldondev
Copy link
Collaborator

Tue Nov 3 14:01:52 UTC 2020
The logs for [pr-build] [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-2604/4.log

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

@seldondev
Copy link
Collaborator

Tue Nov 3 14:02:25 UTC 2020
The logs for [lint] [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-2604/5.log

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

@ukclivecox ukclivecox moved this from In progress to In Review in 1.5 Nov 5, 2020
@axsaucedo
Copy link
Contributor Author

/test thigs

@axsaucedo
Copy link
Contributor Author

/test this

@seldondev
Copy link
Collaborator

Fri Nov 6 06:57:31 UTC 2020
The logs for [pr-build] [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-2604/6.log

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

runAsUser: 8888
containers:
- name: user-container
image: seldonio/alibi-detect-server:1.4.0-dev
Copy link
Contributor

Choose a reason for hiding this comment

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

same - 1.5.0-dev
Might want to work out a way to have these take of the currebt version.txt?

@seldondev
Copy link
Collaborator

Fri Nov 6 13:55:45 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-2604/8.log

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

@seldondev
Copy link
Collaborator

Fri Nov 6 14:02:43 UTC 2020
The logs for [pr-build] [9] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-2604/9.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-2604 --build=9

@seldondev
Copy link
Collaborator

Fri Nov 6 14:03:36 UTC 2020
The logs for [lint] [10] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-2604/10.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-2604 --build=10

@seldondev
Copy link
Collaborator

Fri Nov 6 14:07:21 UTC 2020
The logs for [pr-build] [11] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-2604/11.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-2604 --build=11

@seldondev
Copy link
Collaborator

Fri Nov 6 14:07:45 UTC 2020
The logs for [lint] [12] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-2604/12.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-2604 --build=12

@seldondev
Copy link
Collaborator

Fri Nov 6 15:08:28 UTC 2020
The logs for [lint] [14] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-2604/14.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-2604 --build=14

@seldondev
Copy link
Collaborator

Fri Nov 6 15:08:41 UTC 2020
The logs for [pr-build] [13] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-2604/13.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-2604 --build=13

@seldondev
Copy link
Collaborator

Fri Nov 6 15:09:21 UTC 2020
The logs for [pr-build] [15] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-2604/15.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-2604 --build=15

@seldondev
Copy link
Collaborator

Fri Nov 6 15:09:22 UTC 2020
The logs for [lint] [16] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-2604/16.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-2604 --build=16

@seldondev
Copy link
Collaborator

Fri Nov 6 15:10:04 UTC 2020
The logs for [pr-build] [17] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-2604/17.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-2604 --build=17

@seldondev
Copy link
Collaborator

Fri Nov 6 15:11:16 UTC 2020
The logs for [lint] [18] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-2604/18.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-2604 --build=18

@seldondev
Copy link
Collaborator

Fri Nov 6 15:28:08 UTC 2020
The logs for [lint] [20] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-2604/20.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-2604 --build=20

@seldondev
Copy link
Collaborator

Fri Nov 6 15:29:11 UTC 2020
The logs for [pr-build] [19] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-2604/19.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-2604 --build=19

@axsaucedo
Copy link
Contributor Author

Merging as discussed in sc meeting
/approve

@seldondev
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: axsaucedo

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

@seldondev
Copy link
Collaborator

Thu Nov 12 10:17:28 UTC 2020
The logs for [lint] [22] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-2604/22.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-2604 --build=22

@seldondev
Copy link
Collaborator

Thu Nov 12 10:17:28 UTC 2020
The logs for [pr-build] [21] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-2604/21.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-2604 --build=21

@seldondev
Copy link
Collaborator

Thu Nov 12 10:35:35 UTC 2020
The logs for [lint] [24] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-2604/24.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-2604 --build=24

@seldondev
Copy link
Collaborator

Thu Nov 12 10:38:23 UTC 2020
The logs for [pr-build] [23] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-2604/23.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-2604 --build=23

@seldondev seldondev merged commit 824486f into SeldonIO:master Nov 12, 2020
1.5 automation moved this from In Review to Done Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
1.5
Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants