Skip to content

Commit

Permalink
Merge branch 'main' into add_oc_propagators
Browse files Browse the repository at this point in the history
  • Loading branch information
dashpole authored Jan 9, 2023
2 parents de2edd7 + 7e9ba16 commit 070833d
Show file tree
Hide file tree
Showing 31 changed files with 670 additions and 247 deletions.
45 changes: 45 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,43 @@ release.

## Unreleased

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

### Context

### Traces

- Deprecate jaeger exporter, scheduled for spec removal in July 2023.
[#2858](https:/open-telemetry/opentelemetry-specification/pull/2858)

### Metrics

- Rename built-in ExemplarFilters to AlwaysOn, AlwaysOff and TraceBased.
([#2919](https:/open-telemetry/opentelemetry-specification/pull/2919))

### Logs

### Resource

### Semantic Conventions

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

### Compatibility

### OpenTelemetry Protocol

- Add table for OTLP/HTTP response code and client retry recommendation
([#3028](https:/open-telemetry/opentelemetry-specification/pull/3028))

### SDK Configuration

- Rename knowns values for "OTEL_METRICS_EXEMPLAR_FILTER" to "always_on",
"always_off" and "trace_based".
([#2919](https:/open-telemetry/opentelemetry-specification/pull/2919))

### Telemetry Schemas

### Common
Expand Down Expand Up @@ -62,6 +81,8 @@ release.
([#2969](https:/open-telemetry/opentelemetry-specification/pull/2969))
- Make sure it is very clear we are not building a Logging API.
([#2966](https:/open-telemetry/opentelemetry-specification/pull/2966))
- Clarify usage of log body for structured logs
([#3023](https:/open-telemetry/opentelemetry-specification/pull/3023))

### Resource

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

### Compatibility

Expand Down Expand Up @@ -120,6 +143,28 @@ release.

- Rename `http.retry_count` to `http.resend_count` and clarify its meaning.
([#2743](https:/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:/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:/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:/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:/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 070833d

Please sign in to comment.