diff --git a/src/OpenTelemetry.SemanticConventions/.publicApi/PublicAPI.Unshipped.txt b/src/OpenTelemetry.SemanticConventions/.publicApi/PublicAPI.Unshipped.txt index 6500a8befd..41f6d5209c 100644 --- a/src/OpenTelemetry.SemanticConventions/.publicApi/PublicAPI.Unshipped.txt +++ b/src/OpenTelemetry.SemanticConventions/.publicApi/PublicAPI.Unshipped.txt @@ -3,6 +3,13 @@ const OpenTelemetry.SemanticConventions.AndroidAttributes.AndroidStateValues.Cre const OpenTelemetry.SemanticConventions.AndroidAttributes.AndroidStateValues.Foreground = "foreground" -> string! const OpenTelemetry.SemanticConventions.AndroidAttributes.AttributeAndroidOsApiLevel = "android.os.api_level" -> string! const OpenTelemetry.SemanticConventions.AndroidAttributes.AttributeAndroidState = "android.state" -> string! +const OpenTelemetry.SemanticConventions.ArtifactAttributes.AttributeArtifactAttestationFilename = "artifact.attestation.filename" -> string! +const OpenTelemetry.SemanticConventions.ArtifactAttributes.AttributeArtifactAttestationHash = "artifact.attestation.hash" -> string! +const OpenTelemetry.SemanticConventions.ArtifactAttributes.AttributeArtifactAttestationId = "artifact.attestation.id" -> string! +const OpenTelemetry.SemanticConventions.ArtifactAttributes.AttributeArtifactFilename = "artifact.filename" -> string! +const OpenTelemetry.SemanticConventions.ArtifactAttributes.AttributeArtifactHash = "artifact.hash" -> string! +const OpenTelemetry.SemanticConventions.ArtifactAttributes.AttributeArtifactPurl = "artifact.purl" -> string! +const OpenTelemetry.SemanticConventions.ArtifactAttributes.AttributeArtifactVersion = "artifact.version" -> string! const OpenTelemetry.SemanticConventions.AspnetcoreAttributes.AspnetcoreDiagnosticsExceptionResultValues.Aborted = "aborted" -> string! const OpenTelemetry.SemanticConventions.AspnetcoreAttributes.AspnetcoreDiagnosticsExceptionResultValues.Handled = "handled" -> string! const OpenTelemetry.SemanticConventions.AspnetcoreAttributes.AspnetcoreDiagnosticsExceptionResultValues.Skipped = "skipped" -> string! @@ -64,10 +71,20 @@ const OpenTelemetry.SemanticConventions.AwsAttributes.AttributeAwsS3PartNumber = const OpenTelemetry.SemanticConventions.AwsAttributes.AttributeAwsS3UploadId = "aws.s3.upload_id" -> string! const OpenTelemetry.SemanticConventions.AwsAttributes.AwsEcsLaunchtypeValues.Ec2 = "ec2" -> string! const OpenTelemetry.SemanticConventions.AwsAttributes.AwsEcsLaunchtypeValues.Fargate = "fargate" -> string! +const OpenTelemetry.SemanticConventions.AzAttributes.AttributeAzServiceRequestId = "az.service_request_id" -> string! const OpenTelemetry.SemanticConventions.BrowserAttributes.AttributeBrowserBrands = "browser.brands" -> string! const OpenTelemetry.SemanticConventions.BrowserAttributes.AttributeBrowserLanguage = "browser.language" -> string! const OpenTelemetry.SemanticConventions.BrowserAttributes.AttributeBrowserMobile = "browser.mobile" -> string! const OpenTelemetry.SemanticConventions.BrowserAttributes.AttributeBrowserPlatform = "browser.platform" -> string! +const OpenTelemetry.SemanticConventions.CicdAttributes.AttributeCicdPipelineName = "cicd.pipeline.name" -> string! +const OpenTelemetry.SemanticConventions.CicdAttributes.AttributeCicdPipelineRunId = "cicd.pipeline.run.id" -> string! +const OpenTelemetry.SemanticConventions.CicdAttributes.AttributeCicdPipelineTaskName = "cicd.pipeline.task.name" -> string! +const OpenTelemetry.SemanticConventions.CicdAttributes.AttributeCicdPipelineTaskRunId = "cicd.pipeline.task.run.id" -> string! +const OpenTelemetry.SemanticConventions.CicdAttributes.AttributeCicdPipelineTaskRunUrlFull = "cicd.pipeline.task.run.url.full" -> string! +const OpenTelemetry.SemanticConventions.CicdAttributes.AttributeCicdPipelineTaskType = "cicd.pipeline.task.type" -> string! +const OpenTelemetry.SemanticConventions.CicdAttributes.CicdPipelineTaskTypeValues.Build = "build" -> string! +const OpenTelemetry.SemanticConventions.CicdAttributes.CicdPipelineTaskTypeValues.Deploy = "deploy" -> string! +const OpenTelemetry.SemanticConventions.CicdAttributes.CicdPipelineTaskTypeValues.Test = "test" -> string! const OpenTelemetry.SemanticConventions.ClientAttributes.AttributeClientAddress = "client.address" -> string! const OpenTelemetry.SemanticConventions.ClientAttributes.AttributeClientPort = "client.port" -> string! const OpenTelemetry.SemanticConventions.CloudAttributes.AttributeCloudAccountId = "cloud.account.id" -> string! @@ -138,6 +155,15 @@ const OpenTelemetry.SemanticConventions.ContainerAttributes.AttributeContainerRu const OpenTelemetry.SemanticConventions.ContainerAttributes.ContainerCpuStateValues.Kernel = "kernel" -> string! const OpenTelemetry.SemanticConventions.ContainerAttributes.ContainerCpuStateValues.System = "system" -> string! const OpenTelemetry.SemanticConventions.ContainerAttributes.ContainerCpuStateValues.User = "user" -> string! +const OpenTelemetry.SemanticConventions.CpuAttributes.AttributeCpuMode = "cpu.mode" -> string! +const OpenTelemetry.SemanticConventions.CpuAttributes.CpuModeValues.Idle = "idle" -> string! +const OpenTelemetry.SemanticConventions.CpuAttributes.CpuModeValues.Interrupt = "interrupt" -> string! +const OpenTelemetry.SemanticConventions.CpuAttributes.CpuModeValues.Iowait = "iowait" -> string! +const OpenTelemetry.SemanticConventions.CpuAttributes.CpuModeValues.Kernel = "kernel" -> string! +const OpenTelemetry.SemanticConventions.CpuAttributes.CpuModeValues.Nice = "nice" -> string! +const OpenTelemetry.SemanticConventions.CpuAttributes.CpuModeValues.Steal = "steal" -> string! +const OpenTelemetry.SemanticConventions.CpuAttributes.CpuModeValues.System = "system" -> string! +const OpenTelemetry.SemanticConventions.CpuAttributes.CpuModeValues.User = "user" -> string! const OpenTelemetry.SemanticConventions.DbAttributes.AttributeDbCassandraConsistencyLevel = "db.cassandra.consistency_level" -> string! const OpenTelemetry.SemanticConventions.DbAttributes.AttributeDbCassandraCoordinatorDc = "db.cassandra.coordinator.dc" -> string! const OpenTelemetry.SemanticConventions.DbAttributes.AttributeDbCassandraCoordinatorId = "db.cassandra.coordinator.id" -> string! @@ -145,8 +171,10 @@ const OpenTelemetry.SemanticConventions.DbAttributes.AttributeDbCassandraIdempot const OpenTelemetry.SemanticConventions.DbAttributes.AttributeDbCassandraPageSize = "db.cassandra.page_size" -> string! const OpenTelemetry.SemanticConventions.DbAttributes.AttributeDbCassandraSpeculativeExecutionCount = "db.cassandra.speculative_execution_count" -> string! const OpenTelemetry.SemanticConventions.DbAttributes.AttributeDbCassandraTable = "db.cassandra.table" -> string! +const OpenTelemetry.SemanticConventions.DbAttributes.AttributeDbClientConnectionPoolName = "db.client.connection.pool.name" -> string! const OpenTelemetry.SemanticConventions.DbAttributes.AttributeDbClientConnectionsPoolName = "db.client.connections.pool.name" -> string! const OpenTelemetry.SemanticConventions.DbAttributes.AttributeDbClientConnectionsState = "db.client.connections.state" -> string! +const OpenTelemetry.SemanticConventions.DbAttributes.AttributeDbClientConnectionState = "db.client.connection.state" -> string! const OpenTelemetry.SemanticConventions.DbAttributes.AttributeDbCollectionName = "db.collection.name" -> string! const OpenTelemetry.SemanticConventions.DbAttributes.AttributeDbConnectionString = "db.connection_string" -> string! const OpenTelemetry.SemanticConventions.DbAttributes.AttributeDbCosmosdbClientId = "db.cosmosdb.client_id" -> string! @@ -167,6 +195,7 @@ const OpenTelemetry.SemanticConventions.DbAttributes.AttributeDbMssqlInstanceNam const OpenTelemetry.SemanticConventions.DbAttributes.AttributeDbName = "db.name" -> string! const OpenTelemetry.SemanticConventions.DbAttributes.AttributeDbNamespace = "db.namespace" -> string! const OpenTelemetry.SemanticConventions.DbAttributes.AttributeDbOperation = "db.operation" -> string! +const OpenTelemetry.SemanticConventions.DbAttributes.AttributeDbOperationBatchSize = "db.operation.batch.size" -> string! const OpenTelemetry.SemanticConventions.DbAttributes.AttributeDbOperationName = "db.operation.name" -> string! const OpenTelemetry.SemanticConventions.DbAttributes.AttributeDbQueryParameterTemplate = "db.query.parameter" -> string! const OpenTelemetry.SemanticConventions.DbAttributes.AttributeDbQueryText = "db.query.text" -> string! @@ -188,6 +217,8 @@ const OpenTelemetry.SemanticConventions.DbAttributes.DbCassandraConsistencyLevel const OpenTelemetry.SemanticConventions.DbAttributes.DbCassandraConsistencyLevelValues.Two = "two" -> string! const OpenTelemetry.SemanticConventions.DbAttributes.DbClientConnectionsStateValues.Idle = "idle" -> string! const OpenTelemetry.SemanticConventions.DbAttributes.DbClientConnectionsStateValues.Used = "used" -> string! +const OpenTelemetry.SemanticConventions.DbAttributes.DbClientConnectionStateValues.Idle = "idle" -> string! +const OpenTelemetry.SemanticConventions.DbAttributes.DbClientConnectionStateValues.Used = "used" -> string! const OpenTelemetry.SemanticConventions.DbAttributes.DbCosmosdbConnectionModeValues.Direct = "direct" -> string! const OpenTelemetry.SemanticConventions.DbAttributes.DbCosmosdbConnectionModeValues.Gateway = "gateway" -> string! const OpenTelemetry.SemanticConventions.DbAttributes.DbCosmosdbOperationTypeValues.Batch = "Batch" -> string! @@ -229,10 +260,12 @@ const OpenTelemetry.SemanticConventions.DbAttributes.DbSystemValues.Hanadb = "ha const OpenTelemetry.SemanticConventions.DbAttributes.DbSystemValues.Hbase = "hbase" -> string! const OpenTelemetry.SemanticConventions.DbAttributes.DbSystemValues.Hive = "hive" -> string! const OpenTelemetry.SemanticConventions.DbAttributes.DbSystemValues.Hsqldb = "hsqldb" -> string! +const OpenTelemetry.SemanticConventions.DbAttributes.DbSystemValues.Influxdb = "influxdb" -> string! const OpenTelemetry.SemanticConventions.DbAttributes.DbSystemValues.Informix = "informix" -> string! const OpenTelemetry.SemanticConventions.DbAttributes.DbSystemValues.Ingres = "ingres" -> string! const OpenTelemetry.SemanticConventions.DbAttributes.DbSystemValues.Instantdb = "instantdb" -> string! const OpenTelemetry.SemanticConventions.DbAttributes.DbSystemValues.Interbase = "interbase" -> string! +const OpenTelemetry.SemanticConventions.DbAttributes.DbSystemValues.IntersystemsCache = "intersystems_cache" -> string! const OpenTelemetry.SemanticConventions.DbAttributes.DbSystemValues.Mariadb = "mariadb" -> string! const OpenTelemetry.SemanticConventions.DbAttributes.DbSystemValues.Maxdb = "maxdb" -> string! const OpenTelemetry.SemanticConventions.DbAttributes.DbSystemValues.Memcached = "memcached" -> string! @@ -258,6 +291,12 @@ const OpenTelemetry.SemanticConventions.DbAttributes.DbSystemValues.Teradata = " const OpenTelemetry.SemanticConventions.DbAttributes.DbSystemValues.Trino = "trino" -> string! const OpenTelemetry.SemanticConventions.DbAttributes.DbSystemValues.Vertica = "vertica" -> string! const OpenTelemetry.SemanticConventions.DeploymentAttributes.AttributeDeploymentEnvironment = "deployment.environment" -> string! +const OpenTelemetry.SemanticConventions.DeploymentAttributes.AttributeDeploymentEnvironmentName = "deployment.environment.name" -> string! +const OpenTelemetry.SemanticConventions.DeploymentAttributes.AttributeDeploymentId = "deployment.id" -> string! +const OpenTelemetry.SemanticConventions.DeploymentAttributes.AttributeDeploymentName = "deployment.name" -> string! +const OpenTelemetry.SemanticConventions.DeploymentAttributes.AttributeDeploymentStatus = "deployment.status" -> string! +const OpenTelemetry.SemanticConventions.DeploymentAttributes.DeploymentStatusValues.Failed = "failed" -> string! +const OpenTelemetry.SemanticConventions.DeploymentAttributes.DeploymentStatusValues.Succeeded = "succeeded" -> string! const OpenTelemetry.SemanticConventions.DestinationAttributes.AttributeDestinationAddress = "destination.address" -> string! const OpenTelemetry.SemanticConventions.DestinationAttributes.AttributeDestinationPort = "destination.port" -> string! const OpenTelemetry.SemanticConventions.DeviceAttributes.AttributeDeviceId = "device.id" -> string! @@ -315,23 +354,42 @@ const OpenTelemetry.SemanticConventions.FileAttributes.AttributeFileExtension = const OpenTelemetry.SemanticConventions.FileAttributes.AttributeFileName = "file.name" -> string! const OpenTelemetry.SemanticConventions.FileAttributes.AttributeFilePath = "file.path" -> string! const OpenTelemetry.SemanticConventions.FileAttributes.AttributeFileSize = "file.size" -> string! +const OpenTelemetry.SemanticConventions.GcpAttributes.AttributeGcpClientService = "gcp.client.service" -> string! const OpenTelemetry.SemanticConventions.GcpAttributes.AttributeGcpCloudRunJobExecution = "gcp.cloud_run.job.execution" -> string! const OpenTelemetry.SemanticConventions.GcpAttributes.AttributeGcpCloudRunJobTaskIndex = "gcp.cloud_run.job.task_index" -> string! const OpenTelemetry.SemanticConventions.GcpAttributes.AttributeGcpGceInstanceHostname = "gcp.gce.instance.hostname" -> string! const OpenTelemetry.SemanticConventions.GcpAttributes.AttributeGcpGceInstanceName = "gcp.gce.instance.name" -> string! const OpenTelemetry.SemanticConventions.GenAiAttributes.AttributeGenAiCompletion = "gen_ai.completion" -> string! +const OpenTelemetry.SemanticConventions.GenAiAttributes.AttributeGenAiOperationName = "gen_ai.operation.name" -> string! const OpenTelemetry.SemanticConventions.GenAiAttributes.AttributeGenAiPrompt = "gen_ai.prompt" -> string! +const OpenTelemetry.SemanticConventions.GenAiAttributes.AttributeGenAiRequestFrequencyPenalty = "gen_ai.request.frequency_penalty" -> string! const OpenTelemetry.SemanticConventions.GenAiAttributes.AttributeGenAiRequestMaxTokens = "gen_ai.request.max_tokens" -> string! const OpenTelemetry.SemanticConventions.GenAiAttributes.AttributeGenAiRequestModel = "gen_ai.request.model" -> string! +const OpenTelemetry.SemanticConventions.GenAiAttributes.AttributeGenAiRequestPresencePenalty = "gen_ai.request.presence_penalty" -> string! +const OpenTelemetry.SemanticConventions.GenAiAttributes.AttributeGenAiRequestStopSequences = "gen_ai.request.stop_sequences" -> string! const OpenTelemetry.SemanticConventions.GenAiAttributes.AttributeGenAiRequestTemperature = "gen_ai.request.temperature" -> string! +const OpenTelemetry.SemanticConventions.GenAiAttributes.AttributeGenAiRequestTopK = "gen_ai.request.top_k" -> string! const OpenTelemetry.SemanticConventions.GenAiAttributes.AttributeGenAiRequestTopP = "gen_ai.request.top_p" -> string! const OpenTelemetry.SemanticConventions.GenAiAttributes.AttributeGenAiResponseFinishReasons = "gen_ai.response.finish_reasons" -> string! const OpenTelemetry.SemanticConventions.GenAiAttributes.AttributeGenAiResponseId = "gen_ai.response.id" -> string! const OpenTelemetry.SemanticConventions.GenAiAttributes.AttributeGenAiResponseModel = "gen_ai.response.model" -> string! const OpenTelemetry.SemanticConventions.GenAiAttributes.AttributeGenAiSystem = "gen_ai.system" -> string! +const OpenTelemetry.SemanticConventions.GenAiAttributes.AttributeGenAiTokenType = "gen_ai.token.type" -> string! const OpenTelemetry.SemanticConventions.GenAiAttributes.AttributeGenAiUsageCompletionTokens = "gen_ai.usage.completion_tokens" -> string! +const OpenTelemetry.SemanticConventions.GenAiAttributes.AttributeGenAiUsageInputTokens = "gen_ai.usage.input_tokens" -> string! +const OpenTelemetry.SemanticConventions.GenAiAttributes.AttributeGenAiUsageOutputTokens = "gen_ai.usage.output_tokens" -> string! const OpenTelemetry.SemanticConventions.GenAiAttributes.AttributeGenAiUsagePromptTokens = "gen_ai.usage.prompt_tokens" -> string! +const OpenTelemetry.SemanticConventions.GenAiAttributes.GenAiOperationNameValues.Chat = "chat" -> string! +const OpenTelemetry.SemanticConventions.GenAiAttributes.GenAiOperationNameValues.TextCompletion = "text_completion" -> string! +const OpenTelemetry.SemanticConventions.GenAiAttributes.GenAiSystemValues.Anthropic = "anthropic" -> string! +const OpenTelemetry.SemanticConventions.GenAiAttributes.GenAiSystemValues.Cohere = "cohere" -> string! const OpenTelemetry.SemanticConventions.GenAiAttributes.GenAiSystemValues.Openai = "openai" -> string! +const OpenTelemetry.SemanticConventions.GenAiAttributes.GenAiSystemValues.VertexAi = "vertex_ai" -> string! +const OpenTelemetry.SemanticConventions.GenAiAttributes.GenAiTokenTypeValues.Completion = "output" -> string! +const OpenTelemetry.SemanticConventions.GenAiAttributes.GenAiTokenTypeValues.Input = "input" -> string! +const OpenTelemetry.SemanticConventions.GoAttributes.AttributeGoMemoryType = "go.memory.type" -> string! +const OpenTelemetry.SemanticConventions.GoAttributes.GoMemoryTypeValues.Other = "other" -> string! +const OpenTelemetry.SemanticConventions.GoAttributes.GoMemoryTypeValues.Stack = "stack" -> string! const OpenTelemetry.SemanticConventions.GraphqlAttributes.AttributeGraphqlDocument = "graphql.document" -> string! const OpenTelemetry.SemanticConventions.GraphqlAttributes.AttributeGraphqlOperationName = "graphql.operation.name" -> string! const OpenTelemetry.SemanticConventions.GraphqlAttributes.AttributeGraphqlOperationType = "graphql.operation.type" -> string! @@ -454,11 +512,15 @@ const OpenTelemetry.SemanticConventions.K8sAttributes.AttributeK8sReplicasetName const OpenTelemetry.SemanticConventions.K8sAttributes.AttributeK8sReplicasetUid = "k8s.replicaset.uid" -> string! const OpenTelemetry.SemanticConventions.K8sAttributes.AttributeK8sStatefulsetName = "k8s.statefulset.name" -> string! const OpenTelemetry.SemanticConventions.K8sAttributes.AttributeK8sStatefulsetUid = "k8s.statefulset.uid" -> string! +const OpenTelemetry.SemanticConventions.LinuxAttributes.AttributeLinuxMemorySlabState = "linux.memory.slab.state" -> string! +const OpenTelemetry.SemanticConventions.LinuxAttributes.LinuxMemorySlabStateValues.Reclaimable = "reclaimable" -> string! +const OpenTelemetry.SemanticConventions.LinuxAttributes.LinuxMemorySlabStateValues.Unreclaimable = "unreclaimable" -> string! const OpenTelemetry.SemanticConventions.LogAttributes.AttributeLogFileName = "log.file.name" -> string! const OpenTelemetry.SemanticConventions.LogAttributes.AttributeLogFileNameResolved = "log.file.name_resolved" -> string! const OpenTelemetry.SemanticConventions.LogAttributes.AttributeLogFilePath = "log.file.path" -> string! const OpenTelemetry.SemanticConventions.LogAttributes.AttributeLogFilePathResolved = "log.file.path_resolved" -> string! const OpenTelemetry.SemanticConventions.LogAttributes.AttributeLogIostream = "log.iostream" -> string! +const OpenTelemetry.SemanticConventions.LogAttributes.AttributeLogRecordOriginal = "log.record.original" -> string! const OpenTelemetry.SemanticConventions.LogAttributes.AttributeLogRecordUid = "log.record.uid" -> string! const OpenTelemetry.SemanticConventions.LogAttributes.LogIostreamValues.Stderr = "stderr" -> string! const OpenTelemetry.SemanticConventions.LogAttributes.LogIostreamValues.Stdout = "stdout" -> string! @@ -470,11 +532,13 @@ const OpenTelemetry.SemanticConventions.MessageAttributes.MessageTypeValues.Rece const OpenTelemetry.SemanticConventions.MessageAttributes.MessageTypeValues.Sent = "SENT" -> string! const OpenTelemetry.SemanticConventions.MessagingAttributes.AttributeMessagingBatchMessageCount = "messaging.batch.message_count" -> string! const OpenTelemetry.SemanticConventions.MessagingAttributes.AttributeMessagingClientId = "messaging.client.id" -> string! +const OpenTelemetry.SemanticConventions.MessagingAttributes.AttributeMessagingConsumerGroupName = "messaging.consumer.group.name" -> string! const OpenTelemetry.SemanticConventions.MessagingAttributes.AttributeMessagingDestinationAnonymous = "messaging.destination.anonymous" -> string! const OpenTelemetry.SemanticConventions.MessagingAttributes.AttributeMessagingDestinationName = "messaging.destination.name" -> string! const OpenTelemetry.SemanticConventions.MessagingAttributes.AttributeMessagingDestinationPartitionId = "messaging.destination.partition.id" -> string! const OpenTelemetry.SemanticConventions.MessagingAttributes.AttributeMessagingDestinationPublishAnonymous = "messaging.destination_publish.anonymous" -> string! const OpenTelemetry.SemanticConventions.MessagingAttributes.AttributeMessagingDestinationPublishName = "messaging.destination_publish.name" -> string! +const OpenTelemetry.SemanticConventions.MessagingAttributes.AttributeMessagingDestinationSubscriptionName = "messaging.destination.subscription.name" -> string! const OpenTelemetry.SemanticConventions.MessagingAttributes.AttributeMessagingDestinationTemplate = "messaging.destination.template" -> string! const OpenTelemetry.SemanticConventions.MessagingAttributes.AttributeMessagingDestinationTemporary = "messaging.destination.temporary" -> string! const OpenTelemetry.SemanticConventions.MessagingAttributes.AttributeMessagingEventhubsConsumerGroup = "messaging.eventhubs.consumer.group" -> string! @@ -488,6 +552,7 @@ const OpenTelemetry.SemanticConventions.MessagingAttributes.AttributeMessagingKa const OpenTelemetry.SemanticConventions.MessagingAttributes.AttributeMessagingKafkaMessageKey = "messaging.kafka.message.key" -> string! const OpenTelemetry.SemanticConventions.MessagingAttributes.AttributeMessagingKafkaMessageOffset = "messaging.kafka.message.offset" -> string! const OpenTelemetry.SemanticConventions.MessagingAttributes.AttributeMessagingKafkaMessageTombstone = "messaging.kafka.message.tombstone" -> string! +const OpenTelemetry.SemanticConventions.MessagingAttributes.AttributeMessagingKafkaOffset = "messaging.kafka.offset" -> string! const OpenTelemetry.SemanticConventions.MessagingAttributes.AttributeMessagingMessageBodySize = "messaging.message.body.size" -> string! const OpenTelemetry.SemanticConventions.MessagingAttributes.AttributeMessagingMessageConversationId = "messaging.message.conversation_id" -> string! const OpenTelemetry.SemanticConventions.MessagingAttributes.AttributeMessagingMessageEnvelopeSize = "messaging.message.envelope.size" -> string! @@ -512,7 +577,8 @@ const OpenTelemetry.SemanticConventions.MessagingAttributes.AttributeMessagingSe const OpenTelemetry.SemanticConventions.MessagingAttributes.AttributeMessagingServicebusMessageEnqueuedTime = "messaging.servicebus.message.enqueued_time" -> string! const OpenTelemetry.SemanticConventions.MessagingAttributes.AttributeMessagingSystem = "messaging.system" -> string! const OpenTelemetry.SemanticConventions.MessagingAttributes.MessagingOperationTypeValues.Create = "create" -> string! -const OpenTelemetry.SemanticConventions.MessagingAttributes.MessagingOperationTypeValues.Deliver = "process" -> string! +const OpenTelemetry.SemanticConventions.MessagingAttributes.MessagingOperationTypeValues.Deliver = "deliver" -> string! +const OpenTelemetry.SemanticConventions.MessagingAttributes.MessagingOperationTypeValues.Process = "process" -> string! const OpenTelemetry.SemanticConventions.MessagingAttributes.MessagingOperationTypeValues.Publish = "publish" -> string! const OpenTelemetry.SemanticConventions.MessagingAttributes.MessagingOperationTypeValues.Receive = "receive" -> string! const OpenTelemetry.SemanticConventions.MessagingAttributes.MessagingOperationTypeValues.Settle = "settle" -> string! @@ -533,6 +599,7 @@ const OpenTelemetry.SemanticConventions.MessagingAttributes.MessagingSystemValue const OpenTelemetry.SemanticConventions.MessagingAttributes.MessagingSystemValues.GcpPubsub = "gcp_pubsub" -> string! const OpenTelemetry.SemanticConventions.MessagingAttributes.MessagingSystemValues.Jms = "jms" -> string! const OpenTelemetry.SemanticConventions.MessagingAttributes.MessagingSystemValues.Kafka = "kafka" -> string! +const OpenTelemetry.SemanticConventions.MessagingAttributes.MessagingSystemValues.Pulsar = "pulsar" -> string! const OpenTelemetry.SemanticConventions.MessagingAttributes.MessagingSystemValues.Rabbitmq = "rabbitmq" -> string! const OpenTelemetry.SemanticConventions.MessagingAttributes.MessagingSystemValues.Rocketmq = "rocketmq" -> string! const OpenTelemetry.SemanticConventions.MessagingAttributes.MessagingSystemValues.Servicebus = "servicebus" -> string! @@ -603,6 +670,7 @@ const OpenTelemetry.SemanticConventions.NetworkAttributes.NetworkConnectionTypeV const OpenTelemetry.SemanticConventions.NetworkAttributes.NetworkIoDirectionValues.Receive = "receive" -> string! const OpenTelemetry.SemanticConventions.NetworkAttributes.NetworkIoDirectionValues.Transmit = "transmit" -> string! const OpenTelemetry.SemanticConventions.NetworkAttributes.NetworkTransportValues.Pipe = "pipe" -> string! +const OpenTelemetry.SemanticConventions.NetworkAttributes.NetworkTransportValues.Quic = "quic" -> string! const OpenTelemetry.SemanticConventions.NetworkAttributes.NetworkTransportValues.Tcp = "tcp" -> string! const OpenTelemetry.SemanticConventions.NetworkAttributes.NetworkTransportValues.Udp = "udp" -> string! const OpenTelemetry.SemanticConventions.NetworkAttributes.NetworkTransportValues.Unix = "unix" -> string! @@ -826,6 +894,18 @@ const OpenTelemetry.SemanticConventions.TelemetryAttributes.TelemetrySdkLanguage const OpenTelemetry.SemanticConventions.TelemetryAttributes.TelemetrySdkLanguageValues.Rust = "rust" -> string! const OpenTelemetry.SemanticConventions.TelemetryAttributes.TelemetrySdkLanguageValues.Swift = "swift" -> string! const OpenTelemetry.SemanticConventions.TelemetryAttributes.TelemetrySdkLanguageValues.Webjs = "webjs" -> string! +const OpenTelemetry.SemanticConventions.TestAttributes.AttributeTestCaseName = "test.case.name" -> string! +const OpenTelemetry.SemanticConventions.TestAttributes.AttributeTestCaseResultStatus = "test.case.result.status" -> string! +const OpenTelemetry.SemanticConventions.TestAttributes.AttributeTestSuiteName = "test.suite.name" -> string! +const OpenTelemetry.SemanticConventions.TestAttributes.AttributeTestSuiteRunStatus = "test.suite.run.status" -> string! +const OpenTelemetry.SemanticConventions.TestAttributes.TestCaseResultStatusValues.Fail = "fail" -> string! +const OpenTelemetry.SemanticConventions.TestAttributes.TestCaseResultStatusValues.Pass = "pass" -> string! +const OpenTelemetry.SemanticConventions.TestAttributes.TestSuiteRunStatusValues.Aborted = "aborted" -> string! +const OpenTelemetry.SemanticConventions.TestAttributes.TestSuiteRunStatusValues.Failure = "failure" -> string! +const OpenTelemetry.SemanticConventions.TestAttributes.TestSuiteRunStatusValues.InProgress = "in_progress" -> string! +const OpenTelemetry.SemanticConventions.TestAttributes.TestSuiteRunStatusValues.Skipped = "skipped" -> string! +const OpenTelemetry.SemanticConventions.TestAttributes.TestSuiteRunStatusValues.Success = "success" -> string! +const OpenTelemetry.SemanticConventions.TestAttributes.TestSuiteRunStatusValues.TimedOut = "timed_out" -> string! const OpenTelemetry.SemanticConventions.ThreadAttributes.AttributeThreadId = "thread.id" -> string! const OpenTelemetry.SemanticConventions.ThreadAttributes.AttributeThreadName = "thread.name" -> string! const OpenTelemetry.SemanticConventions.TlsAttributes.AttributeTlsCipher = "tls.cipher" -> string! @@ -875,18 +955,47 @@ const OpenTelemetry.SemanticConventions.UrlAttributes.AttributeUrlTopLevelDomain const OpenTelemetry.SemanticConventions.UserAgentAttributes.AttributeUserAgentName = "user_agent.name" -> string! const OpenTelemetry.SemanticConventions.UserAgentAttributes.AttributeUserAgentOriginal = "user_agent.original" -> string! const OpenTelemetry.SemanticConventions.UserAgentAttributes.AttributeUserAgentVersion = "user_agent.version" -> string! +const OpenTelemetry.SemanticConventions.UserAttributes.AttributeUserEmail = "user.email" -> string! +const OpenTelemetry.SemanticConventions.UserAttributes.AttributeUserFullName = "user.full_name" -> string! +const OpenTelemetry.SemanticConventions.UserAttributes.AttributeUserHash = "user.hash" -> string! +const OpenTelemetry.SemanticConventions.UserAttributes.AttributeUserId = "user.id" -> string! +const OpenTelemetry.SemanticConventions.UserAttributes.AttributeUserName = "user.name" -> string! +const OpenTelemetry.SemanticConventions.UserAttributes.AttributeUserRoles = "user.roles" -> string! +const OpenTelemetry.SemanticConventions.V8jsAttributes.AttributeV8jsGcType = "v8js.gc.type" -> string! +const OpenTelemetry.SemanticConventions.V8jsAttributes.AttributeV8jsHeapSpaceName = "v8js.heap.space.name" -> string! +const OpenTelemetry.SemanticConventions.V8jsAttributes.V8jsGcTypeValues.Incremental = "incremental" -> string! +const OpenTelemetry.SemanticConventions.V8jsAttributes.V8jsGcTypeValues.Major = "major" -> string! +const OpenTelemetry.SemanticConventions.V8jsAttributes.V8jsGcTypeValues.Minor = "minor" -> string! +const OpenTelemetry.SemanticConventions.V8jsAttributes.V8jsGcTypeValues.Weakcb = "weakcb" -> string! +const OpenTelemetry.SemanticConventions.V8jsAttributes.V8jsHeapSpaceNameValues.CodeSpace = "code_space" -> string! +const OpenTelemetry.SemanticConventions.V8jsAttributes.V8jsHeapSpaceNameValues.LargeObjectSpace = "large_object_space" -> string! +const OpenTelemetry.SemanticConventions.V8jsAttributes.V8jsHeapSpaceNameValues.MapSpace = "map_space" -> string! +const OpenTelemetry.SemanticConventions.V8jsAttributes.V8jsHeapSpaceNameValues.NewSpace = "new_space" -> string! +const OpenTelemetry.SemanticConventions.V8jsAttributes.V8jsHeapSpaceNameValues.OldSpace = "old_space" -> string! +const OpenTelemetry.SemanticConventions.VcsAttributes.AttributeVcsRepositoryChangeId = "vcs.repository.change.id" -> string! +const OpenTelemetry.SemanticConventions.VcsAttributes.AttributeVcsRepositoryChangeTitle = "vcs.repository.change.title" -> string! +const OpenTelemetry.SemanticConventions.VcsAttributes.AttributeVcsRepositoryRefName = "vcs.repository.ref.name" -> string! +const OpenTelemetry.SemanticConventions.VcsAttributes.AttributeVcsRepositoryRefRevision = "vcs.repository.ref.revision" -> string! +const OpenTelemetry.SemanticConventions.VcsAttributes.AttributeVcsRepositoryRefType = "vcs.repository.ref.type" -> string! +const OpenTelemetry.SemanticConventions.VcsAttributes.AttributeVcsRepositoryUrlFull = "vcs.repository.url.full" -> string! +const OpenTelemetry.SemanticConventions.VcsAttributes.VcsRepositoryRefTypeValues.Branch = "branch" -> string! +const OpenTelemetry.SemanticConventions.VcsAttributes.VcsRepositoryRefTypeValues.Tag = "tag" -> string! const OpenTelemetry.SemanticConventions.WebengineAttributes.AttributeWebengineDescription = "webengine.description" -> string! const OpenTelemetry.SemanticConventions.WebengineAttributes.AttributeWebengineName = "webengine.name" -> string! const OpenTelemetry.SemanticConventions.WebengineAttributes.AttributeWebengineVersion = "webengine.version" -> string! OpenTelemetry.SemanticConventions.AndroidAttributes OpenTelemetry.SemanticConventions.AndroidAttributes.AndroidStateValues +OpenTelemetry.SemanticConventions.ArtifactAttributes OpenTelemetry.SemanticConventions.AspnetcoreAttributes OpenTelemetry.SemanticConventions.AspnetcoreAttributes.AspnetcoreDiagnosticsExceptionResultValues OpenTelemetry.SemanticConventions.AspnetcoreAttributes.AspnetcoreRateLimitingResultValues OpenTelemetry.SemanticConventions.AspnetcoreAttributes.AspnetcoreRoutingMatchStatusValues OpenTelemetry.SemanticConventions.AwsAttributes OpenTelemetry.SemanticConventions.AwsAttributes.AwsEcsLaunchtypeValues +OpenTelemetry.SemanticConventions.AzAttributes OpenTelemetry.SemanticConventions.BrowserAttributes +OpenTelemetry.SemanticConventions.CicdAttributes +OpenTelemetry.SemanticConventions.CicdAttributes.CicdPipelineTaskTypeValues OpenTelemetry.SemanticConventions.ClientAttributes OpenTelemetry.SemanticConventions.CloudAttributes OpenTelemetry.SemanticConventions.CloudAttributes.CloudPlatformValues @@ -895,13 +1004,17 @@ OpenTelemetry.SemanticConventions.CloudeventsAttributes OpenTelemetry.SemanticConventions.CodeAttributes OpenTelemetry.SemanticConventions.ContainerAttributes OpenTelemetry.SemanticConventions.ContainerAttributes.ContainerCpuStateValues +OpenTelemetry.SemanticConventions.CpuAttributes +OpenTelemetry.SemanticConventions.CpuAttributes.CpuModeValues OpenTelemetry.SemanticConventions.DbAttributes OpenTelemetry.SemanticConventions.DbAttributes.DbCassandraConsistencyLevelValues OpenTelemetry.SemanticConventions.DbAttributes.DbClientConnectionsStateValues +OpenTelemetry.SemanticConventions.DbAttributes.DbClientConnectionStateValues OpenTelemetry.SemanticConventions.DbAttributes.DbCosmosdbConnectionModeValues OpenTelemetry.SemanticConventions.DbAttributes.DbCosmosdbOperationTypeValues OpenTelemetry.SemanticConventions.DbAttributes.DbSystemValues OpenTelemetry.SemanticConventions.DeploymentAttributes +OpenTelemetry.SemanticConventions.DeploymentAttributes.DeploymentStatusValues OpenTelemetry.SemanticConventions.DestinationAttributes OpenTelemetry.SemanticConventions.DeviceAttributes OpenTelemetry.SemanticConventions.DiskAttributes @@ -920,7 +1033,11 @@ OpenTelemetry.SemanticConventions.FeatureFlagAttributes OpenTelemetry.SemanticConventions.FileAttributes OpenTelemetry.SemanticConventions.GcpAttributes OpenTelemetry.SemanticConventions.GenAiAttributes +OpenTelemetry.SemanticConventions.GenAiAttributes.GenAiOperationNameValues OpenTelemetry.SemanticConventions.GenAiAttributes.GenAiSystemValues +OpenTelemetry.SemanticConventions.GenAiAttributes.GenAiTokenTypeValues +OpenTelemetry.SemanticConventions.GoAttributes +OpenTelemetry.SemanticConventions.GoAttributes.GoMemoryTypeValues OpenTelemetry.SemanticConventions.GraphqlAttributes OpenTelemetry.SemanticConventions.GraphqlAttributes.GraphqlOperationTypeValues OpenTelemetry.SemanticConventions.HerokuAttributes @@ -936,6 +1053,8 @@ OpenTelemetry.SemanticConventions.JvmAttributes OpenTelemetry.SemanticConventions.JvmAttributes.JvmMemoryTypeValues OpenTelemetry.SemanticConventions.JvmAttributes.JvmThreadStateValues OpenTelemetry.SemanticConventions.K8sAttributes +OpenTelemetry.SemanticConventions.LinuxAttributes +OpenTelemetry.SemanticConventions.LinuxAttributes.LinuxMemorySlabStateValues OpenTelemetry.SemanticConventions.LogAttributes OpenTelemetry.SemanticConventions.LogAttributes.LogIostreamValues OpenTelemetry.SemanticConventions.MessageAttributes @@ -995,9 +1114,18 @@ OpenTelemetry.SemanticConventions.SystemAttributes.SystemProcessesStatusValues OpenTelemetry.SemanticConventions.SystemAttributes.SystemProcessStatusValues OpenTelemetry.SemanticConventions.TelemetryAttributes OpenTelemetry.SemanticConventions.TelemetryAttributes.TelemetrySdkLanguageValues +OpenTelemetry.SemanticConventions.TestAttributes +OpenTelemetry.SemanticConventions.TestAttributes.TestCaseResultStatusValues +OpenTelemetry.SemanticConventions.TestAttributes.TestSuiteRunStatusValues OpenTelemetry.SemanticConventions.ThreadAttributes OpenTelemetry.SemanticConventions.TlsAttributes OpenTelemetry.SemanticConventions.TlsAttributes.TlsProtocolNameValues OpenTelemetry.SemanticConventions.UrlAttributes OpenTelemetry.SemanticConventions.UserAgentAttributes -OpenTelemetry.SemanticConventions.WebengineAttributes \ No newline at end of file +OpenTelemetry.SemanticConventions.UserAttributes +OpenTelemetry.SemanticConventions.V8jsAttributes +OpenTelemetry.SemanticConventions.V8jsAttributes.V8jsGcTypeValues +OpenTelemetry.SemanticConventions.V8jsAttributes.V8jsHeapSpaceNameValues +OpenTelemetry.SemanticConventions.VcsAttributes +OpenTelemetry.SemanticConventions.VcsAttributes.VcsRepositoryRefTypeValues +OpenTelemetry.SemanticConventions.WebengineAttributes diff --git a/src/OpenTelemetry.SemanticConventions/Attributes/ArtifactAttributes.cs b/src/OpenTelemetry.SemanticConventions/Attributes/ArtifactAttributes.cs new file mode 100644 index 0000000000..04cc367c16 --- /dev/null +++ b/src/OpenTelemetry.SemanticConventions/Attributes/ArtifactAttributes.cs @@ -0,0 +1,67 @@ +// Copyright The OpenTelemetry Authors +// SPDX-License-Identifier: Apache-2.0 + +// This file has been auto generated from 'src\OpenTelemetry.SemanticConventions\scripts\templates\registry\SemanticConventionsAttributes.cs.j2' + +#nullable enable + +#pragma warning disable CS1570 // XML comment has badly formed XML + +namespace OpenTelemetry.SemanticConventions; + +/// +/// Constants for semantic attribute names outlined by the OpenTelemetry specifications. +/// +public static class ArtifactAttributes +{ + /// + /// The provenance filename of the built attestation which directly relates to the build artifact filename. This filename SHOULD accompany the artifact at publish time. See the SLSA Relationship specification for more information + /// + public const string AttributeArtifactAttestationFilename = "artifact.attestation.filename"; + + /// + /// The full hash value (see glossary), of the built attestation. Some envelopes in the software attestation space also refer to this as the digest + /// + public const string AttributeArtifactAttestationHash = "artifact.attestation.hash"; + + /// + /// The id of the build software attestation + /// + public const string AttributeArtifactAttestationId = "artifact.attestation.id"; + + /// + /// The human readable file name of the artifact, typically generated during build and release processes. Often includes the package name and version in the file name + /// + /// + /// This file name can also act as the Package Name + /// in cases where the package ecosystem maps accordingly. + /// Additionally, the artifact can be published + /// for others, but that is not a guarantee + /// + public const string AttributeArtifactFilename = "artifact.filename"; + + /// + /// The full hash value (see glossary), often found in checksum.txt on a release of the artifact and used to verify package integrity + /// + /// + /// The specific algorithm used to create the cryptographic hash value is + /// not defined. In situations where an artifact has multiple + /// cryptographic hashes, it is up to the implementer to choose which + /// hash value to set here; this should be the most secure hash algorithm + /// that is suitable for the situation and consistent with the + /// corresponding attestation. The implementer can then provide the other + /// hash values through an additional set of attribute extensions as they + /// deem necessary + /// + public const string AttributeArtifactHash = "artifact.hash"; + + /// + /// The Package URL of the package artifact provides a standard way to identify and locate the packaged artifact + /// + public const string AttributeArtifactPurl = "artifact.purl"; + + /// + /// The version of the artifact + /// + public const string AttributeArtifactVersion = "artifact.version"; +} diff --git a/src/OpenTelemetry.SemanticConventions/Attributes/AzAttributes.cs b/src/OpenTelemetry.SemanticConventions/Attributes/AzAttributes.cs new file mode 100644 index 0000000000..c0d96104b7 --- /dev/null +++ b/src/OpenTelemetry.SemanticConventions/Attributes/AzAttributes.cs @@ -0,0 +1,21 @@ +// Copyright The OpenTelemetry Authors +// SPDX-License-Identifier: Apache-2.0 + +// This file has been auto generated from 'src\OpenTelemetry.SemanticConventions\scripts\templates\registry\SemanticConventionsAttributes.cs.j2' + +#nullable enable + +#pragma warning disable CS1570 // XML comment has badly formed XML + +namespace OpenTelemetry.SemanticConventions; + +/// +/// Constants for semantic attribute names outlined by the OpenTelemetry specifications. +/// +public static class AzAttributes +{ + /// + /// The unique identifier of the service request. It's generated by the Azure service and returned with the response + /// + public const string AttributeAzServiceRequestId = "az.service_request_id"; +} diff --git a/src/OpenTelemetry.SemanticConventions/Attributes/CicdAttributes.cs b/src/OpenTelemetry.SemanticConventions/Attributes/CicdAttributes.cs new file mode 100644 index 0000000000..447fa09887 --- /dev/null +++ b/src/OpenTelemetry.SemanticConventions/Attributes/CicdAttributes.cs @@ -0,0 +1,67 @@ +// Copyright The OpenTelemetry Authors +// SPDX-License-Identifier: Apache-2.0 + +// This file has been auto generated from 'src\OpenTelemetry.SemanticConventions\scripts\templates\registry\SemanticConventionsAttributes.cs.j2' + +#nullable enable + +#pragma warning disable CS1570 // XML comment has badly formed XML + +namespace OpenTelemetry.SemanticConventions; + +/// +/// Constants for semantic attribute names outlined by the OpenTelemetry specifications. +/// +public static class CicdAttributes +{ + /// + /// The human readable name of the pipeline within a CI/CD system + /// + public const string AttributeCicdPipelineName = "cicd.pipeline.name"; + + /// + /// The unique identifier of a pipeline run within a CI/CD system + /// + public const string AttributeCicdPipelineRunId = "cicd.pipeline.run.id"; + + /// + /// The human readable name of a task within a pipeline. Task here most closely aligns with a computing process in a pipeline. Other terms for tasks include commands, steps, and procedures + /// + public const string AttributeCicdPipelineTaskName = "cicd.pipeline.task.name"; + + /// + /// The unique identifier of a task run within a pipeline + /// + public const string AttributeCicdPipelineTaskRunId = "cicd.pipeline.task.run.id"; + + /// + /// The URL of the pipeline run providing the complete address in order to locate and identify the pipeline run + /// + public const string AttributeCicdPipelineTaskRunUrlFull = "cicd.pipeline.task.run.url.full"; + + /// + /// The type of the task within a pipeline + /// + public const string AttributeCicdPipelineTaskType = "cicd.pipeline.task.type"; + + /// + /// The type of the task within a pipeline + /// + public static class CicdPipelineTaskTypeValues + { + /// + /// build + /// + public const string Build = "build"; + + /// + /// test + /// + public const string Test = "test"; + + /// + /// deploy + /// + public const string Deploy = "deploy"; + } +} diff --git a/src/OpenTelemetry.SemanticConventions/Attributes/CloudAttributes.cs b/src/OpenTelemetry.SemanticConventions/Attributes/CloudAttributes.cs index dc96f362c7..5906c9d812 100644 --- a/src/OpenTelemetry.SemanticConventions/Attributes/CloudAttributes.cs +++ b/src/OpenTelemetry.SemanticConventions/Attributes/CloudAttributes.cs @@ -62,7 +62,7 @@ public static class CloudAttributes ///
  • AWS Lambda: The function ARN. /// Take care not to use the "invoked ARN" directly but replace any /// alias suffix - /// with the resolved function version, as the same runtime instance may be invokable with + /// with the resolved function version, as the same runtime instance may be invocable with /// multiple different aliases.
  • ///
  • GCP: The URI of the resource
  • ///
  • Azure: The Fully Qualified Resource ID of the invoked function, diff --git a/src/OpenTelemetry.SemanticConventions/Attributes/ContainerAttributes.cs b/src/OpenTelemetry.SemanticConventions/Attributes/ContainerAttributes.cs index 2476dd9440..cd4bd4e3e3 100644 --- a/src/OpenTelemetry.SemanticConventions/Attributes/ContainerAttributes.cs +++ b/src/OpenTelemetry.SemanticConventions/Attributes/ContainerAttributes.cs @@ -33,8 +33,9 @@ public static class ContainerAttributes public const string AttributeContainerCommandLine = "container.command_line"; /// - /// The CPU state for this data point + /// Deprecated, use cpu.mode instead /// + [Obsolete("Replaced by cpu.mode")] public const string AttributeContainerCpuState = "container.cpu.state"; /// @@ -92,23 +93,26 @@ public static class ContainerAttributes public const string AttributeContainerRuntime = "container.runtime"; /// - /// The CPU state for this data point + /// Deprecated, use cpu.mode instead /// public static class ContainerCpuStateValues { /// /// When tasks of the cgroup are in user mode (Linux). When all container processes are in user mode (Windows) /// + [Obsolete("Replaced by cpu.mode")] public const string User = "user"; /// /// When CPU is used by the system (host OS) /// + [Obsolete("Replaced by cpu.mode")] public const string System = "system"; /// /// When tasks of the cgroup are in kernel mode (Linux). When all container processes are in kernel mode (Windows) /// + [Obsolete("Replaced by cpu.mode")] public const string Kernel = "kernel"; } } diff --git a/src/OpenTelemetry.SemanticConventions/Attributes/CpuAttributes.cs b/src/OpenTelemetry.SemanticConventions/Attributes/CpuAttributes.cs new file mode 100644 index 0000000000..9e04aee7cf --- /dev/null +++ b/src/OpenTelemetry.SemanticConventions/Attributes/CpuAttributes.cs @@ -0,0 +1,67 @@ +// Copyright The OpenTelemetry Authors +// SPDX-License-Identifier: Apache-2.0 + +// This file has been auto generated from 'src\OpenTelemetry.SemanticConventions\scripts\templates\registry\SemanticConventionsAttributes.cs.j2' + +#nullable enable + +#pragma warning disable CS1570 // XML comment has badly formed XML + +namespace OpenTelemetry.SemanticConventions; + +/// +/// Constants for semantic attribute names outlined by the OpenTelemetry specifications. +/// +public static class CpuAttributes +{ + /// + /// The mode of the CPU + /// + public const string AttributeCpuMode = "cpu.mode"; + + /// + /// The mode of the CPU + /// + public static class CpuModeValues + { + /// + /// user + /// + public const string User = "user"; + + /// + /// system + /// + public const string System = "system"; + + /// + /// nice + /// + public const string Nice = "nice"; + + /// + /// idle + /// + public const string Idle = "idle"; + + /// + /// iowait + /// + public const string Iowait = "iowait"; + + /// + /// interrupt + /// + public const string Interrupt = "interrupt"; + + /// + /// steal + /// + public const string Steal = "steal"; + + /// + /// kernel + /// + public const string Kernel = "kernel"; + } +} diff --git a/src/OpenTelemetry.SemanticConventions/Attributes/DbAttributes.cs b/src/OpenTelemetry.SemanticConventions/Attributes/DbAttributes.cs index 3ca71b84ff..7f728af41a 100644 --- a/src/OpenTelemetry.SemanticConventions/Attributes/DbAttributes.cs +++ b/src/OpenTelemetry.SemanticConventions/Attributes/DbAttributes.cs @@ -51,21 +51,34 @@ public static class DbAttributes public const string AttributeDbCassandraTable = "db.cassandra.table"; /// - /// The name of the connection pool; unique within the instrumented application. In case the connection pool implementation doesn't provide a name, instrumentation should use a combination of server.address and server.port attributes formatted as server.address:server.port + /// The name of the connection pool; unique within the instrumented application. In case the connection pool implementation doesn't provide a name, instrumentation SHOULD use a combination of parameters that would make the name unique, for example, combining attributes server.address, server.port, and db.namespace, formatted as server.address:server.port/db.namespace. Instrumentations that generate connection pool name following different patterns SHOULD document it /// - public const string AttributeDbClientConnectionsPoolName = "db.client.connections.pool.name"; + public const string AttributeDbClientConnectionPoolName = "db.client.connection.pool.name"; /// /// The state of a connection in the pool /// + public const string AttributeDbClientConnectionState = "db.client.connection.state"; + + /// + /// Deprecated, use db.client.connection.pool.name instead + /// + [Obsolete("Replaced by db.client.connection.pool.name")] + public const string AttributeDbClientConnectionsPoolName = "db.client.connections.pool.name"; + + /// + /// Deprecated, use db.client.connection.state instead + /// + [Obsolete("Replaced by db.client.connection.state")] public const string AttributeDbClientConnectionsState = "db.client.connections.state"; /// /// The name of a collection (table, container) within the database /// /// - /// If the collection name is parsed from the query, it SHOULD match the value provided in the query and may be qualified with the schema and database name. - /// It is RECOMMENDED to capture the value as provided by the application without attempting to do any case normalization + /// It is RECOMMENDED to capture the value as provided by the application without attempting to do any case normalization. + /// If the collection name is parsed from the query text, it SHOULD be the first collection name found in the query and it SHOULD match the value provided in the query text including any schema and database name prefix. + /// For batch operations, if the individual operations are known to have the same collection name then that collection name SHOULD be used, otherwise db.collection.name SHOULD NOT be captured /// public const string AttributeDbCollectionName = "db.collection.name"; @@ -117,8 +130,9 @@ public static class DbAttributes public const string AttributeDbCosmosdbSubStatusCode = "db.cosmosdb.sub_status_code"; /// - /// Represents the identifier of an Elasticsearch cluster + /// Deprecated, use db.namespace instead /// + [Obsolete("Replaced by db.namespace")] public const string AttributeDbElasticsearchClusterName = "db.elasticsearch.cluster.name"; /// @@ -180,16 +194,26 @@ public static class DbAttributes [Obsolete("Replaced by db.operation.name")] public const string AttributeDbOperation = "db.operation"; + /// + /// The number of queries included in a batch operation + /// + /// + /// Operations are only considered batches when they contain two or more operations, and so db.operation.batch.size SHOULD never be 1 + /// + public const string AttributeDbOperationBatchSize = "db.operation.batch.size"; + /// /// The name of the operation or command being executed /// /// - /// It is RECOMMENDED to capture the value as provided by the application without attempting to do any case normalization + /// It is RECOMMENDED to capture the value as provided by the application without attempting to do any case normalization. + /// If the operation name is parsed from the query text, it SHOULD be the first operation name found in the query. + /// For batch operations, if the individual operations are known to have the same operation name then that operation name SHOULD be used prepended by BATCH , otherwise db.operation.name SHOULD be BATCH or some other database system specific term if more applicable /// public const string AttributeDbOperationName = "db.operation.name"; /// - /// The query parameters used in db.query.text, with being the parameter name, and the attribute value being the parameter value + /// A query parameter used in db.query.text, with being the parameter name, and the attribute value being a string representation of the parameter value /// /// /// Query parameters should only be captured when db.query.text is parameterized with placeholders. @@ -200,6 +224,11 @@ public static class DbAttributes /// /// The database query being executed /// + /// + /// For sanitization see Sanitization of db.query.text. + /// For batch operations, if the individual operations are known to have the same query text then that query text SHOULD be used, otherwise all of the individual query texts SHOULD be concatenated with separator ; or some other database system specific separator if more applicable. + /// Even though parameterized query text can potentially have sensitive data, by using a parameterized query the user is giving a strong signal that any sensitive data will be passed as parameter values, and the benefit to observability of capturing the static part of the query text by default outweighs the risk + /// public const string AttributeDbQueryText = "db.query.text"; /// @@ -298,16 +327,34 @@ public static class DbCassandraConsistencyLevelValues /// /// The state of a connection in the pool /// + public static class DbClientConnectionStateValues + { + /// + /// idle + /// + public const string Idle = "idle"; + + /// + /// used + /// + public const string Used = "used"; + } + + /// + /// Deprecated, use db.client.connection.state instead + /// public static class DbClientConnectionsStateValues { /// /// idle /// + [Obsolete("Replaced by db.client.connection.state")] public const string Idle = "idle"; /// /// used /// + [Obsolete("Replaced by db.client.connection.state")] public const string Used = "used"; } @@ -419,79 +466,74 @@ public static class DbSystemValues public const string OtherSql = "other_sql"; /// - /// Microsoft SQL Server - /// - public const string Mssql = "mssql"; - - /// - /// Microsoft SQL Server Compact + /// Adabas (Adaptable Database System) /// - public const string Mssqlcompact = "mssqlcompact"; + public const string Adabas = "adabas"; /// - /// MySQL + /// Deprecated, use intersystems_cache instead /// - public const string Mysql = "mysql"; + public const string Cache = "cache"; /// - /// Oracle Database + /// InterSystems Caché /// - public const string Oracle = "oracle"; + public const string IntersystemsCache = "intersystems_cache"; /// - /// IBM Db2 + /// Apache Cassandra /// - public const string Db2 = "db2"; + public const string Cassandra = "cassandra"; /// - /// PostgreSQL + /// ClickHouse /// - public const string Postgresql = "postgresql"; + public const string Clickhouse = "clickhouse"; /// - /// Amazon Redshift + /// Deprecated, use other_sql instead /// - public const string Redshift = "redshift"; + public const string Cloudscape = "cloudscape"; /// - /// Apache Hive + /// CockroachDB /// - public const string Hive = "hive"; + public const string Cockroachdb = "cockroachdb"; /// - /// Cloudscape + /// Deprecated, no replacement at this time /// - public const string Cloudscape = "cloudscape"; + public const string Coldfusion = "coldfusion"; /// - /// HyperSQL DataBase + /// Microsoft Azure Cosmos DB /// - public const string Hsqldb = "hsqldb"; + public const string Cosmosdb = "cosmosdb"; /// - /// Progress Database + /// Couchbase /// - public const string Progress = "progress"; + public const string Couchbase = "couchbase"; /// - /// SAP MaxDB + /// CouchDB /// - public const string Maxdb = "maxdb"; + public const string Couchdb = "couchdb"; /// - /// SAP HANA + /// IBM Db2 /// - public const string Hanadb = "hanadb"; + public const string Db2 = "db2"; /// - /// Ingres + /// Apache Derby /// - public const string Ingres = "ingres"; + public const string Derby = "derby"; /// - /// FirstSQL + /// Amazon DynamoDB /// - public const string Firstsql = "firstsql"; + public const string Dynamodb = "dynamodb"; /// /// EnterpriseDB @@ -499,14 +541,14 @@ public static class DbSystemValues public const string Edb = "edb"; /// - /// InterSystems Caché + /// Elasticsearch /// - public const string Cache = "cache"; + public const string Elasticsearch = "elasticsearch"; /// - /// Adabas (Adaptable Database System) + /// FileMaker /// - public const string Adabas = "adabas"; + public const string Filemaker = "filemaker"; /// /// Firebird @@ -514,163 +556,178 @@ public static class DbSystemValues public const string Firebird = "firebird"; /// - /// Apache Derby + /// Deprecated, use other_sql instead /// - public const string Derby = "derby"; + public const string Firstsql = "firstsql"; /// - /// FileMaker + /// Apache Geode /// - public const string Filemaker = "filemaker"; + public const string Geode = "geode"; /// - /// Informix + /// H2 /// - public const string Informix = "informix"; + public const string H2 = "h2"; /// - /// InstantDB + /// SAP HANA /// - public const string Instantdb = "instantdb"; + public const string Hanadb = "hanadb"; /// - /// InterBase + /// Apache HBase /// - public const string Interbase = "interbase"; + public const string Hbase = "hbase"; /// - /// MariaDB + /// Apache Hive /// - public const string Mariadb = "mariadb"; + public const string Hive = "hive"; /// - /// Netezza + /// HyperSQL DataBase /// - public const string Netezza = "netezza"; + public const string Hsqldb = "hsqldb"; /// - /// Pervasive PSQL + /// InfluxDB /// - public const string Pervasive = "pervasive"; + public const string Influxdb = "influxdb"; /// - /// PointBase + /// Informix /// - public const string Pointbase = "pointbase"; + public const string Informix = "informix"; /// - /// SQLite + /// Ingres /// - public const string Sqlite = "sqlite"; + public const string Ingres = "ingres"; /// - /// Sybase + /// InstantDB /// - public const string Sybase = "sybase"; + public const string Instantdb = "instantdb"; /// - /// Teradata + /// InterBase /// - public const string Teradata = "teradata"; + public const string Interbase = "interbase"; /// - /// Vertica + /// MariaDB /// - public const string Vertica = "vertica"; + public const string Mariadb = "mariadb"; /// - /// H2 + /// SAP MaxDB /// - public const string H2 = "h2"; + public const string Maxdb = "maxdb"; /// - /// ColdFusion IMQ + /// Memcached /// - public const string Coldfusion = "coldfusion"; + public const string Memcached = "memcached"; /// - /// Apache Cassandra + /// MongoDB /// - public const string Cassandra = "cassandra"; + public const string Mongodb = "mongodb"; /// - /// Apache HBase + /// Microsoft SQL Server /// - public const string Hbase = "hbase"; + public const string Mssql = "mssql"; /// - /// MongoDB + /// Deprecated, Microsoft SQL Server Compact is discontinued /// - public const string Mongodb = "mongodb"; + public const string Mssqlcompact = "mssqlcompact"; /// - /// Redis + /// MySQL /// - public const string Redis = "redis"; + public const string Mysql = "mysql"; /// - /// Couchbase + /// Neo4j /// - public const string Couchbase = "couchbase"; + public const string Neo4j = "neo4j"; /// - /// CouchDB + /// Netezza /// - public const string Couchdb = "couchdb"; + public const string Netezza = "netezza"; /// - /// Microsoft Azure Cosmos DB + /// OpenSearch /// - public const string Cosmosdb = "cosmosdb"; + public const string Opensearch = "opensearch"; /// - /// Amazon DynamoDB + /// Oracle Database /// - public const string Dynamodb = "dynamodb"; + public const string Oracle = "oracle"; /// - /// Neo4j + /// Pervasive PSQL /// - public const string Neo4j = "neo4j"; + public const string Pervasive = "pervasive"; /// - /// Apache Geode + /// PointBase /// - public const string Geode = "geode"; + public const string Pointbase = "pointbase"; /// - /// Elasticsearch + /// PostgreSQL /// - public const string Elasticsearch = "elasticsearch"; + public const string Postgresql = "postgresql"; /// - /// Memcached + /// Progress Database /// - public const string Memcached = "memcached"; + public const string Progress = "progress"; /// - /// CockroachDB + /// Redis /// - public const string Cockroachdb = "cockroachdb"; + public const string Redis = "redis"; /// - /// OpenSearch + /// Amazon Redshift /// - public const string Opensearch = "opensearch"; + public const string Redshift = "redshift"; /// - /// ClickHouse + /// Cloud Spanner /// - public const string Clickhouse = "clickhouse"; + public const string Spanner = "spanner"; /// - /// Cloud Spanner + /// SQLite /// - public const string Spanner = "spanner"; + public const string Sqlite = "sqlite"; + + /// + /// Sybase + /// + public const string Sybase = "sybase"; + + /// + /// Teradata + /// + public const string Teradata = "teradata"; /// /// Trino /// public const string Trino = "trino"; + + /// + /// Vertica + /// + public const string Vertica = "vertica"; } } diff --git a/src/OpenTelemetry.SemanticConventions/Attributes/DeploymentAttributes.cs b/src/OpenTelemetry.SemanticConventions/Attributes/DeploymentAttributes.cs index 048d733ccb..7119853d88 100644 --- a/src/OpenTelemetry.SemanticConventions/Attributes/DeploymentAttributes.cs +++ b/src/OpenTelemetry.SemanticConventions/Attributes/DeploymentAttributes.cs @@ -14,19 +14,56 @@ namespace OpenTelemetry.SemanticConventions; /// public static class DeploymentAttributes { + /// + /// 'Deprecated, use deployment.environment.name instead.' + /// + [Obsolete("Deprecated, use deployment.environment.name instead")] + public const string AttributeDeploymentEnvironment = "deployment.environment"; + /// /// Name of the deployment environment (aka deployment tier) /// /// - /// deployment.environment does not affect the uniqueness constraints defined through + /// deployment.environment.name does not affect the uniqueness constraints defined through /// the service.namespace, service.name and service.instance.id resource attributes. /// This implies that resources carrying the following attribute combinations MUST be /// considered to be identifying the same service: ///

    ///

      - ///
    • service.name=frontend, deployment.environment=production
    • - ///
    • service.name=frontend, deployment.environment=staging
    • + ///
    • service.name=frontend, deployment.environment.name=production
    • + ///
    • service.name=frontend, deployment.environment.name=staging
    • ///
    ///
    - public const string AttributeDeploymentEnvironment = "deployment.environment"; + public const string AttributeDeploymentEnvironmentName = "deployment.environment.name"; + + /// + /// The id of the deployment + /// + public const string AttributeDeploymentId = "deployment.id"; + + /// + /// The name of the deployment + /// + public const string AttributeDeploymentName = "deployment.name"; + + /// + /// The status of the deployment + /// + public const string AttributeDeploymentStatus = "deployment.status"; + + /// + /// The status of the deployment + /// + public static class DeploymentStatusValues + { + /// + /// failed + /// + public const string Failed = "failed"; + + /// + /// succeeded + /// + public const string Succeeded = "succeeded"; + } } diff --git a/src/OpenTelemetry.SemanticConventions/Attributes/EnduserAttributes.cs b/src/OpenTelemetry.SemanticConventions/Attributes/EnduserAttributes.cs index 5153558c13..de53dabda3 100644 --- a/src/OpenTelemetry.SemanticConventions/Attributes/EnduserAttributes.cs +++ b/src/OpenTelemetry.SemanticConventions/Attributes/EnduserAttributes.cs @@ -15,17 +15,20 @@ namespace OpenTelemetry.SemanticConventions; public static class EnduserAttributes { /// - /// Username or client_id extracted from the access token or Authorization header in the inbound request from outside the system + /// Deprecated, use user.id instead /// + [Obsolete("Replaced by user.id attribute")] public const string AttributeEnduserId = "enduser.id"; /// - /// Actual/assumed role the client is making the request under extracted from token or application security context + /// Deprecated, use user.roles instead /// + [Obsolete("Replaced by user.roles attribute")] public const string AttributeEnduserRole = "enduser.role"; /// - /// Scopes or granted authorities the client currently possesses extracted from token or application security context. The value would come from the scope associated with an OAuth 2.0 Access Token or an attribute value in a SAML 2.0 Assertion + /// Deprecated, no replacement at this time /// + [Obsolete("Removed")] public const string AttributeEnduserScope = "enduser.scope"; } diff --git a/src/OpenTelemetry.SemanticConventions/Attributes/EventAttributes.cs b/src/OpenTelemetry.SemanticConventions/Attributes/EventAttributes.cs index e8885e84d5..2714806e25 100644 --- a/src/OpenTelemetry.SemanticConventions/Attributes/EventAttributes.cs +++ b/src/OpenTelemetry.SemanticConventions/Attributes/EventAttributes.cs @@ -18,7 +18,7 @@ public static class EventAttributes /// Identifies the class / type of event ///
    /// - /// Event names are subject to the same rules as attribute names. Notably, event names are namespaced to avoid collisions and provide a clean separation of semantics for events in separate domains like browser, mobile, and kubernetes + /// Event names are subject to the same rules as attribute names. Notably, event names are namespaced to avoid collisions and provide a clean separation of semantics for events in separate domains like browser, mobile, and kubernetes /// public const string AttributeEventName = "event.name"; } diff --git a/src/OpenTelemetry.SemanticConventions/Attributes/GcpAttributes.cs b/src/OpenTelemetry.SemanticConventions/Attributes/GcpAttributes.cs index f1a3601af5..2dedab1196 100644 --- a/src/OpenTelemetry.SemanticConventions/Attributes/GcpAttributes.cs +++ b/src/OpenTelemetry.SemanticConventions/Attributes/GcpAttributes.cs @@ -14,6 +14,14 @@ namespace OpenTelemetry.SemanticConventions; ///
    public static class GcpAttributes { + /// + /// Identifies the Google Cloud service for which the official client library is intended + /// + /// + /// Intended to be a stable identifier for Google Cloud client libraries that is uniform across implementation languages. The value should be derived from the canonical service domain for the service; for example, 'foo.googleapis.com' should result in a value of 'foo' + /// + public const string AttributeGcpClientService = "gcp.client.service"; + /// /// The name of the Cloud Run execution being run for the Job, as set by the CLOUD_RUN_EXECUTION environment variable /// diff --git a/src/OpenTelemetry.SemanticConventions/Attributes/GenAiAttributes.cs b/src/OpenTelemetry.SemanticConventions/Attributes/GenAiAttributes.cs index b335bf6444..a100c1f1e3 100644 --- a/src/OpenTelemetry.SemanticConventions/Attributes/GenAiAttributes.cs +++ b/src/OpenTelemetry.SemanticConventions/Attributes/GenAiAttributes.cs @@ -15,7 +15,7 @@ namespace OpenTelemetry.SemanticConventions; public static class GenAiAttributes { /// - /// The full response received from the LLM + /// The full response received from the GenAI model /// /// /// It's RECOMMENDED to format completions as JSON string matching OpenAI messages format @@ -23,7 +23,15 @@ public static class GenAiAttributes public const string AttributeGenAiCompletion = "gen_ai.completion"; /// - /// The full prompt sent to an LLM + /// The name of the operation being performed + /// + /// + /// If one of the predefined values applies, but specific system uses a different name it's RECOMMENDED to document it in the semantic conventions for specific GenAI system and use system-specific name in the instrumentation. If a different name is not documented, instrumentation libraries SHOULD use applicable predefined value + /// + public const string AttributeGenAiOperationName = "gen_ai.operation.name"; + + /// + /// The full prompt sent to the GenAI model /// /// /// It's RECOMMENDED to format prompts as JSON string matching OpenAI messages format @@ -31,22 +39,42 @@ public static class GenAiAttributes public const string AttributeGenAiPrompt = "gen_ai.prompt"; /// - /// The maximum number of tokens the LLM generates for a request + /// The frequency penalty setting for the GenAI request + /// + public const string AttributeGenAiRequestFrequencyPenalty = "gen_ai.request.frequency_penalty"; + + /// + /// The maximum number of tokens the model generates for a request /// public const string AttributeGenAiRequestMaxTokens = "gen_ai.request.max_tokens"; /// - /// The name of the LLM a request is being made to + /// The name of the GenAI model a request is being made to /// public const string AttributeGenAiRequestModel = "gen_ai.request.model"; /// - /// The temperature setting for the LLM request + /// The presence penalty setting for the GenAI request + /// + public const string AttributeGenAiRequestPresencePenalty = "gen_ai.request.presence_penalty"; + + /// + /// List of sequences that the model will use to stop generating further tokens + /// + public const string AttributeGenAiRequestStopSequences = "gen_ai.request.stop_sequences"; + + /// + /// The temperature setting for the GenAI request /// public const string AttributeGenAiRequestTemperature = "gen_ai.request.temperature"; /// - /// The top_p sampling setting for the LLM request + /// The top_k sampling setting for the GenAI request + /// + public const string AttributeGenAiRequestTopK = "gen_ai.request.top_k"; + + /// + /// The top_p sampling setting for the GenAI request /// public const string AttributeGenAiRequestTopP = "gen_ai.request.top_p"; @@ -61,30 +89,71 @@ public static class GenAiAttributes public const string AttributeGenAiResponseId = "gen_ai.response.id"; /// - /// The name of the LLM a response was generated from + /// The name of the model that generated the response /// public const string AttributeGenAiResponseModel = "gen_ai.response.model"; /// - /// The Generative AI product as identified by the client instrumentation + /// The Generative AI product as identified by the client or server instrumentation /// /// - /// The actual GenAI product may differ from the one identified by the client. For example, when using OpenAI client libraries to communicate with Mistral, the gen_ai.system is set to openai based on the instrumentation's best knowledge + /// The gen_ai.system describes a family of GenAI models with specific model identified + /// by gen_ai.request.model and gen_ai.response.model attributes. + ///

    + /// The actual GenAI product may differ from the one identified by the client. + /// For example, when using OpenAI client libraries to communicate with Mistral, the gen_ai.system + /// is set to openai based on the instrumentation's best knowledge. + ///

    + /// For custom model, a custom friendly name SHOULD be used. + /// If none of these options apply, the gen_ai.system SHOULD be set to _OTHER /// public const string AttributeGenAiSystem = "gen_ai.system"; ///

    - /// The number of tokens used in the LLM response (completion) + /// The type of token being counted /// + public const string AttributeGenAiTokenType = "gen_ai.token.type"; + + /// + /// Deprecated, use gen_ai.usage.output_tokens instead + /// + [Obsolete("Replaced by gen_ai.usage.output_tokens attribute")] public const string AttributeGenAiUsageCompletionTokens = "gen_ai.usage.completion_tokens"; /// - /// The number of tokens used in the LLM prompt + /// The number of tokens used in the GenAI input (prompt) + /// + public const string AttributeGenAiUsageInputTokens = "gen_ai.usage.input_tokens"; + + /// + /// The number of tokens used in the GenAI response (completion) /// + public const string AttributeGenAiUsageOutputTokens = "gen_ai.usage.output_tokens"; + + /// + /// Deprecated, use gen_ai.usage.input_tokens instead + /// + [Obsolete("Replaced by gen_ai.usage.input_tokens attribute")] public const string AttributeGenAiUsagePromptTokens = "gen_ai.usage.prompt_tokens"; /// - /// The Generative AI product as identified by the client instrumentation + /// The name of the operation being performed + /// + public static class GenAiOperationNameValues + { + /// + /// Chat completion operation such as OpenAI Chat API + /// + public const string Chat = "chat"; + + /// + /// Text completions operation such as OpenAI Completions API (Legacy) + /// + public const string TextCompletion = "text_completion"; + } + + /// + /// The Generative AI product as identified by the client or server instrumentation /// public static class GenAiSystemValues { @@ -92,5 +161,36 @@ public static class GenAiSystemValues /// OpenAI ///
    public const string Openai = "openai"; + + /// + /// Vertex AI + /// + public const string VertexAi = "vertex_ai"; + + /// + /// Anthropic + /// + public const string Anthropic = "anthropic"; + + /// + /// Cohere + /// + public const string Cohere = "cohere"; + } + + /// + /// The type of token being counted + /// + public static class GenAiTokenTypeValues + { + /// + /// Input tokens (prompt, input, etc.) + /// + public const string Input = "input"; + + /// + /// Output tokens (completion, response, etc.) + /// + public const string Completion = "output"; } } diff --git a/src/OpenTelemetry.SemanticConventions/Attributes/GoAttributes.cs b/src/OpenTelemetry.SemanticConventions/Attributes/GoAttributes.cs new file mode 100644 index 0000000000..847f8f1df7 --- /dev/null +++ b/src/OpenTelemetry.SemanticConventions/Attributes/GoAttributes.cs @@ -0,0 +1,37 @@ +// Copyright The OpenTelemetry Authors +// SPDX-License-Identifier: Apache-2.0 + +// This file has been auto generated from 'src\OpenTelemetry.SemanticConventions\scripts\templates\registry\SemanticConventionsAttributes.cs.j2' + +#nullable enable + +#pragma warning disable CS1570 // XML comment has badly formed XML + +namespace OpenTelemetry.SemanticConventions; + +/// +/// Constants for semantic attribute names outlined by the OpenTelemetry specifications. +/// +public static class GoAttributes +{ + /// + /// The type of memory + /// + public const string AttributeGoMemoryType = "go.memory.type"; + + /// + /// The type of memory + /// + public static class GoMemoryTypeValues + { + /// + /// Memory allocated from the heap that is reserved for stack space, whether or not it is currently in-use + /// + public const string Stack = "stack"; + + /// + /// Memory used by the Go runtime, excluding other categories of memory usage described in this enumeration + /// + public const string Other = "other"; + } +} diff --git a/src/OpenTelemetry.SemanticConventions/Attributes/LinuxAttributes.cs b/src/OpenTelemetry.SemanticConventions/Attributes/LinuxAttributes.cs new file mode 100644 index 0000000000..a93e9712ca --- /dev/null +++ b/src/OpenTelemetry.SemanticConventions/Attributes/LinuxAttributes.cs @@ -0,0 +1,37 @@ +// Copyright The OpenTelemetry Authors +// SPDX-License-Identifier: Apache-2.0 + +// This file has been auto generated from 'src\OpenTelemetry.SemanticConventions\scripts\templates\registry\SemanticConventionsAttributes.cs.j2' + +#nullable enable + +#pragma warning disable CS1570 // XML comment has badly formed XML + +namespace OpenTelemetry.SemanticConventions; + +/// +/// Constants for semantic attribute names outlined by the OpenTelemetry specifications. +/// +public static class LinuxAttributes +{ + /// + /// The Linux Slab memory state + /// + public const string AttributeLinuxMemorySlabState = "linux.memory.slab.state"; + + /// + /// The Linux Slab memory state + /// + public static class LinuxMemorySlabStateValues + { + /// + /// reclaimable + /// + public const string Reclaimable = "reclaimable"; + + /// + /// unreclaimable + /// + public const string Unreclaimable = "unreclaimable"; + } +} diff --git a/src/OpenTelemetry.SemanticConventions/Attributes/LogAttributes.cs b/src/OpenTelemetry.SemanticConventions/Attributes/LogAttributes.cs index 6ac9fc3706..c0ad17a9ed 100644 --- a/src/OpenTelemetry.SemanticConventions/Attributes/LogAttributes.cs +++ b/src/OpenTelemetry.SemanticConventions/Attributes/LogAttributes.cs @@ -39,6 +39,14 @@ public static class LogAttributes ///
    public const string AttributeLogIostream = "log.iostream"; + /// + /// The complete orignal Log Record + /// + /// + /// This value MAY be added when processing a Log Record which was originally transmitted as a string or equivalent data type AND the Body field of the Log Record does not contain the same value. (e.g. a syslog or a log record read from a file.) + /// + public const string AttributeLogRecordOriginal = "log.record.original"; + /// /// A unique identifier for the Log Record /// diff --git a/src/OpenTelemetry.SemanticConventions/Attributes/MessagingAttributes.cs b/src/OpenTelemetry.SemanticConventions/Attributes/MessagingAttributes.cs index ba9a5dc46a..b3851d2ad3 100644 --- a/src/OpenTelemetry.SemanticConventions/Attributes/MessagingAttributes.cs +++ b/src/OpenTelemetry.SemanticConventions/Attributes/MessagingAttributes.cs @@ -27,6 +27,14 @@ public static class MessagingAttributes /// public const string AttributeMessagingClientId = "messaging.client.id"; + /// + /// The name of the consumer group with which a consumer is associated + /// + /// + /// Semantic conventions for individual messaging systems SHOULD document whether messaging.consumer.group.name is applicable and what it means in the context of that system + /// + public const string AttributeMessagingConsumerGroupName = "messaging.consumer.group.name"; + /// /// A boolean that is true if the message destination is anonymous (could be unnamed or have auto-generated name) /// @@ -46,6 +54,14 @@ public static class MessagingAttributes /// public const string AttributeMessagingDestinationPartitionId = "messaging.destination.partition.id"; + /// + /// The name of the destination subscription from which a message is consumed + /// + /// + /// Semantic conventions for individual messaging systems SHOULD document whether messaging.destination.subscription.name is applicable and what it means in the context of that system + /// + public const string AttributeMessagingDestinationSubscriptionName = "messaging.destination.subscription.name"; + /// /// Low cardinality representation of the messaging destination name /// @@ -60,22 +76,21 @@ public static class MessagingAttributes public const string AttributeMessagingDestinationTemporary = "messaging.destination.temporary"; /// - /// A boolean that is true if the publish message destination is anonymous (could be unnamed or have auto-generated name) + /// Deprecated, no replacement at this time /// + [Obsolete("No replacement at this time")] public const string AttributeMessagingDestinationPublishAnonymous = "messaging.destination_publish.anonymous"; /// - /// The name of the original destination the message was published to + /// Deprecated, no replacement at this time /// - /// - /// The name SHOULD uniquely identify a specific queue, topic, or other entity within the broker. If - /// the broker doesn't have such notion, the original destination name SHOULD uniquely identify the broker - /// + [Obsolete("No replacement at this time")] public const string AttributeMessagingDestinationPublishName = "messaging.destination_publish.name"; /// - /// The name of the consumer group the event consumer is associated with + /// Deprecated, use messaging.consumer.group.name instead /// + [Obsolete("Replaced by messaging.consumer.group.name")] public const string AttributeMessagingEventhubsConsumerGroup = "messaging.eventhubs.consumer.group"; /// @@ -104,8 +119,9 @@ public static class MessagingAttributes public const string AttributeMessagingGcpPubsubMessageOrderingKey = "messaging.gcp_pubsub.message.ordering_key"; /// - /// Name of the Kafka Consumer Group that is handling the message. Only applies to consumers, not producers + /// Deprecated, use messaging.consumer.group.name instead /// + [Obsolete("Replaced by messaging.consumer.group.name")] public const string AttributeMessagingKafkaConsumerGroup = "messaging.kafka.consumer.group"; /// @@ -123,8 +139,9 @@ public static class MessagingAttributes public const string AttributeMessagingKafkaMessageKey = "messaging.kafka.message.key"; /// - /// The offset of a record in the corresponding Kafka partition + /// Deprecated, use messaging.kafka.offset instead /// + [Obsolete("Replaced by messaging.kafka.offset")] public const string AttributeMessagingKafkaMessageOffset = "messaging.kafka.message.offset"; /// @@ -132,6 +149,11 @@ public static class MessagingAttributes /// public const string AttributeMessagingKafkaMessageTombstone = "messaging.kafka.message.tombstone"; + /// + /// The offset of a record in the corresponding Kafka partition + /// + public const string AttributeMessagingKafkaOffset = "messaging.kafka.offset"; + /// /// The size of the message body in bytes /// @@ -190,8 +212,9 @@ public static class MessagingAttributes public const string AttributeMessagingRabbitmqMessageDeliveryTag = "messaging.rabbitmq.message.delivery_tag"; /// - /// Name of the RocketMQ producer/consumer group that is handling the message. The client type is identified by the SpanKind + /// Deprecated, use messaging.consumer.group.name instead /// + [Obsolete("Replaced by messaging.consumer.group.name on the consumer spans. No replacement for producer spans")] public const string AttributeMessagingRocketmqClientGroup = "messaging.rocketmq.client_group"; /// @@ -235,8 +258,9 @@ public static class MessagingAttributes public const string AttributeMessagingRocketmqNamespace = "messaging.rocketmq.namespace"; /// - /// The name of the subscription in the topic messages are received from + /// Deprecated, use messaging.servicebus.destination.subscription_name instead /// + [Obsolete("Replaced by messaging.servicebus.destination.subscription_name")] public const string AttributeMessagingServicebusDestinationSubscriptionName = "messaging.servicebus.destination.subscription_name"; /// @@ -283,14 +307,19 @@ public static class MessagingOperationTypeValues public const string Receive = "receive"; /// - /// One or more messages are delivered to or processed by a consumer + /// One or more messages are processed by a consumer /// - public const string Deliver = "process"; + public const string Process = "process"; /// /// One or more messages are settled /// public const string Settle = "settle"; + + /// + /// Deprecated. Use process instead + /// + public const string Deliver = "deliver"; } /// @@ -415,5 +444,10 @@ public static class MessagingSystemValues /// Apache RocketMQ /// public const string Rocketmq = "rocketmq"; + + /// + /// Apache Pulsar + /// + public const string Pulsar = "pulsar"; } } diff --git a/src/OpenTelemetry.SemanticConventions/Attributes/NetworkAttributes.cs b/src/OpenTelemetry.SemanticConventions/Attributes/NetworkAttributes.cs index 7bf9321337..ef64321563 100644 --- a/src/OpenTelemetry.SemanticConventions/Attributes/NetworkAttributes.cs +++ b/src/OpenTelemetry.SemanticConventions/Attributes/NetworkAttributes.cs @@ -287,6 +287,11 @@ public static class NetworkTransportValues /// Unix domain socket /// public const string Unix = "unix"; + + /// + /// QUIC + /// + public const string Quic = "quic"; } /// diff --git a/src/OpenTelemetry.SemanticConventions/Attributes/OtherAttributes.cs b/src/OpenTelemetry.SemanticConventions/Attributes/OtherAttributes.cs index 025f142845..4be44a0190 100644 --- a/src/OpenTelemetry.SemanticConventions/Attributes/OtherAttributes.cs +++ b/src/OpenTelemetry.SemanticConventions/Attributes/OtherAttributes.cs @@ -15,26 +15,26 @@ namespace OpenTelemetry.SemanticConventions; public static class OtherAttributes { /// - /// Deprecated, use db.client.connections.state instead + /// Deprecated, use db.client.connection.state instead /// - [Obsolete("Replaced by db.client.connections.state")] + [Obsolete("Replaced by db.client.connection.state")] public const string AttributeState = "state"; /// - /// Deprecated, use db.client.connections.state instead + /// Deprecated, use db.client.connection.state instead /// public static class StateValues { /// /// idle /// - [Obsolete("Replaced by db.client.connections.state")] + [Obsolete("Replaced by db.client.connection.state")] public const string Idle = "idle"; /// /// used /// - [Obsolete("Replaced by db.client.connections.state")] + [Obsolete("Replaced by db.client.connection.state")] public const string Used = "used"; } } diff --git a/src/OpenTelemetry.SemanticConventions/Attributes/PoolAttributes.cs b/src/OpenTelemetry.SemanticConventions/Attributes/PoolAttributes.cs index f09530bc5a..1d791b869b 100644 --- a/src/OpenTelemetry.SemanticConventions/Attributes/PoolAttributes.cs +++ b/src/OpenTelemetry.SemanticConventions/Attributes/PoolAttributes.cs @@ -15,8 +15,8 @@ namespace OpenTelemetry.SemanticConventions; public static class PoolAttributes { /// - /// Deprecated, use db.client.connections.pool.name instead + /// Deprecated, use db.client.connection.pool.name instead /// - [Obsolete("Replaced by db.client.connections.pool.name")] + [Obsolete("Replaced by db.client.connection.pool.name")] public const string AttributePoolName = "pool.name"; } diff --git a/src/OpenTelemetry.SemanticConventions/Attributes/ProcessAttributes.cs b/src/OpenTelemetry.SemanticConventions/Attributes/ProcessAttributes.cs index 46c32087eb..17273e200a 100644 --- a/src/OpenTelemetry.SemanticConventions/Attributes/ProcessAttributes.cs +++ b/src/OpenTelemetry.SemanticConventions/Attributes/ProcessAttributes.cs @@ -35,8 +35,9 @@ public static class ProcessAttributes public const string AttributeProcessContextSwitchType = "process.context_switch_type"; /// - /// The CPU state of the process + /// Deprecated, use cpu.mode instead /// + [Obsolete("Replaced by cpu.mode")] public const string AttributeProcessCpuState = "process.cpu.state"; /// @@ -110,7 +111,7 @@ public static class ProcessAttributes public const string AttributeProcessRuntimeDescription = "process.runtime.description"; /// - /// The name of the runtime of this process. For compiled native binaries, this SHOULD be the name of the compiler + /// The name of the runtime of this process /// public const string AttributeProcessRuntimeName = "process.runtime.name"; @@ -169,23 +170,26 @@ public static class ProcessContextSwitchTypeValues } /// - /// The CPU state of the process + /// Deprecated, use cpu.mode instead /// public static class ProcessCpuStateValues { /// /// system /// + [Obsolete("Replaced by cpu.mode")] public const string System = "system"; /// /// user /// + [Obsolete("Replaced by cpu.mode")] public const string User = "user"; /// /// wait /// + [Obsolete("Replaced by cpu.mode")] public const string Wait = "wait"; } diff --git a/src/OpenTelemetry.SemanticConventions/Attributes/SystemAttributes.cs b/src/OpenTelemetry.SemanticConventions/Attributes/SystemAttributes.cs index d16c46b2e5..8cac7b5d53 100644 --- a/src/OpenTelemetry.SemanticConventions/Attributes/SystemAttributes.cs +++ b/src/OpenTelemetry.SemanticConventions/Attributes/SystemAttributes.cs @@ -20,8 +20,9 @@ public static class SystemAttributes public const string AttributeSystemCpuLogicalNumber = "system.cpu.logical_number"; /// - /// The state of the CPU + /// Deprecated, use cpu.mode instead /// + [Obsolete("Replaced by cpu.mode")] public const string AttributeSystemCpuState = "system.cpu.state"; /// @@ -86,43 +87,50 @@ public static class SystemAttributes public const string AttributeSystemProcessesStatus = "system.processes.status"; /// - /// The state of the CPU + /// Deprecated, use cpu.mode instead /// public static class SystemCpuStateValues { /// /// user /// + [Obsolete("Replaced by cpu.mode")] public const string User = "user"; /// /// system /// + [Obsolete("Replaced by cpu.mode")] public const string System = "system"; /// /// nice /// + [Obsolete("Replaced by cpu.mode")] public const string Nice = "nice"; /// /// idle /// + [Obsolete("Replaced by cpu.mode")] public const string Idle = "idle"; /// /// iowait /// + [Obsolete("Replaced by cpu.mode")] public const string Iowait = "iowait"; /// /// interrupt /// + [Obsolete("Replaced by cpu.mode")] public const string Interrupt = "interrupt"; /// /// steal /// + [Obsolete("Replaced by cpu.mode")] public const string Steal = "steal"; } diff --git a/src/OpenTelemetry.SemanticConventions/Attributes/TestAttributes.cs b/src/OpenTelemetry.SemanticConventions/Attributes/TestAttributes.cs new file mode 100644 index 0000000000..6eae4b3f2a --- /dev/null +++ b/src/OpenTelemetry.SemanticConventions/Attributes/TestAttributes.cs @@ -0,0 +1,88 @@ +// Copyright The OpenTelemetry Authors +// SPDX-License-Identifier: Apache-2.0 + +// This file has been auto generated from 'src\OpenTelemetry.SemanticConventions\scripts\templates\registry\SemanticConventionsAttributes.cs.j2' + +#nullable enable + +#pragma warning disable CS1570 // XML comment has badly formed XML + +namespace OpenTelemetry.SemanticConventions; + +/// +/// Constants for semantic attribute names outlined by the OpenTelemetry specifications. +/// +public static class TestAttributes +{ + /// + /// The fully qualified human readable name of the test case + /// + public const string AttributeTestCaseName = "test.case.name"; + + /// + /// The status of the actual test case result from test execution + /// + public const string AttributeTestCaseResultStatus = "test.case.result.status"; + + /// + /// The human readable name of a test suite + /// + public const string AttributeTestSuiteName = "test.suite.name"; + + /// + /// The status of the test suite run + /// + public const string AttributeTestSuiteRunStatus = "test.suite.run.status"; + + /// + /// The status of the actual test case result from test execution + /// + public static class TestCaseResultStatusValues + { + /// + /// pass + /// + public const string Pass = "pass"; + + /// + /// fail + /// + public const string Fail = "fail"; + } + + /// + /// The status of the test suite run + /// + public static class TestSuiteRunStatusValues + { + /// + /// success + /// + public const string Success = "success"; + + /// + /// failure + /// + public const string Failure = "failure"; + + /// + /// skipped + /// + public const string Skipped = "skipped"; + + /// + /// aborted + /// + public const string Aborted = "aborted"; + + /// + /// timed_out + /// + public const string TimedOut = "timed_out"; + + /// + /// in_progress + /// + public const string InProgress = "in_progress"; + } +} diff --git a/src/OpenTelemetry.SemanticConventions/Attributes/TlsAttributes.cs b/src/OpenTelemetry.SemanticConventions/Attributes/TlsAttributes.cs index 5d1d75a9ce..87351db7ba 100644 --- a/src/OpenTelemetry.SemanticConventions/Attributes/TlsAttributes.cs +++ b/src/OpenTelemetry.SemanticConventions/Attributes/TlsAttributes.cs @@ -68,8 +68,9 @@ public static class TlsAttributes public const string AttributeTlsClientNotBefore = "tls.client.not_before"; /// - /// Also called an SNI, this tells the server which hostname to which the client is attempting to connect to + /// Deprecated, use server.address instead /// + [Obsolete("Replaced by `server.address")] public const string AttributeTlsClientServerName = "tls.client.server_name"; /// diff --git a/src/OpenTelemetry.SemanticConventions/Attributes/UserAttributes.cs b/src/OpenTelemetry.SemanticConventions/Attributes/UserAttributes.cs new file mode 100644 index 0000000000..eff0f4754a --- /dev/null +++ b/src/OpenTelemetry.SemanticConventions/Attributes/UserAttributes.cs @@ -0,0 +1,49 @@ +// Copyright The OpenTelemetry Authors +// SPDX-License-Identifier: Apache-2.0 + +// This file has been auto generated from 'src\OpenTelemetry.SemanticConventions\scripts\templates\registry\SemanticConventionsAttributes.cs.j2' + +#nullable enable + +#pragma warning disable CS1570 // XML comment has badly formed XML + +namespace OpenTelemetry.SemanticConventions; + +/// +/// Constants for semantic attribute names outlined by the OpenTelemetry specifications. +/// +public static class UserAttributes +{ + /// + /// User email address + /// + public const string AttributeUserEmail = "user.email"; + + /// + /// User's full name + /// + public const string AttributeUserFullName = "user.full_name"; + + /// + /// Unique user hash to correlate information for a user in anonymized form + /// + /// + /// Useful if user.id or user.name contain confidential information and cannot be used + /// + public const string AttributeUserHash = "user.hash"; + + /// + /// Unique identifier of the user + /// + public const string AttributeUserId = "user.id"; + + /// + /// Short name or login/username of the user + /// + public const string AttributeUserName = "user.name"; + + /// + /// Array of user roles at the time of the event + /// + public const string AttributeUserRoles = "user.roles"; +} diff --git a/src/OpenTelemetry.SemanticConventions/Attributes/V8jsAttributes.cs b/src/OpenTelemetry.SemanticConventions/Attributes/V8jsAttributes.cs new file mode 100644 index 0000000000..93e68417b6 --- /dev/null +++ b/src/OpenTelemetry.SemanticConventions/Attributes/V8jsAttributes.cs @@ -0,0 +1,86 @@ +// Copyright The OpenTelemetry Authors +// SPDX-License-Identifier: Apache-2.0 + +// This file has been auto generated from 'src\OpenTelemetry.SemanticConventions\scripts\templates\registry\SemanticConventionsAttributes.cs.j2' + +#nullable enable + +#pragma warning disable CS1570 // XML comment has badly formed XML + +namespace OpenTelemetry.SemanticConventions; + +/// +/// Constants for semantic attribute names outlined by the OpenTelemetry specifications. +/// +public static class V8jsAttributes +{ + /// + /// The type of garbage collection + /// + public const string AttributeV8jsGcType = "v8js.gc.type"; + + /// + /// The name of the space type of heap memory + /// + /// + /// Value can be retrieved from value space_name of v8.getHeapSpaceStatistics() + /// + public const string AttributeV8jsHeapSpaceName = "v8js.heap.space.name"; + + /// + /// The type of garbage collection + /// + public static class V8jsGcTypeValues + { + /// + /// Major (Mark Sweep Compact) + /// + public const string Major = "major"; + + /// + /// Minor (Scavenge) + /// + public const string Minor = "minor"; + + /// + /// Incremental (Incremental Marking) + /// + public const string Incremental = "incremental"; + + /// + /// Weak Callbacks (Process Weak Callbacks) + /// + public const string Weakcb = "weakcb"; + } + + /// + /// The name of the space type of heap memory + /// + public static class V8jsHeapSpaceNameValues + { + /// + /// New memory space + /// + public const string NewSpace = "new_space"; + + /// + /// Old memory space + /// + public const string OldSpace = "old_space"; + + /// + /// Code memory space + /// + public const string CodeSpace = "code_space"; + + /// + /// Map memory space + /// + public const string MapSpace = "map_space"; + + /// + /// Large object memory space + /// + public const string LargeObjectSpace = "large_object_space"; + } +} diff --git a/src/OpenTelemetry.SemanticConventions/Attributes/VcsAttributes.cs b/src/OpenTelemetry.SemanticConventions/Attributes/VcsAttributes.cs new file mode 100644 index 0000000000..09a595f4c6 --- /dev/null +++ b/src/OpenTelemetry.SemanticConventions/Attributes/VcsAttributes.cs @@ -0,0 +1,73 @@ +// Copyright The OpenTelemetry Authors +// SPDX-License-Identifier: Apache-2.0 + +// This file has been auto generated from 'src\OpenTelemetry.SemanticConventions\scripts\templates\registry\SemanticConventionsAttributes.cs.j2' + +#nullable enable + +#pragma warning disable CS1570 // XML comment has badly formed XML + +namespace OpenTelemetry.SemanticConventions; + +/// +/// Constants for semantic attribute names outlined by the OpenTelemetry specifications. +/// +public static class VcsAttributes +{ + /// + /// The ID of the change (pull request/merge request) if applicable. This is usually a unique (within repository) identifier generated by the VCS system + /// + public const string AttributeVcsRepositoryChangeId = "vcs.repository.change.id"; + + /// + /// The human readable title of the change (pull request/merge request). This title is often a brief summary of the change and may get merged in to a ref as the commit summary + /// + public const string AttributeVcsRepositoryChangeTitle = "vcs.repository.change.title"; + + /// + /// The name of the reference such as branch or tag in the repository + /// + public const string AttributeVcsRepositoryRefName = "vcs.repository.ref.name"; + + /// + /// The revision, literally revised version, The revision most often refers to a commit object in Git, or a revision number in SVN + /// + /// + /// The revision can be a full hash value (see glossary), + /// of the recorded change to a ref within a repository pointing to a + /// commit commit object. It does + /// not necessarily have to be a hash; it can simply define a + /// revision number + /// which is an integer that is monotonically increasing. In cases where + /// it is identical to the ref.name, it SHOULD still be included. It is + /// up to the implementer to decide which value to set as the revision + /// based on the VCS system and situational context + /// + public const string AttributeVcsRepositoryRefRevision = "vcs.repository.ref.revision"; + + /// + /// The type of the reference in the repository + /// + public const string AttributeVcsRepositoryRefType = "vcs.repository.ref.type"; + + /// + /// The URL of the repository providing the complete address in order to locate and identify the repository + /// + public const string AttributeVcsRepositoryUrlFull = "vcs.repository.url.full"; + + /// + /// The type of the reference in the repository + /// + public static class VcsRepositoryRefTypeValues + { + /// + /// branch + /// + public const string Branch = "branch"; + + /// + /// tag + /// + public const string Tag = "tag"; + } +} diff --git a/src/OpenTelemetry.SemanticConventions/CHANGELOG.md b/src/OpenTelemetry.SemanticConventions/CHANGELOG.md index 20ab003382..29ab84bca7 100644 --- a/src/OpenTelemetry.SemanticConventions/CHANGELOG.md +++ b/src/OpenTelemetry.SemanticConventions/CHANGELOG.md @@ -2,6 +2,9 @@ ## Unreleased +* Updated to `v1.27.0` release of OpenTelemetry Semantic Conventions. + ([#2069](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/2069)) + * Updated to `v1.26.0` release of OpenTelemetry Semantic Conventions. ([#2040](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/2040)) diff --git a/src/OpenTelemetry.SemanticConventions/scripts/generate.ps1 b/src/OpenTelemetry.SemanticConventions/scripts/generate.ps1 index c05f576e0a..1a4e9581f3 100644 --- a/src/OpenTelemetry.SemanticConventions/scripts/generate.ps1 +++ b/src/OpenTelemetry.SemanticConventions/scripts/generate.ps1 @@ -2,7 +2,7 @@ $SCRIPT_DIR = $PSScriptRoot $ROOT_DIR = "${SCRIPT_DIR}/../" # freeze the spec version to make SemanticAttributes generation reproducible -$SEMCONV_VERSION="1.26.0" +$SEMCONV_VERSION="1.27.0" $GENERATOR_VERSION="v0.9.2" Set-Location $SCRIPT_DIR diff --git a/src/OpenTelemetry.SemanticConventions/scripts/generate.sh b/src/OpenTelemetry.SemanticConventions/scripts/generate.sh index 226a09d8c8..a5c6c8e9c4 100644 --- a/src/OpenTelemetry.SemanticConventions/scripts/generate.sh +++ b/src/OpenTelemetry.SemanticConventions/scripts/generate.sh @@ -5,7 +5,7 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" ROOT_DIR="${SCRIPT_DIR}/../" # freeze the spec version to make SemanticAttributes generation reproducible -SEMCONV_VERSION="1.26.0" +SEMCONV_VERSION="1.27.0" GENERATOR_VERSION="v0.9.2" cd ${SCRIPT_DIR} @@ -30,4 +30,4 @@ docker run --rm \ --registry=/source \ --templates=/templates \ "./" \ - "/output/./"\ \ No newline at end of file + "/output/./"\