-
Notifications
You must be signed in to change notification settings - Fork 12
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
[CA-849] Trace auth calls #434
Conversation
…oidc specific spans
jenkins retest -- fiab-start failed with an unrelated issue
|
jenkins retest - fiab-start failed with:
|
jenkins retest - fiab-start failed with:
|
jenkins retest - leo test aborted after being stuck for 2 hours:
|
jenkins retest - rawls tests passed but then timed out
https://fc-jenkins.dsp-techops.broadinstitute.org/job/rawls-fiab-test-runner/22496/console |
This reverts commit fa97f97
unresolved error: ``` SamModelDirectives.scala:58:39: value & is not a member of Object [error] recordSuccess.invoke(newSpan) & recordException.invoke(newSpan) & provide(newSamRequestContext) [error] ^ ```
…ive" This reverts commit e957f3c
This reverts commit 3a15d8f
…private trace directives from TraceDirectives. The other option would be to change the accessibility (which is modeled in a prior commit) but may run counter to SecurityManager.
jenkins retest - quay issues |
* parentSpan. | ||
* @param samRequestContext the existing samRequestContext. | ||
*/ | ||
def withNewTraceSpan(spanName: String, samRequestContext: SamRequestContext): Directive1[SamRequestContext] = |
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.
I would call this withChildTraceSpan
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.
naming nit then 👍
Ticket: https://broadworkbench.atlassian.net/browse/CA-849
Goal: trace auth calls.
Follow on work from Sam tracing work: #421 (comment)
This PR includes:
Adds tracing for auth calls
Adds SamRequestContextDirectives
Adds a new directive
withNewTraceSpan
Light plumbing
Example trace:
PR checklist