Skip to content

Commit 4b63c62

Browse files
Remove unnecessary repetition in instrumenthttp.md (#2000)
* Update instrumenthttp.md Fix unnecessary repetition * Apply to next and v1.2.x --------- Co-authored-by: Heitor Tashiro Sergent <[email protected]>
1 parent 91a22a7 commit 4b63c62

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/sources/k6/next/javascript-api/jslib/http-instrumentation-tempo/instrumenthttp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The `instrumentHTTP` function instruments the k6 http module with tracing capabi
1313
The `instrumentHTTP` automatically adds tracing information to HTTP requests performed using the `k6/http` module functions (mentioned above).
1414
This means that, to instrument the HTTP requests, you don't need to rewrite any code.
1515
Instead, call it once in the init context.
16-
From that point forward, all requests made by the HTTP module from that point forward will have a trace context header added to them, and the metadata for the data-point output will have the used `trace_id`. For details about propagation, refer to [About trace contexts](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/jslib/http-instrumentation-tempo#about-trace-contexts).
16+
From that point forward, all requests made by the HTTP module will have a trace context header added to them, and the metadata for the data-point output will have the used `trace_id`. For details about propagation, refer to [About trace contexts](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/jslib/http-instrumentation-tempo#about-trace-contexts).
1717

1818
## Parameters
1919

docs/sources/k6/v1.1.x/javascript-api/jslib/http-instrumentation-tempo/instrumenthttp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The `instrumentHTTP` function instruments the k6 http module with tracing capabi
1313
The `instrumentHTTP` automatically adds tracing information to HTTP requests performed using the `k6/http` module functions (mentioned above).
1414
This means that, to instrument the HTTP requests, you don't need to rewrite any code.
1515
Instead, call it once in the init context.
16-
From that point forward, all requests made by the HTTP module from that point forward will have a trace context header added to them, and the metadata for the data-point output will have the used `trace_id`. For details about propagation, refer to [About trace contexts](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/jslib/http-instrumentation-tempo#about-trace-contexts).
16+
From that point forward, all requests made by the HTTP module will have a trace context header added to them, and the metadata for the data-point output will have the used `trace_id`. For details about propagation, refer to [About trace contexts](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/jslib/http-instrumentation-tempo#about-trace-contexts).
1717

1818
## Parameters
1919

docs/sources/k6/v1.2.x/javascript-api/jslib/http-instrumentation-tempo/instrumenthttp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The `instrumentHTTP` function instruments the k6 http module with tracing capabi
1313
The `instrumentHTTP` automatically adds tracing information to HTTP requests performed using the `k6/http` module functions (mentioned above).
1414
This means that, to instrument the HTTP requests, you don't need to rewrite any code.
1515
Instead, call it once in the init context.
16-
From that point forward, all requests made by the HTTP module from that point forward will have a trace context header added to them, and the metadata for the data-point output will have the used `trace_id`. For details about propagation, refer to [About trace contexts](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/jslib/http-instrumentation-tempo#about-trace-contexts).
16+
From that point forward, all requests made by the HTTP module will have a trace context header added to them, and the metadata for the data-point output will have the used `trace_id`. For details about propagation, refer to [About trace contexts](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/jslib/http-instrumentation-tempo#about-trace-contexts).
1717

1818
## Parameters
1919

0 commit comments

Comments
 (0)