Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
lmolkova committed Feb 7, 2024
1 parent 819573f commit 34f2d2e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
28 changes: 14 additions & 14 deletions docs/messaging/azure-messaging.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The Semantic Conventions for [Azure Service Bus](https://learn.microsoft.com/azu

`messaging.system` MUST be set to `"servicebus"`.

### Attributes
### Service Bus Attributes

The following attributes are defined or reused:
<!-- semconv messaging.servicebus -->
Expand Down Expand Up @@ -87,8 +87,8 @@ This metric follows the common [messaging.deliver.duration](./messaging-metrics.
**Notes:**

- Azure Service Bus client libraries don't provide batch processing clients, therefore count of processed messages can be derived from `messaging.deliver.duration` metric and is not reported.
- In addition to generic attributes defined for the metric, Service Bus instrumentation SHOULD report following attributes:
* `messaging.servicebus.destination.subscription_name` when processing messages from topic subscriptions
- In addition to generic attributes defined for the metric, Service Bus instrumentations SHOULD report the following attributes (according to their [requirement levels](#service-bus-attributes)):
* `messaging.servicebus.destination.subscription_name`

#### Metric: `messaging.receive.duration`

Expand All @@ -101,8 +101,8 @@ This metric follows the common [messaging.receive.duration](./messaging-metrics.

**Notes:**

- In addition to generic attributes defined for the metric, Service Bus instrumentation SHOULD report following attributes:
* `messaging.servicebus.destination.subscription_name` when processing messages from topic subscriptions
- In addition to generic attributes defined for the metric, Service Bus instrumentations SHOULD report the following attributes (according to their [requirement levels](#service-bus-attributes)):
* `messaging.servicebus.destination.subscription_name`

#### Metric: `messaging.receive.messages`

Expand All @@ -114,14 +114,14 @@ This metric follows the common [messaging.receive.messages](./messaging-metrics.

**Notes:**

- In addition to generic attributes defined for the metric, Service Bus instrumentation SHOULD report following attributes:
* `messaging.servicebus.destination.subscription_name` when processing messages from topic subscriptions
- In addition to generic attributes defined for the metric, Service Bus instrumentations SHOULD report the following attributes (according to their [requirement levels](#service-bus-attributes)):
* `messaging.servicebus.destination.subscription_name`

## Azure Event Hubs

`messaging.system` MUST be set to `"eventhubs"`.

### Attributes
### Event Hubs Attributes

The following attributes are defined or overridden:
<!-- semconv messaging.eventhubs -->
Expand Down Expand Up @@ -184,8 +184,8 @@ This metric follows the common [messaging.publish.messages](./messaging-metrics.

**Notes:**

- In addition to generic attributes defined for the metric, Event Hubs Bus instrumentation SHOULD report following attributes:
* `messaging.eventhubs.destination.partition.id` when partition Id is provided to the producer client by the application.
- In addition to generic attributes defined for the metric, Event Hubs instrumentations SHOULD report the following attributes (according to their [requirement levels](#event-hubs-attributes)):
* `messaging.eventhubs.destination.partition.id`

#### Metric: `messaging.deliver.duration`

Expand All @@ -197,7 +197,7 @@ This metric follows the common [messaging.deliver.duration](./messaging-metrics.

**Notes:**

- In addition to generic attributes defined for the metric, Event Hubs instrumentation SHOULD report following attributes:
- In addition to generic attributes defined for the metric, Event Hubs instrumentations SHOULD report the following attributes (according to their [requirement levels](#event-hubs-attributes)):
* `messaging.eventhubs.destination.partition.id`
* `messaging.eventhubs.consumer.group`

Expand All @@ -209,7 +209,7 @@ This metric follows the common [messaging.deliver.messages](./messaging-metrics.

**Notes:**

- In addition to generic attributes defined for the metric, Event Hubs instrumentation SHOULD report following attributes:
- In addition to generic attributes defined for the metric, Event Hubs instrumentations SHOULD report the following attributes (according to their [requirement levels](#event-hubs-attributes)):
* `messaging.eventhubs.destination.partition.id`
* `messaging.eventhubs.consumer.group`

Expand All @@ -224,7 +224,7 @@ This metric follows the common [messaging.receive.duration](./messaging-metrics.

**Notes:**

- In addition to generic attributes defined for the metric, Event Hubs instrumentation SHOULD report following attributes:
- In addition to generic attributes defined for the metric, Event Hubs instrumentations SHOULD report the following attributes (according to their [requirement levels](#event-hubs-attributes)):
* `messaging.eventhubs.destination.partition.id`
* `messaging.eventhubs.consumer.group`

Expand All @@ -238,7 +238,7 @@ This metric follows the common [messaging.receive.messages](./messaging-metrics.

**Notes:**

- In addition to generic attributes defined for the metric, Event Hubs instrumentation SHOULD report following attributes:
- In addition to generic attributes defined for the metric, Event Hubs instrumentations SHOULD report the following attributes (according to their [requirement levels](#event-hubs-attributes)):
* `messaging.eventhubs.destination.partition.id`
* `messaging.eventhubs.consumer.group`

Expand Down
8 changes: 4 additions & 4 deletions docs/messaging/kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ This metric follows the common [messaging.publish.duration](./messaging-metrics.

**Notes:**

- In addition to generic attributes defined for the metric, Apache Kafka instrumentation SHOULD report following attributes:
- In addition to generic attributes defined for the metric, Apache Kafka instrumentations SHOULD report the following attributes (according to their [requirement levels](#attributes)):
* `messaging.kafka.destination.partition`

### Metric: `messaging.publish.messages`
Expand All @@ -69,7 +69,7 @@ This metric follows the common [messaging.publish.messages](./messaging-metrics.

**Notes:**

- In addition to generic attributes defined for the metric, Apache Kafka instrumentation SHOULD report following attributes:
- In addition to generic attributes defined for the metric, Apache Kafka instrumentations SHOULD report the following attributes (according to their [requirement levels](#attributes)):
* `messaging.kafka.destination.partition`

### Metric: `messaging.receive.duration`
Expand All @@ -82,7 +82,7 @@ This metric follows the common [messaging.receive.duration](./messaging-metrics.

**Notes:**

- In addition to generic attributes defined for the metric, Apache Kafka instrumentation SHOULD report following attributes:
- In addition to generic attributes defined for the metric, Apache Kafka instrumentations SHOULD report the following attributes (according to their [requirement levels](#attributes)):
* `messaging.kafka.destination.partition`
* `messaging.kafka.consumer.group`

Expand All @@ -96,7 +96,7 @@ This metric follows the common [messaging.receive.messages](./messaging-metrics.

**Notes:**

- In addition to generic attributes defined for the metric, Apache Kafka instrumentation SHOULD report following attributes:
- In addition to generic attributes defined for the metric, Apache Kafka instrumentations SHOULD report the following attributes (according to their [requirement levels](#attributes)):
* `messaging.kafka.destination.partition`
* `messaging.kafka.consumer.group`

Expand Down
2 changes: 1 addition & 1 deletion docs/messaging/rabbitmq.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ This metric follows the common [messaging.publish.duration](./messaging-metrics.

**Notes:**
- `messaging.publish.messages` metric is not reported: RabbitMQ doesn't support batch publish, therefore the count of published messages can be derived from `messaging.publish.duration` metric.
- In addition to generic attributes defined for the metric, RabbitMQ instrumentation SHOULD report following attributes:
- In addition to generic attributes defined for the metric, RabbitMQ instrumentations SHOULD report the following attributes (according to their [requirement levels](#rabbitmq-attributes)):
* `messaging.rabbitmq.destination.routing_key`

### Metric: `messaging.deliver.duration`
Expand Down

0 comments on commit 34f2d2e

Please sign in to comment.