Skip to content

Commit

Permalink
Merge branch 'main' into add_network_interface
Browse files Browse the repository at this point in the history
  • Loading branch information
lmolkova authored Oct 31, 2024
2 parents 14ee552 + b359a9f commit b79bd6f
Show file tree
Hide file tree
Showing 11 changed files with 223 additions and 10 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ table-generation:
--attribute-registry-base-url=/docs/attributes-registry \
--templates=/home/weaver/templates \
--target=markdown \
--future \
/home/weaver/target

# Generate attribute registry markdown.
Expand Down Expand Up @@ -154,6 +155,7 @@ table-check:
--templates=/home/weaver/templates \
--target=markdown \
--dry-run \
--future \
/home/weaver/target

.PHONY: schema-check
Expand Down
2 changes: 1 addition & 1 deletion docs/attributes-registry/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Deprecated process attributes.
| Attribute | Type | Description | Examples | Stability |
|---|---|---|---|---|
| <a id="process-cpu-state" href="#process-cpu-state">`process.cpu.state`</a> | string | Deprecated, use `cpu.mode` instead. | `system`; `user`; `wait` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Replaced by `cpu.mode` |
| <a id="process-executable-build-id-profiling" href="#process-executable-build-id-profiling">`process.executable.build_id.profiling`</a> | string | "Deprecated, use `process.executable.build_id.htlhash` instead." | | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Replaced by `process.executable.build_id.htlhash` |
| <a id="process-executable-build-id-profiling" href="#process-executable-build-id-profiling">`process.executable.build_id.profiling`</a> | string | "Deprecated, use `process.executable.build_id.htlhash` instead." | `600DCAFE4A110000F2BF38C493F5FB92` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Replaced by `process.executable.build_id.htlhash` |

`process.cpu.state` has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

Expand Down
28 changes: 28 additions & 0 deletions docs/messaging/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,34 @@ path_base_for_github_subdir:

This document defines semantic conventions for messaging systems spans, metrics and logs.

