@azure/core-tracing 1.0.1 → 1.0.2-alpha.20220523.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -4
- package/CHANGELOG.md +0 -105
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure/core-tracing",
|
|
3
|
-
"version": "1.0.1",
|
|
3
|
+
"version": "1.0.2-alpha.20220523.1",
|
|
4
4
|
"description": "Provides low-level interfaces and helper methods for tracing in Azure SDK",
|
|
5
5
|
"sdk-type": "client",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -61,15 +61,15 @@
|
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@azure/core-auth": "^1.3.0",
|
|
64
|
-
"@azure/dev-tool": "
|
|
65
|
-
"@azure/eslint-plugin-azure-sdk": "
|
|
64
|
+
"@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
|
|
65
|
+
"@azure/eslint-plugin-azure-sdk": ">=3.0.0-alpha <3.0.0-alphb",
|
|
66
66
|
"@microsoft/api-extractor": "7.18.11",
|
|
67
67
|
"@types/chai": "^4.1.6",
|
|
68
68
|
"@types/mocha": "^7.0.2",
|
|
69
69
|
"@types/node": "^12.0.0",
|
|
70
70
|
"chai": "^4.2.0",
|
|
71
71
|
"cross-env": "^7.0.2",
|
|
72
|
-
"eslint": "^
|
|
72
|
+
"eslint": "^8.0.0",
|
|
73
73
|
"inherits": "^2.0.3",
|
|
74
74
|
"karma": "^6.2.0",
|
|
75
75
|
"karma-chrome-launcher": "^3.0.0",
|
package/CHANGELOG.md
DELETED
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
# Release History
|
|
2
|
-
|
|
3
|
-
## 1.0.1 (2022-05-05)
|
|
4
|
-
|
|
5
|
-
### Other Changes
|
|
6
|
-
|
|
7
|
-
- Minor improvements to the typing of `updatedOptions` when calling startSpan.
|
|
8
|
-
|
|
9
|
-
## 1.0.0 (2022-03-31)
|
|
10
|
-
|
|
11
|
-
This release marks the GA release of our @azure/core-tracing libraries and is unchanged from preview.14
|
|
12
|
-
|
|
13
|
-
## 1.0.0-preview.14 (2022-02-03)
|
|
14
|
-
|
|
15
|
-
### Breaking Changes
|
|
16
|
-
|
|
17
|
-
- @azure/core-tracing has been rewritten in order to provide cleaner abstractions for client libraries as well as remove @opentelemetry/api as a direct dependency.
|
|
18
|
-
- @opentelemetry/api is no longer a direct dependency of @azure/core-tracing providing for smaller bundle sizes and lower incidence of version conflicts
|
|
19
|
-
- `createSpanFunction` has been removed and replaced with a stateful `TracingClient` which can be created using the `createTracingClient` function.
|
|
20
|
-
- `TracingClient` introduces a new API for creating tracing spans. Use `TracingClient#withSpan` to wrap an invocation in a span, ensuring the span is ended and exceptions are captured.
|
|
21
|
-
- `TracingClient` also provides the lower-level APIs necessary to start a span without making it active, create request headers, serialize `traceparent` header, and wrapping a callback with an active context.
|
|
22
|
-
|
|
23
|
-
### Other Changes
|
|
24
|
-
|
|
25
|
-
- Updates package to work with the react native bundler. [PR #17783](https://github.com/Azure/azure-sdk-for-js/pull/17783)
|
|
26
|
-
|
|
27
|
-
## 1.0.0-preview.13 (2021-07-15)
|
|
28
|
-
|
|
29
|
-
### Features Added
|
|
30
|
-
|
|
31
|
-
- Added support for disabling distributed tracing using the AZURE_TRACING_DISABLED environment variable.
|
|
32
|
-
|
|
33
|
-
### Breaking Changes
|
|
34
|
-
|
|
35
|
-
- Removed `TestTracer` and `TestSpan` from public API and into `@azure/test-utils`. [PR #16315](https://github.com/Azure/azure-sdk-for-js/pull/16315)
|
|
36
|
-
- `TestTracer` and `TestSpan` are intended for test support when used by other Azure packages and not intended for use by end users.
|
|
37
|
-
- Removed `setTracer`, @azure/core-tracing will now rely on the `trace` API to fetch a tracer from the global tracer provider. [PR #16347](https://github.com/Azure/azure-sdk-for-js/pull/16347)
|
|
38
|
-
- If you are using `setTracer`, please use `trace.setGlobalTracerProvider(provider)` instead as described in the OpenTelemetry documentation.
|
|
39
|
-
- Removed `NoOpTracer` and `NoOpSpan` from the public API. Please use `trace.wrapSpanContext(INVALID_SPAN_CONTEXT)` from `@opentelemetry/api` instead. [PR #16315](https://github.com/Azure/azure-sdk-for-js/pull/16315)
|
|
40
|
-
|
|
41
|
-
## 1.0.0-preview.12 (2021-06-30)
|
|
42
|
-
|
|
43
|
-
- Update `@opentelemetry/api` to version 1.0.0 [PR #15883](https://github.com/Azure/azure-sdk-for-js/pull/15883)
|
|
44
|
-
- This version ships with ESM modules and fixes an issue where Angular projects would warn ab out optimization bailouts due to dependencies on CommonJS or AMD.
|
|
45
|
-
|
|
46
|
-
### Breaking Changes
|
|
47
|
-
|
|
48
|
-
- Removed `OpenCensusSpanWrapper` and `OpenCensusTracerWrapper` from the public API. Customers using these wrappers should migrate to using `OpenTelemetry` directly. [PR #15770](https://github.com/Azure/azure-sdk-for-js/pull/15770)
|
|
49
|
-
- Update `@azure/core-tracing` to version 1.0.0-preview.12. This brings core-tracing up to date with `@opentelemetry/api@1.0.0`.
|
|
50
|
-
- `Span#context` was renamed to `Span#spanContext`. This change is supported in `@azure/core-http@1.2.7`.
|
|
51
|
-
|
|
52
|
-
## 1.0.0-preview.11 (2021-03-30)
|
|
53
|
-
|
|
54
|
-
### Breaking Changes
|
|
55
|
-
|
|
56
|
-
- Update @azure/core-tracing to version 1.0.0-preview.11. This brings core-tracing up to date with @opentelemetry/api@1.0.0-rc.0.
|
|
57
|
-
There are two scenarios that will require changes if you are using tracing:
|
|
58
|
-
- Previously, you would pass a parent span using the `OperationOptions.tracingOptions.spanOptions.parentSpan` property. This has been
|
|
59
|
-
changed so that you now specify a parent `Context` using the `OperationOptions.tracingOptions.tracingContext` property instead.
|
|
60
|
-
- The status code for Spans is no longer of type `CanonicalCode`. Instead, it's now `SpanStatusCode`, which also has a smaller range of values.
|
|
61
|
-
|
|
62
|
-
## 1.0.0-preview.10 (2021-03-04)
|
|
63
|
-
|
|
64
|
-
- Internal improvements to make future opentelemetry updates simpler.
|
|
65
|
-
|
|
66
|
-
## 1.0.0-preview.9 (2020-08-04)
|
|
67
|
-
|
|
68
|
-
- Update `@opentelemetry/api` to version 0.10.2 [PR 10393](https://github.com/Azure/azure-sdk-for-js/pull/10393)
|
|
69
|
-
|
|
70
|
-
## 1.0.0-preview.8 (2020-04-28)
|
|
71
|
-
|
|
72
|
-
- Update `TestSpan` to allow setting span attributes [PR link](https://github.com/Azure/azure-sdk-for-js/pull/6565).
|
|
73
|
-
- [BREAKING] Migrate to OpenTelemetry 0.6 using the new `@opentelemetry/api` package. There were a few breaking changes:
|
|
74
|
-
- `SpanContext` now requires traceFlags to be set.
|
|
75
|
-
- `Tracer` has removed `recordSpanData`, `getBinaryFormat`, and `getHttpTextFormat`.
|
|
76
|
-
- `Tracer.getCurrentSpan` returns `undefined` instead of `null` when unset.
|
|
77
|
-
- `Link` objects renamed `spanContext` property to `context`.
|
|
78
|
-
|
|
79
|
-
## 1.0.0-preview.7 (2019-12-03)
|
|
80
|
-
|
|
81
|
-
- Updated the behavior of how incompatible versions of OpenTelemetry Tracer are handled. Now, errors will be thrown only if the user has manually set a Tracer. This means that incompatible versions will be silently ignored when tracing is not enabled.
|
|
82
|
-
- Updated to use OpenTelemetry 0.2 via the `@opentelemetry/types` package. There were two breaking changes in this update:
|
|
83
|
-
- `isRecordingEvents` on `Span` was renamed to `isRecording`. [PR link](https://github.com/open-telemetry/opentelemetry-js/pull/454)
|
|
84
|
-
- `addLink` was removed from `Span` as links are now only allowed to be added during span creation. This is possible by specifying any necessary links inside `SpanOptions`. [PR link](https://github.com/open-telemetry/opentelemetry-js/pull/449)
|
|
85
|
-
|
|
86
|
-
## 1.0.0-preview.5 (2019-10-22)
|
|
87
|
-
|
|
88
|
-
- Fixes issue where loading multiple copies of this module could result in the tracer set by `setTracer()` being reset.
|
|
89
|
-
|
|
90
|
-
## 1.0.0-preview.4 (2019-10-08)
|
|
91
|
-
|
|
92
|
-
- Remove dependency on the `debug` module to ensure compatibility with IE11
|
|
93
|
-
|
|
94
|
-
## 1.0.0-preview.3 (2019-10-07)
|
|
95
|
-
|
|
96
|
-
- Updated to use the latest types from OpenTelemetry (PR [#5182](https://github.com/Azure/azure-sdk-for-js/pull/5182))
|
|
97
|
-
- Clean up and refactored code for easier usage and testability. (PR [#5233](https://github.com/Azure/azure-sdk-for-js/pull/5233) and PR [#5283](https://github.com/Azure/azure-sdk-for-js/pull/5283))
|
|
98
|
-
|
|
99
|
-
## 1.0.0-preview.2 (2019-09-09)
|
|
100
|
-
|
|
101
|
-
Updated the `OpenCensusSpanPlugin` & the `NoOpSpanPlugin` to support for retrieving span context. This allows updating of request headers with the right [span context](https://www.w3.org/TR/trace-context/#trace-context-http-headers-format). (PR [#4712](https://github.com/Azure/azure-sdk-for-js/pull/4712))
|
|
102
|
-
|
|
103
|
-
## 1.0.0-preview.1 (2019-08-05)
|
|
104
|
-
|
|
105
|
-
Provides low-level interfaces and helper methods for tracing in Azure SDK
|