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

Remove the deprecated k6/experimental/tracing #1799

Merged
merged 2 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
---
aliases:
- ../k6-experimental/tracing/ # docs/k6/<K6_VERSION>/javascript-api/k6-experimental/tracing/
title: 'HTTP instrumentation for Tempo'
menuTitle: http-instrumentation-tempo
description: 'k6 Tempo instrumentation API'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
---
aliases:
- ../../k6-experimental/tracing/client/ # docs/k6/<K6_VERSION>/javascript-api/k6-experimental/tracing/client/
title: 'Client'
description: 'Client is a HTTP client attaching tracing information to its requests.'
weight: 02
Expand Down Expand Up @@ -82,6 +84,6 @@ The following table lists the `Client` methods which have an equivalent in the s

`Client` instances support being reconfigured using the following API:

| Method | Description |
| :-------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Method | Description |
| :-------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Client.configure(options)` | Reconfigures the tracing client instance with the provided [`Options`](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/jslib/http-instrumentation-tempo/options) |
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
---
aliases:
- ../../k6-experimental/tracing/instrumenthttp/ # docs/k6/<K6_VERSION>/javascript-api/k6-experimental/tracing/instrumenthttp/
title: 'instrumentHTTP'
description: 'instrumentHTTP instruments the k6 http module with tracing capabilities.'
weight: 01
Expand All @@ -15,8 +17,8 @@ From that point forward, all requests made by the HTTP module from that point fo

## Parameters

| Name | Type | Description |
| :-------- | :--------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Name | Type | Description |
| :-------- | :------------------------------------------------------------------------------------------------------------ | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `options` | [`Options`](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/jslib/http-instrumentation-tempo/options) | Configures the tracing behavior with the provided [`Options`](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/jslib/http-instrumentation-tempo/options) object. |

## Example
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
---
aliases:
- ../../k6-experimental/tracing/options/ # docs/k6/<K6_VERSION>/javascript-api/k6-experimental/tracing/options/
title: 'Options'
description: 'Options allows to configure the tracing instrumentation behavior.'
weight: 03
Expand All @@ -10,7 +12,7 @@ Use the `Options` object to configure the tracing instrumentation behavior. It i

## Options

| Option name | Type | Default | Description |
| :----------- | :------- | :------ | :----------------------------------------------------------------------------- |
| `propagator` | `string` | `w3c` | The trace context propagation format. Currently supported: `w3c` and `jaeger`. |
| `sampling` | `number` | `1` | A number between 0 and 1 defining the sampling rate. 1 means sample always, 0 means never sample. |
| Option name | Type | Default | Description |
| :----------- | :------- | :------ | :------------------------------------------------------------------------------------------------ |
| `propagator` | `string` | `w3c` | The trace context propagation format. Currently supported: `w3c` and `jaeger`. |
| `sampling` | `number` | `1` | A number between 0 and 1 defining the sampling rate. 1 means sample always, 0 means never sample. |

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading