@contrail/telemetry 2.0.12-alpha.1 → 2.1.0-alpha-otel-query-params.0
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/CHANGELOG.md
CHANGED
|
@@ -5,12 +5,6 @@ All notable changes to `@contrail/telemetry` are documented here.
|
|
|
5
5
|
Format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
6
6
|
Versioning follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
-
## [2.0.12] - 2026-04-28
|
|
9
|
-
|
|
10
|
-
### Added
|
|
11
|
-
|
|
12
|
-
- **`ATTR_AWS_SQS_MESSAGE_GROUP_ID` constant** — `aws.sqs.message_group_id` attribute for tagging spans with SQS FIFO message group IDs. Follows the `aws.sqs.*` namespace pattern from the OTel SQS semantic conventions.
|
|
13
|
-
|
|
14
8
|
## [2.0.11] - 2026-04-24
|
|
15
9
|
|
|
16
10
|
### Added
|
|
@@ -22,12 +22,6 @@ export declare const ATTR_USER_ROLES: "user.roles";
|
|
|
22
22
|
* @see https://opentelemetry.io/docs/specs/semconv/resource/deployment-environment/
|
|
23
23
|
*/
|
|
24
24
|
export declare const ATTR_DEPLOYMENT_ENVIRONMENT_NAME: "deployment.environment.name";
|
|
25
|
-
/**
|
|
26
|
-
* The SQS FIFO message group ID.
|
|
27
|
-
* Follows the `aws.sqs.*` namespace pattern established by `aws.sqs.queue.url`.
|
|
28
|
-
* @see https://opentelemetry.io/docs/specs/semconv/messaging/sqs/
|
|
29
|
-
*/
|
|
30
|
-
export declare const ATTR_AWS_SQS_MESSAGE_GROUP_ID: "aws.sqs.message_group_id";
|
|
31
25
|
/**
|
|
32
26
|
* Builds a custom attribute name with the `contrail.*` namespace prefix.
|
|
33
27
|
* Enforces lowercase for string literals at compile time; runtime values are not validated.
|
|
@@ -42,3 +36,11 @@ export declare const ATTR_CONTRAIL_SYSTEM: "contrail.system";
|
|
|
42
36
|
* Namespace for Contrail-custom user attributes (not in OTel spec).
|
|
43
37
|
*/
|
|
44
38
|
export declare const ATTR_CONTRAIL_USER: "contrail.user";
|
|
39
|
+
/**
|
|
40
|
+
* Board entity identifier (Contrail domain concept; not in OTel spec).
|
|
41
|
+
*/
|
|
42
|
+
export declare const ATTR_CONTRAIL_BOARD_ID: "contrail.board.id";
|
|
43
|
+
/**
|
|
44
|
+
* Document entity identifier (Contrail domain concept; not in OTel spec).
|
|
45
|
+
*/
|
|
46
|
+
export declare const ATTR_CONTRAIL_DOCUMENT_ID: "contrail.document.id";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @see https://opentelemetry.io/docs/specs/semconv/registry/attributes/
|
|
9
9
|
*/
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.
|
|
11
|
+
exports.ATTR_CONTRAIL_DOCUMENT_ID = exports.ATTR_CONTRAIL_BOARD_ID = exports.ATTR_CONTRAIL_USER = exports.ATTR_CONTRAIL_SYSTEM = exports.ATTR_DEPLOYMENT_ENVIRONMENT_NAME = exports.ATTR_USER_ROLES = exports.ATTR_USER_EMAIL = exports.ATTR_USER_ID = void 0;
|
|
12
12
|
exports.buildContrailAttributeName = buildContrailAttributeName;
|
|
13
13
|
// ---------------------------------------------------------------------------
|
|
14
14
|
// OTel-spec attributes not yet in the SDK
|
|
@@ -29,12 +29,6 @@ exports.ATTR_USER_ROLES = 'user.roles';
|
|
|
29
29
|
* @see https://opentelemetry.io/docs/specs/semconv/resource/deployment-environment/
|
|
30
30
|
*/
|
|
31
31
|
exports.ATTR_DEPLOYMENT_ENVIRONMENT_NAME = 'deployment.environment.name';
|
|
32
|
-
/**
|
|
33
|
-
* The SQS FIFO message group ID.
|
|
34
|
-
* Follows the `aws.sqs.*` namespace pattern established by `aws.sqs.queue.url`.
|
|
35
|
-
* @see https://opentelemetry.io/docs/specs/semconv/messaging/sqs/
|
|
36
|
-
*/
|
|
37
|
-
exports.ATTR_AWS_SQS_MESSAGE_GROUP_ID = 'aws.sqs.message_group_id';
|
|
38
32
|
// ---------------------------------------------------------------------------
|
|
39
33
|
// Contrail-custom attributes
|
|
40
34
|
// ---------------------------------------------------------------------------
|
|
@@ -54,3 +48,11 @@ exports.ATTR_CONTRAIL_SYSTEM = buildContrailAttributeName('system');
|
|
|
54
48
|
* Namespace for Contrail-custom user attributes (not in OTel spec).
|
|
55
49
|
*/
|
|
56
50
|
exports.ATTR_CONTRAIL_USER = buildContrailAttributeName('user');
|
|
51
|
+
/**
|
|
52
|
+
* Board entity identifier (Contrail domain concept; not in OTel spec).
|
|
53
|
+
*/
|
|
54
|
+
exports.ATTR_CONTRAIL_BOARD_ID = buildContrailAttributeName('board.id');
|
|
55
|
+
/**
|
|
56
|
+
* Document entity identifier (Contrail domain concept; not in OTel spec).
|
|
57
|
+
*/
|
|
58
|
+
exports.ATTR_CONTRAIL_DOCUMENT_ID = buildContrailAttributeName('document.id');
|
package/package.json
CHANGED