> [!Warning]
>
> Existing messaging instrumentations that are using
> [v1.24.0 of this document](https://github.com/open-telemetry/semantic-conventions/blob/v1.24.0/docs/messaging/messaging-spans.md)
> (or prior):
>
> * SHOULD NOT change the version of the messaging conventions that they emit by default
> until the messaging semantic conventions are marked stable.
> Conventions include, but are not limited to, attributes,
> metric and span names, span kind and unit of measure.
> * SHOULD introduce an environment variable `OTEL_SEMCONV_STABILITY_OPT_IN`
> in the existing major version which is a comma-separated list of values.
> The list of values includes:
> * `messaging` - emit the new, stable messaging conventions,
> and stop emitting the old experimental messaging conventions
> that the instrumentation emitted previously.
> * `messaging/dup` - emit both the old and the stable messaging conventions,
> allowing for a seamless transition.
> * The default behavior (in the absence of one of these values) is to continue
> emitting whatever version of the old experimental messaging conventions
> the instrumentation was emitting previously.
> * Note: `messaging/dup` has higher precedence than `messaging` in case both values are present
> * SHOULD maintain (security patching at a minimum) the existing major version
> for at least six months after it starts emitting both sets of conventions.
> * SHOULD drop the environment variable in the next major version.
> * SHOULD emit the new, stable values for span name, span kind and similar "single"
> valued concepts when `messaging/dup` is present in the list.
Semantic conventions for messaging systems are defined for the following signals:

* [Messaging Spans](messaging-spans.md): Semantic Conventions for messaging *spans*.
Expand Down
28 changes: 28 additions & 0 deletions docs/messaging/azure-messaging.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,34 @@ linkTitle: Azure Messaging

The Semantic Conventions for [Azure Service Bus](https://learn.microsoft.com/azure/service-bus-messaging/service-bus-messaging-overview) and [Azure Event Hubs](https://learn.microsoft.com/azure/event-hubs/event-hubs-about) extend and override the [Messaging Semantic Conventions](README.md).

> [!Warning]
>
> Existing messaging instrumentations that are using
> [v1.24.0 of this document](https://github.com/open-telemetry/semantic-conventions/blob/v1.24.0/docs/messaging/messaging-spans.md)
> (or prior):
>
> * SHOULD NOT change the version of the messaging conventions that they emit by default
> until the messaging semantic conventions are marked stable.
> Conventions include, but are not limited to, attributes,
> metric and span names, span kind and unit of measure.
> * SHOULD introduce an environment variable `OTEL_SEMCONV_STABILITY_OPT_IN`
> in the existing major version which is a comma-separated list of values.
> The list of values includes:
> * `messaging` - emit the new, stable messaging conventions,
> and stop emitting the old experimental messaging conventions
> that the instrumentation emitted previously.
> * `messaging/dup` - emit both the old and the stable messaging conventions,
> allowing for a seamless transition.
> * The default behavior (in the absence of one of these values) is to continue
> emitting whatever version of the old experimental messaging conventions
> the instrumentation was emitting previously.
> * Note: `messaging/dup` has higher precedence than `messaging` in case both values are present
> * SHOULD maintain (security patching at a minimum) the existing major version
> for at least six months after it starts emitting both sets of conventions.
> * SHOULD drop the environment variable in the next major version.
> * SHOULD emit the new, stable values for span name, span kind and similar "single"
> valued concepts when `messaging/dup` is present in the list.
## Azure Service Bus

`messaging.system` MUST be set to `"servicebus"` and SHOULD be provided **at span creation time**.
Expand Down
28 changes: 28 additions & 0 deletions docs/messaging/gcp-pubsub.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,34 @@ linkTitle: Google Cloud Pub/Sub

The Semantic Conventions for [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) extend and override the [Messaging Semantic Conventions](README.md).

> [!Warning]
>
> Existing messaging instrumentations that are using
> [v1.24.0 of this document](https://github.com/open-telemetry/semantic-conventions/blob/v1.24.0/docs/messaging/messaging-spans.md)
> (or prior):
>
> * SHOULD NOT change the version of the messaging conventions that they emit by default
> until the messaging semantic conventions are marked stable.
> Conventions include, but are not limited to, attributes,
> metric and span names, span kind and unit of measure.
> * SHOULD introduce an environment variable `OTEL_SEMCONV_STABILITY_OPT_IN`
> in the existing major version which is a comma-separated list of values.
> The list of values includes:
> * `messaging` - emit the new, stable messaging conventions,
> and stop emitting the old experimental messaging conventions
> that the instrumentation emitted previously.
> * `messaging/dup` - emit both the old and the stable messaging conventions,
> allowing for a seamless transition.
> * The default behavior (in the absence of one of these values) is to continue
> emitting whatever version of the old experimental messaging conventions
> the instrumentation was emitting previously.
> * Note: `messaging/dup` has higher precedence than `messaging` in case both values are present
> * SHOULD maintain (security patching at a minimum) the existing major version
> for at least six months after it starts emitting both sets of conventions.
> * SHOULD drop the environment variable in the next major version.
> * SHOULD emit the new, stable values for span name, span kind and similar "single"
> valued concepts when `messaging/dup` is present in the list.
`messaging.system` MUST be set to `"gcp_pubsub"` and SHOULD be provided **at span creation time**.

## Span attributes
Expand Down
28 changes: 28 additions & 0 deletions docs/messaging/kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,34 @@ linkTitle: Kafka

The Semantic Conventions for [Apache Kafka](https://kafka.apache.org/) extend and override the [Messaging Semantic Conventions](README.md).

> [!Warning]
>
> Existing messaging instrumentations that are using
> [v1.24.0 of this document](https://github.com/open-telemetry/semantic-conventions/blob/v1.24.0/docs/messaging/messaging-spans.md)
> (or prior):
>
> * SHOULD NOT change the version of the messaging conventions that they emit by default
> until the messaging semantic conventions are marked stable.
> Conventions include, but are not limited to, attributes,
> metric and span names, span kind and unit of measure.
> * SHOULD introduce an environment variable `OTEL_SEMCONV_STABILITY_OPT_IN`
> in the existing major version which is a comma-separated list of values.
> The list of values includes:
> * `messaging` - emit the new, stable messaging conventions,
> and stop emitting the old experimental messaging conventions
> that the instrumentation emitted previously.
> * `messaging/dup` - emit both the old and the stable messaging conventions,
> allowing for a seamless transition.
> * The default behavior (in the absence of one of these values) is to continue
> emitting whatever version of the old experimental messaging conventions
> the instrumentation was emitting previously.
> * Note: `messaging/dup` has higher precedence than `messaging` in case both values are present
> * SHOULD maintain (security patching at a minimum) the existing major version
> for at least six months after it starts emitting both sets of conventions.
> * SHOULD drop the environment variable in the next major version.
> * SHOULD emit the new, stable values for span name, span kind and similar "single"
> valued concepts when `messaging/dup` is present in the list.
`messaging.system` MUST be set to `"kafka"` and SHOULD be provided **at span creation time**.

## Span attributes
Expand Down
31 changes: 26 additions & 5 deletions docs/messaging/messaging-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,33 @@

<!-- tocstop -->

> **Warning**
> [!Warning]
>
> Existing messaging instrumentations that are using
> [v1.24.0 of this document](https://github.com/open-telemetry/semantic-conventions/blob/v1.24.0/docs/messaging/messaging-metrics.md)
> (or prior) SHOULD NOT change the version of the messaging conventions that they emit by default
> until a transition plan to the (future) stable semantic conventions has been published.
> Conventions include, but are not limited to, attributes, metric and span names, and unit of measure.
> [v1.24.0 of this document](https://github.com/open-telemetry/semantic-conventions/blob/v1.24.0/docs/messaging/messaging-spans.md)
> (or prior):
>
> * SHOULD NOT change the version of the messaging conventions that they emit by default
> until the messaging semantic conventions are marked stable.
> Conventions include, but are not limited to, attributes,
> metric and span names, span kind and unit of measure.
> * SHOULD introduce an environment variable `OTEL_SEMCONV_STABILITY_OPT_IN`
> in the existing major version which is a comma-separated list of values.
> The list of values includes:
> * `messaging` - emit the new, stable messaging conventions,
> and stop emitting the old experimental messaging conventions
> that the instrumentation emitted previously.
> * `messaging/dup` - emit both the old and the stable messaging conventions,
> allowing for a seamless transition.
> * The default behavior (in the absence of one of these values) is to continue
> emitting whatever version of the old experimental messaging conventions
> the instrumentation was emitting previously.
> * Note: `messaging/dup` has higher precedence than `messaging` in case both values are present
> * SHOULD maintain (security patching at a minimum) the existing major version
> for at least six months after it starts emitting both sets of conventions.
> * SHOULD drop the environment variable in the next major version.
> * SHOULD emit the new, stable values for span name, span kind and similar "single"
> valued concepts when `messaging/dup` is present in the list.
## Common metrics

Expand Down
29 changes: 25 additions & 4 deletions docs/messaging/messaging-spans.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,33 @@

<!-- tocstop -->

> **Warning**
> [!Warning]
>
> Existing messaging instrumentations that are using
> [v1.24.0 of this document](https://github.com/open-telemetry/semantic-conventions/blob/v1.24.0/docs/messaging/messaging-spans.md)
> (or prior) SHOULD NOT change the version of the messaging conventions that they emit by default
> until a transition plan to the (future) stable semantic conventions has been published.
> Conventions include, but are not limited to, attributes, metric and span names, and unit of measure.
> (or prior):
>
> * SHOULD NOT change the version of the messaging conventions that they emit by default
> until the messaging semantic conventions are marked stable.
> Conventions include, but are not limited to, attributes,
> metric and span names, span kind and unit of measure.
> * SHOULD introduce an environment variable `OTEL_SEMCONV_STABILITY_OPT_IN`
> in the existing major version which is a comma-separated list of values.
> The list of values includes:
> * `messaging` - emit the new, stable messaging conventions,
> and stop emitting the old experimental messaging conventions
> that the instrumentation emitted previously.
> * `messaging/dup` - emit both the old and the stable messaging conventions,
> allowing for a seamless transition.
> * The default behavior (in the absence of one of these values) is to continue
> emitting whatever version of the old experimental messaging conventions
> the instrumentation was emitting previously.
> * Note: `messaging/dup` has higher precedence than `messaging` in case both values are present
> * SHOULD maintain (security patching at a minimum) the existing major version
> for at least six months after it starts emitting both sets of conventions.
> * SHOULD drop the environment variable in the next major version.
> * SHOULD emit the new, stable values for span name, span kind and similar "single"
> valued concepts when `messaging/dup` is present in the list.
## Definitions

Expand Down
28 changes: 28 additions & 0 deletions docs/messaging/rabbitmq.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,34 @@ linkTitle: RabbitMQ

The Semantic Conventions for [RabbitMQ](https://www.rabbitmq.com/) extend and override the [Messaging Semantic Conventions](README.md).

> [!Warning]
>
> Existing messaging instrumentations that are using
> [v1.24.0 of this document](https://github.com/open-telemetry/semantic-conventions/blob/v1.24.0/docs/messaging/messaging-spans.md)
> (or prior):
>
> * SHOULD NOT change the version of the messaging conventions that they emit by default
> until the messaging semantic conventions are marked stable.
> Conventions include, but are not limited to, attributes,
> metric and span names, span kind and unit of measure.
> * SHOULD introduce an environment variable `OTEL_SEMCONV_STABILITY_OPT_IN`
> in the existing major version which is a comma-separated list of values.
> The list of values includes:
> * `messaging` - emit the new, stable messaging conventions,
> and stop emitting the old experimental messaging conventions
> that the instrumentation emitted previously.
> * `messaging/dup` - emit both the old and the stable messaging conventions,
> allowing for a seamless transition.
> * The default behavior (in the absence of one of these values) is to continue
> emitting whatever version of the old experimental messaging conventions
> the instrumentation was emitting previously.
> * Note: `messaging/dup` has higher precedence than `messaging` in case both values are present
> * SHOULD maintain (security patching at a minimum) the existing major version
> for at least six months after it starts emitting both sets of conventions.
> * SHOULD drop the environment variable in the next major version.
> * SHOULD emit the new, stable values for span name, span kind and similar "single"
> valued concepts when `messaging/dup` is present in the list.
`messaging.system` MUST be set to `"rabbitmq"` and SHOULD be provided **at span creation time**.

## RabbitMQ attributes
Expand Down
28 changes: 28 additions & 0 deletions docs/messaging/rocketmq.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,34 @@ linkTitle: RocketMQ

The Semantic Conventions for [Apache RocketMQ](https://rocketmq.apache.org/) extend and override the [Messaging Semantic Conventions](README.md).

> [!Warning]
>
> Existing messaging instrumentations that are using
> [v1.24.0 of this document](https://github.com/open-telemetry/semantic-conventions/blob/v1.24.0/docs/messaging/messaging-spans.md)
> (or prior):
>
> * SHOULD NOT change the version of the messaging conventions that they emit by default
> until the messaging semantic conventions are marked stable.
> Conventions include, but are not limited to, attributes,
> metric and span names, span kind and unit of measure.
> * SHOULD introduce an environment variable `OTEL_SEMCONV_STABILITY_OPT_IN`
> in the existing major version which is a comma-separated list of values.
> The list of values includes:
> * `messaging` - emit the new, stable messaging conventions,
> and stop emitting the old experimental messaging conventions
> that the instrumentation emitted previously.
> * `messaging/dup` - emit both the old and the stable messaging conventions,
> allowing for a seamless transition.
> * The default behavior (in the absence of one of these values) is to continue
> emitting whatever version of the old experimental messaging conventions
> the instrumentation was emitting previously.
> * Note: `messaging/dup` has higher precedence than `messaging` in case both values are present
> * SHOULD maintain (security patching at a minimum) the existing major version
> for at least six months after it starts emitting both sets of conventions.
> * SHOULD drop the environment variable in the next major version.
> * SHOULD emit the new, stable values for span name, span kind and similar "single"
> valued concepts when `messaging/dup` is present in the list.
`messaging.system` MUST be set to `"rocketmq"` and SHOULD be provided **at span creation time**.

## Apache RocketMQ attributes
Expand Down
1 change: 1 addition & 0 deletions model/process/deprecated/registry-deprecated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ groups:
deprecated: 'Replaced by `process.executable.build_id.htlhash`'
brief: >
"Deprecated, use `process.executable.build_id.htlhash` instead."
examples: ['600DCAFE4A110000F2BF38C493F5FB92']

0 comments on commit b79bd6f

Please sign in to comment.