You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*Find more about the maintainer role in [community repository](https://github.com/open-telemetry/community/blob/master/community-membership.md#maintainer).*
Copy file name to clipboardExpand all lines: docs/cloudevents/cloudevents-spans.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -207,4 +207,4 @@ The following attributes are applicable to creation and processing Spans.
207
207
|`cloudevents.event_subject`| string | The [subject](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#subject) of the event in the context of the event producer (identified by source). |`mynewfile.jpg`| Recommended |
Copy file name to clipboardExpand all lines: docs/database/couchdb.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -22,4 +22,4 @@ described on this page.
22
22
**[1]:** In **CouchDB**, `db.operation` should be set to the HTTP method + the target REST route according to the API reference documentation. For example, when retrieving a document, `db.operation` would be set to (literally, i.e., without replacing the placeholders with concrete values): [`GET /{db}/{docid}`](http://docs.couchdb.org/en/stable/api/document/common.html#get--db-docid).
|`pool.name`| string | The name of the connection pool; unique within the instrumented application. In case the connection pool implementation does not provide a name, then the [db.connection_string](/docs/database/database-spans.md#connection-level-attributes) should be used. |`myDataSource`| Required |
Copy file name to clipboardExpand all lines: docs/exceptions/exceptions-logs.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,8 @@ linkTitle: Logs
7
7
**Status**: [Experimental][DocumentStatus]
8
8
9
9
This document defines semantic conventions for recording exceptions on
10
-
[logs](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.21.0/specification/logs/bridge-api.md#emit-a-logrecord) and [events](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.21.0/specification/logs/event-api.md#emit-event)
11
-
emitted through the [Logger API](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.21.0/specification/logs/bridge-api.md#logger).
10
+
[logs](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/logs/bridge-api.md#emit-a-logrecord) and [events](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/logs/event-api.md#emit-event)
11
+
emitted through the [Logger API](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/logs/bridge-api.md#logger).
12
12
13
13
<!-- toc -->
14
14
@@ -21,7 +21,7 @@ emitted through the [Logger API](https://github.com/open-telemetry/opentelemetry
21
21
## Recording an Exception
22
22
23
23
Exceptions SHOULD be recorded as attributes on the
24
-
[LogRecord](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.21.0/specification/logs/data-model.md#log-and-event-record-definition) passed to the [Logger](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.21.0/specification/logs/bridge-api.md#logger) emit
24
+
[LogRecord](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/logs/data-model.md#log-and-event-record-definition) passed to the [Logger](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/logs/bridge-api.md#logger) emit
25
25
operations. Exceptions MAY be recorded on "logs" or "events" depending on the
26
26
context.
27
27
@@ -33,7 +33,7 @@ the language runtime.
33
33
## Attributes
34
34
35
35
The table below indicates which attributes should be added to the
36
-
[LogRecord](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.21.0/specification/logs/data-model.md#log-and-event-record-definition) and their types.
36
+
[LogRecord](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/logs/data-model.md#log-and-event-record-definition) and their types.
Copy file name to clipboardExpand all lines: docs/exceptions/exceptions-spans.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ An exception SHOULD be recorded as an `Event` on the span during which it occurr
23
23
The name of the event MUST be `"exception"`.
24
24
25
25
A typical template for an auto-instrumentation implementing this semantic convention
26
-
using an [API-provided `recordException` method](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.21.0/specification/trace/api.md#record-exception)
26
+
using an [API-provided `recordException` method](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/trace/api.md#record-exception)
27
27
could look like this (pseudo-Java):
28
28
29
29
```java
@@ -109,4 +109,4 @@ grained information from a stacktrace, if necessary.
Copy file name to clipboardExpand all lines: docs/faas/aws-lambda.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -57,9 +57,9 @@ and the [cloud resource conventions][cloud]. The following AWS Lambda-specific a
57
57
### AWS X-Ray Environment Span Link
58
58
59
59
If the `_X_AMZN_TRACE_ID` environment variable is set, instrumentation SHOULD try to parse an
60
-
OpenTelemetry `Context` out of it using the [AWS X-Ray Propagator](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.21.0/specification/context/api-propagators.md). If the
61
-
resulting `Context` is [valid](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.21.0/specification/trace/api.md#isvalid) then a [Span Link][] SHOULD be added to the new Span's
62
-
[start options](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.21.0/specification/trace/api.md#specifying-links) with an associated attribute of `source=x-ray-env` to
60
+
OpenTelemetry `Context` out of it using the [AWS X-Ray Propagator](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/context/api-propagators.md). If the
61
+
resulting `Context` is [valid](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/trace/api.md#isvalid) then a [Span Link][] SHOULD be added to the new Span's
62
+
[start options](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/trace/api.md#specifying-links) with an associated attribute of `source=x-ray-env` to
63
63
indicate the source of the linked span.
64
64
Instrumentation MUST check if the context is valid before using it because the `_X_AMZN_TRACE_ID` environment variable can
65
65
contain an incomplete trace context which indicates X-Ray isn’t enabled. The environment variable will be set and the
@@ -109,7 +109,7 @@ be `<event source> process`. If there are multiple sources in the batch, the nam
109
109
110
110
For every message in the event, the [message system attributes][] (not message attributes, which are provided by
111
111
the user) SHOULD be checked for the key `AWSTraceHeader`. If it is present, an OpenTelemetry `Context` SHOULD be
112
-
parsed from the value of the attribute using the [AWS X-Ray Propagator](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.21.0/specification/context/api-propagators.md) and
112
+
parsed from the value of the attribute using the [AWS X-Ray Propagator](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/context/api-propagators.md) and
113
113
added as a link to the span. This means the span may have as many links as messages in the batch.
114
114
See [compatibility](../../supplementary-guidelines/compatibility/aws.md#context-propagation) for more info.
115
115
@@ -123,7 +123,7 @@ See [compatibility](../../supplementary-guidelines/compatibility/aws.md#context-
123
123
For the SQS message span, the name MUST be `<event source> process`. The parent MUST be the `CONSUMER` span
124
124
corresponding to the SQS event. The [message system attributes][] (not message attributes, which are provided by
125
125
the user) SHOULD be checked for the key `AWSTraceHeader`. If it is present, an OpenTelemetry `Context` SHOULD be
126
-
parsed from the value of the attribute using the [AWS X-Ray Propagator](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.21.0/specification/context/api-propagators.md) and
126
+
parsed from the value of the attribute using the [AWS X-Ray Propagator](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/context/api-propagators.md) and
127
127
added as a link to the span.
128
128
See [compatibility](../../supplementary-guidelines/compatibility/aws.md#context-propagation) for more info.
129
129
@@ -250,4 +250,4 @@ because it is not available until function invocation.
0 commit comments