diff --git a/apps/opentelemetry_semantic_conventions/lib/error_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/error_attributes.ex index 8aa41c10..5359e5c6 100644 --- a/apps/opentelemetry_semantic_conventions/lib/error_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/error_attributes.ex @@ -69,7 +69,7 @@ defmodule OpenTelemetry.SemConv.ErrorAttributes do ?ERROR_TYPE. 'error.type' - \#{?ERROR_TYPE => ?ERROR_TYPE_VALUES.other}. + \#{?ERROR_TYPE => ?'ERROR_TYPE_VALUES.other'}. \#{'error.type' => _OTHER} ?'ERROR_TYPE_VALUES.other'. diff --git a/apps/opentelemetry_semantic_conventions/lib/http_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/http_attributes.ex index 8407962d..7ec77de9 100644 --- a/apps/opentelemetry_semantic_conventions/lib/http_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/http_attributes.ex @@ -118,7 +118,7 @@ defmodule OpenTelemetry.SemConv.HTTPAttributes do ?HTTP_REQUEST_METHOD. 'http.request.method' - \#{?HTTP_REQUEST_METHOD => ?HTTP_REQUEST_METHOD_VALUES.connect}. + \#{?HTTP_REQUEST_METHOD => ?'HTTP_REQUEST_METHOD_VALUES.connect'}. \#{'http.request.method' => CONNECT} ?'HTTP_REQUEST_METHOD_VALUES.connect'. diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/aws_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/aws_attributes.ex index 521b79f7..35bd962b 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/aws_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/aws_attributes.ex @@ -803,7 +803,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ?AWS_ECS_LAUNCHTYPE. 'aws.ecs.launchtype' - \#{?AWS_ECS_LAUNCHTYPE => ?AWS_ECS_LAUNCHTYPE_VALUES.ec2}. + \#{?AWS_ECS_LAUNCHTYPE => ?'AWS_ECS_LAUNCHTYPE_VALUES.ec2'}. \#{'aws.ecs.launchtype' => ec2} ?'AWS_ECS_LAUNCHTYPE_VALUES.ec2'. diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/cloud_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/cloud_attributes.ex index e0d131de..329a2fdd 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/cloud_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/cloud_attributes.ex @@ -169,7 +169,7 @@ defmodule OpenTelemetry.SemConv.Incubating.CloudAttributes do ?CLOUD_PLATFORM. 'cloud.platform' - \#{?CLOUD_PLATFORM => ?CLOUD_PLATFORM_VALUES.alibaba_cloud_ecs}. + \#{?CLOUD_PLATFORM => ?'CLOUD_PLATFORM_VALUES.alibaba_cloud_ecs'}. \#{'cloud.platform' => alibaba_cloud_ecs} ?'CLOUD_PLATFORM_VALUES.alibaba_cloud_ecs'. @@ -274,7 +274,7 @@ defmodule OpenTelemetry.SemConv.Incubating.CloudAttributes do ?CLOUD_PROVIDER. 'cloud.provider' - \#{?CLOUD_PROVIDER => ?CLOUD_PROVIDER_VALUES.alibaba_cloud}. + \#{?CLOUD_PROVIDER => ?'CLOUD_PROVIDER_VALUES.alibaba_cloud'}. \#{'cloud.provider' => alibaba_cloud} ?'CLOUD_PROVIDER_VALUES.alibaba_cloud'. diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/container_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/container_attributes.ex index f1bfa672..fcb598cd 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/container_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/container_attributes.ex @@ -151,7 +151,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ContainerAttributes do ?CONTAINER_CPU_STATE. 'container.cpu.state' - \#{?CONTAINER_CPU_STATE => ?CONTAINER_CPU_STATE_VALUES.user}. + \#{?CONTAINER_CPU_STATE => ?'CONTAINER_CPU_STATE_VALUES.user'}. \#{'container.cpu.state' => user} ?'CONTAINER_CPU_STATE_VALUES.user'. diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/db_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/db_attributes.ex index 053cf1e9..1c3dc96c 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/db_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/db_attributes.ex @@ -61,7 +61,7 @@ defmodule OpenTelemetry.SemConv.Incubating.DBAttributes do ?DB_CASSANDRA_CONSISTENCYLEVEL. 'db.cassandra.consistency_level' - \#{?DB_CASSANDRA_CONSISTENCYLEVEL => ?DB_CASSANDRA_CONSISTENCYLEVEL_VALUES.all}. + \#{?DB_CASSANDRA_CONSISTENCYLEVEL => ?'DB_CASSANDRA_CONSISTENCYLEVEL_VALUES.all'}. \#{'db.cassandra.consistency_level' => all} ?'DB_CASSANDRA_CONSISTENCYLEVEL_VALUES.all'. @@ -343,7 +343,7 @@ defmodule OpenTelemetry.SemConv.Incubating.DBAttributes do ?DB_CLIENT_CONNECTIONS_STATE. 'db.client.connections.state' - \#{?DB_CLIENT_CONNECTIONS_STATE => ?DB_CLIENT_CONNECTIONS_STATE_VALUES.idle}. + \#{?DB_CLIENT_CONNECTIONS_STATE => ?'DB_CLIENT_CONNECTIONS_STATE_VALUES.idle'}. \#{'db.client.connections.state' => idle} ?'DB_CLIENT_CONNECTIONS_STATE_VALUES.idle'. @@ -488,7 +488,7 @@ defmodule OpenTelemetry.SemConv.Incubating.DBAttributes do ?DB_COSMOSDB_CONNECTIONMODE. 'db.cosmosdb.connection_mode' - \#{?DB_COSMOSDB_CONNECTIONMODE => ?DB_COSMOSDB_CONNECTIONMODE_VALUES.gateway}. + \#{?DB_COSMOSDB_CONNECTIONMODE => ?'DB_COSMOSDB_CONNECTIONMODE_VALUES.gateway'}. \#{'db.cosmosdb.connection_mode' => gateway} ?'DB_COSMOSDB_CONNECTIONMODE_VALUES.gateway'. @@ -589,7 +589,7 @@ defmodule OpenTelemetry.SemConv.Incubating.DBAttributes do ?DB_COSMOSDB_OPERATIONTYPE. 'db.cosmosdb.operation_type' - \#{?DB_COSMOSDB_OPERATIONTYPE => ?DB_COSMOSDB_OPERATIONTYPE_VALUES.invalid}. + \#{?DB_COSMOSDB_OPERATIONTYPE => ?'DB_COSMOSDB_OPERATIONTYPE_VALUES.invalid'}. \#{'db.cosmosdb.operation_type' => Invalid} ?'DB_COSMOSDB_OPERATIONTYPE_VALUES.invalid'. @@ -1218,7 +1218,7 @@ defmodule OpenTelemetry.SemConv.Incubating.DBAttributes do ?DB_SYSTEM. 'db.system' - \#{?DB_SYSTEM => ?DB_SYSTEM_VALUES.other_sql}. + \#{?DB_SYSTEM => ?'DB_SYSTEM_VALUES.other_sql'}. \#{'db.system' => other_sql} ?'DB_SYSTEM_VALUES.other_sql'. diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/disk_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/disk_attributes.ex index da473868..53e29a0a 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/disk_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/disk_attributes.ex @@ -46,7 +46,7 @@ defmodule OpenTelemetry.SemConv.Incubating.DiskAttributes do ?DISK_IO_DIRECTION. 'disk.io.direction' - \#{?DISK_IO_DIRECTION => ?DISK_IO_DIRECTION_VALUES.read}. + \#{?DISK_IO_DIRECTION => ?'DISK_IO_DIRECTION_VALUES.read'}. \#{'disk.io.direction' => read} ?'DISK_IO_DIRECTION_VALUES.read'. diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/faas_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/faas_attributes.ex index fe469477..876f1df4 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/faas_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/faas_attributes.ex @@ -170,7 +170,7 @@ defmodule OpenTelemetry.SemConv.Incubating.FAASAttributes do ?FAAS_DOCUMENT_OPERATION. 'faas.document.operation' - \#{?FAAS_DOCUMENT_OPERATION => ?FAAS_DOCUMENT_OPERATION_VALUES.insert}. + \#{?FAAS_DOCUMENT_OPERATION => ?'FAAS_DOCUMENT_OPERATION_VALUES.insert'}. \#{'faas.document.operation' => insert} ?'FAAS_DOCUMENT_OPERATION_VALUES.insert'. @@ -390,7 +390,7 @@ defmodule OpenTelemetry.SemConv.Incubating.FAASAttributes do ?FAAS_INVOKEDPROVIDER. 'faas.invoked_provider' - \#{?FAAS_INVOKEDPROVIDER => ?FAAS_INVOKEDPROVIDER_VALUES.alibaba_cloud}. + \#{?FAAS_INVOKEDPROVIDER => ?'FAAS_INVOKEDPROVIDER_VALUES.alibaba_cloud'}. \#{'faas.invoked_provider' => alibaba_cloud} ?'FAAS_INVOKEDPROVIDER_VALUES.alibaba_cloud'. @@ -627,7 +627,7 @@ defmodule OpenTelemetry.SemConv.Incubating.FAASAttributes do ?FAAS_TRIGGER. 'faas.trigger' - \#{?FAAS_TRIGGER => ?FAAS_TRIGGER_VALUES.datasource}. + \#{?FAAS_TRIGGER => ?'FAAS_TRIGGER_VALUES.datasource'}. \#{'faas.trigger' => datasource} ?'FAAS_TRIGGER_VALUES.datasource'. diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/gen_ai_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/gen_ai_attributes.ex index ed2cf816..9212d275 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/gen_ai_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/gen_ai_attributes.ex @@ -342,7 +342,7 @@ defmodule OpenTelemetry.SemConv.Incubating.GenAiAttributes do ?GENAI_SYSTEM. 'gen_ai.system' - \#{?GENAI_SYSTEM => ?GENAI_SYSTEM_VALUES.openai}. + \#{?GENAI_SYSTEM => ?'GENAI_SYSTEM_VALUES.openai'}. \#{'gen_ai.system' => openai} ?'GENAI_SYSTEM_VALUES.openai'. diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/graphql_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/graphql_attributes.ex index 1d506bb6..7f29ec48 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/graphql_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/graphql_attributes.ex @@ -115,7 +115,7 @@ defmodule OpenTelemetry.SemConv.Incubating.GraphqlAttributes do ?GRAPHQL_OPERATION_TYPE. 'graphql.operation.type' - \#{?GRAPHQL_OPERATION_TYPE => ?GRAPHQL_OPERATION_TYPE_VALUES.query}. + \#{?GRAPHQL_OPERATION_TYPE => ?'GRAPHQL_OPERATION_TYPE_VALUES.query'}. \#{'graphql.operation.type' => query} ?'GRAPHQL_OPERATION_TYPE_VALUES.query'. diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/host_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/host_attributes.ex index ebfc060b..06590668 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/host_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/host_attributes.ex @@ -55,7 +55,7 @@ defmodule OpenTelemetry.SemConv.Incubating.HostAttributes do ?HOST_ARCH. 'host.arch' - \#{?HOST_ARCH => ?HOST_ARCH_VALUES.amd64}. + \#{?HOST_ARCH => ?'HOST_ARCH_VALUES.amd64'}. \#{'host.arch' => amd64} ?'HOST_ARCH_VALUES.amd64'. diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/http_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/http_attributes.ex index 28361cad..736c3644 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/http_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/http_attributes.ex @@ -54,7 +54,7 @@ defmodule OpenTelemetry.SemConv.Incubating.HTTPAttributes do ?HTTP_CONNECTION_STATE. 'http.connection.state' - \#{?HTTP_CONNECTION_STATE => ?HTTP_CONNECTION_STATE_VALUES.active}. + \#{?HTTP_CONNECTION_STATE => ?'HTTP_CONNECTION_STATE_VALUES.active'}. \#{'http.connection.state' => active} ?'HTTP_CONNECTION_STATE_VALUES.active'. diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/log_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/log_attributes.ex index 6ba9c070..88a3d97f 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/log_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/log_attributes.ex @@ -175,7 +175,7 @@ defmodule OpenTelemetry.SemConv.Incubating.LogAttributes do ?LOG_IOSTREAM. 'log.iostream' - \#{?LOG_IOSTREAM => ?LOG_IOSTREAM_VALUES.stdout}. + \#{?LOG_IOSTREAM => ?'LOG_IOSTREAM_VALUES.stdout'}. \#{'log.iostream' => stdout} ?'LOG_IOSTREAM_VALUES.stdout'. diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/messaging_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/messaging_attributes.ex index ab04697e..ad1104ad 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/messaging_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/messaging_attributes.ex @@ -877,7 +877,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ?MESSAGING_OPERATION_TYPE. 'messaging.operation.type' - \#{?MESSAGING_OPERATION_TYPE => ?MESSAGING_OPERATION_TYPE_VALUES.publish}. + \#{?MESSAGING_OPERATION_TYPE => ?'MESSAGING_OPERATION_TYPE_VALUES.publish'}. \#{'messaging.operation.type' => publish} ?'MESSAGING_OPERATION_TYPE_VALUES.publish'. @@ -1048,7 +1048,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ?MESSAGING_ROCKETMQ_CONSUMPTIONMODEL. 'messaging.rocketmq.consumption_model' - \#{?MESSAGING_ROCKETMQ_CONSUMPTIONMODEL => ?MESSAGING_ROCKETMQ_CONSUMPTIONMODEL_VALUES.clustering}. + \#{?MESSAGING_ROCKETMQ_CONSUMPTIONMODEL => ?'MESSAGING_ROCKETMQ_CONSUMPTIONMODEL_VALUES.clustering'}. \#{'messaging.rocketmq.consumption_model' => clustering} ?'MESSAGING_ROCKETMQ_CONSUMPTIONMODEL_VALUES.clustering'. @@ -1289,7 +1289,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ?MESSAGING_ROCKETMQ_MESSAGE_TYPE. 'messaging.rocketmq.message.type' - \#{?MESSAGING_ROCKETMQ_MESSAGE_TYPE => ?MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUES.normal}. + \#{?MESSAGING_ROCKETMQ_MESSAGE_TYPE => ?'MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUES.normal'}. \#{'messaging.rocketmq.message.type' => normal} ?'MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUES.normal'. @@ -1431,7 +1431,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ?MESSAGING_SERVICEBUS_DISPOSITIONSTATUS. 'messaging.servicebus.disposition_status' - \#{?MESSAGING_SERVICEBUS_DISPOSITIONSTATUS => ?MESSAGING_SERVICEBUS_DISPOSITIONSTATUS_VALUES.complete}. + \#{?MESSAGING_SERVICEBUS_DISPOSITIONSTATUS => ?'MESSAGING_SERVICEBUS_DISPOSITIONSTATUS_VALUES.complete'}. \#{'messaging.servicebus.disposition_status' => complete} ?'MESSAGING_SERVICEBUS_DISPOSITIONSTATUS_VALUES.complete'. @@ -1588,7 +1588,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ?MESSAGING_SYSTEM. 'messaging.system' - \#{?MESSAGING_SYSTEM => ?MESSAGING_SYSTEM_VALUES.activemq}. + \#{?MESSAGING_SYSTEM => ?'MESSAGING_SYSTEM_VALUES.activemq'}. \#{'messaging.system' => activemq} ?'MESSAGING_SYSTEM_VALUES.activemq'. diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/network_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/network_attributes.ex index de46a353..986a4484 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/network_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/network_attributes.ex @@ -392,7 +392,7 @@ defmodule OpenTelemetry.SemConv.Incubating.NetworkAttributes do ?NETWORK_CONNECTION_SUBTYPE. 'network.connection.subtype' - \#{?NETWORK_CONNECTION_SUBTYPE => ?NETWORK_CONNECTION_SUBTYPE_VALUES.gprs}. + \#{?NETWORK_CONNECTION_SUBTYPE => ?'NETWORK_CONNECTION_SUBTYPE_VALUES.gprs'}. \#{'network.connection.subtype' => gprs} ?'NETWORK_CONNECTION_SUBTYPE_VALUES.gprs'. @@ -489,7 +489,7 @@ defmodule OpenTelemetry.SemConv.Incubating.NetworkAttributes do ?NETWORK_CONNECTION_TYPE. 'network.connection.type' - \#{?NETWORK_CONNECTION_TYPE => ?NETWORK_CONNECTION_TYPE_VALUES.wifi}. + \#{?NETWORK_CONNECTION_TYPE => ?'NETWORK_CONNECTION_TYPE_VALUES.wifi'}. \#{'network.connection.type' => wifi} ?'NETWORK_CONNECTION_TYPE_VALUES.wifi'. @@ -564,7 +564,7 @@ defmodule OpenTelemetry.SemConv.Incubating.NetworkAttributes do ?NETWORK_IO_DIRECTION. 'network.io.direction' - \#{?NETWORK_IO_DIRECTION => ?NETWORK_IO_DIRECTION_VALUES.transmit}. + \#{?NETWORK_IO_DIRECTION => ?'NETWORK_IO_DIRECTION_VALUES.transmit'}. \#{'network.io.direction' => transmit} ?'NETWORK_IO_DIRECTION_VALUES.transmit'. diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/opentracing_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/opentracing_attributes.ex index c327ebc6..6c8e1e10 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/opentracing_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/opentracing_attributes.ex @@ -45,7 +45,7 @@ defmodule OpenTelemetry.SemConv.Incubating.OpentracingAttributes do ?OPENTRACING_REFTYPE. 'opentracing.ref_type' - \#{?OPENTRACING_REFTYPE => ?OPENTRACING_REFTYPE_VALUES.child_of}. + \#{?OPENTRACING_REFTYPE => ?'OPENTRACING_REFTYPE_VALUES.child_of'}. \#{'opentracing.ref_type' => child_of} ?'OPENTRACING_REFTYPE_VALUES.child_of'. diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/os_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/os_attributes.ex index c15e478e..f3a05b51 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/os_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/os_attributes.ex @@ -158,7 +158,7 @@ defmodule OpenTelemetry.SemConv.Incubating.OSAttributes do ?OS_TYPE. 'os.type' - \#{?OS_TYPE => ?OS_TYPE_VALUES.windows}. + \#{?OS_TYPE => ?'OS_TYPE_VALUES.windows'}. \#{'os.type' => windows} ?'OS_TYPE_VALUES.windows'. diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/process_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/process_attributes.ex index 63e7b139..c2dda120 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/process_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/process_attributes.ex @@ -140,7 +140,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ProcessAttributes do ?PROCESS_CONTEXTSWITCHTYPE. 'process.context_switch_type' - \#{?PROCESS_CONTEXTSWITCHTYPE => ?PROCESS_CONTEXTSWITCHTYPE_VALUES.voluntary}. + \#{?PROCESS_CONTEXTSWITCHTYPE => ?'PROCESS_CONTEXTSWITCHTYPE_VALUES.voluntary'}. \#{'process.context_switch_type' => voluntary} ?'PROCESS_CONTEXTSWITCHTYPE_VALUES.voluntary'. @@ -211,7 +211,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ProcessAttributes do ?PROCESS_CPU_STATE. 'process.cpu.state' - \#{?PROCESS_CPU_STATE => ?PROCESS_CPU_STATE_VALUES.system}. + \#{?PROCESS_CPU_STATE => ?'PROCESS_CPU_STATE_VALUES.system'}. \#{'process.cpu.state' => system} ?'PROCESS_CPU_STATE_VALUES.system'. @@ -540,7 +540,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ProcessAttributes do ?PROCESS_PAGING_FAULTTYPE. 'process.paging.fault_type' - \#{?PROCESS_PAGING_FAULTTYPE => ?PROCESS_PAGING_FAULTTYPE_VALUES.major}. + \#{?PROCESS_PAGING_FAULTTYPE => ?'PROCESS_PAGING_FAULTTYPE_VALUES.major'}. \#{'process.paging.fault_type' => major} ?'PROCESS_PAGING_FAULTTYPE_VALUES.major'. diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/rpc_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/rpc_attributes.ex index 5aa404a9..f4c8ce5d 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/rpc_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/rpc_attributes.ex @@ -125,7 +125,7 @@ defmodule OpenTelemetry.SemConv.Incubating.RPCAttributes do ?RPC_CONNECTRPC_ERRORCODE. 'rpc.connect_rpc.error_code' - \#{?RPC_CONNECTRPC_ERRORCODE => ?RPC_CONNECTRPC_ERRORCODE_VALUES.cancelled}. + \#{?RPC_CONNECTRPC_ERRORCODE => ?'RPC_CONNECTRPC_ERRORCODE_VALUES.cancelled'}. \#{'rpc.connect_rpc.error_code' => cancelled} ?'RPC_CONNECTRPC_ERRORCODE_VALUES.cancelled'. @@ -384,7 +384,7 @@ defmodule OpenTelemetry.SemConv.Incubating.RPCAttributes do ?RPC_GRPC_STATUSCODE. 'rpc.grpc.status_code' - \#{?RPC_GRPC_STATUSCODE => ?RPC_GRPC_STATUSCODE_VALUES.ok}. + \#{?RPC_GRPC_STATUSCODE => ?'RPC_GRPC_STATUSCODE_VALUES.ok'}. \#{'rpc.grpc.status_code' => 0} ?'RPC_GRPC_STATUSCODE_VALUES.ok'. @@ -652,7 +652,7 @@ defmodule OpenTelemetry.SemConv.Incubating.RPCAttributes do ?RPC_MESSAGE_TYPE. 'rpc.message.type' - \#{?RPC_MESSAGE_TYPE => ?RPC_MESSAGE_TYPE_VALUES.sent}. + \#{?RPC_MESSAGE_TYPE => ?'RPC_MESSAGE_TYPE_VALUES.sent'}. \#{'rpc.message.type' => SENT} ?'RPC_MESSAGE_TYPE_VALUES.sent'. @@ -824,7 +824,7 @@ defmodule OpenTelemetry.SemConv.Incubating.RPCAttributes do ?RPC_SYSTEM. 'rpc.system' - \#{?RPC_SYSTEM => ?RPC_SYSTEM_VALUES.grpc}. + \#{?RPC_SYSTEM => ?'RPC_SYSTEM_VALUES.grpc'}. \#{'rpc.system' => grpc} ?'RPC_SYSTEM_VALUES.grpc'. diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/system_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/system_attributes.ex index 64ab953c..b30ce092 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/system_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/system_attributes.ex @@ -88,7 +88,7 @@ defmodule OpenTelemetry.SemConv.Incubating.SystemAttributes do ?SYSTEM_CPU_STATE. 'system.cpu.state' - \#{?SYSTEM_CPU_STATE => ?SYSTEM_CPU_STATE_VALUES.user}. + \#{?SYSTEM_CPU_STATE => ?'SYSTEM_CPU_STATE_VALUES.user'}. \#{'system.cpu.state' => user} ?'SYSTEM_CPU_STATE_VALUES.user'. @@ -263,7 +263,7 @@ defmodule OpenTelemetry.SemConv.Incubating.SystemAttributes do ?SYSTEM_FILESYSTEM_STATE. 'system.filesystem.state' - \#{?SYSTEM_FILESYSTEM_STATE => ?SYSTEM_FILESYSTEM_STATE_VALUES.used}. + \#{?SYSTEM_FILESYSTEM_STATE => ?'SYSTEM_FILESYSTEM_STATE_VALUES.used'}. \#{'system.filesystem.state' => used} ?'SYSTEM_FILESYSTEM_STATE_VALUES.used'. @@ -344,7 +344,7 @@ defmodule OpenTelemetry.SemConv.Incubating.SystemAttributes do ?SYSTEM_FILESYSTEM_TYPE. 'system.filesystem.type' - \#{?SYSTEM_FILESYSTEM_TYPE => ?SYSTEM_FILESYSTEM_TYPE_VALUES.fat32}. + \#{?SYSTEM_FILESYSTEM_TYPE => ?'SYSTEM_FILESYSTEM_TYPE_VALUES.fat32'}. \#{'system.filesystem.type' => fat32} ?'SYSTEM_FILESYSTEM_TYPE_VALUES.fat32'. @@ -426,7 +426,7 @@ defmodule OpenTelemetry.SemConv.Incubating.SystemAttributes do ?SYSTEM_MEMORY_STATE. 'system.memory.state' - \#{?SYSTEM_MEMORY_STATE => ?SYSTEM_MEMORY_STATE_VALUES.used}. + \#{?SYSTEM_MEMORY_STATE => ?'SYSTEM_MEMORY_STATE_VALUES.used'}. \#{'system.memory.state' => used} ?'SYSTEM_MEMORY_STATE_VALUES.used'. @@ -521,7 +521,7 @@ defmodule OpenTelemetry.SemConv.Incubating.SystemAttributes do ?SYSTEM_NETWORK_STATE. 'system.network.state' - \#{?SYSTEM_NETWORK_STATE => ?SYSTEM_NETWORK_STATE_VALUES.close}. + \#{?SYSTEM_NETWORK_STATE => ?'SYSTEM_NETWORK_STATE_VALUES.close'}. \#{'system.network.state' => close} ?'SYSTEM_NETWORK_STATE_VALUES.close'. @@ -603,7 +603,7 @@ defmodule OpenTelemetry.SemConv.Incubating.SystemAttributes do ?SYSTEM_PAGING_DIRECTION. 'system.paging.direction' - \#{?SYSTEM_PAGING_DIRECTION => ?SYSTEM_PAGING_DIRECTION_VALUES.in}. + \#{?SYSTEM_PAGING_DIRECTION => ?'SYSTEM_PAGING_DIRECTION_VALUES.in'}. \#{'system.paging.direction' => in} ?'SYSTEM_PAGING_DIRECTION_VALUES.in'. @@ -675,7 +675,7 @@ defmodule OpenTelemetry.SemConv.Incubating.SystemAttributes do ?SYSTEM_PAGING_STATE. 'system.paging.state' - \#{?SYSTEM_PAGING_STATE => ?SYSTEM_PAGING_STATE_VALUES.used}. + \#{?SYSTEM_PAGING_STATE => ?'SYSTEM_PAGING_STATE_VALUES.used'}. \#{'system.paging.state' => used} ?'SYSTEM_PAGING_STATE_VALUES.used'. @@ -747,7 +747,7 @@ defmodule OpenTelemetry.SemConv.Incubating.SystemAttributes do ?SYSTEM_PAGING_TYPE. 'system.paging.type' - \#{?SYSTEM_PAGING_TYPE => ?SYSTEM_PAGING_TYPE_VALUES.major}. + \#{?SYSTEM_PAGING_TYPE => ?'SYSTEM_PAGING_TYPE_VALUES.major'}. \#{'system.paging.type' => major} ?'SYSTEM_PAGING_TYPE_VALUES.major'. @@ -825,7 +825,7 @@ defmodule OpenTelemetry.SemConv.Incubating.SystemAttributes do ?SYSTEM_PROCESS_STATUS. 'system.process.status' - \#{?SYSTEM_PROCESS_STATUS => ?SYSTEM_PROCESS_STATUS_VALUES.running}. + \#{?SYSTEM_PROCESS_STATUS => ?'SYSTEM_PROCESS_STATUS_VALUES.running'}. \#{'system.process.status' => running} ?'SYSTEM_PROCESS_STATUS_VALUES.running'. diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/tls_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/tls_attributes.ex index 423ca399..e726534d 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/tls_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/tls_attributes.ex @@ -566,7 +566,7 @@ defmodule OpenTelemetry.SemConv.Incubating.TLSAttributes do ?TLS_PROTOCOL_NAME. 'tls.protocol.name' - \#{?TLS_PROTOCOL_NAME => ?TLS_PROTOCOL_NAME_VALUES.ssl}. + \#{?TLS_PROTOCOL_NAME => ?'TLS_PROTOCOL_NAME_VALUES.ssl'}. \#{'tls.protocol.name' => ssl} ?'TLS_PROTOCOL_NAME_VALUES.ssl'. diff --git a/apps/opentelemetry_semantic_conventions/lib/network_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/network_attributes.ex index ed514b15..d93fd585 100644 --- a/apps/opentelemetry_semantic_conventions/lib/network_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/network_attributes.ex @@ -259,7 +259,7 @@ defmodule OpenTelemetry.SemConv.NetworkAttributes do ?NETWORK_TRANSPORT. 'network.transport' - \#{?NETWORK_TRANSPORT => ?NETWORK_TRANSPORT_VALUES.tcp}. + \#{?NETWORK_TRANSPORT => ?'NETWORK_TRANSPORT_VALUES.tcp'}. \#{'network.transport' => tcp} ?'NETWORK_TRANSPORT_VALUES.tcp'. @@ -336,7 +336,7 @@ defmodule OpenTelemetry.SemConv.NetworkAttributes do ?NETWORK_TYPE. 'network.type' - \#{?NETWORK_TYPE => ?NETWORK_TYPE_VALUES.ipv4}. + \#{?NETWORK_TYPE => ?'NETWORK_TYPE_VALUES.ipv4'}. \#{'network.type' => ipv4} ?'NETWORK_TYPE_VALUES.ipv4'. diff --git a/apps/opentelemetry_semantic_conventions/lib/otel_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/otel_attributes.ex index 5d3184ce..b04bce07 100644 --- a/apps/opentelemetry_semantic_conventions/lib/otel_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/otel_attributes.ex @@ -105,7 +105,7 @@ defmodule OpenTelemetry.SemConv.OtelAttributes do ?OTEL_STATUSCODE. 'otel.status_code' - \#{?OTEL_STATUSCODE => ?OTEL_STATUSCODE_VALUES.ok}. + \#{?OTEL_STATUSCODE => ?'OTEL_STATUSCODE_VALUES.ok'}. \#{'otel.status_code' => OK} ?'OTEL_STATUSCODE_VALUES.ok'. diff --git a/apps/opentelemetry_semantic_conventions/lib/telemetry_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/telemetry_attributes.ex index 59eeb8ae..105280cb 100644 --- a/apps/opentelemetry_semantic_conventions/lib/telemetry_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/telemetry_attributes.ex @@ -63,7 +63,7 @@ defmodule OpenTelemetry.SemConv.TelemetryAttributes do ?TELEMETRY_SDK_LANGUAGE. 'telemetry.sdk.language' - \#{?TELEMETRY_SDK_LANGUAGE => ?TELEMETRY_SDK_LANGUAGE_VALUES.cpp}. + \#{?TELEMETRY_SDK_LANGUAGE => ?'TELEMETRY_SDK_LANGUAGE_VALUES.cpp'}. \#{'telemetry.sdk.language' => cpp} ?'TELEMETRY_SDK_LANGUAGE_VALUES.cpp'. diff --git a/apps/opentelemetry_semantic_conventions/templates/registry/elixir/semantic_attributes.ex.j2 b/apps/opentelemetry_semantic_conventions/templates/registry/elixir/semantic_attributes.ex.j2 index e749e887..8660f3b7 100644 --- a/apps/opentelemetry_semantic_conventions/templates/registry/elixir/semantic_attributes.ex.j2 +++ b/apps/opentelemetry_semantic_conventions/templates/registry/elixir/semantic_attributes.ex.j2 @@ -84,7 +84,7 @@ defmodule {{ module_namespace }}.{{ module_name }} do ?{{ attribute.name | snake_case_const | upper }}. '{{ attribute.name }}' - {% raw %}\#{{% endraw %}?{{ attribute.name | snake_case_const | upper }} => ?{{ attribute.name | snake_case_const | upper }}_VALUES.{{ attribute.type.members|first|attr('id') }}{% raw %}}{% endraw %}. + {% raw %}\#{{% endraw %}?{{ attribute.name | snake_case_const | upper }} => ?'{{ attribute.name | snake_case_const | upper }}_VALUES.{{ attribute.type.members|first|attr('id') }}'{% raw %}}{% endraw %}. {% raw %}\#{{% endraw %}'{{ attribute.name }}' => {{ attribute.type.members|first|attr('value') }}{% raw %}}{% endraw %} ?'{{ attribute.name | snake_case_const | upper }}_VALUES.{{ attribute.type.members|first|attr('id') }}'.