Skip to content

Commit

Permalink
Erlang enum value doc typos
Browse files Browse the repository at this point in the history
  • Loading branch information
bryannaegele committed Jul 25, 2024
1 parent 36c4e4f commit 53fe0d3
Show file tree
Hide file tree
Showing 25 changed files with 52 additions and 52 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'.
Expand Down Expand Up @@ -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'.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'.
Expand Down Expand Up @@ -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'.
Expand Down Expand Up @@ -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'.
Expand Down Expand Up @@ -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'.
Expand Down Expand Up @@ -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'.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'.
Expand Down Expand Up @@ -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'.
Expand Down Expand Up @@ -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'.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'.
Expand Down Expand Up @@ -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'.
Expand Down Expand Up @@ -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'.
Expand Down Expand Up @@ -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'.
Expand Down Expand Up @@ -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'.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'.
Expand Down Expand Up @@ -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'.
Expand Down Expand Up @@ -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'.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'.
Expand Down Expand Up @@ -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'.
Expand Down Expand Up @@ -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'.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'.
Expand Down Expand Up @@ -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'.
Expand Down Expand Up @@ -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'.
Expand Down Expand Up @@ -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'.
Expand Down
Loading

0 comments on commit 53fe0d3

Please sign in to comment.