Bump to latest specification version. (#379)
This commit is contained in:
parent
7311eb1d58
commit
b127e121b9
|
@ -26,7 +26,7 @@ key, but non-obvious, aspects:
|
|||
You will see `<!--- Hugo front matter used to generate ...` sections
|
||||
in markdown. See [Hugo frontmatter](#hugo-frontmatter) for details.
|
||||
- All changes to existing attributes, metrics, etc. MUST be allowed as
|
||||
per our [stability guarantees](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.20.0/specification/versioning-and-stability.md#semantic-conventions-stability) and
|
||||
per our [stability guarantees][stability guarantees] and
|
||||
defined in a schema file. As part of any contribution, you should
|
||||
include attribute changes defined in the `schema-next.yaml` file.
|
||||
For details, please read [the schema specification](https://opentelemetry.io/docs/specs/otel/schemas/).
|
||||
|
@ -198,3 +198,4 @@ to merge**.
|
|||
- Create a tag `v{version}` on the merged PR and push remote.
|
||||
|
||||
[nvm]: https://github.com/nvm-sh/nvm/blob/master/README.md#installing-and-updating
|
||||
[stability guarantees]: https://github.com/open-telemetry/opentelemetry-specification/blob/v1.26.0/specification/versioning-and-stability.md#semantic-conventions-stability
|
||||
|
|
|
@ -36,4 +36,4 @@ Maintainers ([@open-telemetry/specs-semconv-maintainers](https://github.com/orgs
|
|||
|
||||
_Find more about the maintainer role in [community repository](https://github.com/open-telemetry/community/blob/master/community-membership.md#maintainer)._
|
||||
|
||||
[SpecificationVersion]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0
|
||||
[SpecificationVersion]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0
|
||||
|
|
|
@ -29,4 +29,4 @@ Currently, the following namespaces exist:
|
|||
|
||||
* [HTTP](http.md)
|
||||
|
||||
[developers recommendations]: https://github.com/open-telemetry/opentelemetry-specification/blob/v1.22.0/specification/common/attribute-naming.md#recommendations-for-application-developers
|
||||
[developers recommendations]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/common/attribute-naming.md#recommendations-for-application-developers
|
||||
|
|
|
@ -15,4 +15,4 @@ Semantic conventions exist for the following cloud provider SDKs:
|
|||
|
||||
- [AWS SDK](aws-sdk.md): Semantic Conventions for the _AWS SDK_.
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -45,4 +45,4 @@ The following Semantic Conventions extend the general AWS SDK attributes for spe
|
|||
- [AWS DynamoDB](/docs/database/dynamodb.md): Semantic Conventions for _AWS DynamoDB_.
|
||||
- [AWS S3](/docs/object-stores/s3.md): Semantic Conventions for _AWS S3_.
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -15,4 +15,4 @@ Semantic conventions for CloudEvents are defined for the following signals:
|
|||
|
||||
- [CloudEvents Spans](cloudevents-spans.md): Semantic Conventions for modeling CloudEvents as _spans_.
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -210,4 +210,4 @@ The following attributes are applicable to creation and processing Spans.
|
|||
<!-- endsemconv -->
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -31,4 +31,4 @@ Technology specific semantic conventions are defined for the following databases
|
|||
* [Redis](redis.md): Semantic Conventions for *Redis*.
|
||||
* [SQL](sql.md): Semantic Conventions for *SQL* databases.
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -47,4 +47,4 @@ described on this page.
|
|||
| `local_serial` | local_serial |
|
||||
<!-- endsemconv -->
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -90,4 +90,4 @@ In addition to Cosmos DB attributes, all spans include
|
|||
| `db.cosmosdb.sub_status_code` | `0` |
|
||||
| `db.cosmosdb.request_charge` | `7.43` |
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -22,4 +22,4 @@ described on this page.
|
|||
**[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).
|
||||
<!-- endsemconv -->
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -183,6 +183,6 @@ This metric is [recommended][MetricRecommended].
|
|||
| `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 |
|
||||
<!-- endsemconv -->
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[MetricRequired]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/metrics/metric-requirement-level.md#required
|
||||
[MetricRecommended]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/metrics/metric-requirement-level.md#recommended
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
[MetricRequired]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/metrics/metric-requirement-level.md#required
|
||||
[MetricRecommended]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/metrics/metric-requirement-level.md#recommended
|
||||
|
|
|
@ -200,4 +200,4 @@ More specific Semantic Conventions are defined for the following database techno
|
|||
* [Redis](redis.md): Semantic Conventions for *Redis*.
|
||||
* [SQL](sql.md): Semantic Conventions for *SQL* databases.
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -170,4 +170,4 @@ These attributes are filled in for all DynamoDB request types.
|
|||
| `aws.dynamodb.table_names` | string[] | A single-element array with the value of the TableName request parameter. | `[Users]` | Recommended |
|
||||
<!-- endsemconv -->
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -89,4 +89,4 @@ the server address behind any intermediaries (e.g. proxies) if it's available.
|
|||
| `db.elasticsearch.cluster.name` | `"e9106fc68e3044f0b1475b04bf4ffd5f"` |
|
||||
| `db.elasticsearch.node.name` | `"instance-0000000001"` |
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -32,4 +32,4 @@ MAY be used as span name.
|
|||
| `subscription` | GraphQL subscription |
|
||||
<!-- endsemconv -->
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -22,4 +22,4 @@ described on this page.
|
|||
**[1]:** For HBase the `db.name` should be set to the HBase namespace.
|
||||
<!-- endsemconv -->
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -37,4 +37,4 @@ described on this page.
|
|||
| `db.operation` | `"findAndModify"` |
|
||||
| `db.mongodb.collection` | `"products"` |
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -23,4 +23,4 @@ described on this page.
|
|||
**[1]:** If setting a `db.mssql.instance_name`, `server.port` is no longer required (but still recommended if non-standard).
|
||||
<!-- endsemconv -->
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -43,4 +43,4 @@ Furthermore, `db.name` is not specified as there is no database name in Redis an
|
|||
| `db.operation` | not set |
|
||||
| `db.redis.database_index` | `15` |
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -39,4 +39,4 @@ This is an example of attributes for a MySQL database span:
|
|||
| `db.operation` | `"SELECT"` |
|
||||
| `db.sql.table` | `"orders"` |
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -16,4 +16,4 @@ Semantic conventions for Exceptions are defined for the following signals:
|
|||
* [Exceptions on spans](exceptions-spans.md): Semantic Conventions for Exceptions associated with *spans*.
|
||||
* [Exceptions in logs](exceptions-logs.md): Semantic Conventions for Exceptions recorded in *logs*.
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -7,8 +7,8 @@ linkTitle: Logs
|
|||
**Status**: [Experimental][DocumentStatus]
|
||||
|
||||
This document defines semantic conventions for recording exceptions on
|
||||
[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)
|
||||
emitted through the [Logger API](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/logs/bridge-api.md#logger).
|
||||
[logs](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/logs/bridge-api.md#emit-a-logrecord) and [events](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/logs/event-api.md#emit-event)
|
||||
emitted through the [Logger API](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/logs/bridge-api.md#logger).
|
||||
|
||||
<!-- toc -->
|
||||
|
||||
|
@ -21,7 +21,7 @@ emitted through the [Logger API](https://github.com/open-telemetry/opentelemetry
|
|||
## Recording an Exception
|
||||
|
||||
Exceptions SHOULD be recorded as attributes on the
|
||||
[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
|
||||
[LogRecord](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/logs/data-model.md#log-and-event-record-definition) passed to the [Logger](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/logs/bridge-api.md#logger) emit
|
||||
operations. Exceptions MAY be recorded on "logs" or "events" depending on the
|
||||
context.
|
||||
|
||||
|
@ -33,7 +33,7 @@ the language runtime.
|
|||
## Attributes
|
||||
|
||||
The table below indicates which attributes should be added to the
|
||||
[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.
|
||||
[LogRecord](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/logs/data-model.md#log-and-event-record-definition) and their types.
|
||||
|
||||
<!-- semconv log-exception -->
|
||||
| Attribute | Type | Description | Examples | Requirement Level |
|
||||
|
@ -53,4 +53,4 @@ The table below indicates which attributes should be added to the
|
|||
Same as [Trace Semantic Conventions for Exceptions - Stacktrace
|
||||
Representation](exceptions-spans.md#stacktrace-representation).
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -23,7 +23,7 @@ An exception SHOULD be recorded as an `Event` on the span during which it occurr
|
|||
The name of the event MUST be `"exception"`.
|
||||
|
||||
A typical template for an auto-instrumentation implementing this semantic convention
|
||||
using an [API-provided `recordException` method](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/trace/api.md#record-exception)
|
||||
using an [API-provided `recordException` method](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/trace/api.md#record-exception)
|
||||
could look like this (pseudo-Java):
|
||||
|
||||
```java
|
||||
|
@ -109,4 +109,4 @@ grained information from a stacktrace, if necessary.
|
|||
[telemetry-sdk-resource]: ../resource/README.md#telemetry-sdk
|
||||
[erlang-stacktrace]: https://www.erlang.org/doc/man/erl_error.html#format_exception-3
|
||||
[elixir-stacktrace]: https://hexdocs.pm/elixir/1.14.3/Exception.html#format/3
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -20,4 +20,4 @@ Technology specific semantic conventions are defined for the following FaaS serv
|
|||
|
||||
* [AWS Lambda](aws-lambda.md): Semantic Conventions for *AWS Lambda*.
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -57,9 +57,9 @@ and the [cloud resource conventions][cloud]. The following AWS Lambda-specific a
|
|||
### AWS X-Ray Environment Span Link
|
||||
|
||||
If the `_X_AMZN_TRACE_ID` environment variable is set, instrumentation SHOULD try to parse an
|
||||
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
|
||||
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
|
||||
[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
|
||||
OpenTelemetry `Context` out of it using the [AWS X-Ray Propagator](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/context/api-propagators.md). If the
|
||||
resulting `Context` is [valid](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/trace/api.md#isvalid) then a [Span Link][] SHOULD be added to the new Span's
|
||||
[start options](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/trace/api.md#specifying-links) with an associated attribute of `source=x-ray-env` to
|
||||
indicate the source of the linked span.
|
||||
Instrumentation MUST check if the context is valid before using it because the `_X_AMZN_TRACE_ID` environment variable can
|
||||
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
|
|||
|
||||
For every message in the event, the [message system attributes][] (not message attributes, which are provided by
|
||||
the user) SHOULD be checked for the key `AWSTraceHeader`. If it is present, an OpenTelemetry `Context` SHOULD be
|
||||
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
|
||||
parsed from the value of the attribute using the [AWS X-Ray Propagator](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/context/api-propagators.md) and
|
||||
added as a link to the span. This means the span may have as many links as messages in the batch.
|
||||
See [compatibility](../../supplementary-guidelines/compatibility/aws.md#context-propagation) for more info.
|
||||
|
||||
|
@ -122,7 +122,7 @@ See [compatibility](../../supplementary-guidelines/compatibility/aws.md#context-
|
|||
For the SQS message span, the name MUST be `<event source> process`. The parent MUST be the `CONSUMER` span
|
||||
corresponding to the SQS event. The [message system attributes][] (not message attributes, which are provided by
|
||||
the user) SHOULD be checked for the key `AWSTraceHeader`. If it is present, an OpenTelemetry `Context` SHOULD be
|
||||
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
|
||||
parsed from the value of the attribute using the [AWS X-Ray Propagator](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/context/api-propagators.md) and
|
||||
added as a link to the span.
|
||||
See [compatibility](../../supplementary-guidelines/compatibility/aws.md#context-propagation) for more info.
|
||||
|
||||
|
@ -246,4 +246,4 @@ because it is not available until function invocation.
|
|||
|
||||
[environment variables]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-runtime
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -288,5 +288,5 @@ FaaS providers. This list is not exhaustive.
|
|||
* [Google CloudFunctions Metrics](https://cloud.google.com/monitoring/api/metrics_gcp#gcp-cloudfunctions)
|
||||
* [OpenFaas Metrics](https://docs.openfaas.com/architecture/metrics/)
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[MetricRecommended]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/metrics/metric-requirement-level.md#recommended
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
[MetricRecommended]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/metrics/metric-requirement-level.md#recommended
|
||||
|
|
|
@ -261,4 +261,4 @@ This example shows the FaaS attributes for a (non-FaaS) process hosted on Google
|
|||
| Resource | `faas.instance` | n/a | `"my-lambda-function:instance-0001"` |
|
||||
| Resource | `cloud.resource_id` | n/a | `"arn:aws:lambda:us-west-2:123456789012:function:my-lambda-function"` |
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -17,4 +17,4 @@ Semantic conventions for feature flags are defined for the following signals:
|
|||
* [Feature Flags in Spans](feature-flags-spans.md): Semantic Conventions for recording feature flags in *spans*.
|
||||
* [Feature Flags in Logs](feature-flags-logs.md): Semantic Conventions for recording feature flags in *logs*.
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -7,8 +7,8 @@ linkTitle: Logs
|
|||
**Status**: [Experimental][DocumentStatus]
|
||||
|
||||
This document defines semantic conventions for recording feature flag evaluations as
|
||||
a [log record](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/logs/data-model.md#log-and-event-record-definition) emitted through the
|
||||
[Logger API](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/logs/bridge-api.md#emit-a-logrecord).
|
||||
a [log record](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/logs/data-model.md#log-and-event-record-definition) emitted through the
|
||||
[Logger API](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/logs/bridge-api.md#emit-a-logrecord).
|
||||
This is useful when a flag is evaluated outside of a transaction context
|
||||
such as when the application loads or on a timer.
|
||||
To record a flag evaluation as a part of a transaction context,
|
||||
|
@ -28,14 +28,14 @@ section of the trace semantic convention for feature flag evaluations.
|
|||
## Recording an Evaluation
|
||||
|
||||
Feature flag evaluations SHOULD be recorded as attributes on the
|
||||
[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
|
||||
[LogRecord](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/logs/data-model.md#log-and-event-record-definition) passed to the [Logger](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/logs/bridge-api.md#logger) emit
|
||||
operations. Evaluations MAY be recorded on "logs" or "events" depending on the
|
||||
context.
|
||||
|
||||
## Attributes
|
||||
|
||||
The table below indicates which attributes should be added to the
|
||||
[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.
|
||||
[LogRecord](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/logs/data-model.md#log-and-event-record-definition) and their types.
|
||||
|
||||
<!-- semconv log-feature_flag -->
|
||||
The event name MUST be `feature_flag`.
|
||||
|
@ -56,4 +56,4 @@ semantic identifier is unavailable. String representation of the value
|
|||
should be determined by the implementer.
|
||||
<!-- endsemconv -->
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -60,4 +60,4 @@ semantic identifier is unavailable. String representation of the value
|
|||
should be determined by the implementer.
|
||||
<!-- endsemconv -->
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -393,4 +393,4 @@ about the span.
|
|||
| `code.namespace` | string | The "namespace" within which `code.function` is defined. Usually the qualified class or module name, such that `code.namespace` + some separator + `code.function` form a unique identifier for the code unit. | `com.example.MyHttpService` | Recommended |
|
||||
<!-- endsemconv -->
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -58,4 +58,4 @@ unrelated events.
|
|||
| `k8s` | Events from Kubernetes |
|
||||
<!-- endsemconv -->
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -28,7 +28,7 @@ The following semantic conventions for logs are defined:
|
|||
* [Feature Flags](/docs/feature-flags/feature-flags-logs.md): Semantic attributes that may be used in describing feature flag evaluations in logs.
|
||||
|
||||
Apart from semantic conventions for logs, [events](events.md), [traces](trace.md), and [metrics](metrics.md),
|
||||
OpenTelemetry also defines the concept of overarching [Resources](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/resource/sdk.md) with their own
|
||||
OpenTelemetry also defines the concept of overarching [Resources](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/resource/sdk.md) with their own
|
||||
[Resource Semantic Conventions](/docs/resource/README.md).
|
||||
|
||||
## General log identification attributes
|
||||
|
@ -48,7 +48,7 @@ The id MAY be an [Universally Unique Lexicographically Sortable Identifier (ULID
|
|||
|
||||
This section describes attributes for log media in OpenTelemetry. Log media are mechanisms by which logs are transmitted. Types of media include files, streams, network protocols, and os-specific logging services such as journald and Windows Event Log.
|
||||
|
||||
**Note:** The OpenTelemetry specification defines a [Resource](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/resource/sdk.md#resource-sdk) as `an immutable representation of the entity producing telemetry`.
|
||||
**Note:** The OpenTelemetry specification defines a [Resource](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/resource/sdk.md#resource-sdk) as `an immutable representation of the entity producing telemetry`.
|
||||
The following attributes do not describe entities that produce telemetry. Rather, they describe mechanisms of log transmission.
|
||||
As such, these should be recorded as Log Record attributes when applicable. They should not be recorded as Resource attributes.
|
||||
|
||||
|
@ -82,4 +82,4 @@ As such, these should be recorded as Log Record attributes when applicable. They
|
|||
| `stderr` | Events from stderr stream |
|
||||
<!-- endsemconv -->
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -38,7 +38,7 @@ The following semantic conventions surrounding metrics are defined:
|
|||
* [Runtime Environment](/docs/runtime/README.md#metrics): For runtime environment metrics.
|
||||
|
||||
Apart from semantic conventions for metrics, [traces](trace.md), [logs](logs.md), and [events](events.md), OpenTelemetry also
|
||||
defines the concept of overarching [Resources](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/resource/sdk.md) with
|
||||
defines the concept of overarching [Resources](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/resource/sdk.md) with
|
||||
their own [Resource Semantic Conventions](/docs/resource/README.md).
|
||||
|
||||
## General Guidelines
|
||||
|
@ -99,7 +99,7 @@ usable.
|
|||
|
||||
When building components that interoperate between OpenTelemetry and a system
|
||||
using the OpenMetrics exposition format, use the
|
||||
[OpenMetrics Guidelines](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/compatibility/prometheus_and_openmetrics.md).
|
||||
[OpenMetrics Guidelines](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/compatibility/prometheus_and_openmetrics.md).
|
||||
|
||||
### Naming rules for Counters and UpDownCounters
|
||||
|
||||
|
@ -238,4 +238,4 @@ For example, if you are tracking `active_requests` with an `UpDownCounter`, and
|
|||
request starts and decrementing it each time a request ends, then any attributes which are not yet available when
|
||||
incrementing the counter at request start should not be used when decrementing the counter at request end.
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -19,4 +19,4 @@ the Logs, Events, and Spans generated during the Session's lifecycle.
|
|||
| `session.id` | string | A unique id to identify a session. | `00112233-4455-6677-8899-aabbccddeeff` | Opt-In |
|
||||
<!-- endsemconv -->
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -39,4 +39,4 @@ between a child Span and a parent Span, as defined by
|
|||
| `follows_from` | The parent Span does not depend in any way on the result of the child Span |
|
||||
<!-- endsemconv -->
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -34,7 +34,7 @@ The following semantic conventions for spans are defined:
|
|||
* [RPC/RMI](/docs/rpc/rpc-spans.md): For remote procedure call (e.g., gRPC) spans.
|
||||
|
||||
Apart from semantic conventions for traces, [metrics](metrics.md), [logs](logs.md), and [events](events.md),
|
||||
OpenTelemetry also defines the concept of overarching [Resources](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/resource/sdk.md) with their own
|
||||
OpenTelemetry also defines the concept of overarching [Resources](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/resource/sdk.md) with their own
|
||||
[Resource Semantic Conventions](/docs/resource/README.md).
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -45,4 +45,4 @@ Semantic conventions for HTTP are defined for the following signals:
|
|||
* [HTTP Spans](http-spans.md): Semantic Conventions for HTTP client and server *spans*.
|
||||
* [HTTP Metrics](http-metrics.md): Semantic Conventions for HTTP client and server *metrics*.
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -64,7 +64,7 @@ This metric is required.
|
|||
When this metric is reported alongside an HTTP server span, the metric value SHOULD be the same as the HTTP server span duration.
|
||||
|
||||
This metric SHOULD be specified with
|
||||
[`ExplicitBucketBoundaries`](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/metrics/api.md#instrument-advice)
|
||||
[`ExplicitBucketBoundaries`](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/metrics/api.md#instrument-advice)
|
||||
of `[ 0.005, 0.01, 0.025, 0.05, 0.075, 0.1, 0.25, 0.5, 0.75, 1, 2.5, 5, 7.5, 10 ]`.
|
||||
|
||||
<!-- semconv metric.http.server.request.duration(metric_table) -->
|
||||
|
@ -450,7 +450,7 @@ This metric is required.
|
|||
When this metric is reported alongside an HTTP client span, the metric value SHOULD be the same as the HTTP client span duration.
|
||||
|
||||
This metric SHOULD be specified with
|
||||
[`ExplicitBucketBoundaries`](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/metrics/api.md#instrument-advice)
|
||||
[`ExplicitBucketBoundaries`](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/metrics/api.md#instrument-advice)
|
||||
of `[ 0.005, 0.01, 0.025, 0.05, 0.075, 0.1, 0.25, 0.5, 0.75, 1, 2.5, 5, 7.5, 10 ]`.
|
||||
|
||||
<!-- semconv metric.http.client.request.duration(metric_table) -->
|
||||
|
@ -730,4 +730,4 @@ SHOULD NOT be set if capturing it would require an extra DNS lookup.
|
|||
| `_OTHER` | Any HTTP method that the instrumentation has no prior knowledge of. |
|
||||
<!-- endsemconv -->
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -63,7 +63,7 @@ and various HTTP versions like 1.1, 2 and SPDY.
|
|||
|
||||
## Name
|
||||
|
||||
HTTP spans MUST follow the overall [guidelines for span names](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/trace/api.md#span).
|
||||
HTTP spans MUST follow the overall [guidelines for span names](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/trace/api.md#span).
|
||||
|
||||
<!-- markdown-link-check-disable -->
|
||||
<!-- HTML anchors are not supported https://github.com/tcort/markdown-link-check/issues/225-->
|
||||
|
@ -87,7 +87,7 @@ default span name.
|
|||
|
||||
## Status
|
||||
|
||||
[Span Status](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/trace/api.md#set-status) MUST be left unset if HTTP status code was in the
|
||||
[Span Status](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/trace/api.md#set-status) MUST be left unset if HTTP status code was in the
|
||||
1xx, 2xx or 3xx ranges, unless there was another error (e.g., network error receiving
|
||||
the response body; or 3xx codes with max redirects exceeded), in which case status
|
||||
MUST be set to `Error`.
|
||||
|
@ -591,4 +591,4 @@ Span name: `POST /uploads/:document_id`.
|
|||
| `http.response.status_code` | `201` |
|
||||
| `error.type` | `WebSocketDisconnect` |
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -21,4 +21,4 @@ Technology specific semantic conventions are defined for the following messaging
|
|||
* [RabbitMQ](rabbitmq.md): Semantic Conventions for *RabbitMQ*.
|
||||
* [RocketMQ](rocketmq.md): Semantic Conventions for *Apache RocketMQ*.
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -84,4 +84,4 @@ Process CB: | Span Rcv2 |
|
|||
| `messaging.kafka.partition` | `"1"` | `"1"` | `"1"` | `"3"` | `"3"` |
|
||||
| `messaging.kafka.message.offset` | `"12"` | `"12"` | `"12"` | `"32"` | `"32"` |
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -177,7 +177,7 @@ The span name SHOULD be set to the message destination name and the operation be
|
|||
<destination name> <operation name>
|
||||
```
|
||||
|
||||
The destination name SHOULD only be used for the span name if it is known to be of low cardinality (cf. [general span name guidelines](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/trace/api.md#span)).
|
||||
The destination name SHOULD only be used for the span name if it is known to be of low cardinality (cf. [general span name guidelines](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/trace/api.md#span)).
|
||||
This can be assumed if it is statically derived from application code or configuration.
|
||||
Wherever possible, the real destination names after resolving logical or aliased names SHOULD be used.
|
||||
If the destination name is dynamic, such as a [conversation ID](#conversations) or a value obtained from a `Reply-To` header, it SHOULD NOT be used for the span name.
|
||||
|
@ -422,7 +422,7 @@ Process C: | Span Recv1 |
|
|||
|
||||
Given is a process P, that publishes two messages to a queue Q on messaging system MS, and a process C, which receives them separately in two different operations (Span Recv1 and Recv2) and processes both messages in one batch (Span Proc1).
|
||||
|
||||
Since each span can only have one parent, C3 should not choose a random parent out of C1 and C2, but rather rely on the implicitly selected parent as defined by the [tracing API spec](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/trace/api.md).
|
||||
Since each span can only have one parent, C3 should not choose a random parent out of C1 and C2, but rather rely on the implicitly selected parent as defined by the [tracing API spec](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/trace/api.md).
|
||||
Depending on the implementation, the producing spans might still be available in the meta data of the messages and should be added to C3 as links.
|
||||
The client library or application could also add the receiver span's SpanContext to the data structure it returns for each message. In this case, C3 could also add links to the receiver spans C1 and C2.
|
||||
|
||||
|
@ -460,4 +460,4 @@ More specific Semantic Conventions are defined for the following messaging techn
|
|||
* [RabbitMQ](rabbitmq.md): Semantic Conventions for *RabbitMQ*.
|
||||
* [RocketMQ](rocketmq.md): Semantic Conventions for *Apache RocketMQ*.
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -23,4 +23,4 @@ In RabbitMQ, the destination is defined by an *exchange* and a *routing key*.
|
|||
| `messaging.rabbitmq.destination.routing_key` | string | RabbitMQ message routing key. | `myKey` | Conditionally Required: If not empty. |
|
||||
<!-- endsemconv -->
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -52,4 +52,4 @@ Specific attributes for Apache RocketMQ are defined below.
|
|||
|
||||
`messaging.client_id` SHOULD be set to the client ID that is automatically generated by the Apache RocketMQ SDK.
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -15,4 +15,4 @@ The following technology specific semantic conventions are defined for object st
|
|||
|
||||
* [AWS S3](s3.md): Semantic Conventions for *AWS S3*.
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -68,4 +68,4 @@ This applies in particular to the following operations:
|
|||
- [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html)
|
||||
<!-- endsemconv -->
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -9,7 +9,7 @@ path_base_for_github_subdir:
|
|||
|
||||
**Status**: [Mixed][DocumentStatus]
|
||||
|
||||
This document defines standard attributes for resources. These attributes are typically used in the [Resource](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/resource/sdk.md) and are also recommended to be used anywhere else where there is a need to describe a resource in a consistent manner. The majority of these attributes are inherited from
|
||||
This document defines standard attributes for resources. These attributes are typically used in the [Resource](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/resource/sdk.md) and are also recommended to be used anywhere else where there is a need to describe a resource in a consistent manner. The majority of these attributes are inherited from
|
||||
[OpenCensus Resource standard](https://github.com/census-instrumentation/opencensus-specs/blob/master/resource/StandardResources.md).
|
||||
|
||||
<!-- Re-generate TOC with `markdown-toc --no-first-h1 -i` -->
|
||||
|
@ -47,7 +47,7 @@ This document defines standard attributes for resources. These attributes are ty
|
|||
|
||||
Attributes are grouped logically by the type of the concept that they described. Attributes in the same group have a common prefix that ends with a dot. For example all attributes that describe Kubernetes properties start with "k8s."
|
||||
|
||||
See [Attribute Requirement Levels](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/common/attribute-requirement-level.md) for details on when attributes
|
||||
See [Attribute Requirement Levels](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/common/attribute-requirement-level.md) for details on when attributes
|
||||
should be included.
|
||||
|
||||
## Attributes with Special Handling
|
||||
|
@ -59,14 +59,14 @@ Given their significance some resource attributes are treated specifically as de
|
|||
### Semantic Attributes with Dedicated Environment Variable
|
||||
|
||||
These are the attributes which MAY be configurable via a dedicated environment variable
|
||||
as specified in [OpenTelemetry Environment Variable Specification](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/configuration/sdk-environment-variables.md):
|
||||
as specified in [OpenTelemetry Environment Variable Specification](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/configuration/sdk-environment-variables.md):
|
||||
|
||||
- [`service.name`](#service)
|
||||
|
||||
## Semantic Attributes with SDK-provided Default Value
|
||||
|
||||
These are the attributes which MUST be provided by the SDK
|
||||
as specified in the [Resource SDK specification](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/resource/sdk.md#sdk-provided-resource-attributes):
|
||||
as specified in the [Resource SDK specification](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/resource/sdk.md#sdk-provided-resource-attributes):
|
||||
|
||||
- [`service.name`](#service)
|
||||
- [`telemetry.sdk` group](#telemetry-sdk)
|
||||
|
@ -236,4 +236,4 @@ Valid cloud providers are:
|
|||
- [Tencent Cloud](https://www.tencentcloud.com/) (`tencent_cloud`)
|
||||
- [Heroku dyno](./cloud-provider/heroku.md)
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -12,4 +12,4 @@
|
|||
| `android.os.api_level` | string | Uniquely identifies the framework API revision offered by a version (`os.version`) of the android operating system. More information can be found [here](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels). | `33`; `32` | Recommended |
|
||||
<!-- endsemconv -->
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -29,4 +29,4 @@ The list of possible values is defined in the [W3C User-Agent Client Hints speci
|
|||
**[5]:** The user-agent value SHOULD be provided only from browsers that do not have a mechanism to retrieve brands and platform individually from the User-Agent Client Hints API. To retrieve the value, the legacy `navigator.userAgent` API can be used.
|
||||
<!-- endsemconv -->
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -15,4 +15,4 @@ This document defines semantic conventions for resource cloud providers.
|
|||
* [GCP](gcp/README.md): Semantic Conventions for Google Cloud Platform.
|
||||
* [Heroku](heroku.md): Semantic Conventions for Heroku.
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -28,4 +28,4 @@ Attributes that relate to an individual AWS service:
|
|||
- [Elastic Container Service (ECS)](./ecs.md)
|
||||
- [Elastic Kubernetes Service (EKS)](./eks.md)
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -24,4 +24,4 @@
|
|||
| `fargate` | fargate |
|
||||
<!-- endsemconv -->
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -12,4 +12,4 @@
|
|||
| `aws.eks.cluster.arn` | string | The ARN of an EKS cluster. | `arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster` | Recommended |
|
||||
<!-- endsemconv -->
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -21,4 +21,4 @@
|
|||
**[3]:** See the [log stream ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format). One log group can contain several log streams, so these ARNs necessarily identify both a log group and a log stream.
|
||||
<!-- endsemconv -->
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -19,4 +19,4 @@ provider (like account ID, operating system, etc), it belongs in the parent
|
|||
- [Cloud Run](./cloud-run.md)
|
||||
- [Compute Engine](./gce.md)
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -15,4 +15,4 @@ These conventions are recommended for resources running on Cloud Run.
|
|||
| `gcp.cloud_run.job.task_index` | int | The index for a task within an execution as provided by the [`CLOUD_RUN_TASK_INDEX`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars) environment variable. | `0`; `1` | Recommended |
|
||||
<!-- endsemconv -->
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -29,4 +29,4 @@ Additionally, [the `cloud.provider` resource attribute MUST be set to `heroku`](
|
|||
|
||||
[Heroku dyno metadata]: https://devcenter.heroku.com/articles/dyno-metadata
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -85,4 +85,4 @@ The following well-known definitions MUST be used if you set this attribute and
|
|||
| `tencent_cloud` | Tencent Cloud |
|
||||
<!-- endsemconv -->
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -54,4 +54,4 @@ that defines an OCI Image manifest.
|
|||
An example can be found in [Example Image Manifest](https://docs.docker.com/registry/spec/manifest-v2-2/#example-image-manifest).
|
||||
<!-- endsemconv -->
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -12,4 +12,4 @@
|
|||
| `deployment.environment` | string | Name of the [deployment environment](https://en.wikipedia.org/wiki/Deployment_environment) (aka deployment tier). | `staging`; `production` | Recommended |
|
||||
<!-- endsemconv -->
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
**[4]:** It's recommended this value represents a human readable version of the device model rather than a machine readable alternative.
|
||||
<!-- endsemconv -->
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -80,4 +80,4 @@ There are cases where a FaaS resource attribute is better applied as a span
|
|||
attribute instead.
|
||||
See the [FaaS trace conventions](/docs/faas/faas-spans.md) for more.
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -78,4 +78,4 @@ detector implementations MUST not collect `host.id` from privileged sources. If
|
|||
privileged lookup of `host.id` is required, the value should be injected via the
|
||||
`OTEL_RESOURCE_ATTRIBUTES` environment variable.
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -210,4 +210,4 @@ A CronJob creates Jobs on a repeating schedule.
|
|||
| `k8s.cronjob.uid` | string | The UID of the CronJob. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | Recommended |
|
||||
<!-- endsemconv -->
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -34,4 +34,4 @@ In case of virtualized environments, this is the operating system as it is obser
|
|||
| `z_os` | IBM z/OS |
|
||||
<!-- endsemconv -->
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -220,4 +220,4 @@ Examples for some Ruby runtimes
|
|||
| MRI | ruby | 2.7.1 | ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-darwin19] |
|
||||
| TruffleRuby | truffleruby | 2.6.2 | truffleruby (Shopify) 20.0.0-dev-92ed3059, like ruby 2.6.2, GraalVM CE Native [x86_64-darwin] |
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -23,4 +23,4 @@ The situations where there are multiple candidates, it is up to instrumentation
|
|||
* Either Apache HTTP Server or `mod_wsgi` MAY be chosen as `webengine`, depending on the decision made by the instrumentation authors.
|
||||
* Django SHOULD NOT be set as an `webengine` as the required information is already available in instrumentation library and setting this into `webengine` would duplicate the information.
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -23,4 +23,4 @@ Technology specific semantic conventions are defined for the following RPC syste
|
|||
* [gRPC](grpc.md): Semantic Conventions for *gRPC*.
|
||||
* [JSON-RPC](json-rpc.md): Semantic Conventions for *JSON-RPC*.
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -53,6 +53,6 @@ Below is a table of attributes that SHOULD be included on client and server Conn
|
|||
|
||||
## Connect RPC Status
|
||||
|
||||
If `rpc.connect_rpc.error_code` is set, [Span Status](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/trace/api.md#set-status) MUST be set to `Error` and left unset in all other cases.
|
||||
If `rpc.connect_rpc.error_code` is set, [Span Status](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/trace/api.md#set-status) MUST be set to `Error` and left unset in all other cases.
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -53,10 +53,10 @@ Below is a table of attributes that SHOULD be included on client and server gRPC
|
|||
## gRPC Status
|
||||
|
||||
The table below describes when
|
||||
the [Span Status](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/trace/api.md#set-status) MUST be set
|
||||
the [Span Status](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/trace/api.md#set-status) MUST be set
|
||||
to `Error` or remain unset
|
||||
depending on the [gRPC status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md)
|
||||
and [Span Kind](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/trace/api.md#spankind).
|
||||
and [Span Kind](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/trace/api.md#spankind).
|
||||
|
||||
| gRPC Status Code | `SpanKind.SERVER` Span Status | `SpanKind.CLIENT` Span Status |
|
||||
|---|---|---|
|
||||
|
@ -78,4 +78,4 @@ and [Span Kind](https://github.com/open-telemetry/opentelemetry-specification/tr
|
|||
| DATA_LOSS | `Error` | `Error` |
|
||||
| UNAUTHENTICATED | unset | `Error` |
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -26,4 +26,4 @@ described on this page.
|
|||
**[1]:** This is always required for jsonrpc. See the note in the general RPC conventions for more information.
|
||||
<!-- endsemconv -->
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -294,5 +294,5 @@ More specific Semantic Conventions are defined for the following RPC technologie
|
|||
* [gRPC](grpc.md): Semantic Conventions for *gRPC*.
|
||||
* [JSON-RPC](json-rpc.md): Semantic Conventions for *JSON-RPC*.
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/blob/v1.22.0/specification/document-status.md
|
||||
[MetricRecommended]: https://github.com/open-telemetry/opentelemetry-specification/blob/v1.22.0/specification/metrics/metric-requirement-level.md#recommended
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
[MetricRecommended]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/metrics/metric-requirement-level.md#recommended
|
||||
|
|
|
@ -211,4 +211,4 @@ More specific Semantic Conventions are defined for the following RPC technologie
|
|||
* [gRPC](grpc.md): Semantic Conventions for *gRPC*.
|
||||
* [JSON-RPC](json-rpc.md): Semantic Conventions for *JSON-RPC*.
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -54,4 +54,4 @@ semantic conventions when instrumenting runtime environments.
|
|||
[`process.runtime`](/docs/resource/process.md#process-runtimes)
|
||||
resource attributes SHOULD be included on runtime metric events as appropriate.
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -162,7 +162,7 @@ This metric is obtained by subscribing to
|
|||
[`GarbageCollectionNotificationInfo`](https://docs.oracle.com/javase/8/docs/jre/api/management/extension/com/sun/management/GarbageCollectionNotificationInfo.html) events provided by [`GarbageCollectorMXBean`](https://docs.oracle.com/javase/8/docs/api/java/lang/management/GarbageCollectorMXBean.html). The duration value is obtained from [`GcInfo`](https://docs.oracle.com/javase/8/docs/jre/api/management/extension/com/sun/management/GcInfo.html#getDuration--)
|
||||
|
||||
This metric SHOULD be specified with
|
||||
[`ExplicitBucketBoundaries`](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/metrics/api.md#instrument-advice)
|
||||
[`ExplicitBucketBoundaries`](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/metrics/api.md#instrument-advice)
|
||||
of `[]` (single bucket histogram capturing count, sum, min, max).
|
||||
|
||||
<!-- semconv metric.jvm.gc.duration(metric_table) -->
|
||||
|
@ -425,6 +425,6 @@ This metric is obtained from [`BufferPoolMXBean#getCount()`](https://docs.oracle
|
|||
**[1]:** Pool names are generally obtained via [BufferPoolMXBean#getName()](https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/BufferPoolMXBean.html#getName()).
|
||||
<!-- endsemconv -->
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[MetricOptIn]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/metrics/metric-requirement-level.md#opt-in
|
||||
[MetricRecommended]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/metrics/metric-requirement-level.md#recommended
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
[MetricOptIn]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/metrics/metric-requirement-level.md#opt-in
|
||||
[MetricRecommended]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/metrics/metric-requirement-level.md#recommended
|
||||
|
|
|
@ -18,4 +18,4 @@ System semantic conventions are defined for the following metrics:
|
|||
* [Process](process-metrics.md): For standard process metrics.
|
||||
* [Runtime Environment](/docs/runtime/README.md#metrics): For runtime environment metrics.
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -388,4 +388,4 @@ Additional **Recommended** attributes:
|
|||
| ----------------- | ---------------------- | ---------- |
|
||||
| `sensor_location` | Location of the sensor | `PS0 V3_3` |
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -48,4 +48,4 @@ Below is a table of Process metric instruments.
|
|||
|
||||
Process metrics SHOULD be associated with a [`process`](/docs/resource/process.md#process) resource whose attributes provide additional context about the process.
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -750,8 +750,8 @@ An instrument for load average over 1 minute on Linux could be named
|
|||
`system.linux.cpu.load_1m`, reusing the `cpu` name proposed above and having
|
||||
an `{os}` prefix to split this metric across OSes.
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/blob/v1.22.0/specification/document-status.md
|
||||
[MetricRecommended]: https://github.com/open-telemetry/opentelemetry-specification/blob/v1.22.0/specification/metrics/metric-requirement-level.md#recommended
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
[MetricRecommended]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/metrics/metric-requirement-level.md#recommended
|
||||
|
||||
### Metric: `system.linux.memory.available`
|
||||
|
||||
|
|
|
@ -15,4 +15,4 @@ URL semantic conventions are defined for the following:
|
|||
|
||||
* [URL](url.md): For describing URL and its components.
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -48,4 +48,4 @@ Instrumentations that are aware of specific sensitive query string parameters MU
|
|||
|
||||
_Note: Applications and telemetry consumers should scrub sensitive information from URL attributes on collected telemetry. In systems unable to identify sensitive information, certain attribute values may be redacted entirely._
|
||||
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/document-status.md
|
||||
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
|
||||
|
||||
# Set this to the version number you want to CHANGE in URLs in the repository.
|
||||
PREVIOUS_SPECIFICATION_VERSION="v1.21.0"
|
||||
PREVIOUS_SPECIFICATION_VERSION="v1.22.0"
|
||||
# Set this to the version number you want to KEEP in URLs in the repository.
|
||||
LATEST_SPECIFICATION_VERSION="v1.22.0"
|
||||
LATEST_SPECIFICATION_VERSION="v1.26.0"
|
||||
# The specific pattern we look for when replacing URLs
|
||||
SPECIFICATION_URL_PREFIX="https://github.com/open-telemetry/opentelemetry-specification/tree/"
|
||||
SPECIFICATION_BLOB_URL_PREFIX="https://github.com/open-telemetry/opentelemetry-specification/blob/"
|
||||
|
|
|
@ -10,9 +10,9 @@ the generated markdown output in the [docs](../docs/README.md) folder.
|
|||
## Writing semantic conventions
|
||||
|
||||
Semantic conventions for the spec MUST adhere to the
|
||||
[attribute naming](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/common/attribute-naming.md),
|
||||
[attribute requirement level](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/common/attribute-requirement-level.md),
|
||||
and [metric requirement level](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/metrics/metric-requirement-level.md) conventions.
|
||||
[attribute naming](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/common/attribute-naming.md),
|
||||
[attribute requirement level](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/common/attribute-requirement-level.md),
|
||||
and [metric requirement level](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/metrics/metric-requirement-level.md) conventions.
|
||||
|
||||
Refer to the [syntax](https://github.com/open-telemetry/build-tools/tree/v0.22.0/semantic-conventions/syntax.md)
|
||||
for how to write the YAML files for semantic conventions and what the YAML properties mean.
|
||||
|
|
Loading…
Reference in New Issue