-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Experimental tracing module (2/3): define and expose a tracing.Client
#2854
Merged
oleiade
merged 14 commits into
experimental/tracing-module-propagators
from
experimental/tracing-module-client
Jan 26, 2023
Merged
Experimental tracing module (2/3): define and expose a tracing.Client
#2854
oleiade
merged 14 commits into
experimental/tracing-module-propagators
from
experimental/tracing-module-client
Jan 26, 2023
Commits on Jan 23, 2023
-
This commit defines a Client type which exposes an API similar to the HTTP module, and allows users to perform HTTP requests embedding a trace-context, and attaching their trace_id as an output metadata to their HTTP-related samples. It uses the HTTP module's request function under the hood, and wraps it with some "hook" logic to ensure the expected headers are present, and that the expected output metadata are emitted. The tracing client exposes an option-set allowing to use the three available propagation format. Other options such as sampling, and baggage are present for forward-compatibility, but will be implemented at a later point in time.
Configuration menu - View commit details
-
Copy full SHA for 77ce063 - Browse repository at this point
Copy the full SHA 77ce063View commit details
Commits on Jan 24, 2023
-
Expose the tracing client publicly as k6/experimental/tracing.Client
This commit exposes the Client constructor publicly as part of the k6/experimental/tracing module. From this point forward users will be able to instantiate the Client, and perform instrumented HTTP requests using it. This commit also adds a bunch of integration tests covering the expected behavior of the module's API.
Configuration menu - View commit details
-
Copy full SHA for 4b0fa98 - Browse repository at this point
Copy the full SHA 4b0fa98View commit details -
Configuration menu - View commit details
-
Copy full SHA for d5d3229 - Browse repository at this point
Copy the full SHA d5d3229View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2648ac - Browse repository at this point
Copy the full SHA c2648acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 31d317d - Browse repository at this point
Copy the full SHA 31d317dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 22f1f70 - Browse repository at this point
Copy the full SHA 22f1f70View commit details
Commits on Jan 25, 2023
-
Update cmd/tests/tracing_module_test.go
Co-authored-by: Ivan <2103732+codebien@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 2ff5246 - Browse repository at this point
Copy the full SHA 2ff5246View commit details -
Update cmd/tests/tracing_module_test.go
Co-authored-by: Ivan <2103732+codebien@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 7f858e9 - Browse repository at this point
Copy the full SHA 7f858e9View commit details
Commits on Jan 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7163425 - Browse repository at this point
Copy the full SHA 7163425View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60e1e3b - Browse repository at this point
Copy the full SHA 60e1e3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d468aa - Browse repository at this point
Copy the full SHA 7d468aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for d5616dc - Browse repository at this point
Copy the full SHA d5616dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7187e12 - Browse repository at this point
Copy the full SHA 7187e12View commit details -
Merge pull request #2855 from grafana/experimental/tracing-module-ins…
…trumentHTTP Experimental tracing module (3/3): define and expose a `instrumentHTTP` function
Configuration menu - View commit details
-
Copy full SHA for f6ba5e4 - Browse repository at this point
Copy the full SHA f6ba5e4View 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.