-
Notifications
You must be signed in to change notification settings - Fork 95
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
Support tracing via the ObservabilityPolicy #2004
Merged
Merged
Commits on May 29, 2024
-
Support tracing via the ObservabilityPolicy
Problem: As a user, I want to be able to enable tracing for requests flowing through NGF to my backend applications, so I can understand and debug my requests. Solution: Using the ObservabilityPolicy, an app dev can now enable and configure tracing for their Route(s). The policy will only be applied if the NginxProxy configuration containing the tracing collector endpoint has been defined and attached to the GatewayClass. The policy can be attached to one or more HTTP or GRPC Routes. Updated span attributes from the NginxProxy to be applied at the location block context, otherwise they are overwritten. Also added functional tests to ensure that the complete solution is working.
Configuration menu - View commit details
-
Copy full SHA for 3f85eff - Browse repository at this point
Copy the full SHA 3f85effView commit details -
Add functional tests for tracing
Verify end to end tracing by creating a collector and sending trace data to it. Test cases: 1. one policy attached to one route 2. one policy attached to multiple routes
Configuration menu - View commit details
-
Copy full SHA for 0a1369e - Browse repository at this point
Copy the full SHA 0a1369eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a32f54 - Browse repository at this point
Copy the full SHA 2a32f54View commit details -
Configuration menu - View commit details
-
Copy full SHA for 55f0d7f - Browse repository at this point
Copy the full SHA 55f0d7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab5d3e3 - Browse repository at this point
Copy the full SHA ab5d3e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for e600533 - Browse repository at this point
Copy the full SHA e600533View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6338e22 - Browse repository at this point
Copy the full SHA 6338e22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54b919e - Browse repository at this point
Copy the full SHA 54b919eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2655060 - Browse repository at this point
Copy the full SHA 2655060View commit details -
Configuration menu - View commit details
-
Copy full SHA for 807b758 - Browse repository at this point
Copy the full SHA 807b758View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac840c4 - Browse repository at this point
Copy the full SHA ac840c4View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.