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

OPA: Add tracing for outbound http calls #3034

Merged
merged 4 commits into from Apr 26, 2024

Conversation

mjungsbluth
Copy link
Collaborator

For the Open Policy Agent filters, tracing information is currently mainly added for the evaluation path of the filters. This is useful for monitoring everything that is related to requests passing through Skipper.
The PR adds tracing for asynchronous http calls that happen during discovery, bundle download, status updates and decision uppload. This allows to monitor how the OPA instances interact with their control plane.

Signed-off-by: Magnus Jungsbluth <magnus.jungsbluth@zalando.de>
@mjungsbluth mjungsbluth added monitoring Metrics related changes minor no risk changes, for example new filters labels Apr 22, 2024
filters/openpolicyagent/tracing.go Outdated Show resolved Hide resolved
filters/openpolicyagent/tracing.go Outdated Show resolved Hide resolved
filters/openpolicyagent/openpolicyagent.go Outdated Show resolved Hide resolved
Signed-off-by: Magnus Jungsbluth <magnus.jungsbluth@zalando.de>
@mjungsbluth mjungsbluth marked this pull request as ready for review April 23, 2024 13:52
@AlexanderYastrebov
Copy link
Member

Looks good modulo minor comments.

Signed-off-by: Magnus Jungsbluth <magnus.jungsbluth@zalando.de>
@AlexanderYastrebov
Copy link
Member

👍

Signed-off-by: Magnus Jungsbluth <magnus.jungsbluth@zalando.de>
@szuecs
Copy link
Member

szuecs commented Apr 25, 2024

👍

1 similar comment
@AlexanderYastrebov
Copy link
Member

👍

@AlexanderYastrebov AlexanderYastrebov merged commit 429e8b5 into master Apr 26, 2024
14 checks passed
@AlexanderYastrebov AlexanderYastrebov deleted the tracing_http_outbound branch April 26, 2024 07:55
JanardhanSharma pushed a commit to JanardhanSharma/skipper that referenced this pull request Apr 26, 2024
Signed-off-by: Magnus Jungsbluth <magnus.jungsbluth@zalando.de>
Signed-off-by: Janardhan Sharma <janardhan.sharma@zalando.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor no risk changes, for example new filters monitoring Metrics related changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants