From b4445f95380bd8734ca071276cb7a6c1041bdaf2 Mon Sep 17 00:00:00 2001 From: gregor Date: Thu, 27 Jul 2023 17:08:31 +0200 Subject: [PATCH] add namespace to jvm metric attributes --- schema-next.yaml | 17 ++++++ schemas/1.22.0 | 156 ----------------------------------------------- 2 files changed, 17 insertions(+), 156 deletions(-) delete mode 100644 schemas/1.22.0 diff --git a/schema-next.yaml b/schema-next.yaml index 37d35efc84..8665e984d9 100644 --- a/schema-next.yaml +++ b/schema-next.yaml @@ -2,6 +2,23 @@ file_format: 1.1.0 schema_url: https://opentelemetry.io/schemas/1.21.0 versions: next: + metrics: + changes: + # https://github.com/open-telemetry/opentelemetry-specification/pull/3464 + - rename_attributes: + attribute_map: + type: jvm.memory.type + pool: jvm.memory.pool.name + - rename_attributes: + attribute_map: + name: jvm.gc.name + action: jvm.gc.action + - rename_attributes: + attribute_map: + daemon: thread.daemon + - rename_attributes: + attribute_map: + pool: jvm.buffer.pool.name 1.21.0: spans: changes: diff --git a/schemas/1.22.0 b/schemas/1.22.0 deleted file mode 100644 index 5e4c2ff336..0000000000 --- a/schemas/1.22.0 +++ /dev/null @@ -1,156 +0,0 @@ -file_format: 1.1.0 -schema_url: https://opentelemetry.io/schemas/1.22.0 -versions: - 1.22.0: - metrics: - changes: - # https://github.com/open-telemetry/opentelemetry-specification/pull/3464 - - rename_attributes: - attribute_map: - type: jvm.memory.type - pool: jvm.memory.pool.name - - rename_attributes: - attribute_map: - name: jvm.gc.name - action: jvm.gc.action - - rename_attributes: - attribute_map: - daemon: thread.daemon - - rename_attributes: - attribute_map: - pool: jvm.buffer.pool.name - 1.21.0: - spans: - changes: - # https://github.com/open-telemetry/opentelemetry-specification/pull/3336 - - rename_attributes: - attribute_map: - messaging.kafka.client_id: messaging.client_id - messaging.rocketmq.client_id: messaging.client_id - # https://github.com/open-telemetry/opentelemetry-specification/pull/3402 - - rename_attributes: - attribute_map: - # net.peer.(name|port) attributes were usually populated on client side - # so they should be usually translated to server.(address|port) - # net.host.* attributes were only populated on server side - net.host.name: server.address - net.host.port: server.port - # was only populated on client side - net.sock.peer.name: server.socket.domain - # net.sock.peer.(addr|port) mapping is not possible - # since they applied to both client and server side - # were only populated on server side - net.sock.host.addr: server.socket.address - net.sock.host.port: server.socket.port - http.client_ip: client.address - # https://github.com/open-telemetry/opentelemetry-specification/pull/3426 - - rename_attributes: - attribute_map: - net.protocol.name: network.protocol.name - net.protocol.version: network.protocol.version - net.host.connection.type: network.connection.type - net.host.connection.subtype: network.connection.subtype - net.host.carrier.name: network.carrier.name - net.host.carrier.mcc: network.carrier.mcc - net.host.carrier.mnc: network.carrier.mnc - net.host.carrier.icc: network.carrier.icc - # https://github.com/open-telemetry/opentelemetry-specification/pull/3355 - - rename_attributes: - attribute_map: - http.method: http.request.method - http.status_code: http.response.status_code - http.scheme: url.scheme - http.url: url.full - http.request_content_length: http.request.body.size - http.response_content_length: http.response.body.size - metrics: - changes: - # https://github.com/open-telemetry/semantic-conventions/pull/53 - - rename_metrics: - process.runtime.jvm.cpu.utilization: process.runtime.jvm.cpu.recent_utilization - 1.20.0: - spans: - changes: - # https://github.com/open-telemetry/opentelemetry-specification/pull/3272 - - rename_attributes: - attribute_map: - net.app.protocol.name: net.protocol.name - net.app.protocol.version: net.protocol.version - 1.19.0: - spans: - changes: - # https://github.com/open-telemetry/opentelemetry-specification/pull/3209 - - rename_attributes: - attribute_map: - faas.execution: faas.invocation_id - # https://github.com/open-telemetry/opentelemetry-specification/pull/3188 - - rename_attributes: - attribute_map: - faas.id: cloud.resource_id - # https://github.com/open-telemetry/opentelemetry-specification/pull/3190 - - rename_attributes: - attribute_map: - http.user_agent: user_agent.original - resources: - changes: - # https://github.com/open-telemetry/opentelemetry-specification/pull/3190 - - rename_attributes: - attribute_map: - browser.user_agent: user_agent.original - 1.18.0: - 1.17.0: - spans: - changes: - # https://github.com/open-telemetry/opentelemetry-specification/pull/2957 - - 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: