Skip to content

Commit

Permalink
Generate table markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-ai committed Sep 2, 2021
1 parent 47e5545 commit cb4c6ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion semantic_conventions/trace/messaging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ groups:
type: string
required: always
brief: >
Name of the RocketMQ producer/consumer group that is handling the message. The client type could is identified by the SpanKind.
Name of the RocketMQ producer/consumer group that is handling the message. The client type could be identified by the SpanKind.
examples: 'myConsumerGroup'
- id: client_id
type: string
Expand Down
7 changes: 5 additions & 2 deletions specification/trace/semantic_conventions/messaging.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
* [Attributes specific to certain messaging systems](#attributes-specific-to-certain-messaging-systems)
+ [RabbitMQ](#rabbitmq)
+ [Apache Kafka](#apache-kafka)
+ [Apache RocketMQ](#apache-rocketmq)
- [Examples](#examples)
* [Topic with multiple consumers](#topic-with-multiple-consumers)
* [Apache Kafka with Quarkus or Spring Boot Example](#apache-kafka-with-quarkus-or-spring-boot-example)
Expand Down Expand Up @@ -226,13 +227,15 @@ Specific attributes for Apache RocketMQ are defined below.
|---|---|---|---|---|
| `messaging.rocketmq.version` | string | Version of RocketMQ. | `5.0.0` | Yes |
| `messaging.rocketmq.namespace` | string | Namespace of RocketMQ resources, resources in different namespaces are individual. | `myNamespace` | Yes |
| `messaging.rocketmq.client_group` | string | Name of the RocketMQ producer/consumer group that is handling the message. The client type could is identified by the SpanKind. | `myConsumerGroup` | Yes |
| `messaging.rocketmq.client_group` | string | Name of the RocketMQ producer/consumer group that is handling the message. The client type could be identified by the SpanKind. | `myConsumerGroup` | Yes |
| `messaging.rocketmq.client_id` | string | The unique identifier for each client. | `myhost@8742@s8083jm` | Yes |
| `messaging.rocketmq.message_type` | string | Type of message. | `normal` | No |
| `messaging.rocketmq.message_tag` | string | The secondary classifier of message besides topic. | `tagA` | No |
| `messaging.rocketmq.message_keys` | string | Key of message, which is unique generally, would split by blank space if more than one. | `keyA` | No |
| `messaging.rocketmq.consumption_model` | string | Mode of message consumption. | `clustering` | No |
| `messaging.rocketmq.batch_size` | int | The batch size of corresponding operation. The minimum size is 1. | `1` | No |
| `messaging.rocketmq.batch_size` | int | The number of messages produced or consumed in the traced operation. [1] | `1` | No |

**[1]:** 1 is assumed if omitted.

`messaging.rocketmq.message_type` MUST be one of the following:

Expand Down

0 comments on commit cb4c6ff

Please sign in to comment.