Skip to content

Instantly share code, notes, and snippets.

@MadVikingGod
Created May 10, 2021 20:01
Show Gist options
  • Save MadVikingGod/9d108870779419171e7edecafe86e323 to your computer and use it in GitHub Desktop.
Save MadVikingGod/9d108870779419171e7edecafe86e323 to your computer and use it in GitHub Desktop.
Diff of otel-go semconv changes.
# generated with:
# cd semconv
# rg '.* = attribute.Key\(.*\)' * -IN | sort > (old/new)-semconv.txt
# diff old-semconv.txt new-semconv.txt
# line number mean nothing
0a1,10
> AWSECSClusterARNKey = attribute.Key("aws.ecs.cluster.arn")
> AWSECSContainerARNKey = attribute.Key("aws.ecs.container.arn")
> AWSECSLaunchtypeKey = attribute.Key("aws.ecs.launchtype")
> AWSECSTaskARNKey = attribute.Key("aws.ecs.task.arn")
> AWSECSTaskFamilyKey = attribute.Key("aws.ecs.task.family")
> AWSEKSClusterARNKey = attribute.Key("aws.eks.cluster.arn")
> AWSLogGroupArnsKey = attribute.Key("aws.log.group.arns")
> AWSLogGroupNamesKey = attribute.Key("aws.log.group.names")
> AWSLogStreamArnsKey = attribute.Key("aws.log.stream.arns")
> AWSLogStreamNamesKey = attribute.Key("aws.log.stream.names")
2a13
> CloudPlatformKey = attribute.Key("cloud.platform")
7c18
< CodeLineNumberKey = attribute.Key("code.lineno")
---
> CodeLinenoKey = attribute.Key("code.lineno")
12a24,28
> ContainerRuntimeKey = attribute.Key("container.runtime")
> DBCassandraConsistencyLevelKey = attribute.Key("db.cassandra.consistency_level")
> DBCassandraCoordinatorDcKey = attribute.Key("db.cassandra.coordinator.dc")
> DBCassandraCoordinatorIDKey = attribute.Key("db.cassandra.coordinator.id")
> DBCassandraIdempotenceKey = attribute.Key("db.cassandra.idempotence")
13a30,32
> DBCassandraPageSizeKey = attribute.Key("db.cassandra.page_size")
> DBCassandraSpeculativeExecutionCountKey = attribute.Key("db.cassandra.speculative_execution_count")
> DBCassandraTableKey = attribute.Key("db.cassandra.table")
15a35,36
> DBJDBCDriverClassnameKey = attribute.Key("db.jdbc.driver_classname")
> DBMSSQLInstanceNameKey = attribute.Key("db.mssql.instance_name")
19c40,41
< DBRedisDBIndexKey = attribute.Key("db.redis.database_index")
---
> DBRedisDatabaseIndexKey = attribute.Key("db.redis.database_index")
> DBSQLTableKey = attribute.Key("db.sql.table")
39a62,65
> FaaSInvokedNameKey = attribute.Key("faas.invoked_name")
> FaaSInvokedProviderKey = attribute.Key("faas.invoked_provider")
> FaaSInvokedRegionKey = attribute.Key("faas.invoked_region")
> FaaSMaxMemoryKey = attribute.Key("faas.max_memory")
58a85
> HostArchKey = attribute.Key("host.arch")
65,83c92,110
< K8SClusterNameKey = attribute.Key("k8s.cluster.name")
< K8SContainerNameKey = attribute.Key("k8s.container.name")
< K8SCronJobNameKey = attribute.Key("k8s.cronjob.name")
< K8SCronJobUIDKey = attribute.Key("k8s.cronjob.uid")
< K8SDaemonSetNameKey = attribute.Key("k8s.daemonset.name")
< K8SDaemonSetUIDKey = attribute.Key("k8s.daemonset.uid")
< K8SDeploymentNameKey = attribute.Key("k8s.deployment.name")
< K8SDeploymentUIDKey = attribute.Key("k8s.deployment.uid")
< K8SJobNameKey = attribute.Key("k8s.job.name")
< K8SJobUIDKey = attribute.Key("k8s.job.uid")
< K8SNamespaceNameKey = attribute.Key("k8s.namespace.name")
< K8SNodeNameKey = attribute.Key("k8s.node.name")
< K8SNodeUIDKey = attribute.Key("k8s.node.uid")
< K8SPodNameKey = attribute.Key("k8s.pod.name")
< K8SPodUIDKey = attribute.Key("k8s.pod.uid")
< K8SReplicaSetNameKey = attribute.Key("k8s.replicaset.name")
< K8SReplicaSetUIDKey = attribute.Key("k8s.replicaset.uid")
< K8SStatefulSetNameKey = attribute.Key("k8s.statefulset.name")
< K8SStatefulSetUIDKey = attribute.Key("k8s.statefulset.uid")
---
> K8sClusterNameKey = attribute.Key("k8s.cluster.name")
> K8sContainerNameKey = attribute.Key("k8s.container.name")
> K8sCronjobNameKey = attribute.Key("k8s.cronjob.name")
> K8sCronjobUIDKey = attribute.Key("k8s.cronjob.uid")
> K8sDaemonsetNameKey = attribute.Key("k8s.daemonset.name")
> K8sDaemonsetUIDKey = attribute.Key("k8s.daemonset.uid")
> K8sDeploymentNameKey = attribute.Key("k8s.deployment.name")
> K8sDeploymentUIDKey = attribute.Key("k8s.deployment.uid")
> K8sJobNameKey = attribute.Key("k8s.job.name")
> K8sJobUIDKey = attribute.Key("k8s.job.uid")
> K8sNamespaceNameKey = attribute.Key("k8s.namespace.name")
> K8sNodeNameKey = attribute.Key("k8s.node.name")
> K8sNodeUIDKey = attribute.Key("k8s.node.uid")
> K8sPodNameKey = attribute.Key("k8s.pod.name")
> K8sPodUIDKey = attribute.Key("k8s.pod.uid")
> K8sReplicasetNameKey = attribute.Key("k8s.replicaset.name")
> K8sReplicasetUIDKey = attribute.Key("k8s.replicaset.uid")
> K8sStatefulsetNameKey = attribute.Key("k8s.statefulset.name")
> K8sStatefulsetUIDKey = attribute.Key("k8s.statefulset.uid")
86a114,118
> MessagingKafkaClientIDKey = attribute.Key("messaging.kafka.client_id")
> MessagingKafkaConsumerGroupKey = attribute.Key("messaging.kafka.consumer_group")
> MessagingKafkaMessageKeyKey = attribute.Key("messaging.kafka.message_key")
> MessagingKafkaPartitionKey = attribute.Key("messaging.kafka.partition")
> MessagingKafkaTombstoneKey = attribute.Key("messaging.kafka.tombstone")
93d124
< MessagingRabbitMQRoutingKeyKey = attribute.Key("messaging.rabbitmq.routing_key")
117,120c148
< RPCMessageCompressedSizeKey = attribute.Key("message.compressed_size")
< RPCMessageIDKey = attribute.Key("message.id")
< RPCMessageTypeKey = attribute.Key("message.type")
< RPCMessageUncompressedSizeKey = attribute.Key("message.uncompressed_size")
---
> RPCGrpcStatusCodeKey = attribute.Key("rpc.grpc.status_code")
122d149
< RPCNameKey = attribute.Key("name")
128a156
> TelemetryAutoVersionKey = attribute.Key("telemetry.auto.version")
131a160,161
> ThreadIDKey = attribute.Key("thread.id")
> ThreadNameKey = attribute.Key("thread.name")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment