-
Notifications
You must be signed in to change notification settings - Fork 0
Eng 9536 add filters #223
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
Eng 9536 add filters #223
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tox.ini files in the tests/flask and tests/grpc directories need to be updated to reference these new test cases.
tox.ini
Outdated
commands=pytest -rPx src/hypertrace | ||
commands= | ||
pytest -rPx src/hypertrace | ||
pytest -rPx tests/agent |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New integration tests should be added in the Makefile's integration-tests rule, not here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, just to verify, unit tests are expected to be in the src
directory alongside library files?
Integrations tests belong under tests/<framework>
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is the pattern @jcchavezs established.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thanks for the clarification here :)
Description
This PR adds filter support for flask & grpc instrumentation.
Testing
Tests added here mimic the behavior of existing grpc & flask tests. & assert the permission denied & 403 errors.
Checklist:
Documentation
Make sure that you have documented corresponding changes in this repository or hypertrace docs repo if required.