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

Add SELDON_ENVIRONMENT to Index Name #2329

Merged
merged 2 commits into from
Aug 26, 2020

Conversation

sercostr
Copy link
Contributor

@sercostr sercostr commented Aug 26, 2020

What this PR does / why we need it:

SELDON_ENVIRONMENT variable added to the logging "inference-log"

Which issue(s) this PR fixes:

Fixes #2328

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

@seldondev
Copy link
Collaborator

Hi @sercostr. Thanks for your PR.

I'm waiting for a SeldonIO member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository.

@seldondev
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please assign rafalskolasinski
You can assign the PR to them by writing /assign @rafalskolasinski in a comment when ready.

The full list of commands accepted by this bot can be found 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

@ryandawsonuk
Copy link
Contributor

/ok-to-test

Copy link
Contributor

@ryandawsonuk ryandawsonuk left a comment

Choose a reason for hiding this comment

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

Would be good to also add field to the body of the logged request but that could be handled as a separate issue/follow-up
/lgtm
/approve

@seldondev
Copy link
Collaborator

Wed Aug 26 12:14:33 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-2329/2.log

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

@seldondev
Copy link
Collaborator

Wed Aug 26 12:14:38 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-2329/1.log

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

@ryandawsonuk
Copy link
Contributor

/test this

@seldondev
Copy link
Collaborator

Wed Aug 26 15:58:11 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-2329/3.log

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

@axsaucedo
Copy link
Contributor

@omerfsen thank you very much! One small request, could we rename the env var to something more descriptive? "SELDON_ENVIRONMENT" is a bit too generic, and could be confusing. Maybe somethin that mentions elastic / request logger (cc @ryandawsonuk )
/hold

@axsaucedo
Copy link
Contributor

Sorry for not mentioning this earlier, completely slipped - @ryandawsonuk if we're happy to do it in a separate pr happy to move forward as I don't want to hold it back if it will take too long (and it is quite a fast change)

@axsaucedo
Copy link
Contributor

Actually I think this is definitely good for now in general tbh, and we can make it clear in the documentation. Thanks again for the contribution @omerfsen !
/hold cancel

@seldondev
Copy link
Collaborator

@sercostr: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
pr-build 7395c53 link /test this

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@axsaucedo
Copy link
Contributor

Looking at the failed tests, we're currnetly aware they are flaky, and they are passing in two of the three TOX runs, so we can go ahead

@axsaucedo axsaucedo merged commit 778856c into SeldonIO:master Aug 26, 2020
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.

Setting and using SELDON_ENVIRONMENT for Request Logging to use one ELK Cluster for multiple Environment
4 participants