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

Experimental tracing module (2/3): define and expose a tracing.Client #2854

Commits on Jan 23, 2023

  1. Define a tracing Client

    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.
    oleiade committed Jan 23, 2023
    Configuration menu
    Copy the full SHA
    77ce063 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2023

  1. 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.
    oleiade committed Jan 24, 2023
    Configuration menu
    Copy the full SHA
    4b0fa98 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d5d3229 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c2648ac View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    31d317d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    22f1f70 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2023

  1. Update cmd/tests/tracing_module_test.go

    Co-authored-by: Ivan <2103732+codebien@users.noreply.github.com>
    oleiade and codebien authored Jan 25, 2023
    Configuration menu
    Copy the full SHA
    2ff5246 View commit details
    Browse the repository at this point in the history
  2. Update cmd/tests/tracing_module_test.go

    Co-authored-by: Ivan <2103732+codebien@users.noreply.github.com>
    oleiade and codebien authored Jan 25, 2023
    Configuration menu
    Copy the full SHA
    7f858e9 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2023

  1. Configuration menu
    Copy the full SHA
    7163425 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    60e1e3b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7d468aa View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d5616dc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7187e12 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #2855 from grafana/experimental/tracing-module-ins…

    …trumentHTTP
    
    Experimental tracing module (3/3): define and expose a `instrumentHTTP` function
    oleiade authored Jan 26, 2023
    Configuration menu
    Copy the full SHA
    f6ba5e4 View commit details
    Browse the repository at this point in the history