Skip to content

Commit

Permalink
Merge branch 'main' into update_summaries
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhntd authored Jan 7, 2023
2 parents 01c7b5d + 7e9ba16 commit 441c6b0
Show file tree
Hide file tree
Showing 18 changed files with 533 additions and 199 deletions.
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ release.

## Unreleased

- Remove spaces from example exporter User-Agent header to conform to RFC7231 & RFC7230.
[#3052](/~https://github.com/open-telemetry/opentelemetry-specification/pull/3052)

### Context

### Traces
Expand All @@ -25,6 +28,9 @@ release.

### Semantic Conventions

- Add `code.lineno` source code attribute
([#3029](/~https://github.com/open-telemetry/opentelemetry-specification/pull/3029))

### Compatibility
- Add condition with sum and count for prometheus summaries
([3059]/~https://github.com/open-telemetry/opentelemetry-specification/pull/3059)
Expand Down Expand Up @@ -76,6 +82,8 @@ release.
([#2969](/~https://github.com/open-telemetry/opentelemetry-specification/pull/2969))
- Make sure it is very clear we are not building a Logging API.
([#2966](/~https://github.com/open-telemetry/opentelemetry-specification/pull/2966))
- Clarify usage of log body for structured logs
([#3023](/~https://github.com/open-telemetry/opentelemetry-specification/pull/3023))

### Resource

Expand All @@ -101,6 +109,8 @@ release.
([#2982](/~https://github.com/open-telemetry/opentelemetry-specification/pull/2982))
- Update hardware metrics to use `direction` as per general semantic conventions
([#2942](/~https://github.com/open-telemetry/opentelemetry-specification/pull/2942))
- Add ClickHouse to db.system semantic conventions
([#3011](/~https://github.com/open-telemetry/opentelemetry-specification/pull/3011))

### Compatibility

Expand Down Expand Up @@ -134,6 +144,28 @@ release.

- Rename `http.retry_count` to `http.resend_count` and clarify its meaning.
([#2743](/~https://github.com/open-telemetry/opentelemetry-specification/pull/2743))
- BREAKING: rename `messaging.consumer_id` to `messaging.consumer.id`,
`messaging.destination` to `messaging.destination.name`,
`messaging.temp_destination` to `messaging.destination.temporary`,
`messaging.destination_kind` to `messaging.destination.kind`,
`messaging.message_id` to `messaging.message.id`,
`messaging.protocol` to `net.app.protocol.name`,
`messaging.protocol_version`, `net.app.protocol.version`,
`messaging.conversation_id` to `messaging.message.conversation_id`,
`messaging.message_payload_size_bytes` to `messaging.message.payload_size_bytes`,
`messaging.message_payload_compressed_size_bytes` to `messaging.message.payload_compressed_size_bytes`,
`messaging.rabbitmq.routing_key`: `messaging.rabbitmq.destination.routing_key`,
`messaging.kafka.message_key` to `messaging.kafka.message.key`,
`messaging.kafka.consumer_group` to `messaging.kafka.consumer.group`,
`messaging.kafka.partition` to `messaging.kafka.destination.partition`,
`messaging.kafka.tombstone` to `messaging.kafka.message.tombstone`,
`messaging.rocketmq.message_type` to `messaging.rocketmq.message.type`,
`messaging.rocketmq.message_tag` to `messaging.rocketmq.message.tag`,
`messaging.rocketmq.message_keys` to `messaging.rocketmq.message.keys`;
Removed `messaging.url`;
Renamed `send` operation to `publish`;
Split `destination` and `source` namespaces and clarify per-message attributes in batching scenarios.
([#2763](/~https://github.com/open-telemetry/opentelemetry-specification/pull/2763)).

### Metrics

Expand Down
59 changes: 59 additions & 0 deletions schemas/1.17.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
file_format: 1.1.0
schema_url: https://opentelemetry.io/schemas/1.17.0
versions:
1.17.0:
spans:
changes:
# /~https://github.com/open-telemetry/opentelemetry-specification/pull/2763
- rename_attributes:
attribute_map:
messaging.consumer_id: messaging.consumer.id
messaging.protocol: net.app.protocol.name
messaging.protocol_version: net.app.protocol.version
messaging.destination: messaging.destination.name
messaging.temp_destination: messaging.destination.temporary
messaging.destination_kind: messaging.destination.kind
messaging.message_id: messaging.message.id
messaging.conversation_id: messaging.message.conversation_id
messaging.message_payload_size_bytes: messaging.message.payload_size_bytes
messaging.message_payload_compressed_size_bytes: messaging.message.payload_compressed_size_bytes
messaging.rabbitmq.routing_key: messaging.rabbitmq.destination.routing_key
messaging.kafka.message_key: messaging.kafka.message.key
messaging.kafka.partition: messaging.kafka.destination.partition
messaging.kafka.tombstone: messaging.kafka.message.tombstone
messaging.rocketmq.message_type: messaging.rocketmq.message.type
messaging.rocketmq.message_tag: messaging.rocketmq.message.tag
messaging.rocketmq.message_keys: messaging.rocketmq.message.keys
messaging.kafka.consumer_group: messaging.kafka.consumer.group
1.16.0:
1.15.0:
spans:
changes:
# /~https://github.com/open-telemetry/opentelemetry-specification/pull/2743
- rename_attributes:
attribute_map:
http.retry_count: http.resend_count
1.14.0:
1.13.0:
spans:
changes:
# /~https://github.com/open-telemetry/opentelemetry-specification/pull/2614
- rename_attributes:
attribute_map:
net.peer.ip: net.sock.peer.addr
net.host.ip: net.sock.host.addr
1.12.0:
1.11.0:
1.10.0:
1.9.0:
1.8.0:
spans:
changes:
- rename_attributes:
attribute_map:
db.cassandra.keyspace: db.name
db.hbase.namespace: db.name
1.7.0:
1.6.1:
1.5.0:
1.4.0:
1 change: 1 addition & 0 deletions semantic_conventions/exception.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
groups:
- id: exception
type: span
prefix: exception
brief: >
This document defines the shared attributes used to
Expand Down
1 change: 1 addition & 0 deletions semantic_conventions/logs/events.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
groups:
- id: event
type: span
prefix: event
brief: >
This document defines attributes for Events represented using Log Records.
Expand Down
1 change: 1 addition & 0 deletions semantic_conventions/logs/log-exception.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
groups:
- id: log-exception
type: span
prefix: exception
brief: >
This document defines attributes for exceptions represented using Log
Expand Down
3 changes: 3 additions & 0 deletions semantic_conventions/trace/database.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ groups:
- id: opensearch
value: 'opensearch'
brief: 'OpenSearch'
- id: clickhouse
value: 'clickhouse'
brief: 'ClickHouse'
- id: connection_string
tag: connection-level
type: string
Expand Down
5 changes: 5 additions & 0 deletions semantic_conventions/trace/general.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -289,3 +289,8 @@ groups:
brief: >
The line number in `code.filepath` best representing the operation. It SHOULD point within the code unit named in `code.function`.
examples: 42
- id: column
type: int
brief: >
The column number in `code.filepath` best representing the operation. It SHOULD point within the code unit named in `code.function`.
examples: 16
Loading

0 comments on commit 441c6b0

Please sign in to comment.