docs: fix links to the context document (#2651)
Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
This commit is contained in:
		
							parent
							
								
									f95debab3a
								
							
						
					
					
						commit
						6724a1bfe5
					
				|  | @ -9,7 +9,7 @@ This package provides [async-hooks][async-hooks-doc] based context manager which | |||
| 
 | ||||
| ## What is a ContextManager | ||||
| 
 | ||||
| The definition and why they exist is available on [the readme of the context-base package][def-context-manager]. | ||||
| The definition and why they exist is available on [the document for context manager][def-context-manager]. | ||||
| 
 | ||||
| ### Implementation in NodeJS | ||||
| 
 | ||||
|  | @ -49,7 +49,7 @@ Apache 2.0 - See [LICENSE][license-url] for more information. | |||
| [devDependencies-image]: https://status.david-dm.org/gh/open-telemetry/opentelemetry-js.svg?path=packages%2Fopentelemetry-context-async-hooks&type=dev | ||||
| [devDependencies-url]: https://david-dm.org/open-telemetry/opentelemetry-js?path=packages%2Fopentelemetry-context-async-hooks&type=dev | ||||
| [async-hooks-doc]: http://nodejs.org/dist/latest/docs/api/async_hooks.html | ||||
| [def-context-manager]: https://github.com/open-telemetry/opentelemetry-js/blob/main/packages/opentelemetry-context-base/README.md | ||||
| [def-context-manager]: https://github.com/open-telemetry/opentelemetry-js-api/blob/main/docs/context.md#context-manager | ||||
| [dd-js-tracer-scope]: https://github.com/DataDog/dd-trace-js/tree/main/packages/dd-trace/src/scope | ||||
| [opentracing-scope]: https://github.com/opentracing/opentracing-javascript/pull/113 | ||||
| [diag-team-scope-discussion]: https://github.com/nodejs/diagnostics/issues/300 | ||||
|  |  | |||
|  | @ -24,7 +24,7 @@ This is done by wrapping all tracing-relevant functions. | |||
| This instrumentation code will automatically | ||||
| 
 | ||||
| - extract a trace-context identifier from inbound requests to allow distributed tracing (if applicable) | ||||
| - make sure that this current trace-context is propagated while the transaction traverses an application (see [@opentelemetry/context-base](https://github.com/open-telemetry/opentelemetry-js/blob/main/packages/opentelemetry-context-base/README.md) for an in-depth explanation) | ||||
| - make sure that this current trace-context is propagated while the transaction traverses an application (see [context document in @opentelemetry/api][def-context] for an in-depth explanation) | ||||
| - add this trace-context identifier to outbound requests to allow continuing the distributed trace on the next hop (if applicable) | ||||
| - create and end spans | ||||
| 
 | ||||
|  | @ -119,6 +119,7 @@ Apache 2.0 - See [LICENSE][license-url] for more information. | |||
| [discussions-url]: https://github.com/open-telemetry/opentelemetry-js/discussions | ||||
| [license-url]: https://github.com/open-telemetry/opentelemetry-js/blob/main/LICENSE | ||||
| [license-image]: https://img.shields.io/badge/license-Apache_2.0-green.svg?style=flat | ||||
| [def-context]: https://github.com/open-telemetry/opentelemetry-js-api/blob/main/docs/context.md | ||||
| [dependencies-image]: https://status.david-dm.org/gh/open-telemetry/opentelemetry-js.svg?path=packages%2Fopentelemetry-sdk-trace-node | ||||
| [dependencies-url]: https://david-dm.org/open-telemetry/opentelemetry-js?path=packages%2Fopentelemetry-sdk-trace-node | ||||
| [devDependencies-image]: https://status.david-dm.org/gh/open-telemetry/opentelemetry-js.svg?path=packages%2Fopentelemetry-sdk-trace-node&type=dev | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue