From f377d87be815c2ffd73281a6fdf3015aa02982b1 Mon Sep 17 00:00:00 2001 From: Bryan Naegele Date: Sat, 17 Aug 2024 11:31:25 -0600 Subject: [PATCH] Remove unnecessary erl macro def quotes --- .../include/attributes/client_attributes.hrl | 4 +- .../include/attributes/error_attributes.hrl | 4 +- .../attributes/exception_attributes.hrl | 8 +- .../include/attributes/http_attributes.hrl | 34 +-- .../include/attributes/network_attributes.hrl | 28 +- .../include/attributes/otel_attributes.hrl | 12 +- .../include/attributes/server_attributes.hrl | 4 +- .../include/attributes/service_attributes.hrl | 4 +- .../attributes/telemetry_attributes.hrl | 30 +-- .../include/attributes/url_attributes.hrl | 10 +- .../attributes/user_agent_attributes.hrl | 2 +- .../incubating/attributes/aws_attributes.hrl | 88 +++---- .../attributes/browser_attributes.hrl | 8 +- .../attributes/cloud_attributes.hrl | 82 +++--- .../attributes/cloudevents_attributes.hrl | 10 +- .../incubating/attributes/code_attributes.hrl | 12 +- .../attributes/container_attributes.hrl | 32 +-- .../incubating/attributes/db_attributes.hrl | 246 +++++++++--------- .../attributes/deployment_attributes.hrl | 2 +- .../attributes/destination_attributes.hrl | 4 +- .../attributes/device_attributes.hrl | 8 +- .../incubating/attributes/disk_attributes.hrl | 6 +- .../incubating/attributes/dns_attributes.hrl | 2 +- .../attributes/enduser_attributes.hrl | 6 +- .../attributes/event_attributes.hrl | 2 +- .../incubating/attributes/faas_attributes.hrl | 58 ++--- .../attributes/feature_flag_attributes.hrl | 6 +- .../incubating/attributes/file_attributes.hrl | 10 +- .../incubating/attributes/gcp_attributes.hrl | 8 +- .../attributes/gen_ai_attributes.hrl | 26 +- .../attributes/graphql_attributes.hrl | 12 +- .../attributes/heroku_attributes.hrl | 6 +- .../incubating/attributes/host_attributes.hrl | 46 ++-- .../incubating/attributes/http_attributes.hrl | 54 ++-- .../incubating/attributes/k8s_attributes.hrl | 50 ++-- .../incubating/attributes/log_attributes.hrl | 16 +- .../attributes/messaging_attributes.hrl | 136 +++++----- .../attributes/network_attributes.hrl | 116 ++++----- .../incubating/attributes/oci_attributes.hrl | 2 +- .../attributes/opentracing_attributes.hrl | 6 +- .../incubating/attributes/os_attributes.hrl | 32 +-- .../incubating/attributes/otel_attributes.hrl | 4 +- .../incubating/attributes/peer_attributes.hrl | 2 +- .../attributes/process_attributes.hrl | 68 ++--- .../incubating/attributes/rpc_attributes.hrl | 126 ++++----- .../attributes/service_attributes.hrl | 4 +- .../attributes/session_attributes.hrl | 4 +- .../attributes/source_attributes.hrl | 4 +- .../attributes/system_attributes.hrl | 122 ++++----- .../attributes/telemetry_attributes.hrl | 4 +- .../attributes/thread_attributes.hrl | 4 +- .../incubating/attributes/tls_attributes.hrl | 62 ++--- .../incubating/attributes/url_attributes.hrl | 16 +- .../attributes/user_agent_attributes.hrl | 4 +- .../attributes/webengine_attributes.hrl | 6 +- .../incubating/metrics/container_metrics.hrl | 8 +- .../include/incubating/metrics/db_metrics.hrl | 38 +-- .../incubating/metrics/dns_metrics.hrl | 2 +- .../incubating/metrics/faas_metrics.hrl | 18 +- .../incubating/metrics/http_metrics.hrl | 16 +- .../incubating/metrics/messaging_metrics.hrl | 12 +- .../incubating/metrics/process_metrics.hrl | 20 +- .../incubating/metrics/rpc_metrics.hrl | 20 +- .../incubating/metrics/system_metrics.hrl | 56 ++-- .../include/metrics/http_metrics.hrl | 4 +- .../lib/attributes/client_attributes.ex | 4 +- .../lib/attributes/error_attributes.ex | 6 +- .../lib/attributes/exception_attributes.ex | 8 +- .../lib/attributes/http_attributes.ex | 18 +- .../lib/attributes/network_attributes.ex | 24 +- .../lib/attributes/otel_attributes.ex | 12 +- .../lib/attributes/server_attributes.ex | 4 +- .../lib/attributes/service_attributes.ex | 4 +- .../lib/attributes/telemetry_attributes.ex | 10 +- .../lib/attributes/url_attributes.ex | 10 +- .../lib/attributes/user_agent_attributes.ex | 2 +- .../incubating/attributes/aws_attributes.ex | 88 +++---- .../attributes/browser_attributes.ex | 8 +- .../incubating/attributes/cloud_attributes.ex | 20 +- .../attributes/cloudevents_attributes.ex | 10 +- .../incubating/attributes/code_attributes.ex | 12 +- .../attributes/container_attributes.ex | 28 +- .../incubating/attributes/db_attributes.ex | 68 ++--- .../attributes/deployment_attributes.ex | 2 +- .../attributes/destination_attributes.ex | 4 +- .../attributes/device_attributes.ex | 8 +- .../incubating/attributes/disk_attributes.ex | 6 +- .../incubating/attributes/dns_attributes.ex | 2 +- .../attributes/enduser_attributes.ex | 6 +- .../incubating/attributes/event_attributes.ex | 2 +- .../incubating/attributes/faas_attributes.ex | 44 ++-- .../attributes/feature_flag_attributes.ex | 6 +- .../incubating/attributes/file_attributes.ex | 10 +- .../incubating/attributes/gcp_attributes.ex | 8 +- .../attributes/gen_ai_attributes.ex | 28 +- .../attributes/graphql_attributes.ex | 10 +- .../attributes/heroku_attributes.ex | 6 +- .../incubating/attributes/host_attributes.ex | 34 +-- .../incubating/attributes/http_attributes.ex | 14 +- .../incubating/attributes/k8s_attributes.ex | 48 ++-- .../incubating/attributes/log_attributes.ex | 16 +- .../attributes/messaging_attributes.ex | 102 ++++---- .../attributes/network_attributes.ex | 26 +- .../incubating/attributes/oci_attributes.ex | 2 +- .../attributes/opentracing_attributes.ex | 6 +- .../incubating/attributes/os_attributes.ex | 14 +- .../incubating/attributes/peer_attributes.ex | 2 +- .../attributes/process_attributes.ex | 66 ++--- .../incubating/attributes/rpc_attributes.ex | 50 ++-- .../attributes/service_attributes.ex | 4 +- .../attributes/session_attributes.ex | 4 +- .../attributes/source_attributes.ex | 4 +- .../attributes/system_attributes.ex | 62 ++--- .../attributes/telemetry_attributes.ex | 4 +- .../attributes/thread_attributes.ex | 4 +- .../incubating/attributes/tls_attributes.ex | 62 ++--- .../incubating/attributes/url_attributes.ex | 16 +- .../attributes/user_agent_attributes.ex | 4 +- .../attributes/webengine_attributes.ex | 6 +- .../incubating/metrics/container_metrics.ex | 8 +- .../lib/incubating/metrics/db_metrics.ex | 20 +- .../lib/incubating/metrics/dns_metrics.ex | 2 +- .../lib/incubating/metrics/faas_metrics.ex | 18 +- .../lib/incubating/metrics/http_metrics.ex | 16 +- .../incubating/metrics/messaging_metrics.ex | 12 +- .../lib/incubating/metrics/process_metrics.ex | 20 +- .../lib/incubating/metrics/rpc_metrics.ex | 20 +- .../lib/incubating/metrics/system_metrics.ex | 56 ++-- .../lib/metrics/http_metrics.ex | 4 +- .../registry/elixir/semantic_attributes.ex.j2 | 8 +- .../registry/elixir/semantic_metrics.ex.j2 | 6 +- .../erlang/semantic_attributes.hrl.j2 | 4 +- .../registry/erlang/semantic_metrics.hrl.j2 | 2 +- 133 files changed, 1540 insertions(+), 1540 deletions(-) diff --git a/apps/opentelemetry_semantic_conventions/include/attributes/client_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/attributes/client_attributes.hrl index 760de3b0..193bca86 100644 --- a/apps/opentelemetry_semantic_conventions/include/attributes/client_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/attributes/client_attributes.hrl @@ -15,8 +15,8 @@ %%%------------------------------------------------------------------------- %% Client address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. --define('CLIENT_ADDRESS', 'client.address'). +-define(CLIENT_ADDRESS, 'client.address'). %% Client port number. --define('CLIENT_PORT', 'client.port'). +-define(CLIENT_PORT, 'client.port'). diff --git a/apps/opentelemetry_semantic_conventions/include/attributes/error_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/attributes/error_attributes.hrl index 39ae5373..640a982f 100644 --- a/apps/opentelemetry_semantic_conventions/include/attributes/error_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/attributes/error_attributes.hrl @@ -16,7 +16,7 @@ %% Describes a class of error the operation ended with. %% --define('ERROR_TYPE', 'error.type'). +-define(ERROR_TYPE, 'error.type'). --define('ERROR_TYPE_VALUES_OTHER', '_OTHER'). +-define(ERROR_TYPE_VALUES_OTHER, '_OTHER'). diff --git a/apps/opentelemetry_semantic_conventions/include/attributes/exception_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/attributes/exception_attributes.hrl index 579cc674..fee6dd17 100644 --- a/apps/opentelemetry_semantic_conventions/include/attributes/exception_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/attributes/exception_attributes.hrl @@ -16,18 +16,18 @@ %% SHOULD be set to true if the exception event is recorded at a point where it is known that the exception is escaping the scope of the span. %% --define('EXCEPTION_ESCAPED', 'exception.escaped'). +-define(EXCEPTION_ESCAPED, 'exception.escaped'). %% The exception message. --define('EXCEPTION_MESSAGE', 'exception.message'). +-define(EXCEPTION_MESSAGE, 'exception.message'). %% A stacktrace as a string in the natural representation for the language runtime. The representation is to be determined and documented by each language SIG. %% --define('EXCEPTION_STACKTRACE', 'exception.stacktrace'). +-define(EXCEPTION_STACKTRACE, 'exception.stacktrace'). %% The type of the exception (its fully-qualified class name, if applicable). The dynamic type of the exception should be preferred over the static type in languages that support it. %% --define('EXCEPTION_TYPE', 'exception.type'). +-define(EXCEPTION_TYPE, 'exception.type'). diff --git a/apps/opentelemetry_semantic_conventions/include/attributes/http_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/attributes/http_attributes.hrl index 0b887b38..014d1d70 100644 --- a/apps/opentelemetry_semantic_conventions/include/attributes/http_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/attributes/http_attributes.hrl @@ -16,52 +16,52 @@ %% HTTP request headers, `` being the normalized HTTP Header name (lowercase), the value being the header values. %% --define('HTTP_REQUEST_HEADER', 'http.request.header'). +-define(HTTP_REQUEST_HEADER, 'http.request.header'). %% HTTP request method. --define('HTTP_REQUEST_METHOD', 'http.request.method'). +-define(HTTP_REQUEST_METHOD, 'http.request.method'). --define('HTTP_REQUEST_METHOD_VALUES_CONNECT', 'CONNECT'). +-define(HTTP_REQUEST_METHOD_VALUES_CONNECT, 'CONNECT'). --define('HTTP_REQUEST_METHOD_VALUES_DELETE', 'DELETE'). +-define(HTTP_REQUEST_METHOD_VALUES_DELETE, 'DELETE'). --define('HTTP_REQUEST_METHOD_VALUES_GET', 'GET'). +-define(HTTP_REQUEST_METHOD_VALUES_GET, 'GET'). --define('HTTP_REQUEST_METHOD_VALUES_HEAD', 'HEAD'). +-define(HTTP_REQUEST_METHOD_VALUES_HEAD, 'HEAD'). --define('HTTP_REQUEST_METHOD_VALUES_OPTIONS', 'OPTIONS'). +-define(HTTP_REQUEST_METHOD_VALUES_OPTIONS, 'OPTIONS'). --define('HTTP_REQUEST_METHOD_VALUES_PATCH', 'PATCH'). +-define(HTTP_REQUEST_METHOD_VALUES_PATCH, 'PATCH'). --define('HTTP_REQUEST_METHOD_VALUES_POST', 'POST'). +-define(HTTP_REQUEST_METHOD_VALUES_POST, 'POST'). --define('HTTP_REQUEST_METHOD_VALUES_PUT', 'PUT'). +-define(HTTP_REQUEST_METHOD_VALUES_PUT, 'PUT'). --define('HTTP_REQUEST_METHOD_VALUES_TRACE', 'TRACE'). +-define(HTTP_REQUEST_METHOD_VALUES_TRACE, 'TRACE'). --define('HTTP_REQUEST_METHOD_VALUES_OTHER', '_OTHER'). +-define(HTTP_REQUEST_METHOD_VALUES_OTHER, '_OTHER'). %% Original HTTP method sent by the client in the request line. --define('HTTP_REQUEST_METHOD_ORIGINAL', 'http.request.method_original'). +-define(HTTP_REQUEST_METHOD_ORIGINAL, 'http.request.method_original'). %% The ordinal number of request resending attempt (for any reason, including redirects). %% --define('HTTP_REQUEST_RESEND_COUNT', 'http.request.resend_count'). +-define(HTTP_REQUEST_RESEND_COUNT, 'http.request.resend_count'). %% HTTP response headers, `` being the normalized HTTP Header name (lowercase), the value being the header values. %% --define('HTTP_RESPONSE_HEADER', 'http.response.header'). +-define(HTTP_RESPONSE_HEADER, 'http.response.header'). %% [HTTP response status code](https://tools.ietf.org/html/rfc7231#section-6). --define('HTTP_RESPONSE_STATUS_CODE', 'http.response.status_code'). +-define(HTTP_RESPONSE_STATUS_CODE, 'http.response.status_code'). %% The matched route, that is, the path template in the format used by the respective server framework. %% --define('HTTP_ROUTE', 'http.route'). +-define(HTTP_ROUTE, 'http.route'). diff --git a/apps/opentelemetry_semantic_conventions/include/attributes/network_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/attributes/network_attributes.hrl index f26e442b..bbd2e7fa 100644 --- a/apps/opentelemetry_semantic_conventions/include/attributes/network_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/attributes/network_attributes.hrl @@ -15,47 +15,47 @@ %%%------------------------------------------------------------------------- %% Local address of the network connection - IP address or Unix domain socket name. --define('NETWORK_LOCAL_ADDRESS', 'network.local.address'). +-define(NETWORK_LOCAL_ADDRESS, 'network.local.address'). %% Local port number of the network connection. --define('NETWORK_LOCAL_PORT', 'network.local.port'). +-define(NETWORK_LOCAL_PORT, 'network.local.port'). %% Peer address of the network connection - IP address or Unix domain socket name. --define('NETWORK_PEER_ADDRESS', 'network.peer.address'). +-define(NETWORK_PEER_ADDRESS, 'network.peer.address'). %% Peer port number of the network connection. --define('NETWORK_PEER_PORT', 'network.peer.port'). +-define(NETWORK_PEER_PORT, 'network.peer.port'). %% [OSI application layer](https://osi-model.com/application-layer/) or non-OSI equivalent. --define('NETWORK_PROTOCOL_NAME', 'network.protocol.name'). +-define(NETWORK_PROTOCOL_NAME, 'network.protocol.name'). %% The actual version of the protocol used for network communication. --define('NETWORK_PROTOCOL_VERSION', 'network.protocol.version'). +-define(NETWORK_PROTOCOL_VERSION, 'network.protocol.version'). %% [OSI transport layer](https://osi-model.com/transport-layer/) or [inter-process communication method](https://wikipedia.org/wiki/Inter-process_communication). %% --define('NETWORK_TRANSPORT', 'network.transport'). +-define(NETWORK_TRANSPORT, 'network.transport'). --define('NETWORK_TRANSPORT_VALUES_TCP', 'tcp'). +-define(NETWORK_TRANSPORT_VALUES_TCP, 'tcp'). --define('NETWORK_TRANSPORT_VALUES_UDP', 'udp'). +-define(NETWORK_TRANSPORT_VALUES_UDP, 'udp'). --define('NETWORK_TRANSPORT_VALUES_PIPE', 'pipe'). +-define(NETWORK_TRANSPORT_VALUES_PIPE, 'pipe'). --define('NETWORK_TRANSPORT_VALUES_UNIX', 'unix'). +-define(NETWORK_TRANSPORT_VALUES_UNIX, 'unix'). %% [OSI network layer](https://osi-model.com/network-layer/) or non-OSI equivalent. --define('NETWORK_TYPE', 'network.type'). +-define(NETWORK_TYPE, 'network.type'). --define('NETWORK_TYPE_VALUES_IPV_4', 'ipv4'). +-define(NETWORK_TYPE_VALUES_IPV_4, 'ipv4'). --define('NETWORK_TYPE_VALUES_IPV_6', 'ipv6'). +-define(NETWORK_TYPE_VALUES_IPV_6, 'ipv6'). diff --git a/apps/opentelemetry_semantic_conventions/include/attributes/otel_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/attributes/otel_attributes.hrl index cc6a90ba..6374bdec 100644 --- a/apps/opentelemetry_semantic_conventions/include/attributes/otel_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/attributes/otel_attributes.hrl @@ -15,21 +15,21 @@ %%%------------------------------------------------------------------------- %% The name of the instrumentation scope - (`InstrumentationScope.Name` in OTLP). --define('OTEL_SCOPE_NAME', 'otel.scope.name'). +-define(OTEL_SCOPE_NAME, 'otel.scope.name'). %% The version of the instrumentation scope - (`InstrumentationScope.Version` in OTLP). --define('OTEL_SCOPE_VERSION', 'otel.scope.version'). +-define(OTEL_SCOPE_VERSION, 'otel.scope.version'). %% Name of the code, either "OK" or "ERROR". MUST NOT be set if the status code is UNSET. --define('OTEL_STATUS_CODE', 'otel.status_code'). +-define(OTEL_STATUS_CODE, 'otel.status_code'). --define('OTEL_STATUS_CODE_VALUES_OK', 'OK'). +-define(OTEL_STATUS_CODE_VALUES_OK, 'OK'). --define('OTEL_STATUS_CODE_VALUES_ERROR', 'ERROR'). +-define(OTEL_STATUS_CODE_VALUES_ERROR, 'ERROR'). %% Description of the Status if it has a value, otherwise not set. --define('OTEL_STATUS_DESCRIPTION', 'otel.status_description'). +-define(OTEL_STATUS_DESCRIPTION, 'otel.status_description'). diff --git a/apps/opentelemetry_semantic_conventions/include/attributes/server_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/attributes/server_attributes.hrl index 4e0c99c0..0b31242b 100644 --- a/apps/opentelemetry_semantic_conventions/include/attributes/server_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/attributes/server_attributes.hrl @@ -15,8 +15,8 @@ %%%------------------------------------------------------------------------- %% Server domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. --define('SERVER_ADDRESS', 'server.address'). +-define(SERVER_ADDRESS, 'server.address'). %% Server port number. --define('SERVER_PORT', 'server.port'). +-define(SERVER_PORT, 'server.port'). diff --git a/apps/opentelemetry_semantic_conventions/include/attributes/service_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/attributes/service_attributes.hrl index 8e9ec5d1..5a9422ad 100644 --- a/apps/opentelemetry_semantic_conventions/include/attributes/service_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/attributes/service_attributes.hrl @@ -16,9 +16,9 @@ %% Logical name of the service. %% --define('SERVICE_NAME', 'service.name'). +-define(SERVICE_NAME, 'service.name'). %% The version string of the service API or implementation. The format is not defined by these conventions. %% --define('SERVICE_VERSION', 'service.version'). +-define(SERVICE_VERSION, 'service.version'). diff --git a/apps/opentelemetry_semantic_conventions/include/attributes/telemetry_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/attributes/telemetry_attributes.hrl index fbee75a0..85295608 100644 --- a/apps/opentelemetry_semantic_conventions/include/attributes/telemetry_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/attributes/telemetry_attributes.hrl @@ -16,39 +16,39 @@ %% The language of the telemetry SDK. %% --define('TELEMETRY_SDK_LANGUAGE', 'telemetry.sdk.language'). +-define(TELEMETRY_SDK_LANGUAGE, 'telemetry.sdk.language'). --define('TELEMETRY_SDK_LANGUAGE_VALUES_CPP', 'cpp'). +-define(TELEMETRY_SDK_LANGUAGE_VALUES_CPP, 'cpp'). --define('TELEMETRY_SDK_LANGUAGE_VALUES_DOTNET', 'dotnet'). +-define(TELEMETRY_SDK_LANGUAGE_VALUES_DOTNET, 'dotnet'). --define('TELEMETRY_SDK_LANGUAGE_VALUES_ERLANG', 'erlang'). +-define(TELEMETRY_SDK_LANGUAGE_VALUES_ERLANG, 'erlang'). --define('TELEMETRY_SDK_LANGUAGE_VALUES_GO', 'go'). +-define(TELEMETRY_SDK_LANGUAGE_VALUES_GO, 'go'). --define('TELEMETRY_SDK_LANGUAGE_VALUES_JAVA', 'java'). +-define(TELEMETRY_SDK_LANGUAGE_VALUES_JAVA, 'java'). --define('TELEMETRY_SDK_LANGUAGE_VALUES_NODEJS', 'nodejs'). +-define(TELEMETRY_SDK_LANGUAGE_VALUES_NODEJS, 'nodejs'). --define('TELEMETRY_SDK_LANGUAGE_VALUES_PHP', 'php'). +-define(TELEMETRY_SDK_LANGUAGE_VALUES_PHP, 'php'). --define('TELEMETRY_SDK_LANGUAGE_VALUES_PYTHON', 'python'). +-define(TELEMETRY_SDK_LANGUAGE_VALUES_PYTHON, 'python'). --define('TELEMETRY_SDK_LANGUAGE_VALUES_RUBY', 'ruby'). +-define(TELEMETRY_SDK_LANGUAGE_VALUES_RUBY, 'ruby'). --define('TELEMETRY_SDK_LANGUAGE_VALUES_RUST', 'rust'). +-define(TELEMETRY_SDK_LANGUAGE_VALUES_RUST, 'rust'). --define('TELEMETRY_SDK_LANGUAGE_VALUES_SWIFT', 'swift'). +-define(TELEMETRY_SDK_LANGUAGE_VALUES_SWIFT, 'swift'). --define('TELEMETRY_SDK_LANGUAGE_VALUES_WEBJS', 'webjs'). +-define(TELEMETRY_SDK_LANGUAGE_VALUES_WEBJS, 'webjs'). %% The name of the telemetry SDK as defined above. %% --define('TELEMETRY_SDK_NAME', 'telemetry.sdk.name'). +-define(TELEMETRY_SDK_NAME, 'telemetry.sdk.name'). %% The version string of the telemetry SDK. %% --define('TELEMETRY_SDK_VERSION', 'telemetry.sdk.version'). +-define(TELEMETRY_SDK_VERSION, 'telemetry.sdk.version'). diff --git a/apps/opentelemetry_semantic_conventions/include/attributes/url_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/attributes/url_attributes.hrl index 05eae884..de20e51b 100644 --- a/apps/opentelemetry_semantic_conventions/include/attributes/url_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/attributes/url_attributes.hrl @@ -16,23 +16,23 @@ %% The [URI fragment](https://www.rfc-editor.org/rfc/rfc3986#section-3.5) component %% --define('URL_FRAGMENT', 'url.fragment'). +-define(URL_FRAGMENT, 'url.fragment'). %% Absolute URL describing a network resource according to [RFC3986](https://www.rfc-editor.org/rfc/rfc3986) --define('URL_FULL', 'url.full'). +-define(URL_FULL, 'url.full'). %% The [URI path](https://www.rfc-editor.org/rfc/rfc3986#section-3.3) component %% --define('URL_PATH', 'url.path'). +-define(URL_PATH, 'url.path'). %% The [URI query](https://www.rfc-editor.org/rfc/rfc3986#section-3.4) component %% --define('URL_QUERY', 'url.query'). +-define(URL_QUERY, 'url.query'). %% The [URI scheme](https://www.rfc-editor.org/rfc/rfc3986#section-3.1) component identifying the used protocol. %% --define('URL_SCHEME', 'url.scheme'). +-define(URL_SCHEME, 'url.scheme'). diff --git a/apps/opentelemetry_semantic_conventions/include/attributes/user_agent_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/attributes/user_agent_attributes.hrl index f96a1b56..611dee21 100644 --- a/apps/opentelemetry_semantic_conventions/include/attributes/user_agent_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/attributes/user_agent_attributes.hrl @@ -16,4 +16,4 @@ %% Value of the [HTTP User-Agent](https://www.rfc-editor.org/rfc/rfc9110.html#field.user-agent) header sent by the client. %% --define('USER_AGENT_ORIGINAL', 'user_agent.original'). +-define(USER_AGENT_ORIGINAL, 'user_agent.original'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/aws_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/aws_attributes.hrl index 3ebabe16..a89d28fa 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/aws_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/aws_attributes.hrl @@ -15,186 +15,186 @@ %%%------------------------------------------------------------------------- %% The JSON-serialized value of each item in the `AttributeDefinitions` request field. --define('AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS', 'aws.dynamodb.attribute_definitions'). +-define(AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS, 'aws.dynamodb.attribute_definitions'). %% The value of the `AttributesToGet` request parameter. --define('AWS_DYNAMODB_ATTRIBUTES_TO_GET', 'aws.dynamodb.attributes_to_get'). +-define(AWS_DYNAMODB_ATTRIBUTES_TO_GET, 'aws.dynamodb.attributes_to_get'). %% The value of the `ConsistentRead` request parameter. --define('AWS_DYNAMODB_CONSISTENT_READ', 'aws.dynamodb.consistent_read'). +-define(AWS_DYNAMODB_CONSISTENT_READ, 'aws.dynamodb.consistent_read'). %% The JSON-serialized value of each item in the `ConsumedCapacity` response field. --define('AWS_DYNAMODB_CONSUMED_CAPACITY', 'aws.dynamodb.consumed_capacity'). +-define(AWS_DYNAMODB_CONSUMED_CAPACITY, 'aws.dynamodb.consumed_capacity'). %% The value of the `Count` response parameter. --define('AWS_DYNAMODB_COUNT', 'aws.dynamodb.count'). +-define(AWS_DYNAMODB_COUNT, 'aws.dynamodb.count'). %% The value of the `ExclusiveStartTableName` request parameter. --define('AWS_DYNAMODB_EXCLUSIVE_START_TABLE', 'aws.dynamodb.exclusive_start_table'). +-define(AWS_DYNAMODB_EXCLUSIVE_START_TABLE, 'aws.dynamodb.exclusive_start_table'). %% The JSON-serialized value of each item in the `GlobalSecondaryIndexUpdates` request field. --define('AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES', 'aws.dynamodb.global_secondary_index_updates'). +-define(AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES, 'aws.dynamodb.global_secondary_index_updates'). %% The JSON-serialized value of each item of the `GlobalSecondaryIndexes` request field --define('AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES', 'aws.dynamodb.global_secondary_indexes'). +-define(AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES, 'aws.dynamodb.global_secondary_indexes'). %% The value of the `IndexName` request parameter. --define('AWS_DYNAMODB_INDEX_NAME', 'aws.dynamodb.index_name'). +-define(AWS_DYNAMODB_INDEX_NAME, 'aws.dynamodb.index_name'). %% The JSON-serialized value of the `ItemCollectionMetrics` response field. --define('AWS_DYNAMODB_ITEM_COLLECTION_METRICS', 'aws.dynamodb.item_collection_metrics'). +-define(AWS_DYNAMODB_ITEM_COLLECTION_METRICS, 'aws.dynamodb.item_collection_metrics'). %% The value of the `Limit` request parameter. --define('AWS_DYNAMODB_LIMIT', 'aws.dynamodb.limit'). +-define(AWS_DYNAMODB_LIMIT, 'aws.dynamodb.limit'). %% The JSON-serialized value of each item of the `LocalSecondaryIndexes` request field. --define('AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES', 'aws.dynamodb.local_secondary_indexes'). +-define(AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES, 'aws.dynamodb.local_secondary_indexes'). %% The value of the `ProjectionExpression` request parameter. --define('AWS_DYNAMODB_PROJECTION', 'aws.dynamodb.projection'). +-define(AWS_DYNAMODB_PROJECTION, 'aws.dynamodb.projection'). %% The value of the `ProvisionedThroughput.ReadCapacityUnits` request parameter. --define('AWS_DYNAMODB_PROVISIONED_READ_CAPACITY', 'aws.dynamodb.provisioned_read_capacity'). +-define(AWS_DYNAMODB_PROVISIONED_READ_CAPACITY, 'aws.dynamodb.provisioned_read_capacity'). %% The value of the `ProvisionedThroughput.WriteCapacityUnits` request parameter. --define('AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY', 'aws.dynamodb.provisioned_write_capacity'). +-define(AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY, 'aws.dynamodb.provisioned_write_capacity'). %% The value of the `ScanIndexForward` request parameter. --define('AWS_DYNAMODB_SCAN_FORWARD', 'aws.dynamodb.scan_forward'). +-define(AWS_DYNAMODB_SCAN_FORWARD, 'aws.dynamodb.scan_forward'). %% The value of the `ScannedCount` response parameter. --define('AWS_DYNAMODB_SCANNED_COUNT', 'aws.dynamodb.scanned_count'). +-define(AWS_DYNAMODB_SCANNED_COUNT, 'aws.dynamodb.scanned_count'). %% The value of the `Segment` request parameter. --define('AWS_DYNAMODB_SEGMENT', 'aws.dynamodb.segment'). +-define(AWS_DYNAMODB_SEGMENT, 'aws.dynamodb.segment'). %% The value of the `Select` request parameter. --define('AWS_DYNAMODB_SELECT', 'aws.dynamodb.select'). +-define(AWS_DYNAMODB_SELECT, 'aws.dynamodb.select'). %% The number of items in the `TableNames` response parameter. --define('AWS_DYNAMODB_TABLE_COUNT', 'aws.dynamodb.table_count'). +-define(AWS_DYNAMODB_TABLE_COUNT, 'aws.dynamodb.table_count'). %% The keys in the `RequestItems` object field. --define('AWS_DYNAMODB_TABLE_NAMES', 'aws.dynamodb.table_names'). +-define(AWS_DYNAMODB_TABLE_NAMES, 'aws.dynamodb.table_names'). %% The value of the `TotalSegments` request parameter. --define('AWS_DYNAMODB_TOTAL_SEGMENTS', 'aws.dynamodb.total_segments'). +-define(AWS_DYNAMODB_TOTAL_SEGMENTS, 'aws.dynamodb.total_segments'). %% The ARN of an [ECS cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html). %% --define('AWS_ECS_CLUSTER_ARN', 'aws.ecs.cluster.arn'). +-define(AWS_ECS_CLUSTER_ARN, 'aws.ecs.cluster.arn'). %% The Amazon Resource Name (ARN) of an [ECS container instance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html). %% --define('AWS_ECS_CONTAINER_ARN', 'aws.ecs.container.arn'). +-define(AWS_ECS_CONTAINER_ARN, 'aws.ecs.container.arn'). %% The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task. %% --define('AWS_ECS_LAUNCHTYPE', 'aws.ecs.launchtype'). +-define(AWS_ECS_LAUNCHTYPE, 'aws.ecs.launchtype'). --define('AWS_ECS_LAUNCHTYPE_VALUES_EC_2', 'ec2'). +-define(AWS_ECS_LAUNCHTYPE_VALUES_EC_2, 'ec2'). --define('AWS_ECS_LAUNCHTYPE_VALUES_FARGATE', 'fargate'). +-define(AWS_ECS_LAUNCHTYPE_VALUES_FARGATE, 'fargate'). %% The ARN of a running [ECS task](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids). %% --define('AWS_ECS_TASK_ARN', 'aws.ecs.task.arn'). +-define(AWS_ECS_TASK_ARN, 'aws.ecs.task.arn'). %% The family name of the [ECS task definition](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html) used to create the ECS task. %% --define('AWS_ECS_TASK_FAMILY', 'aws.ecs.task.family'). +-define(AWS_ECS_TASK_FAMILY, 'aws.ecs.task.family'). %% The ID of a running ECS task. The ID MUST be extracted from `task.arn`. %% --define('AWS_ECS_TASK_ID', 'aws.ecs.task.id'). +-define(AWS_ECS_TASK_ID, 'aws.ecs.task.id'). %% The revision for the task definition used to create the ECS task. %% --define('AWS_ECS_TASK_REVISION', 'aws.ecs.task.revision'). +-define(AWS_ECS_TASK_REVISION, 'aws.ecs.task.revision'). %% The ARN of an EKS cluster. %% --define('AWS_EKS_CLUSTER_ARN', 'aws.eks.cluster.arn'). +-define(AWS_EKS_CLUSTER_ARN, 'aws.eks.cluster.arn'). %% The full invoked ARN as provided on the `Context` passed to the function (`Lambda-Runtime-Invoked-Function-Arn` header on the `/runtime/invocation/next` applicable). %% --define('AWS_LAMBDA_INVOKED_ARN', 'aws.lambda.invoked_arn'). +-define(AWS_LAMBDA_INVOKED_ARN, 'aws.lambda.invoked_arn'). %% The Amazon Resource Name(s) (ARN) of the AWS log group(s). %% --define('AWS_LOG_GROUP_ARNS', 'aws.log.group.arns'). +-define(AWS_LOG_GROUP_ARNS, 'aws.log.group.arns'). %% The name(s) of the AWS log group(s) an application is writing to. %% --define('AWS_LOG_GROUP_NAMES', 'aws.log.group.names'). +-define(AWS_LOG_GROUP_NAMES, 'aws.log.group.names'). %% The ARN(s) of the AWS log stream(s). %% --define('AWS_LOG_STREAM_ARNS', 'aws.log.stream.arns'). +-define(AWS_LOG_STREAM_ARNS, 'aws.log.stream.arns'). %% The name(s) of the AWS log stream(s) an application is writing to. %% --define('AWS_LOG_STREAM_NAMES', 'aws.log.stream.names'). +-define(AWS_LOG_STREAM_NAMES, 'aws.log.stream.names'). %% The AWS request ID as returned in the response headers `x-amz-request-id` or `x-amz-requestid`. --define('AWS_REQUEST_ID', 'aws.request_id'). +-define(AWS_REQUEST_ID, 'aws.request_id'). %% The S3 bucket name the request refers to. Corresponds to the `--bucket` parameter of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) operations. --define('AWS_S3_BUCKET', 'aws.s3.bucket'). +-define(AWS_S3_BUCKET, 'aws.s3.bucket'). %% The source object (in the form `bucket`/`key`) for the copy operation. --define('AWS_S3_COPY_SOURCE', 'aws.s3.copy_source'). +-define(AWS_S3_COPY_SOURCE, 'aws.s3.copy_source'). %% The delete request container that specifies the objects to be deleted. --define('AWS_S3_DELETE', 'aws.s3.delete'). +-define(AWS_S3_DELETE, 'aws.s3.delete'). %% The S3 object key the request refers to. Corresponds to the `--key` parameter of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) operations. --define('AWS_S3_KEY', 'aws.s3.key'). +-define(AWS_S3_KEY, 'aws.s3.key'). %% The part number of the part being uploaded in a multipart-upload operation. This is a positive integer between 1 and 10,000. --define('AWS_S3_PART_NUMBER', 'aws.s3.part_number'). +-define(AWS_S3_PART_NUMBER, 'aws.s3.part_number'). %% Upload ID that identifies the multipart upload. --define('AWS_S3_UPLOAD_ID', 'aws.s3.upload_id'). +-define(AWS_S3_UPLOAD_ID, 'aws.s3.upload_id'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/browser_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/browser_attributes.hrl index a6d274a0..a016ca03 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/browser_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/browser_attributes.hrl @@ -15,16 +15,16 @@ %%%------------------------------------------------------------------------- %% Array of brand name and version separated by a space --define('BROWSER_BRANDS', 'browser.brands'). +-define(BROWSER_BRANDS, 'browser.brands'). %% Preferred language of the user using the browser --define('BROWSER_LANGUAGE', 'browser.language'). +-define(BROWSER_LANGUAGE, 'browser.language'). %% A boolean that is true if the browser is running on a mobile device --define('BROWSER_MOBILE', 'browser.mobile'). +-define(BROWSER_MOBILE, 'browser.mobile'). %% The platform on which the browser is running --define('BROWSER_PLATFORM', 'browser.platform'). +-define(BROWSER_PLATFORM, 'browser.platform'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/cloud_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/cloud_attributes.hrl index 17b72784..33862098 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/cloud_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/cloud_attributes.hrl @@ -16,101 +16,101 @@ %% The cloud account ID the resource is assigned to. %% --define('CLOUD_ACCOUNT_ID', 'cloud.account.id'). +-define(CLOUD_ACCOUNT_ID, 'cloud.account.id'). %% Cloud regions often have multiple, isolated locations known as zones to increase availability. Availability zone represents the zone where the resource is running. %% --define('CLOUD_AVAILABILITY_ZONE', 'cloud.availability_zone'). +-define(CLOUD_AVAILABILITY_ZONE, 'cloud.availability_zone'). %% The cloud platform in use. %% --define('CLOUD_PLATFORM', 'cloud.platform'). +-define(CLOUD_PLATFORM, 'cloud.platform'). --define('CLOUD_PLATFORM_VALUES_ALIBABA_CLOUD_ECS', 'alibaba_cloud_ecs'). +-define(CLOUD_PLATFORM_VALUES_ALIBABA_CLOUD_ECS, 'alibaba_cloud_ecs'). --define('CLOUD_PLATFORM_VALUES_ALIBABA_CLOUD_FC', 'alibaba_cloud_fc'). +-define(CLOUD_PLATFORM_VALUES_ALIBABA_CLOUD_FC, 'alibaba_cloud_fc'). --define('CLOUD_PLATFORM_VALUES_ALIBABA_CLOUD_OPENSHIFT', 'alibaba_cloud_openshift'). +-define(CLOUD_PLATFORM_VALUES_ALIBABA_CLOUD_OPENSHIFT, 'alibaba_cloud_openshift'). --define('CLOUD_PLATFORM_VALUES_AWS_EC_2', 'aws_ec2'). +-define(CLOUD_PLATFORM_VALUES_AWS_EC_2, 'aws_ec2'). --define('CLOUD_PLATFORM_VALUES_AWS_ECS', 'aws_ecs'). +-define(CLOUD_PLATFORM_VALUES_AWS_ECS, 'aws_ecs'). --define('CLOUD_PLATFORM_VALUES_AWS_EKS', 'aws_eks'). +-define(CLOUD_PLATFORM_VALUES_AWS_EKS, 'aws_eks'). --define('CLOUD_PLATFORM_VALUES_AWS_LAMBDA', 'aws_lambda'). +-define(CLOUD_PLATFORM_VALUES_AWS_LAMBDA, 'aws_lambda'). --define('CLOUD_PLATFORM_VALUES_AWS_ELASTIC_BEANSTALK', 'aws_elastic_beanstalk'). +-define(CLOUD_PLATFORM_VALUES_AWS_ELASTIC_BEANSTALK, 'aws_elastic_beanstalk'). --define('CLOUD_PLATFORM_VALUES_AWS_APP_RUNNER', 'aws_app_runner'). +-define(CLOUD_PLATFORM_VALUES_AWS_APP_RUNNER, 'aws_app_runner'). --define('CLOUD_PLATFORM_VALUES_AWS_OPENSHIFT', 'aws_openshift'). +-define(CLOUD_PLATFORM_VALUES_AWS_OPENSHIFT, 'aws_openshift'). --define('CLOUD_PLATFORM_VALUES_AZURE_VM', 'azure_vm'). +-define(CLOUD_PLATFORM_VALUES_AZURE_VM, 'azure_vm'). --define('CLOUD_PLATFORM_VALUES_AZURE_CONTAINER_APPS', 'azure_container_apps'). +-define(CLOUD_PLATFORM_VALUES_AZURE_CONTAINER_APPS, 'azure_container_apps'). --define('CLOUD_PLATFORM_VALUES_AZURE_CONTAINER_INSTANCES', 'azure_container_instances'). +-define(CLOUD_PLATFORM_VALUES_AZURE_CONTAINER_INSTANCES, 'azure_container_instances'). --define('CLOUD_PLATFORM_VALUES_AZURE_AKS', 'azure_aks'). +-define(CLOUD_PLATFORM_VALUES_AZURE_AKS, 'azure_aks'). --define('CLOUD_PLATFORM_VALUES_AZURE_FUNCTIONS', 'azure_functions'). +-define(CLOUD_PLATFORM_VALUES_AZURE_FUNCTIONS, 'azure_functions'). --define('CLOUD_PLATFORM_VALUES_AZURE_APP_SERVICE', 'azure_app_service'). +-define(CLOUD_PLATFORM_VALUES_AZURE_APP_SERVICE, 'azure_app_service'). --define('CLOUD_PLATFORM_VALUES_AZURE_OPENSHIFT', 'azure_openshift'). +-define(CLOUD_PLATFORM_VALUES_AZURE_OPENSHIFT, 'azure_openshift'). --define('CLOUD_PLATFORM_VALUES_GCP_BARE_METAL_SOLUTION', 'gcp_bare_metal_solution'). +-define(CLOUD_PLATFORM_VALUES_GCP_BARE_METAL_SOLUTION, 'gcp_bare_metal_solution'). --define('CLOUD_PLATFORM_VALUES_GCP_COMPUTE_ENGINE', 'gcp_compute_engine'). +-define(CLOUD_PLATFORM_VALUES_GCP_COMPUTE_ENGINE, 'gcp_compute_engine'). --define('CLOUD_PLATFORM_VALUES_GCP_CLOUD_RUN', 'gcp_cloud_run'). +-define(CLOUD_PLATFORM_VALUES_GCP_CLOUD_RUN, 'gcp_cloud_run'). --define('CLOUD_PLATFORM_VALUES_GCP_KUBERNETES_ENGINE', 'gcp_kubernetes_engine'). +-define(CLOUD_PLATFORM_VALUES_GCP_KUBERNETES_ENGINE, 'gcp_kubernetes_engine'). --define('CLOUD_PLATFORM_VALUES_GCP_CLOUD_FUNCTIONS', 'gcp_cloud_functions'). +-define(CLOUD_PLATFORM_VALUES_GCP_CLOUD_FUNCTIONS, 'gcp_cloud_functions'). --define('CLOUD_PLATFORM_VALUES_GCP_APP_ENGINE', 'gcp_app_engine'). +-define(CLOUD_PLATFORM_VALUES_GCP_APP_ENGINE, 'gcp_app_engine'). --define('CLOUD_PLATFORM_VALUES_GCP_OPENSHIFT', 'gcp_openshift'). +-define(CLOUD_PLATFORM_VALUES_GCP_OPENSHIFT, 'gcp_openshift'). --define('CLOUD_PLATFORM_VALUES_IBM_CLOUD_OPENSHIFT', 'ibm_cloud_openshift'). +-define(CLOUD_PLATFORM_VALUES_IBM_CLOUD_OPENSHIFT, 'ibm_cloud_openshift'). --define('CLOUD_PLATFORM_VALUES_TENCENT_CLOUD_CVM', 'tencent_cloud_cvm'). +-define(CLOUD_PLATFORM_VALUES_TENCENT_CLOUD_CVM, 'tencent_cloud_cvm'). --define('CLOUD_PLATFORM_VALUES_TENCENT_CLOUD_EKS', 'tencent_cloud_eks'). +-define(CLOUD_PLATFORM_VALUES_TENCENT_CLOUD_EKS, 'tencent_cloud_eks'). --define('CLOUD_PLATFORM_VALUES_TENCENT_CLOUD_SCF', 'tencent_cloud_scf'). +-define(CLOUD_PLATFORM_VALUES_TENCENT_CLOUD_SCF, 'tencent_cloud_scf'). %% Name of the cloud provider. %% --define('CLOUD_PROVIDER', 'cloud.provider'). +-define(CLOUD_PROVIDER, 'cloud.provider'). --define('CLOUD_PROVIDER_VALUES_ALIBABA_CLOUD', 'alibaba_cloud'). +-define(CLOUD_PROVIDER_VALUES_ALIBABA_CLOUD, 'alibaba_cloud'). --define('CLOUD_PROVIDER_VALUES_AWS', 'aws'). +-define(CLOUD_PROVIDER_VALUES_AWS, 'aws'). --define('CLOUD_PROVIDER_VALUES_AZURE', 'azure'). +-define(CLOUD_PROVIDER_VALUES_AZURE, 'azure'). --define('CLOUD_PROVIDER_VALUES_GCP', 'gcp'). +-define(CLOUD_PROVIDER_VALUES_GCP, 'gcp'). --define('CLOUD_PROVIDER_VALUES_HEROKU', 'heroku'). +-define(CLOUD_PROVIDER_VALUES_HEROKU, 'heroku'). --define('CLOUD_PROVIDER_VALUES_IBM_CLOUD', 'ibm_cloud'). +-define(CLOUD_PROVIDER_VALUES_IBM_CLOUD, 'ibm_cloud'). --define('CLOUD_PROVIDER_VALUES_TENCENT_CLOUD', 'tencent_cloud'). +-define(CLOUD_PROVIDER_VALUES_TENCENT_CLOUD, 'tencent_cloud'). %% The geographical region the resource is running. %% --define('CLOUD_REGION', 'cloud.region'). +-define(CLOUD_REGION, 'cloud.region'). %% Cloud provider-specific native identifier of the monitored cloud resource (e.g. an [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) on AWS, a [fully qualified resource ID](https://learn.microsoft.com/rest/api/resources/resources/get-by-id) on Azure, a [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name) on GCP) %% --define('CLOUD_RESOURCE_ID', 'cloud.resource_id'). +-define(CLOUD_RESOURCE_ID, 'cloud.resource_id'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/cloudevents_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/cloudevents_attributes.hrl index d84aa256..97ef4a27 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/cloudevents_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/cloudevents_attributes.hrl @@ -16,24 +16,24 @@ %% The [event_id](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#id) uniquely identifies the event. %% --define('CLOUDEVENTS_EVENT_ID', 'cloudevents.event_id'). +-define(CLOUDEVENTS_EVENT_ID, 'cloudevents.event_id'). %% The [source](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#source-1) identifies the context in which an event happened. %% --define('CLOUDEVENTS_EVENT_SOURCE', 'cloudevents.event_source'). +-define(CLOUDEVENTS_EVENT_SOURCE, 'cloudevents.event_source'). %% The [version of the CloudEvents specification](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#specversion) which the event uses. %% --define('CLOUDEVENTS_EVENT_SPEC_VERSION', 'cloudevents.event_spec_version'). +-define(CLOUDEVENTS_EVENT_SPEC_VERSION, 'cloudevents.event_spec_version'). %% The [subject](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#subject) of the event in the context of the event producer (identified by source). %% --define('CLOUDEVENTS_EVENT_SUBJECT', 'cloudevents.event_subject'). +-define(CLOUDEVENTS_EVENT_SUBJECT, 'cloudevents.event_subject'). %% The [event_type](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#type) contains a value describing the type of event related to the originating occurrence. %% --define('CLOUDEVENTS_EVENT_TYPE', 'cloudevents.event_type'). +-define(CLOUDEVENTS_EVENT_TYPE, 'cloudevents.event_type'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/code_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/code_attributes.hrl index 59c566b0..8500b126 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/code_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/code_attributes.hrl @@ -16,29 +16,29 @@ %% The column number in `code.filepath` best representing the operation. It SHOULD point within the code unit named in `code.function`. %% --define('CODE_COLUMN', 'code.column'). +-define(CODE_COLUMN, 'code.column'). %% The source code file name that identifies the code unit as uniquely as possible (preferably an absolute file path). %% --define('CODE_FILEPATH', 'code.filepath'). +-define(CODE_FILEPATH, 'code.filepath'). %% The method or function name, or equivalent (usually rightmost part of the code unit's name). %% --define('CODE_FUNCTION', 'code.function'). +-define(CODE_FUNCTION, 'code.function'). %% The line number in `code.filepath` best representing the operation. It SHOULD point within the code unit named in `code.function`. %% --define('CODE_LINENO', 'code.lineno'). +-define(CODE_LINENO, 'code.lineno'). %% The "namespace" within which `code.function` is defined. Usually the qualified class or module name, such that `code.namespace` + some separator + `code.function` form a unique identifier for the code unit. %% --define('CODE_NAMESPACE', 'code.namespace'). +-define(CODE_NAMESPACE, 'code.namespace'). %% A stacktrace as a string in the natural representation for the language runtime. The representation is to be determined and documented by each language SIG. %% --define('CODE_STACKTRACE', 'code.stacktrace'). +-define(CODE_STACKTRACE, 'code.stacktrace'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/container_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/container_attributes.hrl index 6a768266..1e445d42 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/container_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/container_attributes.hrl @@ -16,69 +16,69 @@ %% The command used to run the container (i.e. the command name). %% --define('CONTAINER_COMMAND', 'container.command'). +-define(CONTAINER_COMMAND, 'container.command'). %% All the command arguments (including the command/executable itself) run by the container. [2] %% --define('CONTAINER_COMMAND_ARGS', 'container.command_args'). +-define(CONTAINER_COMMAND_ARGS, 'container.command_args'). %% The full command run by the container as a single string representing the full command. [2] %% --define('CONTAINER_COMMAND_LINE', 'container.command_line'). +-define(CONTAINER_COMMAND_LINE, 'container.command_line'). %% The CPU state for this data point. --define('CONTAINER_CPU_STATE', 'container.cpu.state'). +-define(CONTAINER_CPU_STATE, 'container.cpu.state'). --define('CONTAINER_CPU_STATE_VALUES_USER', 'user'). +-define(CONTAINER_CPU_STATE_VALUES_USER, 'user'). --define('CONTAINER_CPU_STATE_VALUES_SYSTEM', 'system'). +-define(CONTAINER_CPU_STATE_VALUES_SYSTEM, 'system'). --define('CONTAINER_CPU_STATE_VALUES_KERNEL', 'kernel'). +-define(CONTAINER_CPU_STATE_VALUES_KERNEL, 'kernel'). %% Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/reference/run/#container-identification). The UUID might be abbreviated. %% --define('CONTAINER_ID', 'container.id'). +-define(CONTAINER_ID, 'container.id'). %% Runtime specific image identifier. Usually a hash algorithm followed by a UUID. %% --define('CONTAINER_IMAGE_ID', 'container.image.id'). +-define(CONTAINER_IMAGE_ID, 'container.image.id'). %% Name of the image the container was built on. %% --define('CONTAINER_IMAGE_NAME', 'container.image.name'). +-define(CONTAINER_IMAGE_NAME, 'container.image.name'). %% Repo digests of the container image as provided by the container runtime. %% --define('CONTAINER_IMAGE_REPO_DIGESTS', 'container.image.repo_digests'). +-define(CONTAINER_IMAGE_REPO_DIGESTS, 'container.image.repo_digests'). %% Container image tags. An example can be found in [Docker Image Inspect](https://docs.docker.com/engine/api/v1.43/#tag/Image/operation/ImageInspect). Should be only the `` section of the full name for example from `registry.example.com/my-org/my-image:`. %% --define('CONTAINER_IMAGE_TAGS', 'container.image.tags'). +-define(CONTAINER_IMAGE_TAGS, 'container.image.tags'). %% Container labels, `` being the label name, the value being the label value. %% --define('CONTAINER_LABEL', 'container.label'). +-define(CONTAINER_LABEL, 'container.label'). %% @deprecated Replaced by `container.label`. %% Deprecated, use `container.label` instead. --define('CONTAINER_LABELS', 'container.labels'). +-define(CONTAINER_LABELS, 'container.labels'). %% Container name used by container runtime. %% --define('CONTAINER_NAME', 'container.name'). +-define(CONTAINER_NAME, 'container.name'). %% The container runtime managing this container. %% --define('CONTAINER_RUNTIME', 'container.runtime'). +-define(CONTAINER_RUNTIME, 'container.runtime'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/db_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/db_attributes.hrl index 75c0282b..eb140d18 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/db_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/db_attributes.hrl @@ -16,344 +16,344 @@ %% The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). %% --define('DB_CASSANDRA_CONSISTENCY_LEVEL', 'db.cassandra.consistency_level'). +-define(DB_CASSANDRA_CONSISTENCY_LEVEL, 'db.cassandra.consistency_level'). --define('DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_ALL', 'all'). +-define(DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_ALL, 'all'). --define('DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_EACH_QUORUM', 'each_quorum'). +-define(DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_EACH_QUORUM, 'each_quorum'). --define('DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_QUORUM', 'quorum'). +-define(DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_QUORUM, 'quorum'). --define('DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_LOCAL_QUORUM', 'local_quorum'). +-define(DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_LOCAL_QUORUM, 'local_quorum'). --define('DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_ONE', 'one'). +-define(DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_ONE, 'one'). --define('DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_TWO', 'two'). +-define(DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_TWO, 'two'). --define('DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_THREE', 'three'). +-define(DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_THREE, 'three'). --define('DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_LOCAL_ONE', 'local_one'). +-define(DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_LOCAL_ONE, 'local_one'). --define('DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_ANY', 'any'). +-define(DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_ANY, 'any'). --define('DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_SERIAL', 'serial'). +-define(DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_SERIAL, 'serial'). --define('DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_LOCAL_SERIAL', 'local_serial'). +-define(DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_LOCAL_SERIAL, 'local_serial'). %% The data center of the coordinating node for a query. %% --define('DB_CASSANDRA_COORDINATOR_DC', 'db.cassandra.coordinator.dc'). +-define(DB_CASSANDRA_COORDINATOR_DC, 'db.cassandra.coordinator.dc'). %% The ID of the coordinating node for a query. %% --define('DB_CASSANDRA_COORDINATOR_ID', 'db.cassandra.coordinator.id'). +-define(DB_CASSANDRA_COORDINATOR_ID, 'db.cassandra.coordinator.id'). %% Whether or not the query is idempotent. %% --define('DB_CASSANDRA_IDEMPOTENCE', 'db.cassandra.idempotence'). +-define(DB_CASSANDRA_IDEMPOTENCE, 'db.cassandra.idempotence'). %% The fetch size used for paging, i.e. how many rows will be returned at once. %% --define('DB_CASSANDRA_PAGE_SIZE', 'db.cassandra.page_size'). +-define(DB_CASSANDRA_PAGE_SIZE, 'db.cassandra.page_size'). %% The number of times a query was speculatively executed. Not set or `0` if the query was not executed speculatively. %% --define('DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT', 'db.cassandra.speculative_execution_count'). +-define(DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT, 'db.cassandra.speculative_execution_count'). %% @deprecated Replaced by `db.collection.name`. %% Deprecated, use `db.collection.name` instead. --define('DB_CASSANDRA_TABLE', 'db.cassandra.table'). +-define(DB_CASSANDRA_TABLE, '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`. %% --define('DB_CLIENT_CONNECTIONS_POOL_NAME', 'db.client.connections.pool.name'). +-define(DB_CLIENT_CONNECTIONS_POOL_NAME, 'db.client.connections.pool.name'). %% The state of a connection in the pool --define('DB_CLIENT_CONNECTIONS_STATE', 'db.client.connections.state'). +-define(DB_CLIENT_CONNECTIONS_STATE, 'db.client.connections.state'). --define('DB_CLIENT_CONNECTIONS_STATE_VALUES_IDLE', 'idle'). +-define(DB_CLIENT_CONNECTIONS_STATE_VALUES_IDLE, 'idle'). --define('DB_CLIENT_CONNECTIONS_STATE_VALUES_USED', 'used'). +-define(DB_CLIENT_CONNECTIONS_STATE_VALUES_USED, 'used'). %% The name of a collection (table, container) within the database. --define('DB_COLLECTION_NAME', 'db.collection.name'). +-define(DB_COLLECTION_NAME, 'db.collection.name'). %% @deprecated "Replaced by `server.address` and `server.port`." %% %% Deprecated, use `server.address`, `server.port` attributes instead. --define('DB_CONNECTION_STRING', 'db.connection_string'). +-define(DB_CONNECTION_STRING, 'db.connection_string'). %% Unique Cosmos client instance id. --define('DB_COSMOSDB_CLIENT_ID', 'db.cosmosdb.client_id'). +-define(DB_COSMOSDB_CLIENT_ID, 'db.cosmosdb.client_id'). %% Cosmos client connection mode. --define('DB_COSMOSDB_CONNECTION_MODE', 'db.cosmosdb.connection_mode'). +-define(DB_COSMOSDB_CONNECTION_MODE, 'db.cosmosdb.connection_mode'). --define('DB_COSMOSDB_CONNECTION_MODE_VALUES_GATEWAY', 'gateway'). +-define(DB_COSMOSDB_CONNECTION_MODE_VALUES_GATEWAY, 'gateway'). --define('DB_COSMOSDB_CONNECTION_MODE_VALUES_DIRECT', 'direct'). +-define(DB_COSMOSDB_CONNECTION_MODE_VALUES_DIRECT, 'direct'). %% @deprecated Replaced by `db.collection.name`. %% Deprecated, use `db.collection.name` instead. --define('DB_COSMOSDB_CONTAINER', 'db.cosmosdb.container'). +-define(DB_COSMOSDB_CONTAINER, 'db.cosmosdb.container'). %% CosmosDB Operation Type. --define('DB_COSMOSDB_OPERATION_TYPE', 'db.cosmosdb.operation_type'). +-define(DB_COSMOSDB_OPERATION_TYPE, 'db.cosmosdb.operation_type'). --define('DB_COSMOSDB_OPERATION_TYPE_VALUES_INVALID', 'Invalid'). +-define(DB_COSMOSDB_OPERATION_TYPE_VALUES_INVALID, 'Invalid'). --define('DB_COSMOSDB_OPERATION_TYPE_VALUES_CREATE', 'Create'). +-define(DB_COSMOSDB_OPERATION_TYPE_VALUES_CREATE, 'Create'). --define('DB_COSMOSDB_OPERATION_TYPE_VALUES_PATCH', 'Patch'). +-define(DB_COSMOSDB_OPERATION_TYPE_VALUES_PATCH, 'Patch'). --define('DB_COSMOSDB_OPERATION_TYPE_VALUES_READ', 'Read'). +-define(DB_COSMOSDB_OPERATION_TYPE_VALUES_READ, 'Read'). --define('DB_COSMOSDB_OPERATION_TYPE_VALUES_READ_FEED', 'ReadFeed'). +-define(DB_COSMOSDB_OPERATION_TYPE_VALUES_READ_FEED, 'ReadFeed'). --define('DB_COSMOSDB_OPERATION_TYPE_VALUES_DELETE', 'Delete'). +-define(DB_COSMOSDB_OPERATION_TYPE_VALUES_DELETE, 'Delete'). --define('DB_COSMOSDB_OPERATION_TYPE_VALUES_REPLACE', 'Replace'). +-define(DB_COSMOSDB_OPERATION_TYPE_VALUES_REPLACE, 'Replace'). --define('DB_COSMOSDB_OPERATION_TYPE_VALUES_EXECUTE', 'Execute'). +-define(DB_COSMOSDB_OPERATION_TYPE_VALUES_EXECUTE, 'Execute'). --define('DB_COSMOSDB_OPERATION_TYPE_VALUES_QUERY', 'Query'). +-define(DB_COSMOSDB_OPERATION_TYPE_VALUES_QUERY, 'Query'). --define('DB_COSMOSDB_OPERATION_TYPE_VALUES_HEAD', 'Head'). +-define(DB_COSMOSDB_OPERATION_TYPE_VALUES_HEAD, 'Head'). --define('DB_COSMOSDB_OPERATION_TYPE_VALUES_HEAD_FEED', 'HeadFeed'). +-define(DB_COSMOSDB_OPERATION_TYPE_VALUES_HEAD_FEED, 'HeadFeed'). --define('DB_COSMOSDB_OPERATION_TYPE_VALUES_UPSERT', 'Upsert'). +-define(DB_COSMOSDB_OPERATION_TYPE_VALUES_UPSERT, 'Upsert'). --define('DB_COSMOSDB_OPERATION_TYPE_VALUES_BATCH', 'Batch'). +-define(DB_COSMOSDB_OPERATION_TYPE_VALUES_BATCH, 'Batch'). --define('DB_COSMOSDB_OPERATION_TYPE_VALUES_QUERY_PLAN', 'QueryPlan'). +-define(DB_COSMOSDB_OPERATION_TYPE_VALUES_QUERY_PLAN, 'QueryPlan'). --define('DB_COSMOSDB_OPERATION_TYPE_VALUES_EXECUTE_JAVASCRIPT', 'ExecuteJavaScript'). +-define(DB_COSMOSDB_OPERATION_TYPE_VALUES_EXECUTE_JAVASCRIPT, 'ExecuteJavaScript'). %% RU consumed for that operation --define('DB_COSMOSDB_REQUEST_CHARGE', 'db.cosmosdb.request_charge'). +-define(DB_COSMOSDB_REQUEST_CHARGE, 'db.cosmosdb.request_charge'). %% Request payload size in bytes --define('DB_COSMOSDB_REQUEST_CONTENT_LENGTH', 'db.cosmosdb.request_content_length'). +-define(DB_COSMOSDB_REQUEST_CONTENT_LENGTH, 'db.cosmosdb.request_content_length'). %% Cosmos DB status code. --define('DB_COSMOSDB_STATUS_CODE', 'db.cosmosdb.status_code'). +-define(DB_COSMOSDB_STATUS_CODE, 'db.cosmosdb.status_code'). %% Cosmos DB sub status code. --define('DB_COSMOSDB_SUB_STATUS_CODE', 'db.cosmosdb.sub_status_code'). +-define(DB_COSMOSDB_SUB_STATUS_CODE, 'db.cosmosdb.sub_status_code'). %% Represents the identifier of an Elasticsearch cluster. %% --define('DB_ELASTICSEARCH_CLUSTER_NAME', 'db.elasticsearch.cluster.name'). +-define(DB_ELASTICSEARCH_CLUSTER_NAME, 'db.elasticsearch.cluster.name'). %% Represents the human-readable identifier of the node/instance to which a request was routed. %% --define('DB_ELASTICSEARCH_NODE_NAME', 'db.elasticsearch.node.name'). +-define(DB_ELASTICSEARCH_NODE_NAME, 'db.elasticsearch.node.name'). %% A dynamic value in the url path. %% --define('DB_ELASTICSEARCH_PATH_PARTS', 'db.elasticsearch.path_parts'). +-define(DB_ELASTICSEARCH_PATH_PARTS, 'db.elasticsearch.path_parts'). %% @deprecated Deprecated, no general replacement at this time. For Elasticsearch, use `db.elasticsearch.node.name` instead. %% Deprecated, no general replacement at this time. For Elasticsearch, use `db.elasticsearch.node.name` instead. --define('DB_INSTANCE_ID', 'db.instance.id'). +-define(DB_INSTANCE_ID, 'db.instance.id'). %% @deprecated Removed as not used. %% Removed, no replacement at this time. --define('DB_JDBC_DRIVER_CLASSNAME', 'db.jdbc.driver_classname'). +-define(DB_JDBC_DRIVER_CLASSNAME, 'db.jdbc.driver_classname'). %% @deprecated Replaced by `db.collection.name`. %% Deprecated, use `db.collection.name` instead. --define('DB_MONGODB_COLLECTION', 'db.mongodb.collection'). +-define(DB_MONGODB_COLLECTION, 'db.mongodb.collection'). %% @deprecated Deprecated, no replacement at this time. %% Deprecated, SQL Server instance is now populated as a part of `db.namespace` attribute. --define('DB_MSSQL_INSTANCE_NAME', 'db.mssql.instance_name'). +-define(DB_MSSQL_INSTANCE_NAME, 'db.mssql.instance_name'). %% @deprecated Replaced by `db.namespace`. %% Deprecated, use `db.namespace` instead. --define('DB_NAME', 'db.name'). +-define(DB_NAME, 'db.name'). %% The name of the database, fully qualified within the server address and port. %% --define('DB_NAMESPACE', 'db.namespace'). +-define(DB_NAMESPACE, 'db.namespace'). %% @deprecated Replaced by `db.operation.name`. %% Deprecated, use `db.operation.name` instead. --define('DB_OPERATION', 'db.operation'). +-define(DB_OPERATION, 'db.operation'). %% The name of the operation or command being executed. %% --define('DB_OPERATION_NAME', 'db.operation.name'). +-define(DB_OPERATION_NAME, 'db.operation.name'). %% The query parameters used in `db.query.text`, with `` being the parameter name, and the attribute value being the parameter value. %% --define('DB_QUERY_PARAMETER', 'db.query.parameter'). +-define(DB_QUERY_PARAMETER, 'db.query.parameter'). %% The database query being executed. %% --define('DB_QUERY_TEXT', 'db.query.text'). +-define(DB_QUERY_TEXT, 'db.query.text'). %% @deprecated Replaced by `db.namespace`. %% Deprecated, use `db.namespace` instead. --define('DB_REDIS_DATABASE_INDEX', 'db.redis.database_index'). +-define(DB_REDIS_DATABASE_INDEX, 'db.redis.database_index'). %% @deprecated Replaced by `db.collection.name`. %% Deprecated, use `db.collection.name` instead. --define('DB_SQL_TABLE', 'db.sql.table'). +-define(DB_SQL_TABLE, 'db.sql.table'). %% @deprecated Replaced by `db.query.text`. %% The database statement being executed. --define('DB_STATEMENT', 'db.statement'). +-define(DB_STATEMENT, 'db.statement'). %% The database management system (DBMS) product as identified by the client instrumentation. --define('DB_SYSTEM', 'db.system'). +-define(DB_SYSTEM, 'db.system'). --define('DB_SYSTEM_VALUES_OTHER_SQL', 'other_sql'). +-define(DB_SYSTEM_VALUES_OTHER_SQL, 'other_sql'). --define('DB_SYSTEM_VALUES_MSSQL', 'mssql'). +-define(DB_SYSTEM_VALUES_MSSQL, 'mssql'). --define('DB_SYSTEM_VALUES_MSSQLCOMPACT', 'mssqlcompact'). +-define(DB_SYSTEM_VALUES_MSSQLCOMPACT, 'mssqlcompact'). --define('DB_SYSTEM_VALUES_MYSQL', 'mysql'). +-define(DB_SYSTEM_VALUES_MYSQL, 'mysql'). --define('DB_SYSTEM_VALUES_ORACLE', 'oracle'). +-define(DB_SYSTEM_VALUES_ORACLE, 'oracle'). --define('DB_SYSTEM_VALUES_DB_2', 'db2'). +-define(DB_SYSTEM_VALUES_DB_2, 'db2'). --define('DB_SYSTEM_VALUES_POSTGRESQL', 'postgresql'). +-define(DB_SYSTEM_VALUES_POSTGRESQL, 'postgresql'). --define('DB_SYSTEM_VALUES_REDSHIFT', 'redshift'). +-define(DB_SYSTEM_VALUES_REDSHIFT, 'redshift'). --define('DB_SYSTEM_VALUES_HIVE', 'hive'). +-define(DB_SYSTEM_VALUES_HIVE, 'hive'). --define('DB_SYSTEM_VALUES_CLOUDSCAPE', 'cloudscape'). +-define(DB_SYSTEM_VALUES_CLOUDSCAPE, 'cloudscape'). --define('DB_SYSTEM_VALUES_HSQLDB', 'hsqldb'). +-define(DB_SYSTEM_VALUES_HSQLDB, 'hsqldb'). --define('DB_SYSTEM_VALUES_PROGRESS', 'progress'). +-define(DB_SYSTEM_VALUES_PROGRESS, 'progress'). --define('DB_SYSTEM_VALUES_MAXDB', 'maxdb'). +-define(DB_SYSTEM_VALUES_MAXDB, 'maxdb'). --define('DB_SYSTEM_VALUES_HANADB', 'hanadb'). +-define(DB_SYSTEM_VALUES_HANADB, 'hanadb'). --define('DB_SYSTEM_VALUES_INGRES', 'ingres'). +-define(DB_SYSTEM_VALUES_INGRES, 'ingres'). --define('DB_SYSTEM_VALUES_FIRSTSQL', 'firstsql'). +-define(DB_SYSTEM_VALUES_FIRSTSQL, 'firstsql'). --define('DB_SYSTEM_VALUES_EDB', 'edb'). +-define(DB_SYSTEM_VALUES_EDB, 'edb'). --define('DB_SYSTEM_VALUES_CACHE', 'cache'). +-define(DB_SYSTEM_VALUES_CACHE, 'cache'). --define('DB_SYSTEM_VALUES_ADABAS', 'adabas'). +-define(DB_SYSTEM_VALUES_ADABAS, 'adabas'). --define('DB_SYSTEM_VALUES_FIREBIRD', 'firebird'). +-define(DB_SYSTEM_VALUES_FIREBIRD, 'firebird'). --define('DB_SYSTEM_VALUES_DERBY', 'derby'). +-define(DB_SYSTEM_VALUES_DERBY, 'derby'). --define('DB_SYSTEM_VALUES_FILEMAKER', 'filemaker'). +-define(DB_SYSTEM_VALUES_FILEMAKER, 'filemaker'). --define('DB_SYSTEM_VALUES_INFORMIX', 'informix'). +-define(DB_SYSTEM_VALUES_INFORMIX, 'informix'). --define('DB_SYSTEM_VALUES_INSTANTDB', 'instantdb'). +-define(DB_SYSTEM_VALUES_INSTANTDB, 'instantdb'). --define('DB_SYSTEM_VALUES_INTERBASE', 'interbase'). +-define(DB_SYSTEM_VALUES_INTERBASE, 'interbase'). --define('DB_SYSTEM_VALUES_MARIADB', 'mariadb'). +-define(DB_SYSTEM_VALUES_MARIADB, 'mariadb'). --define('DB_SYSTEM_VALUES_NETEZZA', 'netezza'). +-define(DB_SYSTEM_VALUES_NETEZZA, 'netezza'). --define('DB_SYSTEM_VALUES_PERVASIVE', 'pervasive'). +-define(DB_SYSTEM_VALUES_PERVASIVE, 'pervasive'). --define('DB_SYSTEM_VALUES_POINTBASE', 'pointbase'). +-define(DB_SYSTEM_VALUES_POINTBASE, 'pointbase'). --define('DB_SYSTEM_VALUES_SQLITE', 'sqlite'). +-define(DB_SYSTEM_VALUES_SQLITE, 'sqlite'). --define('DB_SYSTEM_VALUES_SYBASE', 'sybase'). +-define(DB_SYSTEM_VALUES_SYBASE, 'sybase'). --define('DB_SYSTEM_VALUES_TERADATA', 'teradata'). +-define(DB_SYSTEM_VALUES_TERADATA, 'teradata'). --define('DB_SYSTEM_VALUES_VERTICA', 'vertica'). +-define(DB_SYSTEM_VALUES_VERTICA, 'vertica'). --define('DB_SYSTEM_VALUES_H_2', 'h2'). +-define(DB_SYSTEM_VALUES_H_2, 'h2'). --define('DB_SYSTEM_VALUES_COLDFUSION', 'coldfusion'). +-define(DB_SYSTEM_VALUES_COLDFUSION, 'coldfusion'). --define('DB_SYSTEM_VALUES_CASSANDRA', 'cassandra'). +-define(DB_SYSTEM_VALUES_CASSANDRA, 'cassandra'). --define('DB_SYSTEM_VALUES_HBASE', 'hbase'). +-define(DB_SYSTEM_VALUES_HBASE, 'hbase'). --define('DB_SYSTEM_VALUES_MONGODB', 'mongodb'). +-define(DB_SYSTEM_VALUES_MONGODB, 'mongodb'). --define('DB_SYSTEM_VALUES_REDIS', 'redis'). +-define(DB_SYSTEM_VALUES_REDIS, 'redis'). --define('DB_SYSTEM_VALUES_COUCHBASE', 'couchbase'). +-define(DB_SYSTEM_VALUES_COUCHBASE, 'couchbase'). --define('DB_SYSTEM_VALUES_COUCHDB', 'couchdb'). +-define(DB_SYSTEM_VALUES_COUCHDB, 'couchdb'). --define('DB_SYSTEM_VALUES_COSMOSDB', 'cosmosdb'). +-define(DB_SYSTEM_VALUES_COSMOSDB, 'cosmosdb'). --define('DB_SYSTEM_VALUES_DYNAMODB', 'dynamodb'). +-define(DB_SYSTEM_VALUES_DYNAMODB, 'dynamodb'). --define('DB_SYSTEM_VALUES_NEO_4_J', 'neo4j'). +-define(DB_SYSTEM_VALUES_NEO_4_J, 'neo4j'). --define('DB_SYSTEM_VALUES_GEODE', 'geode'). +-define(DB_SYSTEM_VALUES_GEODE, 'geode'). --define('DB_SYSTEM_VALUES_ELASTICSEARCH', 'elasticsearch'). +-define(DB_SYSTEM_VALUES_ELASTICSEARCH, 'elasticsearch'). --define('DB_SYSTEM_VALUES_MEMCACHED', 'memcached'). +-define(DB_SYSTEM_VALUES_MEMCACHED, 'memcached'). --define('DB_SYSTEM_VALUES_COCKROACHDB', 'cockroachdb'). +-define(DB_SYSTEM_VALUES_COCKROACHDB, 'cockroachdb'). --define('DB_SYSTEM_VALUES_OPENSEARCH', 'opensearch'). +-define(DB_SYSTEM_VALUES_OPENSEARCH, 'opensearch'). --define('DB_SYSTEM_VALUES_CLICKHOUSE', 'clickhouse'). +-define(DB_SYSTEM_VALUES_CLICKHOUSE, 'clickhouse'). --define('DB_SYSTEM_VALUES_SPANNER', 'spanner'). +-define(DB_SYSTEM_VALUES_SPANNER, 'spanner'). --define('DB_SYSTEM_VALUES_TRINO', 'trino'). +-define(DB_SYSTEM_VALUES_TRINO, 'trino'). %% @deprecated No replacement at this time. %% Deprecated, no replacement at this time. --define('DB_USER', 'db.user'). +-define(DB_USER, 'db.user'). %% @deprecated Replaced by `db.client.connections.pool.name`. %% Deprecated, use `db.client.connections.pool.name` instead. --define('POOL_NAME', 'pool.name'). +-define(POOL_NAME, 'pool.name'). %% @deprecated Replaced by `db.client.connections.state`. %% Deprecated, use `db.client.connections.state` instead. --define('STATE', 'state'). +-define(STATE, 'state'). --define('STATE_VALUES_IDLE', 'idle'). +-define(STATE_VALUES_IDLE, 'idle'). --define('STATE_VALUES_USED', 'used'). +-define(STATE_VALUES_USED, 'used'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/deployment_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/deployment_attributes.hrl index b26a1f34..51b0c3fe 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/deployment_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/deployment_attributes.hrl @@ -16,4 +16,4 @@ %% Name of the [deployment environment](https://wikipedia.org/wiki/Deployment_environment) (aka deployment tier). %% --define('DEPLOYMENT_ENVIRONMENT', 'deployment.environment'). +-define(DEPLOYMENT_ENVIRONMENT, 'deployment.environment'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/destination_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/destination_attributes.hrl index d3cdc4ff..3239960a 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/destination_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/destination_attributes.hrl @@ -15,8 +15,8 @@ %%%------------------------------------------------------------------------- %% Destination address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. --define('DESTINATION_ADDRESS', 'destination.address'). +-define(DESTINATION_ADDRESS, 'destination.address'). %% Destination port number --define('DESTINATION_PORT', 'destination.port'). +-define(DESTINATION_PORT, 'destination.port'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/device_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/device_attributes.hrl index 1f24922c..8b75ec21 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/device_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/device_attributes.hrl @@ -16,19 +16,19 @@ %% A unique identifier representing the device %% --define('DEVICE_ID', 'device.id'). +-define(DEVICE_ID, 'device.id'). %% The name of the device manufacturer %% --define('DEVICE_MANUFACTURER', 'device.manufacturer'). +-define(DEVICE_MANUFACTURER, 'device.manufacturer'). %% The model identifier for the device %% --define('DEVICE_MODEL_IDENTIFIER', 'device.model.identifier'). +-define(DEVICE_MODEL_IDENTIFIER, 'device.model.identifier'). %% The marketing name for the device model %% --define('DEVICE_MODEL_NAME', 'device.model.name'). +-define(DEVICE_MODEL_NAME, 'device.model.name'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/disk_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/disk_attributes.hrl index ba42cb70..7d6d8d96 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/disk_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/disk_attributes.hrl @@ -15,9 +15,9 @@ %%%------------------------------------------------------------------------- %% The disk IO operation direction. --define('DISK_IO_DIRECTION', 'disk.io.direction'). +-define(DISK_IO_DIRECTION, 'disk.io.direction'). --define('DISK_IO_DIRECTION_VALUES_READ', 'read'). +-define(DISK_IO_DIRECTION_VALUES_READ, 'read'). --define('DISK_IO_DIRECTION_VALUES_WRITE', 'write'). +-define(DISK_IO_DIRECTION_VALUES_WRITE, 'write'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/dns_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/dns_attributes.hrl index e950de1a..b5399045 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/dns_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/dns_attributes.hrl @@ -15,4 +15,4 @@ %%%------------------------------------------------------------------------- %% The name being queried. --define('DNS_QUESTION_NAME', 'dns.question.name'). +-define(DNS_QUESTION_NAME, 'dns.question.name'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/enduser_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/enduser_attributes.hrl index 9fa1c027..2afc72e4 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/enduser_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/enduser_attributes.hrl @@ -16,13 +16,13 @@ %% Username or client_id extracted from the access token or [Authorization](https://tools.ietf.org/html/rfc7235#section-4.2) header in the inbound request from outside the system. %% --define('ENDUSER_ID', 'enduser.id'). +-define(ENDUSER_ID, 'enduser.id'). %% Actual/assumed role the client is making the request under extracted from token or application security context. --define('ENDUSER_ROLE', 'enduser.role'). +-define(ENDUSER_ROLE, '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](https://tools.ietf.org/html/rfc6749#section-3.3) or an attribute value in a [SAML 2.0 Assertion](http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-tech-overview-2.0.html). %% --define('ENDUSER_SCOPE', 'enduser.scope'). +-define(ENDUSER_SCOPE, 'enduser.scope'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/event_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/event_attributes.hrl index be48574b..58b4dbd1 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/event_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/event_attributes.hrl @@ -16,4 +16,4 @@ %% Identifies the class / type of event. %% --define('EVENT_NAME', 'event.name'). +-define(EVENT_NAME, 'event.name'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/faas_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/faas_attributes.hrl index eddb5376..ab95f158 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/faas_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/faas_attributes.hrl @@ -16,106 +16,106 @@ %% A boolean that is true if the serverless function is executed for the first time (aka cold-start). %% --define('FAAS_COLDSTART', 'faas.coldstart'). +-define(FAAS_COLDSTART, 'faas.coldstart'). %% A string containing the schedule period as [Cron Expression](https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm). %% --define('FAAS_CRON', 'faas.cron'). +-define(FAAS_CRON, 'faas.cron'). %% The name of the source on which the triggering operation was performed. For example, in Cloud Storage or S3 corresponds to the bucket name, and in Cosmos DB to the database name. %% --define('FAAS_DOCUMENT_COLLECTION', 'faas.document.collection'). +-define(FAAS_DOCUMENT_COLLECTION, 'faas.document.collection'). %% The document name/table subjected to the operation. For example, in Cloud Storage or S3 is the name of the file, and in Cosmos DB the table name. %% --define('FAAS_DOCUMENT_NAME', 'faas.document.name'). +-define(FAAS_DOCUMENT_NAME, 'faas.document.name'). %% Describes the type of the operation that was performed on the data. --define('FAAS_DOCUMENT_OPERATION', 'faas.document.operation'). +-define(FAAS_DOCUMENT_OPERATION, 'faas.document.operation'). --define('FAAS_DOCUMENT_OPERATION_VALUES_INSERT', 'insert'). +-define(FAAS_DOCUMENT_OPERATION_VALUES_INSERT, 'insert'). --define('FAAS_DOCUMENT_OPERATION_VALUES_EDIT', 'edit'). +-define(FAAS_DOCUMENT_OPERATION_VALUES_EDIT, 'edit'). --define('FAAS_DOCUMENT_OPERATION_VALUES_DELETE', 'delete'). +-define(FAAS_DOCUMENT_OPERATION_VALUES_DELETE, 'delete'). %% A string containing the time when the data was accessed in the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format expressed in [UTC](https://www.w3.org/TR/NOTE-datetime). %% --define('FAAS_DOCUMENT_TIME', 'faas.document.time'). +-define(FAAS_DOCUMENT_TIME, 'faas.document.time'). %% The execution environment ID as a string, that will be potentially reused for other invocations to the same function/function version. %% --define('FAAS_INSTANCE', 'faas.instance'). +-define(FAAS_INSTANCE, 'faas.instance'). %% The invocation ID of the current function invocation. %% --define('FAAS_INVOCATION_ID', 'faas.invocation_id'). +-define(FAAS_INVOCATION_ID, 'faas.invocation_id'). %% The name of the invoked function. %% --define('FAAS_INVOKED_NAME', 'faas.invoked_name'). +-define(FAAS_INVOKED_NAME, 'faas.invoked_name'). %% The cloud provider of the invoked function. %% --define('FAAS_INVOKED_PROVIDER', 'faas.invoked_provider'). +-define(FAAS_INVOKED_PROVIDER, 'faas.invoked_provider'). --define('FAAS_INVOKED_PROVIDER_VALUES_ALIBABA_CLOUD', 'alibaba_cloud'). +-define(FAAS_INVOKED_PROVIDER_VALUES_ALIBABA_CLOUD, 'alibaba_cloud'). --define('FAAS_INVOKED_PROVIDER_VALUES_AWS', 'aws'). +-define(FAAS_INVOKED_PROVIDER_VALUES_AWS, 'aws'). --define('FAAS_INVOKED_PROVIDER_VALUES_AZURE', 'azure'). +-define(FAAS_INVOKED_PROVIDER_VALUES_AZURE, 'azure'). --define('FAAS_INVOKED_PROVIDER_VALUES_GCP', 'gcp'). +-define(FAAS_INVOKED_PROVIDER_VALUES_GCP, 'gcp'). --define('FAAS_INVOKED_PROVIDER_VALUES_TENCENT_CLOUD', 'tencent_cloud'). +-define(FAAS_INVOKED_PROVIDER_VALUES_TENCENT_CLOUD, 'tencent_cloud'). %% The cloud region of the invoked function. %% --define('FAAS_INVOKED_REGION', 'faas.invoked_region'). +-define(FAAS_INVOKED_REGION, 'faas.invoked_region'). %% The amount of memory available to the serverless function converted to Bytes. %% --define('FAAS_MAX_MEMORY', 'faas.max_memory'). +-define(FAAS_MAX_MEMORY, 'faas.max_memory'). %% The name of the single function that this runtime instance executes. %% --define('FAAS_NAME', 'faas.name'). +-define(FAAS_NAME, 'faas.name'). %% A string containing the function invocation time in the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format expressed in [UTC](https://www.w3.org/TR/NOTE-datetime). %% --define('FAAS_TIME', 'faas.time'). +-define(FAAS_TIME, 'faas.time'). %% Type of the trigger which caused this function invocation. %% --define('FAAS_TRIGGER', 'faas.trigger'). +-define(FAAS_TRIGGER, 'faas.trigger'). --define('FAAS_TRIGGER_VALUES_DATASOURCE', 'datasource'). +-define(FAAS_TRIGGER_VALUES_DATASOURCE, 'datasource'). --define('FAAS_TRIGGER_VALUES_HTTP', 'http'). +-define(FAAS_TRIGGER_VALUES_HTTP, 'http'). --define('FAAS_TRIGGER_VALUES_PUBSUB', 'pubsub'). +-define(FAAS_TRIGGER_VALUES_PUBSUB, 'pubsub'). --define('FAAS_TRIGGER_VALUES_TIMER', 'timer'). +-define(FAAS_TRIGGER_VALUES_TIMER, 'timer'). --define('FAAS_TRIGGER_VALUES_OTHER', 'other'). +-define(FAAS_TRIGGER_VALUES_OTHER, 'other'). %% The immutable version of the function being executed. --define('FAAS_VERSION', 'faas.version'). +-define(FAAS_VERSION, 'faas.version'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/feature_flag_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/feature_flag_attributes.hrl index 6ac3d9c4..5b59e448 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/feature_flag_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/feature_flag_attributes.hrl @@ -15,13 +15,13 @@ %%%------------------------------------------------------------------------- %% The unique identifier of the feature flag. --define('FEATURE_FLAG_KEY', 'feature_flag.key'). +-define(FEATURE_FLAG_KEY, 'feature_flag.key'). %% The name of the service provider that performs the flag evaluation. --define('FEATURE_FLAG_PROVIDER_NAME', 'feature_flag.provider_name'). +-define(FEATURE_FLAG_PROVIDER_NAME, 'feature_flag.provider_name'). %% SHOULD be a semantic identifier for a value. If one is unavailable, a stringified version of the value can be used. %% --define('FEATURE_FLAG_VARIANT', 'feature_flag.variant'). +-define(FEATURE_FLAG_VARIANT, 'feature_flag.variant'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/file_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/file_attributes.hrl index dfcf8793..0ea28994 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/file_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/file_attributes.hrl @@ -16,24 +16,24 @@ %% Directory where the file is located. It should include the drive letter, when appropriate. %% --define('FILE_DIRECTORY', 'file.directory'). +-define(FILE_DIRECTORY, 'file.directory'). %% File extension, excluding the leading dot. %% --define('FILE_EXTENSION', 'file.extension'). +-define(FILE_EXTENSION, 'file.extension'). %% Name of the file including the extension, without the directory. %% --define('FILE_NAME', 'file.name'). +-define(FILE_NAME, 'file.name'). %% Full path to the file, including the file name. It should include the drive letter, when appropriate. %% --define('FILE_PATH', 'file.path'). +-define(FILE_PATH, 'file.path'). %% File size in bytes. %% --define('FILE_SIZE', 'file.size'). +-define(FILE_SIZE, 'file.size'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/gcp_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/gcp_attributes.hrl index 6e5ffb20..3404be06 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/gcp_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/gcp_attributes.hrl @@ -16,19 +16,19 @@ %% The name of the Cloud Run [execution](https://cloud.google.com/run/docs/managing/job-executions) being run for the Job, as set by the [`CLOUD_RUN_EXECUTION`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars) environment variable. %% --define('GCP_CLOUD_RUN_JOB_EXECUTION', 'gcp.cloud_run.job.execution'). +-define(GCP_CLOUD_RUN_JOB_EXECUTION, 'gcp.cloud_run.job.execution'). %% The index for a task within an execution as provided by the [`CLOUD_RUN_TASK_INDEX`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars) environment variable. %% --define('GCP_CLOUD_RUN_JOB_TASK_INDEX', 'gcp.cloud_run.job.task_index'). +-define(GCP_CLOUD_RUN_JOB_TASK_INDEX, 'gcp.cloud_run.job.task_index'). %% The hostname of a GCE instance. This is the full value of the default or [custom hostname](https://cloud.google.com/compute/docs/instances/custom-hostname-vm). %% --define('GCP_GCE_INSTANCE_HOSTNAME', 'gcp.gce.instance.hostname'). +-define(GCP_GCE_INSTANCE_HOSTNAME, 'gcp.gce.instance.hostname'). %% The instance name of a GCE instance. This is the value provided by `host.name`, the visible name of the instance in the Cloud Console UI, and the prefix for the default hostname of the instance as defined by the [default internal DNS name](https://cloud.google.com/compute/docs/internal-dns#instance-fully-qualified-domain-names). %% --define('GCP_GCE_INSTANCE_NAME', 'gcp.gce.instance.name'). +-define(GCP_GCE_INSTANCE_NAME, 'gcp.gce.instance.name'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/gen_ai_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/gen_ai_attributes.hrl index dc038d87..21910317 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/gen_ai_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/gen_ai_attributes.hrl @@ -15,51 +15,51 @@ %%%------------------------------------------------------------------------- %% The full response received from the LLM. --define('GEN_AI_COMPLETION', 'gen_ai.completion'). +-define(GEN_AI_COMPLETION, 'gen_ai.completion'). %% The full prompt sent to an LLM. --define('GEN_AI_PROMPT', 'gen_ai.prompt'). +-define(GEN_AI_PROMPT, 'gen_ai.prompt'). %% The maximum number of tokens the LLM generates for a request. --define('GEN_AI_REQUEST_MAX_TOKENS', 'gen_ai.request.max_tokens'). +-define(GEN_AI_REQUEST_MAX_TOKENS, 'gen_ai.request.max_tokens'). %% The name of the LLM a request is being made to. --define('GEN_AI_REQUEST_MODEL', 'gen_ai.request.model'). +-define(GEN_AI_REQUEST_MODEL, 'gen_ai.request.model'). %% The temperature setting for the LLM request. --define('GEN_AI_REQUEST_TEMPERATURE', 'gen_ai.request.temperature'). +-define(GEN_AI_REQUEST_TEMPERATURE, 'gen_ai.request.temperature'). %% The top_p sampling setting for the LLM request. --define('GEN_AI_REQUEST_TOP_P', 'gen_ai.request.top_p'). +-define(GEN_AI_REQUEST_TOP_P, 'gen_ai.request.top_p'). %% Array of reasons the model stopped generating tokens, corresponding to each generation received. --define('GEN_AI_RESPONSE_FINISH_REASONS', 'gen_ai.response.finish_reasons'). +-define(GEN_AI_RESPONSE_FINISH_REASONS, 'gen_ai.response.finish_reasons'). %% The unique identifier for the completion. --define('GEN_AI_RESPONSE_ID', 'gen_ai.response.id'). +-define(GEN_AI_RESPONSE_ID, 'gen_ai.response.id'). %% The name of the LLM a response was generated from. --define('GEN_AI_RESPONSE_MODEL', 'gen_ai.response.model'). +-define(GEN_AI_RESPONSE_MODEL, 'gen_ai.response.model'). %% The Generative AI product as identified by the client instrumentation. --define('GEN_AI_SYSTEM', 'gen_ai.system'). +-define(GEN_AI_SYSTEM, 'gen_ai.system'). --define('GEN_AI_SYSTEM_VALUES_OPENAI', 'openai'). +-define(GEN_AI_SYSTEM_VALUES_OPENAI, 'openai'). %% The number of tokens used in the LLM response (completion). --define('GEN_AI_USAGE_COMPLETION_TOKENS', 'gen_ai.usage.completion_tokens'). +-define(GEN_AI_USAGE_COMPLETION_TOKENS, 'gen_ai.usage.completion_tokens'). %% The number of tokens used in the LLM prompt. --define('GEN_AI_USAGE_PROMPT_TOKENS', 'gen_ai.usage.prompt_tokens'). +-define(GEN_AI_USAGE_PROMPT_TOKENS, 'gen_ai.usage.prompt_tokens'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/graphql_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/graphql_attributes.hrl index 251129b7..18b58ba4 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/graphql_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/graphql_attributes.hrl @@ -15,19 +15,19 @@ %%%------------------------------------------------------------------------- %% The GraphQL document being executed. --define('GRAPHQL_DOCUMENT', 'graphql.document'). +-define(GRAPHQL_DOCUMENT, 'graphql.document'). %% The name of the operation being executed. --define('GRAPHQL_OPERATION_NAME', 'graphql.operation.name'). +-define(GRAPHQL_OPERATION_NAME, 'graphql.operation.name'). %% The type of the operation being executed. --define('GRAPHQL_OPERATION_TYPE', 'graphql.operation.type'). +-define(GRAPHQL_OPERATION_TYPE, 'graphql.operation.type'). --define('GRAPHQL_OPERATION_TYPE_VALUES_QUERY', 'query'). +-define(GRAPHQL_OPERATION_TYPE_VALUES_QUERY, 'query'). --define('GRAPHQL_OPERATION_TYPE_VALUES_MUTATION', 'mutation'). +-define(GRAPHQL_OPERATION_TYPE_VALUES_MUTATION, 'mutation'). --define('GRAPHQL_OPERATION_TYPE_VALUES_SUBSCRIPTION', 'subscription'). +-define(GRAPHQL_OPERATION_TYPE_VALUES_SUBSCRIPTION, 'subscription'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/heroku_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/heroku_attributes.hrl index f5da1e77..96595577 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/heroku_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/heroku_attributes.hrl @@ -16,14 +16,14 @@ %% Unique identifier for the application %% --define('HEROKU_APP_ID', 'heroku.app.id'). +-define(HEROKU_APP_ID, 'heroku.app.id'). %% Commit hash for the current release %% --define('HEROKU_RELEASE_COMMIT', 'heroku.release.commit'). +-define(HEROKU_RELEASE_COMMIT, 'heroku.release.commit'). %% Time and date the release was created %% --define('HEROKU_RELEASE_CREATION_TIMESTAMP', 'heroku.release.creation_timestamp'). +-define(HEROKU_RELEASE_CREATION_TIMESTAMP, 'heroku.release.creation_timestamp'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/host_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/host_attributes.hrl index 1693de69..8d298fac 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/host_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/host_attributes.hrl @@ -16,91 +16,91 @@ %% The CPU architecture the host system is running on. %% --define('HOST_ARCH', 'host.arch'). +-define(HOST_ARCH, 'host.arch'). --define('HOST_ARCH_VALUES_AMD_64', 'amd64'). +-define(HOST_ARCH_VALUES_AMD_64, 'amd64'). --define('HOST_ARCH_VALUES_ARM_32', 'arm32'). +-define(HOST_ARCH_VALUES_ARM_32, 'arm32'). --define('HOST_ARCH_VALUES_ARM_64', 'arm64'). +-define(HOST_ARCH_VALUES_ARM_64, 'arm64'). --define('HOST_ARCH_VALUES_IA_64', 'ia64'). +-define(HOST_ARCH_VALUES_IA_64, 'ia64'). --define('HOST_ARCH_VALUES_PPC_32', 'ppc32'). +-define(HOST_ARCH_VALUES_PPC_32, 'ppc32'). --define('HOST_ARCH_VALUES_PPC_64', 'ppc64'). +-define(HOST_ARCH_VALUES_PPC_64, 'ppc64'). --define('HOST_ARCH_VALUES_S_390_X', 's390x'). +-define(HOST_ARCH_VALUES_S_390_X, 's390x'). --define('HOST_ARCH_VALUES_X_86', 'x86'). +-define(HOST_ARCH_VALUES_X_86, 'x86'). %% The amount of level 2 memory cache available to the processor (in Bytes). %% --define('HOST_CPU_CACHE_L2_SIZE', 'host.cpu.cache.l2.size'). +-define(HOST_CPU_CACHE_L2_SIZE, 'host.cpu.cache.l2.size'). %% Family or generation of the CPU. %% --define('HOST_CPU_FAMILY', 'host.cpu.family'). +-define(HOST_CPU_FAMILY, 'host.cpu.family'). %% Model identifier. It provides more granular information about the CPU, distinguishing it from other CPUs within the same family. %% --define('HOST_CPU_MODEL_ID', 'host.cpu.model.id'). +-define(HOST_CPU_MODEL_ID, 'host.cpu.model.id'). %% Model designation of the processor. %% --define('HOST_CPU_MODEL_NAME', 'host.cpu.model.name'). +-define(HOST_CPU_MODEL_NAME, 'host.cpu.model.name'). %% Stepping or core revisions. %% --define('HOST_CPU_STEPPING', 'host.cpu.stepping'). +-define(HOST_CPU_STEPPING, 'host.cpu.stepping'). %% Processor manufacturer identifier. A maximum 12-character string. %% --define('HOST_CPU_VENDOR_ID', 'host.cpu.vendor.id'). +-define(HOST_CPU_VENDOR_ID, 'host.cpu.vendor.id'). %% Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider. For non-containerized systems, this should be the `machine-id`. See the table below for the sources to use to determine the `machine-id` based on operating system. %% --define('HOST_ID', 'host.id'). +-define(HOST_ID, 'host.id'). %% VM image ID or host OS image ID. For Cloud, this value is from the provider. %% --define('HOST_IMAGE_ID', 'host.image.id'). +-define(HOST_IMAGE_ID, 'host.image.id'). %% Name of the VM image or OS install the host was instantiated from. %% --define('HOST_IMAGE_NAME', 'host.image.name'). +-define(HOST_IMAGE_NAME, 'host.image.name'). %% The version string of the VM image or host OS as defined in [Version Attributes](/docs/resource/README.md#version-attributes). %% --define('HOST_IMAGE_VERSION', 'host.image.version'). +-define(HOST_IMAGE_VERSION, 'host.image.version'). %% Available IP addresses of the host, excluding loopback interfaces. %% --define('HOST_IP', 'host.ip'). +-define(HOST_IP, 'host.ip'). %% Available MAC addresses of the host, excluding loopback interfaces. %% --define('HOST_MAC', 'host.mac'). +-define(HOST_MAC, 'host.mac'). %% Name of the host. On Unix systems, it may contain what the hostname command returns, or the fully qualified hostname, or another name specified by the user. %% --define('HOST_NAME', 'host.name'). +-define(HOST_NAME, 'host.name'). %% Type of host. For Cloud, this must be the machine type. %% --define('HOST_TYPE', 'host.type'). +-define(HOST_TYPE, 'host.type'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/http_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/http_attributes.hrl index bcbd1d8a..cf098bbb 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/http_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/http_attributes.hrl @@ -17,98 +17,98 @@ %% @deprecated Replaced by `client.address`. %% Deprecated, use `client.address` instead. --define('HTTP_CLIENT_IP', 'http.client_ip'). +-define(HTTP_CLIENT_IP, 'http.client_ip'). %% State of the HTTP connection in the HTTP connection pool. --define('HTTP_CONNECTION_STATE', 'http.connection.state'). +-define(HTTP_CONNECTION_STATE, 'http.connection.state'). --define('HTTP_CONNECTION_STATE_VALUES_ACTIVE', 'active'). +-define(HTTP_CONNECTION_STATE_VALUES_ACTIVE, 'active'). --define('HTTP_CONNECTION_STATE_VALUES_IDLE', 'idle'). +-define(HTTP_CONNECTION_STATE_VALUES_IDLE, 'idle'). %% @deprecated Replaced by `network.protocol.name`. %% Deprecated, use `network.protocol.name` instead. --define('HTTP_FLAVOR', 'http.flavor'). +-define(HTTP_FLAVOR, 'http.flavor'). --define('HTTP_FLAVOR_VALUES_HTTP_1_0', '1.0'). +-define(HTTP_FLAVOR_VALUES_HTTP_1_0, '1.0'). --define('HTTP_FLAVOR_VALUES_HTTP_1_1', '1.1'). +-define(HTTP_FLAVOR_VALUES_HTTP_1_1, '1.1'). --define('HTTP_FLAVOR_VALUES_HTTP_2_0', '2.0'). +-define(HTTP_FLAVOR_VALUES_HTTP_2_0, '2.0'). --define('HTTP_FLAVOR_VALUES_HTTP_3_0', '3.0'). +-define(HTTP_FLAVOR_VALUES_HTTP_3_0, '3.0'). --define('HTTP_FLAVOR_VALUES_SPDY', 'SPDY'). +-define(HTTP_FLAVOR_VALUES_SPDY, 'SPDY'). --define('HTTP_FLAVOR_VALUES_QUIC', 'QUIC'). +-define(HTTP_FLAVOR_VALUES_QUIC, 'QUIC'). %% @deprecated Replaced by one of `server.address`, `client.address` or `http.request.header.host`, depending on the usage. %% Deprecated, use one of `server.address`, `client.address` or `http.request.header.host` instead, depending on the usage. --define('HTTP_HOST', 'http.host'). +-define(HTTP_HOST, 'http.host'). %% @deprecated Replaced by `http.request.method`. %% Deprecated, use `http.request.method` instead. --define('HTTP_METHOD', 'http.method'). +-define(HTTP_METHOD, 'http.method'). %% The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. %% --define('HTTP_REQUEST_BODY_SIZE', 'http.request.body.size'). +-define(HTTP_REQUEST_BODY_SIZE, 'http.request.body.size'). %% The total size of the request in bytes. This should be the total number of bytes sent over the wire, including the request line (HTTP/1.1), framing (HTTP/2 and HTTP/3), headers, and request body if any. %% --define('HTTP_REQUEST_SIZE', 'http.request.size'). +-define(HTTP_REQUEST_SIZE, 'http.request.size'). %% @deprecated Replaced by `http.request.header.content-length`. %% Deprecated, use `http.request.header.content-length` instead. --define('HTTP_REQUEST_CONTENT_LENGTH', 'http.request_content_length'). +-define(HTTP_REQUEST_CONTENT_LENGTH, 'http.request_content_length'). %% @deprecated Replaced by `http.request.body.size`. %% Deprecated, use `http.request.body.size` instead. --define('HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED', 'http.request_content_length_uncompressed'). +-define(HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED, 'http.request_content_length_uncompressed'). %% The size of the response payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. %% --define('HTTP_RESPONSE_BODY_SIZE', 'http.response.body.size'). +-define(HTTP_RESPONSE_BODY_SIZE, 'http.response.body.size'). %% The total size of the response in bytes. This should be the total number of bytes sent over the wire, including the status line (HTTP/1.1), framing (HTTP/2 and HTTP/3), headers, and response body and trailers if any. %% --define('HTTP_RESPONSE_SIZE', 'http.response.size'). +-define(HTTP_RESPONSE_SIZE, 'http.response.size'). %% @deprecated Replaced by `http.response.header.content-length`. %% Deprecated, use `http.response.header.content-length` instead. --define('HTTP_RESPONSE_CONTENT_LENGTH', 'http.response_content_length'). +-define(HTTP_RESPONSE_CONTENT_LENGTH, 'http.response_content_length'). %% @deprecated Replace by `http.response.body.size`. %% Deprecated, use `http.response.body.size` instead. --define('HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED', 'http.response_content_length_uncompressed'). +-define(HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED, 'http.response_content_length_uncompressed'). %% @deprecated Replaced by `url.scheme` instead. %% Deprecated, use `url.scheme` instead. --define('HTTP_SCHEME', 'http.scheme'). +-define(HTTP_SCHEME, 'http.scheme'). %% @deprecated Replaced by `server.address`. %% Deprecated, use `server.address` instead. --define('HTTP_SERVER_NAME', 'http.server_name'). +-define(HTTP_SERVER_NAME, 'http.server_name'). %% @deprecated Replaced by `http.response.status_code`. %% Deprecated, use `http.response.status_code` instead. --define('HTTP_STATUS_CODE', 'http.status_code'). +-define(HTTP_STATUS_CODE, 'http.status_code'). %% @deprecated Split to `url.path` and `url.query. %% Deprecated, use `url.path` and `url.query` instead. --define('HTTP_TARGET', 'http.target'). +-define(HTTP_TARGET, 'http.target'). %% @deprecated Replaced by `url.full`. %% Deprecated, use `url.full` instead. --define('HTTP_URL', 'http.url'). +-define(HTTP_URL, 'http.url'). %% @deprecated Replaced by `user_agent.original`. %% Deprecated, use `user_agent.original` instead. --define('HTTP_USER_AGENT', 'http.user_agent'). +-define(HTTP_USER_AGENT, 'http.user_agent'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/k8s_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/k8s_attributes.hrl index 4360bfff..61ccc98d 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/k8s_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/k8s_attributes.hrl @@ -16,123 +16,123 @@ %% The name of the cluster. %% --define('K8S_CLUSTER_NAME', 'k8s.cluster.name'). +-define(K8S_CLUSTER_NAME, 'k8s.cluster.name'). %% A pseudo-ID for the cluster, set to the UID of the `kube-system` namespace. %% --define('K8S_CLUSTER_UID', 'k8s.cluster.uid'). +-define(K8S_CLUSTER_UID, 'k8s.cluster.uid'). %% The name of the Container from Pod specification, must be unique within a Pod. Container runtime usually uses different globally unique name (`container.name`). %% --define('K8S_CONTAINER_NAME', 'k8s.container.name'). +-define(K8S_CONTAINER_NAME, 'k8s.container.name'). %% Number of times the container was restarted. This attribute can be used to identify a particular container (running or stopped) within a container spec. %% --define('K8S_CONTAINER_RESTART_COUNT', 'k8s.container.restart_count'). +-define(K8S_CONTAINER_RESTART_COUNT, 'k8s.container.restart_count'). %% Last terminated reason of the Container. %% --define('K8S_CONTAINER_STATUS_LAST_TERMINATED_REASON', 'k8s.container.status.last_terminated_reason'). +-define(K8S_CONTAINER_STATUS_LAST_TERMINATED_REASON, 'k8s.container.status.last_terminated_reason'). %% The name of the CronJob. %% --define('K8S_CRONJOB_NAME', 'k8s.cronjob.name'). +-define(K8S_CRONJOB_NAME, 'k8s.cronjob.name'). %% The UID of the CronJob. %% --define('K8S_CRONJOB_UID', 'k8s.cronjob.uid'). +-define(K8S_CRONJOB_UID, 'k8s.cronjob.uid'). %% The name of the DaemonSet. %% --define('K8S_DAEMONSET_NAME', 'k8s.daemonset.name'). +-define(K8S_DAEMONSET_NAME, 'k8s.daemonset.name'). %% The UID of the DaemonSet. %% --define('K8S_DAEMONSET_UID', 'k8s.daemonset.uid'). +-define(K8S_DAEMONSET_UID, 'k8s.daemonset.uid'). %% The name of the Deployment. %% --define('K8S_DEPLOYMENT_NAME', 'k8s.deployment.name'). +-define(K8S_DEPLOYMENT_NAME, 'k8s.deployment.name'). %% The UID of the Deployment. %% --define('K8S_DEPLOYMENT_UID', 'k8s.deployment.uid'). +-define(K8S_DEPLOYMENT_UID, 'k8s.deployment.uid'). %% The name of the Job. %% --define('K8S_JOB_NAME', 'k8s.job.name'). +-define(K8S_JOB_NAME, 'k8s.job.name'). %% The UID of the Job. %% --define('K8S_JOB_UID', 'k8s.job.uid'). +-define(K8S_JOB_UID, 'k8s.job.uid'). %% The name of the namespace that the pod is running in. %% --define('K8S_NAMESPACE_NAME', 'k8s.namespace.name'). +-define(K8S_NAMESPACE_NAME, 'k8s.namespace.name'). %% The name of the Node. %% --define('K8S_NODE_NAME', 'k8s.node.name'). +-define(K8S_NODE_NAME, 'k8s.node.name'). %% The UID of the Node. %% --define('K8S_NODE_UID', 'k8s.node.uid'). +-define(K8S_NODE_UID, 'k8s.node.uid'). %% The annotation key-value pairs placed on the Pod, the `` being the annotation name, the value being the annotation value. %% --define('K8S_POD_ANNOTATION', 'k8s.pod.annotation'). +-define(K8S_POD_ANNOTATION, 'k8s.pod.annotation'). %% The label key-value pairs placed on the Pod, the `` being the label name, the value being the label value. %% --define('K8S_POD_LABEL', 'k8s.pod.label'). +-define(K8S_POD_LABEL, 'k8s.pod.label'). %% @deprecated Replaced by `k8s.pod.label`. %% Deprecated, use `k8s.pod.label` instead. --define('K8S_POD_LABELS', 'k8s.pod.labels'). +-define(K8S_POD_LABELS, 'k8s.pod.labels'). %% The name of the Pod. %% --define('K8S_POD_NAME', 'k8s.pod.name'). +-define(K8S_POD_NAME, 'k8s.pod.name'). %% The UID of the Pod. %% --define('K8S_POD_UID', 'k8s.pod.uid'). +-define(K8S_POD_UID, 'k8s.pod.uid'). %% The name of the ReplicaSet. %% --define('K8S_REPLICASET_NAME', 'k8s.replicaset.name'). +-define(K8S_REPLICASET_NAME, 'k8s.replicaset.name'). %% The UID of the ReplicaSet. %% --define('K8S_REPLICASET_UID', 'k8s.replicaset.uid'). +-define(K8S_REPLICASET_UID, 'k8s.replicaset.uid'). %% The name of the StatefulSet. %% --define('K8S_STATEFULSET_NAME', 'k8s.statefulset.name'). +-define(K8S_STATEFULSET_NAME, 'k8s.statefulset.name'). %% The UID of the StatefulSet. %% --define('K8S_STATEFULSET_UID', 'k8s.statefulset.uid'). +-define(K8S_STATEFULSET_UID, 'k8s.statefulset.uid'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/log_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/log_attributes.hrl index 7adfa0bd..d2963b0e 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/log_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/log_attributes.hrl @@ -16,34 +16,34 @@ %% The basename of the file. %% --define('LOG_FILE_NAME', 'log.file.name'). +-define(LOG_FILE_NAME, 'log.file.name'). %% The basename of the file, with symlinks resolved. %% --define('LOG_FILE_NAME_RESOLVED', 'log.file.name_resolved'). +-define(LOG_FILE_NAME_RESOLVED, 'log.file.name_resolved'). %% The full path to the file. %% --define('LOG_FILE_PATH', 'log.file.path'). +-define(LOG_FILE_PATH, 'log.file.path'). %% The full path to the file, with symlinks resolved. %% --define('LOG_FILE_PATH_RESOLVED', 'log.file.path_resolved'). +-define(LOG_FILE_PATH_RESOLVED, 'log.file.path_resolved'). %% The stream associated with the log. See below for a list of well-known values. %% --define('LOG_IOSTREAM', 'log.iostream'). +-define(LOG_IOSTREAM, 'log.iostream'). --define('LOG_IOSTREAM_VALUES_STDOUT', 'stdout'). +-define(LOG_IOSTREAM_VALUES_STDOUT, 'stdout'). --define('LOG_IOSTREAM_VALUES_STDERR', 'stderr'). +-define(LOG_IOSTREAM_VALUES_STDERR, 'stderr'). %% A unique identifier for the Log Record. %% --define('LOG_RECORD_UID', 'log.record.uid'). +-define(LOG_RECORD_UID, 'log.record.uid'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/messaging_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/messaging_attributes.hrl index 892224fa..70f3a22b 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/messaging_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/messaging_attributes.hrl @@ -17,260 +17,260 @@ %% The number of messages sent, received, or processed in the scope of the batching operation. --define('MESSAGING_BATCH_MESSAGE_COUNT', 'messaging.batch.message_count'). +-define(MESSAGING_BATCH_MESSAGE_COUNT, 'messaging.batch.message_count'). %% A unique identifier for the client that consumes or produces a message. %% --define('MESSAGING_CLIENT_ID', 'messaging.client.id'). +-define(MESSAGING_CLIENT_ID, 'messaging.client.id'). %% A boolean that is true if the message destination is anonymous (could be unnamed or have auto-generated name). --define('MESSAGING_DESTINATION_ANONYMOUS', 'messaging.destination.anonymous'). +-define(MESSAGING_DESTINATION_ANONYMOUS, 'messaging.destination.anonymous'). %% The message destination name --define('MESSAGING_DESTINATION_NAME', 'messaging.destination.name'). +-define(MESSAGING_DESTINATION_NAME, 'messaging.destination.name'). %% The identifier of the partition messages are sent to or received from, unique within the `messaging.destination.name`. %% --define('MESSAGING_DESTINATION_PARTITION_ID', 'messaging.destination.partition.id'). +-define(MESSAGING_DESTINATION_PARTITION_ID, 'messaging.destination.partition.id'). %% Low cardinality representation of the messaging destination name --define('MESSAGING_DESTINATION_TEMPLATE', 'messaging.destination.template'). +-define(MESSAGING_DESTINATION_TEMPLATE, 'messaging.destination.template'). %% A boolean that is true if the message destination is temporary and might not exist anymore after messages are processed. --define('MESSAGING_DESTINATION_TEMPORARY', 'messaging.destination.temporary'). +-define(MESSAGING_DESTINATION_TEMPORARY, 'messaging.destination.temporary'). %% A boolean that is true if the publish message destination is anonymous (could be unnamed or have auto-generated name). --define('MESSAGING_DESTINATION_PUBLISH_ANONYMOUS', 'messaging.destination_publish.anonymous'). +-define(MESSAGING_DESTINATION_PUBLISH_ANONYMOUS, 'messaging.destination_publish.anonymous'). %% The name of the original destination the message was published to --define('MESSAGING_DESTINATION_PUBLISH_NAME', 'messaging.destination_publish.name'). +-define(MESSAGING_DESTINATION_PUBLISH_NAME, 'messaging.destination_publish.name'). %% The name of the consumer group the event consumer is associated with. %% --define('MESSAGING_EVENTHUBS_CONSUMER_GROUP', 'messaging.eventhubs.consumer.group'). +-define(MESSAGING_EVENTHUBS_CONSUMER_GROUP, 'messaging.eventhubs.consumer.group'). %% The UTC epoch seconds at which the message has been accepted and stored in the entity. %% --define('MESSAGING_EVENTHUBS_MESSAGE_ENQUEUED_TIME', 'messaging.eventhubs.message.enqueued_time'). +-define(MESSAGING_EVENTHUBS_MESSAGE_ENQUEUED_TIME, 'messaging.eventhubs.message.enqueued_time'). %% The ack deadline in seconds set for the modify ack deadline request. %% --define('MESSAGING_GCP_PUBSUB_MESSAGE_ACK_DEADLINE', 'messaging.gcp_pubsub.message.ack_deadline'). +-define(MESSAGING_GCP_PUBSUB_MESSAGE_ACK_DEADLINE, 'messaging.gcp_pubsub.message.ack_deadline'). %% The ack id for a given message. %% --define('MESSAGING_GCP_PUBSUB_MESSAGE_ACK_ID', 'messaging.gcp_pubsub.message.ack_id'). +-define(MESSAGING_GCP_PUBSUB_MESSAGE_ACK_ID, 'messaging.gcp_pubsub.message.ack_id'). %% The delivery attempt for a given message. %% --define('MESSAGING_GCP_PUBSUB_MESSAGE_DELIVERY_ATTEMPT', 'messaging.gcp_pubsub.message.delivery_attempt'). +-define(MESSAGING_GCP_PUBSUB_MESSAGE_DELIVERY_ATTEMPT, 'messaging.gcp_pubsub.message.delivery_attempt'). %% The ordering key for a given message. If the attribute is not present, the message does not have an ordering key. %% --define('MESSAGING_GCP_PUBSUB_MESSAGE_ORDERING_KEY', 'messaging.gcp_pubsub.message.ordering_key'). +-define(MESSAGING_GCP_PUBSUB_MESSAGE_ORDERING_KEY, 'messaging.gcp_pubsub.message.ordering_key'). %% Name of the Kafka Consumer Group that is handling the message. Only applies to consumers, not producers. %% --define('MESSAGING_KAFKA_CONSUMER_GROUP', 'messaging.kafka.consumer.group'). +-define(MESSAGING_KAFKA_CONSUMER_GROUP, 'messaging.kafka.consumer.group'). %% @deprecated Replaced by `messaging.destination.partition.id`. %% Deprecated, use `messaging.destination.partition.id` instead. %% --define('MESSAGING_KAFKA_DESTINATION_PARTITION', 'messaging.kafka.destination.partition'). +-define(MESSAGING_KAFKA_DESTINATION_PARTITION, 'messaging.kafka.destination.partition'). %% Message keys in Kafka are used for grouping alike messages to ensure they're processed on the same partition. They differ from `messaging.message.id` in that they're not unique. If the key is `null`, the attribute MUST NOT be set. %% --define('MESSAGING_KAFKA_MESSAGE_KEY', 'messaging.kafka.message.key'). +-define(MESSAGING_KAFKA_MESSAGE_KEY, 'messaging.kafka.message.key'). %% The offset of a record in the corresponding Kafka partition. %% --define('MESSAGING_KAFKA_MESSAGE_OFFSET', 'messaging.kafka.message.offset'). +-define(MESSAGING_KAFKA_MESSAGE_OFFSET, 'messaging.kafka.message.offset'). %% A boolean that is true if the message is a tombstone. --define('MESSAGING_KAFKA_MESSAGE_TOMBSTONE', 'messaging.kafka.message.tombstone'). +-define(MESSAGING_KAFKA_MESSAGE_TOMBSTONE, 'messaging.kafka.message.tombstone'). %% The size of the message body in bytes. %% --define('MESSAGING_MESSAGE_BODY_SIZE', 'messaging.message.body.size'). +-define(MESSAGING_MESSAGE_BODY_SIZE, 'messaging.message.body.size'). %% The conversation ID identifying the conversation to which the message belongs, represented as a string. Sometimes called "Correlation ID". %% --define('MESSAGING_MESSAGE_CONVERSATION_ID', 'messaging.message.conversation_id'). +-define(MESSAGING_MESSAGE_CONVERSATION_ID, 'messaging.message.conversation_id'). %% The size of the message body and metadata in bytes. %% --define('MESSAGING_MESSAGE_ENVELOPE_SIZE', 'messaging.message.envelope.size'). +-define(MESSAGING_MESSAGE_ENVELOPE_SIZE, 'messaging.message.envelope.size'). %% A value used by the messaging system as an identifier for the message, represented as a string. --define('MESSAGING_MESSAGE_ID', 'messaging.message.id'). +-define(MESSAGING_MESSAGE_ID, 'messaging.message.id'). %% @deprecated Replaced by `messaging.operation.type`. %% Deprecated, use `messaging.operation.type` instead. %% --define('MESSAGING_OPERATION', 'messaging.operation'). +-define(MESSAGING_OPERATION, 'messaging.operation'). %% The system-specific name of the messaging operation. %% --define('MESSAGING_OPERATION_NAME', 'messaging.operation.name'). +-define(MESSAGING_OPERATION_NAME, 'messaging.operation.name'). %% A string identifying the type of the messaging operation. %% --define('MESSAGING_OPERATION_TYPE', 'messaging.operation.type'). +-define(MESSAGING_OPERATION_TYPE, 'messaging.operation.type'). --define('MESSAGING_OPERATION_TYPE_VALUES_PUBLISH', 'publish'). +-define(MESSAGING_OPERATION_TYPE_VALUES_PUBLISH, 'publish'). --define('MESSAGING_OPERATION_TYPE_VALUES_CREATE', 'create'). +-define(MESSAGING_OPERATION_TYPE_VALUES_CREATE, 'create'). --define('MESSAGING_OPERATION_TYPE_VALUES_RECEIVE', 'receive'). +-define(MESSAGING_OPERATION_TYPE_VALUES_RECEIVE, 'receive'). --define('MESSAGING_OPERATION_TYPE_VALUES_DELIVER', 'process'). +-define(MESSAGING_OPERATION_TYPE_VALUES_DELIVER, 'process'). --define('MESSAGING_OPERATION_TYPE_VALUES_SETTLE', 'settle'). +-define(MESSAGING_OPERATION_TYPE_VALUES_SETTLE, 'settle'). %% RabbitMQ message routing key. %% --define('MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEY', 'messaging.rabbitmq.destination.routing_key'). +-define(MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEY, 'messaging.rabbitmq.destination.routing_key'). %% RabbitMQ message delivery tag %% --define('MESSAGING_RABBITMQ_MESSAGE_DELIVERY_TAG', 'messaging.rabbitmq.message.delivery_tag'). +-define(MESSAGING_RABBITMQ_MESSAGE_DELIVERY_TAG, '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. %% --define('MESSAGING_ROCKETMQ_CLIENT_GROUP', 'messaging.rocketmq.client_group'). +-define(MESSAGING_ROCKETMQ_CLIENT_GROUP, 'messaging.rocketmq.client_group'). %% Model of message consumption. This only applies to consumer spans. %% --define('MESSAGING_ROCKETMQ_CONSUMPTION_MODEL', 'messaging.rocketmq.consumption_model'). +-define(MESSAGING_ROCKETMQ_CONSUMPTION_MODEL, 'messaging.rocketmq.consumption_model'). --define('MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUES_CLUSTERING', 'clustering'). +-define(MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUES_CLUSTERING, 'clustering'). --define('MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUES_BROADCASTING', 'broadcasting'). +-define(MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUES_BROADCASTING, 'broadcasting'). %% The delay time level for delay message, which determines the message delay time. %% --define('MESSAGING_ROCKETMQ_MESSAGE_DELAY_TIME_LEVEL', 'messaging.rocketmq.message.delay_time_level'). +-define(MESSAGING_ROCKETMQ_MESSAGE_DELAY_TIME_LEVEL, 'messaging.rocketmq.message.delay_time_level'). %% The timestamp in milliseconds that the delay message is expected to be delivered to consumer. %% --define('MESSAGING_ROCKETMQ_MESSAGE_DELIVERY_TIMESTAMP', 'messaging.rocketmq.message.delivery_timestamp'). +-define(MESSAGING_ROCKETMQ_MESSAGE_DELIVERY_TIMESTAMP, 'messaging.rocketmq.message.delivery_timestamp'). %% It is essential for FIFO message. Messages that belong to the same message group are always processed one by one within the same consumer group. %% --define('MESSAGING_ROCKETMQ_MESSAGE_GROUP', 'messaging.rocketmq.message.group'). +-define(MESSAGING_ROCKETMQ_MESSAGE_GROUP, 'messaging.rocketmq.message.group'). %% Key(s) of message, another way to mark message besides message id. %% --define('MESSAGING_ROCKETMQ_MESSAGE_KEYS', 'messaging.rocketmq.message.keys'). +-define(MESSAGING_ROCKETMQ_MESSAGE_KEYS, 'messaging.rocketmq.message.keys'). %% The secondary classifier of message besides topic. %% --define('MESSAGING_ROCKETMQ_MESSAGE_TAG', 'messaging.rocketmq.message.tag'). +-define(MESSAGING_ROCKETMQ_MESSAGE_TAG, 'messaging.rocketmq.message.tag'). %% Type of message. %% --define('MESSAGING_ROCKETMQ_MESSAGE_TYPE', 'messaging.rocketmq.message.type'). +-define(MESSAGING_ROCKETMQ_MESSAGE_TYPE, 'messaging.rocketmq.message.type'). --define('MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUES_NORMAL', 'normal'). +-define(MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUES_NORMAL, 'normal'). --define('MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUES_FIFO', 'fifo'). +-define(MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUES_FIFO, 'fifo'). --define('MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUES_DELAY', 'delay'). +-define(MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUES_DELAY, 'delay'). --define('MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUES_TRANSACTION', 'transaction'). +-define(MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUES_TRANSACTION, 'transaction'). %% Namespace of RocketMQ resources, resources in different namespaces are individual. %% --define('MESSAGING_ROCKETMQ_NAMESPACE', 'messaging.rocketmq.namespace'). +-define(MESSAGING_ROCKETMQ_NAMESPACE, 'messaging.rocketmq.namespace'). %% The name of the subscription in the topic messages are received from. %% --define('MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTION_NAME', 'messaging.servicebus.destination.subscription_name'). +-define(MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTION_NAME, 'messaging.servicebus.destination.subscription_name'). %% Describes the [settlement type](https://learn.microsoft.com/azure/service-bus-messaging/message-transfers-locks-settlement#peeklock). %% --define('MESSAGING_SERVICEBUS_DISPOSITION_STATUS', 'messaging.servicebus.disposition_status'). +-define(MESSAGING_SERVICEBUS_DISPOSITION_STATUS, 'messaging.servicebus.disposition_status'). --define('MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUES_COMPLETE', 'complete'). +-define(MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUES_COMPLETE, 'complete'). --define('MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUES_ABANDON', 'abandon'). +-define(MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUES_ABANDON, 'abandon'). --define('MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUES_DEAD_LETTER', 'dead_letter'). +-define(MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUES_DEAD_LETTER, 'dead_letter'). --define('MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUES_DEFER', 'defer'). +-define(MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUES_DEFER, 'defer'). %% Number of deliveries that have been attempted for this message. %% --define('MESSAGING_SERVICEBUS_MESSAGE_DELIVERY_COUNT', 'messaging.servicebus.message.delivery_count'). +-define(MESSAGING_SERVICEBUS_MESSAGE_DELIVERY_COUNT, 'messaging.servicebus.message.delivery_count'). %% The UTC epoch seconds at which the message has been accepted and stored in the entity. %% --define('MESSAGING_SERVICEBUS_MESSAGE_ENQUEUED_TIME', 'messaging.servicebus.message.enqueued_time'). +-define(MESSAGING_SERVICEBUS_MESSAGE_ENQUEUED_TIME, 'messaging.servicebus.message.enqueued_time'). %% The messaging system as identified by the client instrumentation. --define('MESSAGING_SYSTEM', 'messaging.system'). +-define(MESSAGING_SYSTEM, 'messaging.system'). --define('MESSAGING_SYSTEM_VALUES_ACTIVEMQ', 'activemq'). +-define(MESSAGING_SYSTEM_VALUES_ACTIVEMQ, 'activemq'). --define('MESSAGING_SYSTEM_VALUES_AWS_SQS', 'aws_sqs'). +-define(MESSAGING_SYSTEM_VALUES_AWS_SQS, 'aws_sqs'). --define('MESSAGING_SYSTEM_VALUES_EVENTGRID', 'eventgrid'). +-define(MESSAGING_SYSTEM_VALUES_EVENTGRID, 'eventgrid'). --define('MESSAGING_SYSTEM_VALUES_EVENTHUBS', 'eventhubs'). +-define(MESSAGING_SYSTEM_VALUES_EVENTHUBS, 'eventhubs'). --define('MESSAGING_SYSTEM_VALUES_SERVICEBUS', 'servicebus'). +-define(MESSAGING_SYSTEM_VALUES_SERVICEBUS, 'servicebus'). --define('MESSAGING_SYSTEM_VALUES_GCP_PUBSUB', 'gcp_pubsub'). +-define(MESSAGING_SYSTEM_VALUES_GCP_PUBSUB, 'gcp_pubsub'). --define('MESSAGING_SYSTEM_VALUES_JMS', 'jms'). +-define(MESSAGING_SYSTEM_VALUES_JMS, 'jms'). --define('MESSAGING_SYSTEM_VALUES_KAFKA', 'kafka'). +-define(MESSAGING_SYSTEM_VALUES_KAFKA, 'kafka'). --define('MESSAGING_SYSTEM_VALUES_RABBITMQ', 'rabbitmq'). +-define(MESSAGING_SYSTEM_VALUES_RABBITMQ, 'rabbitmq'). --define('MESSAGING_SYSTEM_VALUES_ROCKETMQ', 'rocketmq'). +-define(MESSAGING_SYSTEM_VALUES_ROCKETMQ, 'rocketmq'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/network_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/network_attributes.hrl index c5e1a7a4..4e46f1c1 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/network_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/network_attributes.hrl @@ -17,165 +17,165 @@ %% @deprecated Replaced by `network.local.address`. %% Deprecated, use `network.local.address`. --define('NET_HOST_IP', 'net.host.ip'). +-define(NET_HOST_IP, 'net.host.ip'). %% @deprecated Replaced by `server.address`. %% Deprecated, use `server.address`. --define('NET_HOST_NAME', 'net.host.name'). +-define(NET_HOST_NAME, 'net.host.name'). %% @deprecated Replaced by `server.port`. %% Deprecated, use `server.port`. --define('NET_HOST_PORT', 'net.host.port'). +-define(NET_HOST_PORT, 'net.host.port'). %% @deprecated Replaced by `network.peer.address`. %% Deprecated, use `network.peer.address`. --define('NET_PEER_IP', 'net.peer.ip'). +-define(NET_PEER_IP, 'net.peer.ip'). %% @deprecated Replaced by `server.address` on client spans and `client.address` on server spans. %% Deprecated, use `server.address` on client spans and `client.address` on server spans. --define('NET_PEER_NAME', 'net.peer.name'). +-define(NET_PEER_NAME, 'net.peer.name'). %% @deprecated Replaced by `server.port` on client spans and `client.port` on server spans. %% Deprecated, use `server.port` on client spans and `client.port` on server spans. --define('NET_PEER_PORT', 'net.peer.port'). +-define(NET_PEER_PORT, 'net.peer.port'). %% @deprecated Replaced by `network.protocol.name`. %% Deprecated, use `network.protocol.name`. --define('NET_PROTOCOL_NAME', 'net.protocol.name'). +-define(NET_PROTOCOL_NAME, 'net.protocol.name'). %% @deprecated Replaced by `network.protocol.version`. %% Deprecated, use `network.protocol.version`. --define('NET_PROTOCOL_VERSION', 'net.protocol.version'). +-define(NET_PROTOCOL_VERSION, 'net.protocol.version'). %% @deprecated Split to `network.transport` and `network.type`. %% Deprecated, use `network.transport` and `network.type`. --define('NET_SOCK_FAMILY', 'net.sock.family'). +-define(NET_SOCK_FAMILY, 'net.sock.family'). --define('NET_SOCK_FAMILY_VALUES_INET', 'inet'). +-define(NET_SOCK_FAMILY_VALUES_INET, 'inet'). --define('NET_SOCK_FAMILY_VALUES_INET_6', 'inet6'). +-define(NET_SOCK_FAMILY_VALUES_INET_6, 'inet6'). --define('NET_SOCK_FAMILY_VALUES_UNIX', 'unix'). +-define(NET_SOCK_FAMILY_VALUES_UNIX, 'unix'). %% @deprecated Replaced by `network.local.address`. %% Deprecated, use `network.local.address`. --define('NET_SOCK_HOST_ADDR', 'net.sock.host.addr'). +-define(NET_SOCK_HOST_ADDR, 'net.sock.host.addr'). %% @deprecated Replaced by `network.local.port`. %% Deprecated, use `network.local.port`. --define('NET_SOCK_HOST_PORT', 'net.sock.host.port'). +-define(NET_SOCK_HOST_PORT, 'net.sock.host.port'). %% @deprecated Replaced by `network.peer.address`. %% Deprecated, use `network.peer.address`. --define('NET_SOCK_PEER_ADDR', 'net.sock.peer.addr'). +-define(NET_SOCK_PEER_ADDR, 'net.sock.peer.addr'). %% @deprecated Removed. %% Deprecated, no replacement at this time. --define('NET_SOCK_PEER_NAME', 'net.sock.peer.name'). +-define(NET_SOCK_PEER_NAME, 'net.sock.peer.name'). %% @deprecated Replaced by `network.peer.port`. %% Deprecated, use `network.peer.port`. --define('NET_SOCK_PEER_PORT', 'net.sock.peer.port'). +-define(NET_SOCK_PEER_PORT, 'net.sock.peer.port'). %% @deprecated Replaced by `network.transport`. %% Deprecated, use `network.transport`. --define('NET_TRANSPORT', 'net.transport'). +-define(NET_TRANSPORT, 'net.transport'). --define('NET_TRANSPORT_VALUES_IP_TCP', 'ip_tcp'). +-define(NET_TRANSPORT_VALUES_IP_TCP, 'ip_tcp'). --define('NET_TRANSPORT_VALUES_IP_UDP', 'ip_udp'). +-define(NET_TRANSPORT_VALUES_IP_UDP, 'ip_udp'). --define('NET_TRANSPORT_VALUES_PIPE', 'pipe'). +-define(NET_TRANSPORT_VALUES_PIPE, 'pipe'). --define('NET_TRANSPORT_VALUES_INPROC', 'inproc'). +-define(NET_TRANSPORT_VALUES_INPROC, 'inproc'). --define('NET_TRANSPORT_VALUES_OTHER', 'other'). +-define(NET_TRANSPORT_VALUES_OTHER, 'other'). %% The ISO 3166-1 alpha-2 2-character country code associated with the mobile carrier network. --define('NETWORK_CARRIER_ICC', 'network.carrier.icc'). +-define(NETWORK_CARRIER_ICC, 'network.carrier.icc'). %% The mobile carrier country code. --define('NETWORK_CARRIER_MCC', 'network.carrier.mcc'). +-define(NETWORK_CARRIER_MCC, 'network.carrier.mcc'). %% The mobile carrier network code. --define('NETWORK_CARRIER_MNC', 'network.carrier.mnc'). +-define(NETWORK_CARRIER_MNC, 'network.carrier.mnc'). %% The name of the mobile carrier. --define('NETWORK_CARRIER_NAME', 'network.carrier.name'). +-define(NETWORK_CARRIER_NAME, 'network.carrier.name'). %% This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. --define('NETWORK_CONNECTION_SUBTYPE', 'network.connection.subtype'). +-define(NETWORK_CONNECTION_SUBTYPE, 'network.connection.subtype'). --define('NETWORK_CONNECTION_SUBTYPE_VALUES_GPRS', 'gprs'). +-define(NETWORK_CONNECTION_SUBTYPE_VALUES_GPRS, 'gprs'). --define('NETWORK_CONNECTION_SUBTYPE_VALUES_EDGE', 'edge'). +-define(NETWORK_CONNECTION_SUBTYPE_VALUES_EDGE, 'edge'). --define('NETWORK_CONNECTION_SUBTYPE_VALUES_UMTS', 'umts'). +-define(NETWORK_CONNECTION_SUBTYPE_VALUES_UMTS, 'umts'). --define('NETWORK_CONNECTION_SUBTYPE_VALUES_CDMA', 'cdma'). +-define(NETWORK_CONNECTION_SUBTYPE_VALUES_CDMA, 'cdma'). --define('NETWORK_CONNECTION_SUBTYPE_VALUES_EVDO_0', 'evdo_0'). +-define(NETWORK_CONNECTION_SUBTYPE_VALUES_EVDO_0, 'evdo_0'). --define('NETWORK_CONNECTION_SUBTYPE_VALUES_EVDO_A', 'evdo_a'). +-define(NETWORK_CONNECTION_SUBTYPE_VALUES_EVDO_A, 'evdo_a'). --define('NETWORK_CONNECTION_SUBTYPE_VALUES_CDMA_2000_1_XRTT', 'cdma2000_1xrtt'). +-define(NETWORK_CONNECTION_SUBTYPE_VALUES_CDMA_2000_1_XRTT, 'cdma2000_1xrtt'). --define('NETWORK_CONNECTION_SUBTYPE_VALUES_HSDPA', 'hsdpa'). +-define(NETWORK_CONNECTION_SUBTYPE_VALUES_HSDPA, 'hsdpa'). --define('NETWORK_CONNECTION_SUBTYPE_VALUES_HSUPA', 'hsupa'). +-define(NETWORK_CONNECTION_SUBTYPE_VALUES_HSUPA, 'hsupa'). --define('NETWORK_CONNECTION_SUBTYPE_VALUES_HSPA', 'hspa'). +-define(NETWORK_CONNECTION_SUBTYPE_VALUES_HSPA, 'hspa'). --define('NETWORK_CONNECTION_SUBTYPE_VALUES_IDEN', 'iden'). +-define(NETWORK_CONNECTION_SUBTYPE_VALUES_IDEN, 'iden'). --define('NETWORK_CONNECTION_SUBTYPE_VALUES_EVDO_B', 'evdo_b'). +-define(NETWORK_CONNECTION_SUBTYPE_VALUES_EVDO_B, 'evdo_b'). --define('NETWORK_CONNECTION_SUBTYPE_VALUES_LTE', 'lte'). +-define(NETWORK_CONNECTION_SUBTYPE_VALUES_LTE, 'lte'). --define('NETWORK_CONNECTION_SUBTYPE_VALUES_EHRPD', 'ehrpd'). +-define(NETWORK_CONNECTION_SUBTYPE_VALUES_EHRPD, 'ehrpd'). --define('NETWORK_CONNECTION_SUBTYPE_VALUES_HSPAP', 'hspap'). +-define(NETWORK_CONNECTION_SUBTYPE_VALUES_HSPAP, 'hspap'). --define('NETWORK_CONNECTION_SUBTYPE_VALUES_GSM', 'gsm'). +-define(NETWORK_CONNECTION_SUBTYPE_VALUES_GSM, 'gsm'). --define('NETWORK_CONNECTION_SUBTYPE_VALUES_TD_SCDMA', 'td_scdma'). +-define(NETWORK_CONNECTION_SUBTYPE_VALUES_TD_SCDMA, 'td_scdma'). --define('NETWORK_CONNECTION_SUBTYPE_VALUES_IWLAN', 'iwlan'). +-define(NETWORK_CONNECTION_SUBTYPE_VALUES_IWLAN, 'iwlan'). --define('NETWORK_CONNECTION_SUBTYPE_VALUES_NR', 'nr'). +-define(NETWORK_CONNECTION_SUBTYPE_VALUES_NR, 'nr'). --define('NETWORK_CONNECTION_SUBTYPE_VALUES_NRNSA', 'nrnsa'). +-define(NETWORK_CONNECTION_SUBTYPE_VALUES_NRNSA, 'nrnsa'). --define('NETWORK_CONNECTION_SUBTYPE_VALUES_LTE_CA', 'lte_ca'). +-define(NETWORK_CONNECTION_SUBTYPE_VALUES_LTE_CA, 'lte_ca'). %% The internet connection type. --define('NETWORK_CONNECTION_TYPE', 'network.connection.type'). +-define(NETWORK_CONNECTION_TYPE, 'network.connection.type'). --define('NETWORK_CONNECTION_TYPE_VALUES_WIFI', 'wifi'). +-define(NETWORK_CONNECTION_TYPE_VALUES_WIFI, 'wifi'). --define('NETWORK_CONNECTION_TYPE_VALUES_WIRED', 'wired'). +-define(NETWORK_CONNECTION_TYPE_VALUES_WIRED, 'wired'). --define('NETWORK_CONNECTION_TYPE_VALUES_CELL', 'cell'). +-define(NETWORK_CONNECTION_TYPE_VALUES_CELL, 'cell'). --define('NETWORK_CONNECTION_TYPE_VALUES_UNAVAILABLE', 'unavailable'). +-define(NETWORK_CONNECTION_TYPE_VALUES_UNAVAILABLE, 'unavailable'). --define('NETWORK_CONNECTION_TYPE_VALUES_UNKNOWN', 'unknown'). +-define(NETWORK_CONNECTION_TYPE_VALUES_UNKNOWN, 'unknown'). %% The network IO operation direction. --define('NETWORK_IO_DIRECTION', 'network.io.direction'). +-define(NETWORK_IO_DIRECTION, 'network.io.direction'). --define('NETWORK_IO_DIRECTION_VALUES_TRANSMIT', 'transmit'). +-define(NETWORK_IO_DIRECTION_VALUES_TRANSMIT, 'transmit'). --define('NETWORK_IO_DIRECTION_VALUES_RECEIVE', 'receive'). +-define(NETWORK_IO_DIRECTION_VALUES_RECEIVE, 'receive'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/oci_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/oci_attributes.hrl index e040906e..18bab4a8 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/oci_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/oci_attributes.hrl @@ -16,4 +16,4 @@ %% The digest of the OCI image manifest. For container images specifically is the digest by which the container image is known. %% --define('OCI_MANIFEST_DIGEST', 'oci.manifest.digest'). +-define(OCI_MANIFEST_DIGEST, 'oci.manifest.digest'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/opentracing_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/opentracing_attributes.hrl index a0cbf36e..6ac28d2d 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/opentracing_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/opentracing_attributes.hrl @@ -15,9 +15,9 @@ %%%------------------------------------------------------------------------- %% Parent-child Reference type --define('OPENTRACING_REF_TYPE', 'opentracing.ref_type'). +-define(OPENTRACING_REF_TYPE, 'opentracing.ref_type'). --define('OPENTRACING_REF_TYPE_VALUES_CHILD_OF', 'child_of'). +-define(OPENTRACING_REF_TYPE_VALUES_CHILD_OF, 'child_of'). --define('OPENTRACING_REF_TYPE_VALUES_FOLLOWS_FROM', 'follows_from'). +-define(OPENTRACING_REF_TYPE_VALUES_FOLLOWS_FROM, 'follows_from'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/os_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/os_attributes.hrl index 1f6875d6..93a0b251 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/os_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/os_attributes.hrl @@ -15,46 +15,46 @@ %%%------------------------------------------------------------------------- %% Unique identifier for a particular build or compilation of the operating system. --define('OS_BUILD_ID', 'os.build_id'). +-define(OS_BUILD_ID, 'os.build_id'). %% Human readable (not intended to be parsed) OS version information, like e.g. reported by `ver` or `lsb_release -a` commands. %% --define('OS_DESCRIPTION', 'os.description'). +-define(OS_DESCRIPTION, 'os.description'). %% Human readable operating system name. --define('OS_NAME', 'os.name'). +-define(OS_NAME, 'os.name'). %% The operating system type. %% --define('OS_TYPE', 'os.type'). +-define(OS_TYPE, 'os.type'). --define('OS_TYPE_VALUES_WINDOWS', 'windows'). +-define(OS_TYPE_VALUES_WINDOWS, 'windows'). --define('OS_TYPE_VALUES_LINUX', 'linux'). +-define(OS_TYPE_VALUES_LINUX, 'linux'). --define('OS_TYPE_VALUES_DARWIN', 'darwin'). +-define(OS_TYPE_VALUES_DARWIN, 'darwin'). --define('OS_TYPE_VALUES_FREEBSD', 'freebsd'). +-define(OS_TYPE_VALUES_FREEBSD, 'freebsd'). --define('OS_TYPE_VALUES_NETBSD', 'netbsd'). +-define(OS_TYPE_VALUES_NETBSD, 'netbsd'). --define('OS_TYPE_VALUES_OPENBSD', 'openbsd'). +-define(OS_TYPE_VALUES_OPENBSD, 'openbsd'). --define('OS_TYPE_VALUES_DRAGONFLYBSD', 'dragonflybsd'). +-define(OS_TYPE_VALUES_DRAGONFLYBSD, 'dragonflybsd'). --define('OS_TYPE_VALUES_HPUX', 'hpux'). +-define(OS_TYPE_VALUES_HPUX, 'hpux'). --define('OS_TYPE_VALUES_AIX', 'aix'). +-define(OS_TYPE_VALUES_AIX, 'aix'). --define('OS_TYPE_VALUES_SOLARIS', 'solaris'). +-define(OS_TYPE_VALUES_SOLARIS, 'solaris'). --define('OS_TYPE_VALUES_Z_OS', 'z_os'). +-define(OS_TYPE_VALUES_Z_OS, 'z_os'). %% The version string of the operating system as defined in [Version Attributes](/docs/resource/README.md#version-attributes). %% --define('OS_VERSION', 'os.version'). +-define(OS_VERSION, 'os.version'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/otel_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/otel_attributes.hrl index 09e88fd0..13575604 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/otel_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/otel_attributes.hrl @@ -15,8 +15,8 @@ %%%------------------------------------------------------------------------- %% @deprecated use the `otel.scope.name` attribute. %% --define('OTEL_LIBRARY_NAME', 'otel.library.name'). +-define(OTEL_LIBRARY_NAME, 'otel.library.name'). %% @deprecated use the `otel.scope.version` attribute. %% --define('OTEL_LIBRARY_VERSION', 'otel.library.version'). +-define(OTEL_LIBRARY_VERSION, 'otel.library.version'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/peer_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/peer_attributes.hrl index c122ff80..3dfee4e6 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/peer_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/peer_attributes.hrl @@ -16,4 +16,4 @@ %% The [`service.name`](/docs/resource/README.md#service) of the remote service. SHOULD be equal to the actual `service.name` resource attribute of the remote service if any. %% --define('PEER_SERVICE', 'peer.service'). +-define(PEER_SERVICE, 'peer.service'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/process_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/process_attributes.hrl index 21362f71..79f9aef5 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/process_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/process_attributes.hrl @@ -16,150 +16,150 @@ %% The command used to launch the process (i.e. the command name). On Linux based systems, can be set to the zeroth string in `proc/[pid]/cmdline`. On Windows, can be set to the first parameter extracted from `GetCommandLineW`. %% --define('PROCESS_COMMAND', 'process.command'). +-define(PROCESS_COMMAND, 'process.command'). %% All the command arguments (including the command/executable itself) as received by the process. On Linux-based systems (and some other Unixoid systems supporting procfs), can be set according to the list of null-delimited strings extracted from `proc/[pid]/cmdline`. For libc-based executables, this would be the full argv vector passed to `main`. %% --define('PROCESS_COMMAND_ARGS', 'process.command_args'). +-define(PROCESS_COMMAND_ARGS, 'process.command_args'). %% The full command used to launch the process as a single string representing the full command. On Windows, can be set to the result of `GetCommandLineW`. Do not set this if you have to assemble it just for monitoring; use `process.command_args` instead. %% --define('PROCESS_COMMAND_LINE', 'process.command_line'). +-define(PROCESS_COMMAND_LINE, 'process.command_line'). %% Specifies whether the context switches for this data point were voluntary or involuntary. --define('PROCESS_CONTEXT_SWITCH_TYPE', 'process.context_switch_type'). +-define(PROCESS_CONTEXT_SWITCH_TYPE, 'process.context_switch_type'). --define('PROCESS_CONTEXT_SWITCH_TYPE_VALUES_VOLUNTARY', 'voluntary'). +-define(PROCESS_CONTEXT_SWITCH_TYPE_VALUES_VOLUNTARY, 'voluntary'). --define('PROCESS_CONTEXT_SWITCH_TYPE_VALUES_INVOLUNTARY', 'involuntary'). +-define(PROCESS_CONTEXT_SWITCH_TYPE_VALUES_INVOLUNTARY, 'involuntary'). %% The CPU state of the process. %% --define('PROCESS_CPU_STATE', 'process.cpu.state'). +-define(PROCESS_CPU_STATE, 'process.cpu.state'). --define('PROCESS_CPU_STATE_VALUES_SYSTEM', 'system'). +-define(PROCESS_CPU_STATE_VALUES_SYSTEM, 'system'). --define('PROCESS_CPU_STATE_VALUES_USER', 'user'). +-define(PROCESS_CPU_STATE_VALUES_USER, 'user'). --define('PROCESS_CPU_STATE_VALUES_WAIT', 'wait'). +-define(PROCESS_CPU_STATE_VALUES_WAIT, 'wait'). %% The date and time the process was created, in ISO 8601 format. %% --define('PROCESS_CREATION_TIME', 'process.creation.time'). +-define(PROCESS_CREATION_TIME, 'process.creation.time'). %% The name of the process executable. On Linux based systems, can be set to the `Name` in `proc/[pid]/status`. On Windows, can be set to the base name of `GetProcessImageFileNameW`. %% --define('PROCESS_EXECUTABLE_NAME', 'process.executable.name'). +-define(PROCESS_EXECUTABLE_NAME, 'process.executable.name'). %% The full path to the process executable. On Linux based systems, can be set to the target of `proc/[pid]/exe`. On Windows, can be set to the result of `GetProcessImageFileNameW`. %% --define('PROCESS_EXECUTABLE_PATH', 'process.executable.path'). +-define(PROCESS_EXECUTABLE_PATH, 'process.executable.path'). %% The exit code of the process. %% --define('PROCESS_EXIT_CODE', 'process.exit.code'). +-define(PROCESS_EXIT_CODE, 'process.exit.code'). %% The date and time the process exited, in ISO 8601 format. %% --define('PROCESS_EXIT_TIME', 'process.exit.time'). +-define(PROCESS_EXIT_TIME, 'process.exit.time'). %% The PID of the process's group leader. This is also the process group ID (PGID) of the process. %% --define('PROCESS_GROUP_LEADER_PID', 'process.group_leader.pid'). +-define(PROCESS_GROUP_LEADER_PID, 'process.group_leader.pid'). %% Whether the process is connected to an interactive shell. %% --define('PROCESS_INTERACTIVE', 'process.interactive'). +-define(PROCESS_INTERACTIVE, 'process.interactive'). %% The username of the user that owns the process. %% --define('PROCESS_OWNER', 'process.owner'). +-define(PROCESS_OWNER, 'process.owner'). %% The type of page fault for this data point. Type `major` is for major/hard page faults, and `minor` is for minor/soft page faults. %% --define('PROCESS_PAGING_FAULT_TYPE', 'process.paging.fault_type'). +-define(PROCESS_PAGING_FAULT_TYPE, 'process.paging.fault_type'). --define('PROCESS_PAGING_FAULT_TYPE_VALUES_MAJOR', 'major'). +-define(PROCESS_PAGING_FAULT_TYPE_VALUES_MAJOR, 'major'). --define('PROCESS_PAGING_FAULT_TYPE_VALUES_MINOR', 'minor'). +-define(PROCESS_PAGING_FAULT_TYPE_VALUES_MINOR, 'minor'). %% Parent Process identifier (PPID). %% --define('PROCESS_PARENT_PID', 'process.parent_pid'). +-define(PROCESS_PARENT_PID, 'process.parent_pid'). %% Process identifier (PID). %% --define('PROCESS_PID', 'process.pid'). +-define(PROCESS_PID, 'process.pid'). %% The real user ID (RUID) of the process. %% --define('PROCESS_REAL_USER_ID', 'process.real_user.id'). +-define(PROCESS_REAL_USER_ID, 'process.real_user.id'). %% The username of the real user of the process. %% --define('PROCESS_REAL_USER_NAME', 'process.real_user.name'). +-define(PROCESS_REAL_USER_NAME, 'process.real_user.name'). %% An additional description about the runtime of the process, for example a specific vendor customization of the runtime environment. %% --define('PROCESS_RUNTIME_DESCRIPTION', 'process.runtime.description'). +-define(PROCESS_RUNTIME_DESCRIPTION, 'process.runtime.description'). %% The name of the runtime of this process. For compiled native binaries, this SHOULD be the name of the compiler. %% --define('PROCESS_RUNTIME_NAME', 'process.runtime.name'). +-define(PROCESS_RUNTIME_NAME, 'process.runtime.name'). %% The version of the runtime of this process, as returned by the runtime without modification. %% --define('PROCESS_RUNTIME_VERSION', 'process.runtime.version'). +-define(PROCESS_RUNTIME_VERSION, 'process.runtime.version'). %% The saved user ID (SUID) of the process. %% --define('PROCESS_SAVED_USER_ID', 'process.saved_user.id'). +-define(PROCESS_SAVED_USER_ID, 'process.saved_user.id'). %% The username of the saved user. %% --define('PROCESS_SAVED_USER_NAME', 'process.saved_user.name'). +-define(PROCESS_SAVED_USER_NAME, 'process.saved_user.name'). %% The PID of the process's session leader. This is also the session ID (SID) of the process. %% --define('PROCESS_SESSION_LEADER_PID', 'process.session_leader.pid'). +-define(PROCESS_SESSION_LEADER_PID, 'process.session_leader.pid'). %% The effective user ID (EUID) of the process. %% --define('PROCESS_USER_ID', 'process.user.id'). +-define(PROCESS_USER_ID, 'process.user.id'). %% The username of the effective user of the process. %% --define('PROCESS_USER_NAME', 'process.user.name'). +-define(PROCESS_USER_NAME, 'process.user.name'). %% Virtual process identifier. %% --define('PROCESS_VPID', 'process.vpid'). +-define(PROCESS_VPID, 'process.vpid'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/rpc_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/rpc_attributes.hrl index 9ee44837..a8bdc1e4 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/rpc_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/rpc_attributes.hrl @@ -15,178 +15,178 @@ %%%------------------------------------------------------------------------- %% @deprecated Replaced by `rpc.message.compressed_size`. %% Deprecated, use `rpc.message.compressed_size` instead. --define('MESSAGE_COMPRESSED_SIZE', 'message.compressed_size'). +-define(MESSAGE_COMPRESSED_SIZE, 'message.compressed_size'). %% @deprecated Replaced by `rpc.message.id`. %% Deprecated, use `rpc.message.id` instead. --define('MESSAGE_ID', 'message.id'). +-define(MESSAGE_ID, 'message.id'). %% @deprecated Replaced by `rpc.message.type`. %% Deprecated, use `rpc.message.type` instead. --define('MESSAGE_TYPE', 'message.type'). +-define(MESSAGE_TYPE, 'message.type'). --define('MESSAGE_TYPE_VALUES_SENT', 'SENT'). +-define(MESSAGE_TYPE_VALUES_SENT, 'SENT'). --define('MESSAGE_TYPE_VALUES_RECEIVED', 'RECEIVED'). +-define(MESSAGE_TYPE_VALUES_RECEIVED, 'RECEIVED'). %% @deprecated Replaced by `rpc.message.uncompressed_size`. %% Deprecated, use `rpc.message.uncompressed_size` instead. --define('MESSAGE_UNCOMPRESSED_SIZE', 'message.uncompressed_size'). +-define(MESSAGE_UNCOMPRESSED_SIZE, 'message.uncompressed_size'). %% The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. --define('RPC_CONNECT_RPC_ERROR_CODE', 'rpc.connect_rpc.error_code'). +-define(RPC_CONNECT_RPC_ERROR_CODE, 'rpc.connect_rpc.error_code'). --define('RPC_CONNECT_RPC_ERROR_CODE_VALUES_CANCELLED', 'cancelled'). +-define(RPC_CONNECT_RPC_ERROR_CODE_VALUES_CANCELLED, 'cancelled'). --define('RPC_CONNECT_RPC_ERROR_CODE_VALUES_UNKNOWN', 'unknown'). +-define(RPC_CONNECT_RPC_ERROR_CODE_VALUES_UNKNOWN, 'unknown'). --define('RPC_CONNECT_RPC_ERROR_CODE_VALUES_INVALID_ARGUMENT', 'invalid_argument'). +-define(RPC_CONNECT_RPC_ERROR_CODE_VALUES_INVALID_ARGUMENT, 'invalid_argument'). --define('RPC_CONNECT_RPC_ERROR_CODE_VALUES_DEADLINE_EXCEEDED', 'deadline_exceeded'). +-define(RPC_CONNECT_RPC_ERROR_CODE_VALUES_DEADLINE_EXCEEDED, 'deadline_exceeded'). --define('RPC_CONNECT_RPC_ERROR_CODE_VALUES_NOT_FOUND', 'not_found'). +-define(RPC_CONNECT_RPC_ERROR_CODE_VALUES_NOT_FOUND, 'not_found'). --define('RPC_CONNECT_RPC_ERROR_CODE_VALUES_ALREADY_EXISTS', 'already_exists'). +-define(RPC_CONNECT_RPC_ERROR_CODE_VALUES_ALREADY_EXISTS, 'already_exists'). --define('RPC_CONNECT_RPC_ERROR_CODE_VALUES_PERMISSION_DENIED', 'permission_denied'). +-define(RPC_CONNECT_RPC_ERROR_CODE_VALUES_PERMISSION_DENIED, 'permission_denied'). --define('RPC_CONNECT_RPC_ERROR_CODE_VALUES_RESOURCE_EXHAUSTED', 'resource_exhausted'). +-define(RPC_CONNECT_RPC_ERROR_CODE_VALUES_RESOURCE_EXHAUSTED, 'resource_exhausted'). --define('RPC_CONNECT_RPC_ERROR_CODE_VALUES_FAILED_PRECONDITION', 'failed_precondition'). +-define(RPC_CONNECT_RPC_ERROR_CODE_VALUES_FAILED_PRECONDITION, 'failed_precondition'). --define('RPC_CONNECT_RPC_ERROR_CODE_VALUES_ABORTED', 'aborted'). +-define(RPC_CONNECT_RPC_ERROR_CODE_VALUES_ABORTED, 'aborted'). --define('RPC_CONNECT_RPC_ERROR_CODE_VALUES_OUT_OF_RANGE', 'out_of_range'). +-define(RPC_CONNECT_RPC_ERROR_CODE_VALUES_OUT_OF_RANGE, 'out_of_range'). --define('RPC_CONNECT_RPC_ERROR_CODE_VALUES_UNIMPLEMENTED', 'unimplemented'). +-define(RPC_CONNECT_RPC_ERROR_CODE_VALUES_UNIMPLEMENTED, 'unimplemented'). --define('RPC_CONNECT_RPC_ERROR_CODE_VALUES_INTERNAL', 'internal'). +-define(RPC_CONNECT_RPC_ERROR_CODE_VALUES_INTERNAL, 'internal'). --define('RPC_CONNECT_RPC_ERROR_CODE_VALUES_UNAVAILABLE', 'unavailable'). +-define(RPC_CONNECT_RPC_ERROR_CODE_VALUES_UNAVAILABLE, 'unavailable'). --define('RPC_CONNECT_RPC_ERROR_CODE_VALUES_DATA_LOSS', 'data_loss'). +-define(RPC_CONNECT_RPC_ERROR_CODE_VALUES_DATA_LOSS, 'data_loss'). --define('RPC_CONNECT_RPC_ERROR_CODE_VALUES_UNAUTHENTICATED', 'unauthenticated'). +-define(RPC_CONNECT_RPC_ERROR_CODE_VALUES_UNAUTHENTICATED, 'unauthenticated'). %% Connect request metadata, `` being the normalized Connect Metadata key (lowercase), the value being the metadata values. %% --define('RPC_CONNECT_RPC_REQUEST_METADATA', 'rpc.connect_rpc.request.metadata'). +-define(RPC_CONNECT_RPC_REQUEST_METADATA, 'rpc.connect_rpc.request.metadata'). %% Connect response metadata, `` being the normalized Connect Metadata key (lowercase), the value being the metadata values. %% --define('RPC_CONNECT_RPC_RESPONSE_METADATA', 'rpc.connect_rpc.response.metadata'). +-define(RPC_CONNECT_RPC_RESPONSE_METADATA, 'rpc.connect_rpc.response.metadata'). %% gRPC request metadata, `` being the normalized gRPC Metadata key (lowercase), the value being the metadata values. %% --define('RPC_GRPC_REQUEST_METADATA', 'rpc.grpc.request.metadata'). +-define(RPC_GRPC_REQUEST_METADATA, 'rpc.grpc.request.metadata'). %% gRPC response metadata, `` being the normalized gRPC Metadata key (lowercase), the value being the metadata values. %% --define('RPC_GRPC_RESPONSE_METADATA', 'rpc.grpc.response.metadata'). +-define(RPC_GRPC_RESPONSE_METADATA, 'rpc.grpc.response.metadata'). %% The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. --define('RPC_GRPC_STATUS_CODE', 'rpc.grpc.status_code'). +-define(RPC_GRPC_STATUS_CODE, 'rpc.grpc.status_code'). --define('RPC_GRPC_STATUS_CODE_VALUES_OK', '0'). +-define(RPC_GRPC_STATUS_CODE_VALUES_OK, '0'). --define('RPC_GRPC_STATUS_CODE_VALUES_CANCELLED', '1'). +-define(RPC_GRPC_STATUS_CODE_VALUES_CANCELLED, '1'). --define('RPC_GRPC_STATUS_CODE_VALUES_UNKNOWN', '2'). +-define(RPC_GRPC_STATUS_CODE_VALUES_UNKNOWN, '2'). --define('RPC_GRPC_STATUS_CODE_VALUES_INVALID_ARGUMENT', '3'). +-define(RPC_GRPC_STATUS_CODE_VALUES_INVALID_ARGUMENT, '3'). --define('RPC_GRPC_STATUS_CODE_VALUES_DEADLINE_EXCEEDED', '4'). +-define(RPC_GRPC_STATUS_CODE_VALUES_DEADLINE_EXCEEDED, '4'). --define('RPC_GRPC_STATUS_CODE_VALUES_NOT_FOUND', '5'). +-define(RPC_GRPC_STATUS_CODE_VALUES_NOT_FOUND, '5'). --define('RPC_GRPC_STATUS_CODE_VALUES_ALREADY_EXISTS', '6'). +-define(RPC_GRPC_STATUS_CODE_VALUES_ALREADY_EXISTS, '6'). --define('RPC_GRPC_STATUS_CODE_VALUES_PERMISSION_DENIED', '7'). +-define(RPC_GRPC_STATUS_CODE_VALUES_PERMISSION_DENIED, '7'). --define('RPC_GRPC_STATUS_CODE_VALUES_RESOURCE_EXHAUSTED', '8'). +-define(RPC_GRPC_STATUS_CODE_VALUES_RESOURCE_EXHAUSTED, '8'). --define('RPC_GRPC_STATUS_CODE_VALUES_FAILED_PRECONDITION', '9'). +-define(RPC_GRPC_STATUS_CODE_VALUES_FAILED_PRECONDITION, '9'). --define('RPC_GRPC_STATUS_CODE_VALUES_ABORTED', '10'). +-define(RPC_GRPC_STATUS_CODE_VALUES_ABORTED, '10'). --define('RPC_GRPC_STATUS_CODE_VALUES_OUT_OF_RANGE', '11'). +-define(RPC_GRPC_STATUS_CODE_VALUES_OUT_OF_RANGE, '11'). --define('RPC_GRPC_STATUS_CODE_VALUES_UNIMPLEMENTED', '12'). +-define(RPC_GRPC_STATUS_CODE_VALUES_UNIMPLEMENTED, '12'). --define('RPC_GRPC_STATUS_CODE_VALUES_INTERNAL', '13'). +-define(RPC_GRPC_STATUS_CODE_VALUES_INTERNAL, '13'). --define('RPC_GRPC_STATUS_CODE_VALUES_UNAVAILABLE', '14'). +-define(RPC_GRPC_STATUS_CODE_VALUES_UNAVAILABLE, '14'). --define('RPC_GRPC_STATUS_CODE_VALUES_DATA_LOSS', '15'). +-define(RPC_GRPC_STATUS_CODE_VALUES_DATA_LOSS, '15'). --define('RPC_GRPC_STATUS_CODE_VALUES_UNAUTHENTICATED', '16'). +-define(RPC_GRPC_STATUS_CODE_VALUES_UNAUTHENTICATED, '16'). %% `error.code` property of response if it is an error response. --define('RPC_JSONRPC_ERROR_CODE', 'rpc.jsonrpc.error_code'). +-define(RPC_JSONRPC_ERROR_CODE, 'rpc.jsonrpc.error_code'). %% `error.message` property of response if it is an error response. --define('RPC_JSONRPC_ERROR_MESSAGE', 'rpc.jsonrpc.error_message'). +-define(RPC_JSONRPC_ERROR_MESSAGE, 'rpc.jsonrpc.error_message'). %% `id` property of request or response. Since protocol allows id to be int, string, `null` or missing (for notifications), value is expected to be cast to string for simplicity. Use empty string in case of `null` value. Omit entirely if this is a notification. %% --define('RPC_JSONRPC_REQUEST_ID', 'rpc.jsonrpc.request_id'). +-define(RPC_JSONRPC_REQUEST_ID, 'rpc.jsonrpc.request_id'). %% Protocol version as in `jsonrpc` property of request/response. Since JSON-RPC 1.0 doesn't specify this, the value can be omitted. --define('RPC_JSONRPC_VERSION', 'rpc.jsonrpc.version'). +-define(RPC_JSONRPC_VERSION, 'rpc.jsonrpc.version'). %% Compressed size of the message in bytes. --define('RPC_MESSAGE_COMPRESSED_SIZE', 'rpc.message.compressed_size'). +-define(RPC_MESSAGE_COMPRESSED_SIZE, 'rpc.message.compressed_size'). %% MUST be calculated as two different counters starting from `1` one for sent messages and one for received message. --define('RPC_MESSAGE_ID', 'rpc.message.id'). +-define(RPC_MESSAGE_ID, 'rpc.message.id'). %% Whether this is a received or sent message. --define('RPC_MESSAGE_TYPE', 'rpc.message.type'). +-define(RPC_MESSAGE_TYPE, 'rpc.message.type'). --define('RPC_MESSAGE_TYPE_VALUES_SENT', 'SENT'). +-define(RPC_MESSAGE_TYPE_VALUES_SENT, 'SENT'). --define('RPC_MESSAGE_TYPE_VALUES_RECEIVED', 'RECEIVED'). +-define(RPC_MESSAGE_TYPE_VALUES_RECEIVED, 'RECEIVED'). %% Uncompressed size of the message in bytes. --define('RPC_MESSAGE_UNCOMPRESSED_SIZE', 'rpc.message.uncompressed_size'). +-define(RPC_MESSAGE_UNCOMPRESSED_SIZE, 'rpc.message.uncompressed_size'). %% The name of the (logical) method being called, must be equal to the $method part in the span name. --define('RPC_METHOD', 'rpc.method'). +-define(RPC_METHOD, 'rpc.method'). %% The full (logical) name of the service being called, including its package name, if applicable. --define('RPC_SERVICE', 'rpc.service'). +-define(RPC_SERVICE, 'rpc.service'). %% A string identifying the remoting system. See below for a list of well-known identifiers. --define('RPC_SYSTEM', 'rpc.system'). +-define(RPC_SYSTEM, 'rpc.system'). --define('RPC_SYSTEM_VALUES_GRPC', 'grpc'). +-define(RPC_SYSTEM_VALUES_GRPC, 'grpc'). --define('RPC_SYSTEM_VALUES_JAVA_RMI', 'java_rmi'). +-define(RPC_SYSTEM_VALUES_JAVA_RMI, 'java_rmi'). --define('RPC_SYSTEM_VALUES_DOTNET_WCF', 'dotnet_wcf'). +-define(RPC_SYSTEM_VALUES_DOTNET_WCF, 'dotnet_wcf'). --define('RPC_SYSTEM_VALUES_APACHE_DUBBO', 'apache_dubbo'). +-define(RPC_SYSTEM_VALUES_APACHE_DUBBO, 'apache_dubbo'). --define('RPC_SYSTEM_VALUES_CONNECT_RPC', 'connect_rpc'). +-define(RPC_SYSTEM_VALUES_CONNECT_RPC, 'connect_rpc'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/service_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/service_attributes.hrl index 90bbd1e6..e0896b2a 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/service_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/service_attributes.hrl @@ -18,9 +18,9 @@ %% The string ID of the service instance. %% --define('SERVICE_INSTANCE_ID', 'service.instance.id'). +-define(SERVICE_INSTANCE_ID, 'service.instance.id'). %% A namespace for `service.name`. %% --define('SERVICE_NAMESPACE', 'service.namespace'). +-define(SERVICE_NAMESPACE, 'service.namespace'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/session_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/session_attributes.hrl index 45626102..b44e753a 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/session_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/session_attributes.hrl @@ -15,8 +15,8 @@ %%%------------------------------------------------------------------------- %% A unique id to identify a session. --define('SESSION_ID', 'session.id'). +-define(SESSION_ID, 'session.id'). %% The previous `session.id` for this user, when known. --define('SESSION_PREVIOUS_ID', 'session.previous_id'). +-define(SESSION_PREVIOUS_ID, 'session.previous_id'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/source_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/source_attributes.hrl index 2935863a..4f7c3f9b 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/source_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/source_attributes.hrl @@ -15,8 +15,8 @@ %%%------------------------------------------------------------------------- %% Source address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. --define('SOURCE_ADDRESS', 'source.address'). +-define(SOURCE_ADDRESS, 'source.address'). %% Source port number --define('SOURCE_PORT', 'source.port'). +-define(SOURCE_PORT, 'source.port'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/system_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/system_attributes.hrl index 2585f28e..a97033c9 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/system_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/system_attributes.hrl @@ -15,161 +15,161 @@ %%%------------------------------------------------------------------------- %% The logical CPU number [0..n-1] --define('SYSTEM_CPU_LOGICAL_NUMBER', 'system.cpu.logical_number'). +-define(SYSTEM_CPU_LOGICAL_NUMBER, 'system.cpu.logical_number'). %% The state of the CPU --define('SYSTEM_CPU_STATE', 'system.cpu.state'). +-define(SYSTEM_CPU_STATE, 'system.cpu.state'). --define('SYSTEM_CPU_STATE_VALUES_USER', 'user'). +-define(SYSTEM_CPU_STATE_VALUES_USER, 'user'). --define('SYSTEM_CPU_STATE_VALUES_SYSTEM', 'system'). +-define(SYSTEM_CPU_STATE_VALUES_SYSTEM, 'system'). --define('SYSTEM_CPU_STATE_VALUES_NICE', 'nice'). +-define(SYSTEM_CPU_STATE_VALUES_NICE, 'nice'). --define('SYSTEM_CPU_STATE_VALUES_IDLE', 'idle'). +-define(SYSTEM_CPU_STATE_VALUES_IDLE, 'idle'). --define('SYSTEM_CPU_STATE_VALUES_IOWAIT', 'iowait'). +-define(SYSTEM_CPU_STATE_VALUES_IOWAIT, 'iowait'). --define('SYSTEM_CPU_STATE_VALUES_INTERRUPT', 'interrupt'). +-define(SYSTEM_CPU_STATE_VALUES_INTERRUPT, 'interrupt'). --define('SYSTEM_CPU_STATE_VALUES_STEAL', 'steal'). +-define(SYSTEM_CPU_STATE_VALUES_STEAL, 'steal'). %% The device identifier --define('SYSTEM_DEVICE', 'system.device'). +-define(SYSTEM_DEVICE, 'system.device'). %% The filesystem mode --define('SYSTEM_FILESYSTEM_MODE', 'system.filesystem.mode'). +-define(SYSTEM_FILESYSTEM_MODE, 'system.filesystem.mode'). %% The filesystem mount path --define('SYSTEM_FILESYSTEM_MOUNTPOINT', 'system.filesystem.mountpoint'). +-define(SYSTEM_FILESYSTEM_MOUNTPOINT, 'system.filesystem.mountpoint'). %% The filesystem state --define('SYSTEM_FILESYSTEM_STATE', 'system.filesystem.state'). +-define(SYSTEM_FILESYSTEM_STATE, 'system.filesystem.state'). --define('SYSTEM_FILESYSTEM_STATE_VALUES_USED', 'used'). +-define(SYSTEM_FILESYSTEM_STATE_VALUES_USED, 'used'). --define('SYSTEM_FILESYSTEM_STATE_VALUES_FREE', 'free'). +-define(SYSTEM_FILESYSTEM_STATE_VALUES_FREE, 'free'). --define('SYSTEM_FILESYSTEM_STATE_VALUES_RESERVED', 'reserved'). +-define(SYSTEM_FILESYSTEM_STATE_VALUES_RESERVED, 'reserved'). %% The filesystem type --define('SYSTEM_FILESYSTEM_TYPE', 'system.filesystem.type'). +-define(SYSTEM_FILESYSTEM_TYPE, 'system.filesystem.type'). --define('SYSTEM_FILESYSTEM_TYPE_VALUES_FAT_32', 'fat32'). +-define(SYSTEM_FILESYSTEM_TYPE_VALUES_FAT_32, 'fat32'). --define('SYSTEM_FILESYSTEM_TYPE_VALUES_EXFAT', 'exfat'). +-define(SYSTEM_FILESYSTEM_TYPE_VALUES_EXFAT, 'exfat'). --define('SYSTEM_FILESYSTEM_TYPE_VALUES_NTFS', 'ntfs'). +-define(SYSTEM_FILESYSTEM_TYPE_VALUES_NTFS, 'ntfs'). --define('SYSTEM_FILESYSTEM_TYPE_VALUES_REFS', 'refs'). +-define(SYSTEM_FILESYSTEM_TYPE_VALUES_REFS, 'refs'). --define('SYSTEM_FILESYSTEM_TYPE_VALUES_HFSPLUS', 'hfsplus'). +-define(SYSTEM_FILESYSTEM_TYPE_VALUES_HFSPLUS, 'hfsplus'). --define('SYSTEM_FILESYSTEM_TYPE_VALUES_EXT_4', 'ext4'). +-define(SYSTEM_FILESYSTEM_TYPE_VALUES_EXT_4, 'ext4'). %% The memory state --define('SYSTEM_MEMORY_STATE', 'system.memory.state'). +-define(SYSTEM_MEMORY_STATE, 'system.memory.state'). --define('SYSTEM_MEMORY_STATE_VALUES_USED', 'used'). +-define(SYSTEM_MEMORY_STATE_VALUES_USED, 'used'). --define('SYSTEM_MEMORY_STATE_VALUES_FREE', 'free'). +-define(SYSTEM_MEMORY_STATE_VALUES_FREE, 'free'). --define('SYSTEM_MEMORY_STATE_VALUES_SHARED', 'shared'). +-define(SYSTEM_MEMORY_STATE_VALUES_SHARED, 'shared'). --define('SYSTEM_MEMORY_STATE_VALUES_BUFFERS', 'buffers'). +-define(SYSTEM_MEMORY_STATE_VALUES_BUFFERS, 'buffers'). --define('SYSTEM_MEMORY_STATE_VALUES_CACHED', 'cached'). +-define(SYSTEM_MEMORY_STATE_VALUES_CACHED, 'cached'). %% A stateless protocol MUST NOT set this attribute --define('SYSTEM_NETWORK_STATE', 'system.network.state'). +-define(SYSTEM_NETWORK_STATE, 'system.network.state'). --define('SYSTEM_NETWORK_STATE_VALUES_CLOSE', 'close'). +-define(SYSTEM_NETWORK_STATE_VALUES_CLOSE, 'close'). --define('SYSTEM_NETWORK_STATE_VALUES_CLOSE_WAIT', 'close_wait'). +-define(SYSTEM_NETWORK_STATE_VALUES_CLOSE_WAIT, 'close_wait'). --define('SYSTEM_NETWORK_STATE_VALUES_CLOSING', 'closing'). +-define(SYSTEM_NETWORK_STATE_VALUES_CLOSING, 'closing'). --define('SYSTEM_NETWORK_STATE_VALUES_DELETE', 'delete'). +-define(SYSTEM_NETWORK_STATE_VALUES_DELETE, 'delete'). --define('SYSTEM_NETWORK_STATE_VALUES_ESTABLISHED', 'established'). +-define(SYSTEM_NETWORK_STATE_VALUES_ESTABLISHED, 'established'). --define('SYSTEM_NETWORK_STATE_VALUES_FIN_WAIT_1', 'fin_wait_1'). +-define(SYSTEM_NETWORK_STATE_VALUES_FIN_WAIT_1, 'fin_wait_1'). --define('SYSTEM_NETWORK_STATE_VALUES_FIN_WAIT_2', 'fin_wait_2'). +-define(SYSTEM_NETWORK_STATE_VALUES_FIN_WAIT_2, 'fin_wait_2'). --define('SYSTEM_NETWORK_STATE_VALUES_LAST_ACK', 'last_ack'). +-define(SYSTEM_NETWORK_STATE_VALUES_LAST_ACK, 'last_ack'). --define('SYSTEM_NETWORK_STATE_VALUES_LISTEN', 'listen'). +-define(SYSTEM_NETWORK_STATE_VALUES_LISTEN, 'listen'). --define('SYSTEM_NETWORK_STATE_VALUES_SYN_RECV', 'syn_recv'). +-define(SYSTEM_NETWORK_STATE_VALUES_SYN_RECV, 'syn_recv'). --define('SYSTEM_NETWORK_STATE_VALUES_SYN_SENT', 'syn_sent'). +-define(SYSTEM_NETWORK_STATE_VALUES_SYN_SENT, 'syn_sent'). --define('SYSTEM_NETWORK_STATE_VALUES_TIME_WAIT', 'time_wait'). +-define(SYSTEM_NETWORK_STATE_VALUES_TIME_WAIT, 'time_wait'). %% The paging access direction --define('SYSTEM_PAGING_DIRECTION', 'system.paging.direction'). +-define(SYSTEM_PAGING_DIRECTION, 'system.paging.direction'). --define('SYSTEM_PAGING_DIRECTION_VALUES_IN', 'in'). +-define(SYSTEM_PAGING_DIRECTION_VALUES_IN, 'in'). --define('SYSTEM_PAGING_DIRECTION_VALUES_OUT', 'out'). +-define(SYSTEM_PAGING_DIRECTION_VALUES_OUT, 'out'). %% The memory paging state --define('SYSTEM_PAGING_STATE', 'system.paging.state'). +-define(SYSTEM_PAGING_STATE, 'system.paging.state'). --define('SYSTEM_PAGING_STATE_VALUES_USED', 'used'). +-define(SYSTEM_PAGING_STATE_VALUES_USED, 'used'). --define('SYSTEM_PAGING_STATE_VALUES_FREE', 'free'). +-define(SYSTEM_PAGING_STATE_VALUES_FREE, 'free'). %% The memory paging type --define('SYSTEM_PAGING_TYPE', 'system.paging.type'). +-define(SYSTEM_PAGING_TYPE, 'system.paging.type'). --define('SYSTEM_PAGING_TYPE_VALUES_MAJOR', 'major'). +-define(SYSTEM_PAGING_TYPE_VALUES_MAJOR, 'major'). --define('SYSTEM_PAGING_TYPE_VALUES_MINOR', 'minor'). +-define(SYSTEM_PAGING_TYPE_VALUES_MINOR, 'minor'). %% The process state, e.g., [Linux Process State Codes](https://man7.org/linux/man-pages/man1/ps.1.html#PROCESS_STATE_CODES) %% --define('SYSTEM_PROCESS_STATUS', 'system.process.status'). +-define(SYSTEM_PROCESS_STATUS, 'system.process.status'). --define('SYSTEM_PROCESS_STATUS_VALUES_RUNNING', 'running'). +-define(SYSTEM_PROCESS_STATUS_VALUES_RUNNING, 'running'). --define('SYSTEM_PROCESS_STATUS_VALUES_SLEEPING', 'sleeping'). +-define(SYSTEM_PROCESS_STATUS_VALUES_SLEEPING, 'sleeping'). --define('SYSTEM_PROCESS_STATUS_VALUES_STOPPED', 'stopped'). +-define(SYSTEM_PROCESS_STATUS_VALUES_STOPPED, 'stopped'). --define('SYSTEM_PROCESS_STATUS_VALUES_DEFUNCT', 'defunct'). +-define(SYSTEM_PROCESS_STATUS_VALUES_DEFUNCT, 'defunct'). %% @deprecated Replaced by `system.process.status`. %% Deprecated, use `system.process.status` instead. --define('SYSTEM_PROCESSES_STATUS', 'system.processes.status'). +-define(SYSTEM_PROCESSES_STATUS, 'system.processes.status'). --define('SYSTEM_PROCESSES_STATUS_VALUES_RUNNING', 'running'). +-define(SYSTEM_PROCESSES_STATUS_VALUES_RUNNING, 'running'). --define('SYSTEM_PROCESSES_STATUS_VALUES_SLEEPING', 'sleeping'). +-define(SYSTEM_PROCESSES_STATUS_VALUES_SLEEPING, 'sleeping'). --define('SYSTEM_PROCESSES_STATUS_VALUES_STOPPED', 'stopped'). +-define(SYSTEM_PROCESSES_STATUS_VALUES_STOPPED, 'stopped'). --define('SYSTEM_PROCESSES_STATUS_VALUES_DEFUNCT', 'defunct'). +-define(SYSTEM_PROCESSES_STATUS_VALUES_DEFUNCT, 'defunct'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/telemetry_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/telemetry_attributes.hrl index 7709e295..9b231394 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/telemetry_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/telemetry_attributes.hrl @@ -18,9 +18,9 @@ %% The name of the auto instrumentation agent or distribution, if used. %% --define('TELEMETRY_DISTRO_NAME', 'telemetry.distro.name'). +-define(TELEMETRY_DISTRO_NAME, 'telemetry.distro.name'). %% The version string of the auto instrumentation agent or distribution, if used. %% --define('TELEMETRY_DISTRO_VERSION', 'telemetry.distro.version'). +-define(TELEMETRY_DISTRO_VERSION, 'telemetry.distro.version'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/thread_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/thread_attributes.hrl index 1b5e17df..8eec8d36 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/thread_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/thread_attributes.hrl @@ -16,9 +16,9 @@ %% Current "managed" thread ID (as opposed to OS thread ID). %% --define('THREAD_ID', 'thread.id'). +-define(THREAD_ID, 'thread.id'). %% Current thread name. %% --define('THREAD_NAME', 'thread.name'). +-define(THREAD_NAME, 'thread.name'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/tls_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/tls_attributes.hrl index 3fd7d49c..8486f70f 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/tls_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/tls_attributes.hrl @@ -16,134 +16,134 @@ %% String indicating the [cipher](https://datatracker.ietf.org/doc/html/rfc5246#appendix-A.5) used during the current connection. %% --define('TLS_CIPHER', 'tls.cipher'). +-define(TLS_CIPHER, 'tls.cipher'). %% PEM-encoded stand-alone certificate offered by the client. This is usually mutually-exclusive of `client.certificate_chain` since this value also exists in that list. %% --define('TLS_CLIENT_CERTIFICATE', 'tls.client.certificate'). +-define(TLS_CLIENT_CERTIFICATE, 'tls.client.certificate'). %% Array of PEM-encoded certificates that make up the certificate chain offered by the client. This is usually mutually-exclusive of `client.certificate` since that value should be the first certificate in the chain. %% --define('TLS_CLIENT_CERTIFICATE_CHAIN', 'tls.client.certificate_chain'). +-define(TLS_CLIENT_CERTIFICATE_CHAIN, 'tls.client.certificate_chain'). %% Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. %% --define('TLS_CLIENT_HASH_MD5', 'tls.client.hash.md5'). +-define(TLS_CLIENT_HASH_MD5, 'tls.client.hash.md5'). %% Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. %% --define('TLS_CLIENT_HASH_SHA1', 'tls.client.hash.sha1'). +-define(TLS_CLIENT_HASH_SHA1, 'tls.client.hash.sha1'). %% Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. %% --define('TLS_CLIENT_HASH_SHA256', 'tls.client.hash.sha256'). +-define(TLS_CLIENT_HASH_SHA256, 'tls.client.hash.sha256'). %% Distinguished name of [subject](https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6) of the issuer of the x.509 certificate presented by the client. --define('TLS_CLIENT_ISSUER', 'tls.client.issuer'). +-define(TLS_CLIENT_ISSUER, 'tls.client.issuer'). %% A hash that identifies clients based on how they perform an SSL/TLS handshake. --define('TLS_CLIENT_JA3', 'tls.client.ja3'). +-define(TLS_CLIENT_JA3, 'tls.client.ja3'). %% Date/Time indicating when client certificate is no longer considered valid. --define('TLS_CLIENT_NOT_AFTER', 'tls.client.not_after'). +-define(TLS_CLIENT_NOT_AFTER, 'tls.client.not_after'). %% Date/Time indicating when client certificate is first considered valid. --define('TLS_CLIENT_NOT_BEFORE', 'tls.client.not_before'). +-define(TLS_CLIENT_NOT_BEFORE, 'tls.client.not_before'). %% Also called an SNI, this tells the server which hostname to which the client is attempting to connect to. --define('TLS_CLIENT_SERVER_NAME', 'tls.client.server_name'). +-define(TLS_CLIENT_SERVER_NAME, 'tls.client.server_name'). %% Distinguished name of subject of the x.509 certificate presented by the client. --define('TLS_CLIENT_SUBJECT', 'tls.client.subject'). +-define(TLS_CLIENT_SUBJECT, 'tls.client.subject'). %% Array of ciphers offered by the client during the client hello. --define('TLS_CLIENT_SUPPORTED_CIPHERS', 'tls.client.supported_ciphers'). +-define(TLS_CLIENT_SUPPORTED_CIPHERS, 'tls.client.supported_ciphers'). %% String indicating the curve used for the given cipher, when applicable --define('TLS_CURVE', 'tls.curve'). +-define(TLS_CURVE, 'tls.curve'). %% Boolean flag indicating if the TLS negotiation was successful and transitioned to an encrypted tunnel. --define('TLS_ESTABLISHED', 'tls.established'). +-define(TLS_ESTABLISHED, 'tls.established'). %% String indicating the protocol being tunneled. Per the values in the [IANA registry](https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids), this string should be lower case. %% --define('TLS_NEXT_PROTOCOL', 'tls.next_protocol'). +-define(TLS_NEXT_PROTOCOL, 'tls.next_protocol'). %% Normalized lowercase protocol name parsed from original string of the negotiated [SSL/TLS protocol version](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html#RETURN-VALUES) %% --define('TLS_PROTOCOL_NAME', 'tls.protocol.name'). +-define(TLS_PROTOCOL_NAME, 'tls.protocol.name'). --define('TLS_PROTOCOL_NAME_VALUES_SSL', 'ssl'). +-define(TLS_PROTOCOL_NAME_VALUES_SSL, 'ssl'). --define('TLS_PROTOCOL_NAME_VALUES_TLS', 'tls'). +-define(TLS_PROTOCOL_NAME_VALUES_TLS, 'tls'). %% Numeric part of the version parsed from the original string of the negotiated [SSL/TLS protocol version](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html#RETURN-VALUES) %% --define('TLS_PROTOCOL_VERSION', 'tls.protocol.version'). +-define(TLS_PROTOCOL_VERSION, 'tls.protocol.version'). %% Boolean flag indicating if this TLS connection was resumed from an existing TLS negotiation. --define('TLS_RESUMED', 'tls.resumed'). +-define(TLS_RESUMED, 'tls.resumed'). %% PEM-encoded stand-alone certificate offered by the server. This is usually mutually-exclusive of `server.certificate_chain` since this value also exists in that list. %% --define('TLS_SERVER_CERTIFICATE', 'tls.server.certificate'). +-define(TLS_SERVER_CERTIFICATE, 'tls.server.certificate'). %% Array of PEM-encoded certificates that make up the certificate chain offered by the server. This is usually mutually-exclusive of `server.certificate` since that value should be the first certificate in the chain. %% --define('TLS_SERVER_CERTIFICATE_CHAIN', 'tls.server.certificate_chain'). +-define(TLS_SERVER_CERTIFICATE_CHAIN, 'tls.server.certificate_chain'). %% Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. %% --define('TLS_SERVER_HASH_MD5', 'tls.server.hash.md5'). +-define(TLS_SERVER_HASH_MD5, 'tls.server.hash.md5'). %% Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. %% --define('TLS_SERVER_HASH_SHA1', 'tls.server.hash.sha1'). +-define(TLS_SERVER_HASH_SHA1, 'tls.server.hash.sha1'). %% Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. %% --define('TLS_SERVER_HASH_SHA256', 'tls.server.hash.sha256'). +-define(TLS_SERVER_HASH_SHA256, 'tls.server.hash.sha256'). %% Distinguished name of [subject](https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6) of the issuer of the x.509 certificate presented by the client. --define('TLS_SERVER_ISSUER', 'tls.server.issuer'). +-define(TLS_SERVER_ISSUER, 'tls.server.issuer'). %% A hash that identifies servers based on how they perform an SSL/TLS handshake. --define('TLS_SERVER_JA3S', 'tls.server.ja3s'). +-define(TLS_SERVER_JA3S, 'tls.server.ja3s'). %% Date/Time indicating when server certificate is no longer considered valid. --define('TLS_SERVER_NOT_AFTER', 'tls.server.not_after'). +-define(TLS_SERVER_NOT_AFTER, 'tls.server.not_after'). %% Date/Time indicating when server certificate is first considered valid. --define('TLS_SERVER_NOT_BEFORE', 'tls.server.not_before'). +-define(TLS_SERVER_NOT_BEFORE, 'tls.server.not_before'). %% Distinguished name of subject of the x.509 certificate presented by the server. --define('TLS_SERVER_SUBJECT', 'tls.server.subject'). +-define(TLS_SERVER_SUBJECT, 'tls.server.subject'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/url_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/url_attributes.hrl index 0b026079..0ed66fbd 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/url_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/url_attributes.hrl @@ -18,39 +18,39 @@ %% Domain extracted from the `url.full`, such as "opentelemetry.io". %% --define('URL_DOMAIN', 'url.domain'). +-define(URL_DOMAIN, 'url.domain'). %% The file extension extracted from the `url.full`, excluding the leading dot. %% --define('URL_EXTENSION', 'url.extension'). +-define(URL_EXTENSION, 'url.extension'). %% Unmodified original URL as seen in the event source. %% --define('URL_ORIGINAL', 'url.original'). +-define(URL_ORIGINAL, 'url.original'). %% Port extracted from the `url.full` %% --define('URL_PORT', 'url.port'). +-define(URL_PORT, 'url.port'). %% The highest registered url domain, stripped of the subdomain. %% --define('URL_REGISTERED_DOMAIN', 'url.registered_domain'). +-define(URL_REGISTERED_DOMAIN, 'url.registered_domain'). %% The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain. %% --define('URL_SUBDOMAIN', 'url.subdomain'). +-define(URL_SUBDOMAIN, 'url.subdomain'). %% The low-cardinality template of an [absolute path reference](https://www.rfc-editor.org/rfc/rfc3986#section-4.2). %% --define('URL_TEMPLATE', 'url.template'). +-define(URL_TEMPLATE, 'url.template'). %% The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is `com`. %% --define('URL_TOP_LEVEL_DOMAIN', 'url.top_level_domain'). +-define(URL_TOP_LEVEL_DOMAIN, 'url.top_level_domain'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/user_agent_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/user_agent_attributes.hrl index 67ab48b6..b60d96c8 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/user_agent_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/user_agent_attributes.hrl @@ -18,9 +18,9 @@ %% Name of the user-agent extracted from original. Usually refers to the browser's name. %% --define('USER_AGENT_NAME', 'user_agent.name'). +-define(USER_AGENT_NAME, 'user_agent.name'). %% Version of the user-agent extracted from original. Usually refers to the browser's version %% --define('USER_AGENT_VERSION', 'user_agent.version'). +-define(USER_AGENT_VERSION, 'user_agent.version'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/webengine_attributes.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/webengine_attributes.hrl index ca19ecce..fe6cd563 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/attributes/webengine_attributes.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/attributes/webengine_attributes.hrl @@ -16,14 +16,14 @@ %% Additional description of the web engine (e.g. detailed version and edition information). %% --define('WEBENGINE_DESCRIPTION', 'webengine.description'). +-define(WEBENGINE_DESCRIPTION, 'webengine.description'). %% The name of the web engine. %% --define('WEBENGINE_NAME', 'webengine.name'). +-define(WEBENGINE_NAME, 'webengine.name'). %% The version of the web engine. %% --define('WEBENGINE_VERSION', 'webengine.version'). +-define(WEBENGINE_VERSION, 'webengine.version'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/metrics/container_metrics.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/metrics/container_metrics.hrl index 3f95abb7..70487615 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/metrics/container_metrics.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/metrics/container_metrics.hrl @@ -15,16 +15,16 @@ %%%------------------------------------------------------------------------- %% Total CPU time consumed --define('CONTAINER_CPU_TIME', 'container.cpu.time'). +-define(CONTAINER_CPU_TIME, 'container.cpu.time'). %% Disk bytes for the container. --define('CONTAINER_DISK_IO', 'container.disk.io'). +-define(CONTAINER_DISK_IO, 'container.disk.io'). %% Memory usage of the container. --define('CONTAINER_MEMORY_USAGE', 'container.memory.usage'). +-define(CONTAINER_MEMORY_USAGE, 'container.memory.usage'). %% Network bytes for the container. --define('CONTAINER_NETWORK_IO', 'container.network.io'). +-define(CONTAINER_NETWORK_IO, 'container.network.io'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/metrics/db_metrics.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/metrics/db_metrics.hrl index 15e7132b..d68836a3 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/metrics/db_metrics.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/metrics/db_metrics.hrl @@ -15,76 +15,76 @@ %%%------------------------------------------------------------------------- %% The number of connections that are currently in state described by the `state` attribute --define('DB_CLIENT_CONNECTION_COUNT', 'db.client.connection.count'). +-define(DB_CLIENT_CONNECTION_COUNT, 'db.client.connection.count'). %% The time it took to create a new connection --define('DB_CLIENT_CONNECTION_CREATE_TIME', 'db.client.connection.create_time'). +-define(DB_CLIENT_CONNECTION_CREATE_TIME, 'db.client.connection.create_time'). %% The maximum number of idle open connections allowed --define('DB_CLIENT_CONNECTION_IDLE_MAX', 'db.client.connection.idle.max'). +-define(DB_CLIENT_CONNECTION_IDLE_MAX, 'db.client.connection.idle.max'). %% The minimum number of idle open connections allowed --define('DB_CLIENT_CONNECTION_IDLE_MIN', 'db.client.connection.idle.min'). +-define(DB_CLIENT_CONNECTION_IDLE_MIN, 'db.client.connection.idle.min'). %% The maximum number of open connections allowed --define('DB_CLIENT_CONNECTION_MAX', 'db.client.connection.max'). +-define(DB_CLIENT_CONNECTION_MAX, 'db.client.connection.max'). %% The number of pending requests for an open connection, cumulative for the entire pool --define('DB_CLIENT_CONNECTION_PENDING_REQUESTS', 'db.client.connection.pending_requests'). +-define(DB_CLIENT_CONNECTION_PENDING_REQUESTS, 'db.client.connection.pending_requests'). %% The number of connection timeouts that have occurred trying to obtain a connection from the pool --define('DB_CLIENT_CONNECTION_TIMEOUTS', 'db.client.connection.timeouts'). +-define(DB_CLIENT_CONNECTION_TIMEOUTS, 'db.client.connection.timeouts'). %% The time between borrowing a connection and returning it to the pool --define('DB_CLIENT_CONNECTION_USE_TIME', 'db.client.connection.use_time'). +-define(DB_CLIENT_CONNECTION_USE_TIME, 'db.client.connection.use_time'). %% The time it took to obtain an open connection from the pool --define('DB_CLIENT_CONNECTION_WAIT_TIME', 'db.client.connection.wait_time'). +-define(DB_CLIENT_CONNECTION_WAIT_TIME, 'db.client.connection.wait_time'). %% @deprecated Replaced by `db.client.connection.create_time`. Note: the unit also changed from `ms` to `s`. %% Deprecated, use `db.client.connection.create_time` instead. Note: the unit also changed from `ms` to `s`. --define('DB_CLIENT_CONNECTIONS_CREATE_TIME', 'db.client.connections.create_time'). +-define(DB_CLIENT_CONNECTIONS_CREATE_TIME, 'db.client.connections.create_time'). %% @deprecated Replaced by `db.client.connection.idle.max`. %% Deprecated, use `db.client.connection.idle.max` instead. --define('DB_CLIENT_CONNECTIONS_IDLE_MAX', 'db.client.connections.idle.max'). +-define(DB_CLIENT_CONNECTIONS_IDLE_MAX, 'db.client.connections.idle.max'). %% @deprecated Replaced by `db.client.connection.idle.min`. %% Deprecated, use `db.client.connection.idle.min` instead. --define('DB_CLIENT_CONNECTIONS_IDLE_MIN', 'db.client.connections.idle.min'). +-define(DB_CLIENT_CONNECTIONS_IDLE_MIN, 'db.client.connections.idle.min'). %% @deprecated Replaced by `db.client.connection.max`. %% Deprecated, use `db.client.connection.max` instead. --define('DB_CLIENT_CONNECTIONS_MAX', 'db.client.connections.max'). +-define(DB_CLIENT_CONNECTIONS_MAX, 'db.client.connections.max'). %% @deprecated Replaced by `db.client.connection.pending_requests`. %% Deprecated, use `db.client.connection.pending_requests` instead. --define('DB_CLIENT_CONNECTIONS_PENDING_REQUESTS', 'db.client.connections.pending_requests'). +-define(DB_CLIENT_CONNECTIONS_PENDING_REQUESTS, 'db.client.connections.pending_requests'). %% @deprecated Replaced by `db.client.connection.timeouts`. %% Deprecated, use `db.client.connection.timeouts` instead. --define('DB_CLIENT_CONNECTIONS_TIMEOUTS', 'db.client.connections.timeouts'). +-define(DB_CLIENT_CONNECTIONS_TIMEOUTS, 'db.client.connections.timeouts'). %% @deprecated Replaced by `db.client.connection.count`. %% Deprecated, use `db.client.connection.count` instead. --define('DB_CLIENT_CONNECTIONS_USAGE', 'db.client.connections.usage'). +-define(DB_CLIENT_CONNECTIONS_USAGE, 'db.client.connections.usage'). %% @deprecated Replaced by `db.client.connection.use_time`. Note: the unit also changed from `ms` to `s`. %% Deprecated, use `db.client.connection.use_time` instead. Note: the unit also changed from `ms` to `s`. --define('DB_CLIENT_CONNECTIONS_USE_TIME', 'db.client.connections.use_time'). +-define(DB_CLIENT_CONNECTIONS_USE_TIME, 'db.client.connections.use_time'). %% @deprecated Replaced by `db.client.connection.wait_time`. Note: the unit also changed from `ms` to `s`. %% Deprecated, use `db.client.connection.wait_time` instead. Note: the unit also changed from `ms` to `s`. --define('DB_CLIENT_CONNECTIONS_WAIT_TIME', 'db.client.connections.wait_time'). +-define(DB_CLIENT_CONNECTIONS_WAIT_TIME, 'db.client.connections.wait_time'). %% Duration of database client operations. --define('DB_CLIENT_OPERATION_DURATION', 'db.client.operation.duration'). +-define(DB_CLIENT_OPERATION_DURATION, 'db.client.operation.duration'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/metrics/dns_metrics.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/metrics/dns_metrics.hrl index 5bd550f0..52c3855b 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/metrics/dns_metrics.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/metrics/dns_metrics.hrl @@ -15,4 +15,4 @@ %%%------------------------------------------------------------------------- %% Measures the time taken to perform a DNS lookup. --define('DNS_LOOKUP_DURATION', 'dns.lookup.duration'). +-define(DNS_LOOKUP_DURATION, 'dns.lookup.duration'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/metrics/faas_metrics.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/metrics/faas_metrics.hrl index 504a7f57..3f777ac4 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/metrics/faas_metrics.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/metrics/faas_metrics.hrl @@ -15,36 +15,36 @@ %%%------------------------------------------------------------------------- %% Number of invocation cold starts --define('FAAS_COLDSTARTS', 'faas.coldstarts'). +-define(FAAS_COLDSTARTS, 'faas.coldstarts'). %% Distribution of CPU usage per invocation --define('FAAS_CPU_USAGE', 'faas.cpu_usage'). +-define(FAAS_CPU_USAGE, 'faas.cpu_usage'). %% Number of invocation errors --define('FAAS_ERRORS', 'faas.errors'). +-define(FAAS_ERRORS, 'faas.errors'). %% Measures the duration of the function's initialization, such as a cold start --define('FAAS_INIT_DURATION', 'faas.init_duration'). +-define(FAAS_INIT_DURATION, 'faas.init_duration'). %% Number of successful invocations --define('FAAS_INVOCATIONS', 'faas.invocations'). +-define(FAAS_INVOCATIONS, 'faas.invocations'). %% Measures the duration of the function's logic execution --define('FAAS_INVOKE_DURATION', 'faas.invoke_duration'). +-define(FAAS_INVOKE_DURATION, 'faas.invoke_duration'). %% Distribution of max memory usage per invocation --define('FAAS_MEM_USAGE', 'faas.mem_usage'). +-define(FAAS_MEM_USAGE, 'faas.mem_usage'). %% Distribution of net I/O usage per invocation --define('FAAS_NET_IO', 'faas.net_io'). +-define(FAAS_NET_IO, 'faas.net_io'). %% Number of invocation timeouts --define('FAAS_TIMEOUTS', 'faas.timeouts'). +-define(FAAS_TIMEOUTS, 'faas.timeouts'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/metrics/http_metrics.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/metrics/http_metrics.hrl index 5167fc5d..c18cf169 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/metrics/http_metrics.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/metrics/http_metrics.hrl @@ -15,32 +15,32 @@ %%%------------------------------------------------------------------------- %% Number of active HTTP requests. --define('HTTP_CLIENT_ACTIVE_REQUESTS', 'http.client.active_requests'). +-define(HTTP_CLIENT_ACTIVE_REQUESTS, 'http.client.active_requests'). %% The duration of the successfully established outbound HTTP connections. --define('HTTP_CLIENT_CONNECTION_DURATION', 'http.client.connection.duration'). +-define(HTTP_CLIENT_CONNECTION_DURATION, 'http.client.connection.duration'). %% Number of outbound HTTP connections that are currently active or idle on the client. --define('HTTP_CLIENT_OPEN_CONNECTIONS', 'http.client.open_connections'). +-define(HTTP_CLIENT_OPEN_CONNECTIONS, 'http.client.open_connections'). %% Size of HTTP client request bodies. --define('HTTP_CLIENT_REQUEST_BODY_SIZE', 'http.client.request.body.size'). +-define(HTTP_CLIENT_REQUEST_BODY_SIZE, 'http.client.request.body.size'). %% Size of HTTP client response bodies. --define('HTTP_CLIENT_RESPONSE_BODY_SIZE', 'http.client.response.body.size'). +-define(HTTP_CLIENT_RESPONSE_BODY_SIZE, 'http.client.response.body.size'). %% Number of active HTTP server requests. --define('HTTP_SERVER_ACTIVE_REQUESTS', 'http.server.active_requests'). +-define(HTTP_SERVER_ACTIVE_REQUESTS, 'http.server.active_requests'). %% Size of HTTP server request bodies. --define('HTTP_SERVER_REQUEST_BODY_SIZE', 'http.server.request.body.size'). +-define(HTTP_SERVER_REQUEST_BODY_SIZE, 'http.server.request.body.size'). %% Size of HTTP server response bodies. --define('HTTP_SERVER_RESPONSE_BODY_SIZE', 'http.server.response.body.size'). +-define(HTTP_SERVER_RESPONSE_BODY_SIZE, 'http.server.response.body.size'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/metrics/messaging_metrics.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/metrics/messaging_metrics.hrl index f29f965e..adf9a2c6 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/metrics/messaging_metrics.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/metrics/messaging_metrics.hrl @@ -15,24 +15,24 @@ %%%------------------------------------------------------------------------- %% Measures the duration of process operation. --define('MESSAGING_PROCESS_DURATION', 'messaging.process.duration'). +-define(MESSAGING_PROCESS_DURATION, 'messaging.process.duration'). %% Measures the number of processed messages. --define('MESSAGING_PROCESS_MESSAGES', 'messaging.process.messages'). +-define(MESSAGING_PROCESS_MESSAGES, 'messaging.process.messages'). %% Measures the duration of publish operation. --define('MESSAGING_PUBLISH_DURATION', 'messaging.publish.duration'). +-define(MESSAGING_PUBLISH_DURATION, 'messaging.publish.duration'). %% Measures the number of published messages. --define('MESSAGING_PUBLISH_MESSAGES', 'messaging.publish.messages'). +-define(MESSAGING_PUBLISH_MESSAGES, 'messaging.publish.messages'). %% Measures the duration of receive operation. --define('MESSAGING_RECEIVE_DURATION', 'messaging.receive.duration'). +-define(MESSAGING_RECEIVE_DURATION, 'messaging.receive.duration'). %% Measures the number of received messages. --define('MESSAGING_RECEIVE_MESSAGES', 'messaging.receive.messages'). +-define(MESSAGING_RECEIVE_MESSAGES, 'messaging.receive.messages'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/metrics/process_metrics.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/metrics/process_metrics.hrl index 7289fb52..e4dbe3ba 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/metrics/process_metrics.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/metrics/process_metrics.hrl @@ -15,40 +15,40 @@ %%%------------------------------------------------------------------------- %% Number of times the process has been context switched. --define('PROCESS_CONTEXT_SWITCHES', 'process.context_switches'). +-define(PROCESS_CONTEXT_SWITCHES, 'process.context_switches'). %% Total CPU seconds broken down by different states. --define('PROCESS_CPU_TIME', 'process.cpu.time'). +-define(PROCESS_CPU_TIME, 'process.cpu.time'). %% Difference in process.cpu.time since the last measurement, divided by the elapsed time and number of CPUs available to the process. --define('PROCESS_CPU_UTILIZATION', 'process.cpu.utilization'). +-define(PROCESS_CPU_UTILIZATION, 'process.cpu.utilization'). %% Disk bytes transferred. --define('PROCESS_DISK_IO', 'process.disk.io'). +-define(PROCESS_DISK_IO, 'process.disk.io'). %% The amount of physical memory in use. --define('PROCESS_MEMORY_USAGE', 'process.memory.usage'). +-define(PROCESS_MEMORY_USAGE, 'process.memory.usage'). %% The amount of committed virtual memory. --define('PROCESS_MEMORY_VIRTUAL', 'process.memory.virtual'). +-define(PROCESS_MEMORY_VIRTUAL, 'process.memory.virtual'). %% Network bytes transferred. --define('PROCESS_NETWORK_IO', 'process.network.io'). +-define(PROCESS_NETWORK_IO, 'process.network.io'). %% Number of file descriptors in use by the process. --define('PROCESS_OPEN_FILE_DESCRIPTOR_COUNT', 'process.open_file_descriptor.count'). +-define(PROCESS_OPEN_FILE_DESCRIPTOR_COUNT, 'process.open_file_descriptor.count'). %% Number of page faults the process has made. --define('PROCESS_PAGING_FAULTS', 'process.paging.faults'). +-define(PROCESS_PAGING_FAULTS, 'process.paging.faults'). %% Process threads count. --define('PROCESS_THREAD_COUNT', 'process.thread.count'). +-define(PROCESS_THREAD_COUNT, 'process.thread.count'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/metrics/rpc_metrics.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/metrics/rpc_metrics.hrl index a88dad49..44ec47ff 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/metrics/rpc_metrics.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/metrics/rpc_metrics.hrl @@ -15,40 +15,40 @@ %%%------------------------------------------------------------------------- %% Measures the duration of outbound RPC. --define('RPC_CLIENT_DURATION', 'rpc.client.duration'). +-define(RPC_CLIENT_DURATION, 'rpc.client.duration'). %% Measures the size of RPC request messages (uncompressed). --define('RPC_CLIENT_REQUEST_SIZE', 'rpc.client.request.size'). +-define(RPC_CLIENT_REQUEST_SIZE, 'rpc.client.request.size'). %% Measures the number of messages received per RPC. --define('RPC_CLIENT_REQUESTS_PER_RPC', 'rpc.client.requests_per_rpc'). +-define(RPC_CLIENT_REQUESTS_PER_RPC, 'rpc.client.requests_per_rpc'). %% Measures the size of RPC response messages (uncompressed). --define('RPC_CLIENT_RESPONSE_SIZE', 'rpc.client.response.size'). +-define(RPC_CLIENT_RESPONSE_SIZE, 'rpc.client.response.size'). %% Measures the number of messages sent per RPC. --define('RPC_CLIENT_RESPONSES_PER_RPC', 'rpc.client.responses_per_rpc'). +-define(RPC_CLIENT_RESPONSES_PER_RPC, 'rpc.client.responses_per_rpc'). %% Measures the duration of inbound RPC. --define('RPC_SERVER_DURATION', 'rpc.server.duration'). +-define(RPC_SERVER_DURATION, 'rpc.server.duration'). %% Measures the size of RPC request messages (uncompressed). --define('RPC_SERVER_REQUEST_SIZE', 'rpc.server.request.size'). +-define(RPC_SERVER_REQUEST_SIZE, 'rpc.server.request.size'). %% Measures the number of messages received per RPC. --define('RPC_SERVER_REQUESTS_PER_RPC', 'rpc.server.requests_per_rpc'). +-define(RPC_SERVER_REQUESTS_PER_RPC, 'rpc.server.requests_per_rpc'). %% Measures the size of RPC response messages (uncompressed). --define('RPC_SERVER_RESPONSE_SIZE', 'rpc.server.response.size'). +-define(RPC_SERVER_RESPONSE_SIZE, 'rpc.server.response.size'). %% Measures the number of messages sent per RPC. --define('RPC_SERVER_RESPONSES_PER_RPC', 'rpc.server.responses_per_rpc'). +-define(RPC_SERVER_RESPONSES_PER_RPC, 'rpc.server.responses_per_rpc'). diff --git a/apps/opentelemetry_semantic_conventions/include/incubating/metrics/system_metrics.hrl b/apps/opentelemetry_semantic_conventions/include/incubating/metrics/system_metrics.hrl index 0887775e..eb00e9e2 100644 --- a/apps/opentelemetry_semantic_conventions/include/incubating/metrics/system_metrics.hrl +++ b/apps/opentelemetry_semantic_conventions/include/incubating/metrics/system_metrics.hrl @@ -15,112 +15,112 @@ %%%------------------------------------------------------------------------- %% Reports the current frequency of the CPU in Hz --define('SYSTEM_CPU_FREQUENCY', 'system.cpu.frequency'). +-define(SYSTEM_CPU_FREQUENCY, 'system.cpu.frequency'). %% Reports the number of logical (virtual) processor cores created by the operating system to manage multitasking --define('SYSTEM_CPU_LOGICAL_COUNT', 'system.cpu.logical.count'). +-define(SYSTEM_CPU_LOGICAL_COUNT, 'system.cpu.logical.count'). %% Reports the number of actual physical processor cores on the hardware --define('SYSTEM_CPU_PHYSICAL_COUNT', 'system.cpu.physical.count'). +-define(SYSTEM_CPU_PHYSICAL_COUNT, 'system.cpu.physical.count'). %% Seconds each logical CPU spent on each mode --define('SYSTEM_CPU_TIME', 'system.cpu.time'). +-define(SYSTEM_CPU_TIME, 'system.cpu.time'). %% Difference in system.cpu.time since the last measurement, divided by the elapsed time and number of logical CPUs --define('SYSTEM_CPU_UTILIZATION', 'system.cpu.utilization'). +-define(SYSTEM_CPU_UTILIZATION, 'system.cpu.utilization'). %% none --define('SYSTEM_DISK_IO', 'system.disk.io'). +-define(SYSTEM_DISK_IO, 'system.disk.io'). %% Time disk spent activated --define('SYSTEM_DISK_IO_TIME', 'system.disk.io_time'). +-define(SYSTEM_DISK_IO_TIME, 'system.disk.io_time'). %% none --define('SYSTEM_DISK_MERGED', 'system.disk.merged'). +-define(SYSTEM_DISK_MERGED, 'system.disk.merged'). %% Sum of the time each operation took to complete --define('SYSTEM_DISK_OPERATION_TIME', 'system.disk.operation_time'). +-define(SYSTEM_DISK_OPERATION_TIME, 'system.disk.operation_time'). %% none --define('SYSTEM_DISK_OPERATIONS', 'system.disk.operations'). +-define(SYSTEM_DISK_OPERATIONS, 'system.disk.operations'). %% none --define('SYSTEM_FILESYSTEM_USAGE', 'system.filesystem.usage'). +-define(SYSTEM_FILESYSTEM_USAGE, 'system.filesystem.usage'). %% none --define('SYSTEM_FILESYSTEM_UTILIZATION', 'system.filesystem.utilization'). +-define(SYSTEM_FILESYSTEM_UTILIZATION, 'system.filesystem.utilization'). %% An estimate of how much memory is available for starting new applications, without causing swapping --define('SYSTEM_LINUX_MEMORY_AVAILABLE', 'system.linux.memory.available'). +-define(SYSTEM_LINUX_MEMORY_AVAILABLE, 'system.linux.memory.available'). %% Total memory available in the system. --define('SYSTEM_MEMORY_LIMIT', 'system.memory.limit'). +-define(SYSTEM_MEMORY_LIMIT, 'system.memory.limit'). %% Shared memory used (mostly by tmpfs). --define('SYSTEM_MEMORY_SHARED', 'system.memory.shared'). +-define(SYSTEM_MEMORY_SHARED, 'system.memory.shared'). %% Reports memory in use by state. --define('SYSTEM_MEMORY_USAGE', 'system.memory.usage'). +-define(SYSTEM_MEMORY_USAGE, 'system.memory.usage'). %% none --define('SYSTEM_MEMORY_UTILIZATION', 'system.memory.utilization'). +-define(SYSTEM_MEMORY_UTILIZATION, 'system.memory.utilization'). %% none --define('SYSTEM_NETWORK_CONNECTIONS', 'system.network.connections'). +-define(SYSTEM_NETWORK_CONNECTIONS, 'system.network.connections'). %% Count of packets that are dropped or discarded even though there was no error --define('SYSTEM_NETWORK_DROPPED', 'system.network.dropped'). +-define(SYSTEM_NETWORK_DROPPED, 'system.network.dropped'). %% Count of network errors detected --define('SYSTEM_NETWORK_ERRORS', 'system.network.errors'). +-define(SYSTEM_NETWORK_ERRORS, 'system.network.errors'). %% none --define('SYSTEM_NETWORK_IO', 'system.network.io'). +-define(SYSTEM_NETWORK_IO, 'system.network.io'). %% none --define('SYSTEM_NETWORK_PACKETS', 'system.network.packets'). +-define(SYSTEM_NETWORK_PACKETS, 'system.network.packets'). %% none --define('SYSTEM_PAGING_FAULTS', 'system.paging.faults'). +-define(SYSTEM_PAGING_FAULTS, 'system.paging.faults'). %% none --define('SYSTEM_PAGING_OPERATIONS', 'system.paging.operations'). +-define(SYSTEM_PAGING_OPERATIONS, 'system.paging.operations'). %% Unix swap or windows pagefile usage --define('SYSTEM_PAGING_USAGE', 'system.paging.usage'). +-define(SYSTEM_PAGING_USAGE, 'system.paging.usage'). %% none --define('SYSTEM_PAGING_UTILIZATION', 'system.paging.utilization'). +-define(SYSTEM_PAGING_UTILIZATION, 'system.paging.utilization'). %% Total number of processes in each state --define('SYSTEM_PROCESS_COUNT', 'system.process.count'). +-define(SYSTEM_PROCESS_COUNT, 'system.process.count'). %% Total number of processes created over uptime of the host --define('SYSTEM_PROCESS_CREATED', 'system.process.created'). +-define(SYSTEM_PROCESS_CREATED, 'system.process.created'). diff --git a/apps/opentelemetry_semantic_conventions/include/metrics/http_metrics.hrl b/apps/opentelemetry_semantic_conventions/include/metrics/http_metrics.hrl index 96e26101..32212de8 100644 --- a/apps/opentelemetry_semantic_conventions/include/metrics/http_metrics.hrl +++ b/apps/opentelemetry_semantic_conventions/include/metrics/http_metrics.hrl @@ -15,8 +15,8 @@ %%%------------------------------------------------------------------------- %% Duration of HTTP client requests. --define('HTTP_CLIENT_REQUEST_DURATION', 'http.client.request.duration'). +-define(HTTP_CLIENT_REQUEST_DURATION, 'http.client.request.duration'). %% Duration of HTTP server requests. --define('HTTP_SERVER_REQUEST_DURATION', 'http.server.request.duration'). +-define(HTTP_SERVER_REQUEST_DURATION, 'http.server.request.duration'). diff --git a/apps/opentelemetry_semantic_conventions/lib/attributes/client_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/attributes/client_attributes.ex index 74f1a08b..bcedc924 100644 --- a/apps/opentelemetry_semantic_conventions/lib/attributes/client_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/attributes/client_attributes.ex @@ -29,7 +29,7 @@ defmodule OpenTelemetry.SemConv.ClientAttributes do ### Erlang ```erlang - ?'CLIENT_ADDRESS'. + ?CLIENT_ADDRESS. 'client.address' ``` @@ -65,7 +65,7 @@ defmodule OpenTelemetry.SemConv.ClientAttributes do ### Erlang ```erlang - ?'CLIENT_PORT'. + ?CLIENT_PORT. 'client.port' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/attributes/error_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/attributes/error_attributes.ex index 84335796..be7cbd23 100644 --- a/apps/opentelemetry_semantic_conventions/lib/attributes/error_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/attributes/error_attributes.ex @@ -63,13 +63,13 @@ defmodule OpenTelemetry.SemConv.ErrorAttributes do ### Erlang ```erlang - ?'ERROR_TYPE'. + ?ERROR_TYPE. 'error.type' - ?'ERROR_TYPE_VALUES_OTHER'. + ?ERROR_TYPE_VALUES_OTHER. '_OTHER' - \#{?'ERROR_TYPE' => ?'ERROR_TYPE_VALUES_OTHER'}. + \#{?ERROR_TYPE => ?ERROR_TYPE_VALUES_OTHER}. \#{'error.type' => '_OTHER'} ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/attributes/exception_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/attributes/exception_attributes.ex index a89dc0af..7bb01402 100644 --- a/apps/opentelemetry_semantic_conventions/lib/attributes/exception_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/attributes/exception_attributes.ex @@ -39,7 +39,7 @@ defmodule OpenTelemetry.SemConv.ExceptionAttributes do ### Erlang ```erlang - ?'EXCEPTION_ESCAPED'. + ?EXCEPTION_ESCAPED. 'exception.escaped' ``` @@ -71,7 +71,7 @@ defmodule OpenTelemetry.SemConv.ExceptionAttributes do ### Erlang ```erlang - ?'EXCEPTION_MESSAGE'. + ?EXCEPTION_MESSAGE. 'exception.message' ``` @@ -104,7 +104,7 @@ defmodule OpenTelemetry.SemConv.ExceptionAttributes do ### Erlang ```erlang - ?'EXCEPTION_STACKTRACE'. + ?EXCEPTION_STACKTRACE. 'exception.stacktrace' ``` @@ -137,7 +137,7 @@ defmodule OpenTelemetry.SemConv.ExceptionAttributes do ### Erlang ```erlang - ?'EXCEPTION_TYPE'. + ?EXCEPTION_TYPE. 'exception.type' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/attributes/http_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/attributes/http_attributes.ex index 38223be3..2264b2a9 100644 --- a/apps/opentelemetry_semantic_conventions/lib/attributes/http_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/attributes/http_attributes.ex @@ -32,7 +32,7 @@ defmodule OpenTelemetry.SemConv.HTTPAttributes do ### Erlang ```erlang - ?'HTTP_REQUEST_HEADER'. + ?HTTP_REQUEST_HEADER. 'http.request.header' ``` @@ -112,13 +112,13 @@ defmodule OpenTelemetry.SemConv.HTTPAttributes do ### Erlang ```erlang - ?'HTTP_REQUEST_METHOD'. + ?HTTP_REQUEST_METHOD. 'http.request.method' - ?'HTTP_REQUEST_METHOD_VALUES_CONNECT'. + ?HTTP_REQUEST_METHOD_VALUES_CONNECT. 'CONNECT' - \#{?'HTTP_REQUEST_METHOD' => ?'HTTP_REQUEST_METHOD_VALUES_CONNECT'}. + \#{?HTTP_REQUEST_METHOD => ?HTTP_REQUEST_METHOD_VALUES_CONNECT}. \#{'http.request.method' => 'CONNECT'} ``` @@ -166,7 +166,7 @@ defmodule OpenTelemetry.SemConv.HTTPAttributes do ### Erlang ```erlang - ?'HTTP_REQUEST_METHOD_ORIGINAL'. + ?HTTP_REQUEST_METHOD_ORIGINAL. 'http.request.method_original' ``` @@ -203,7 +203,7 @@ defmodule OpenTelemetry.SemConv.HTTPAttributes do ### Erlang ```erlang - ?'HTTP_REQUEST_RESEND_COUNT'. + ?HTTP_REQUEST_RESEND_COUNT. 'http.request.resend_count' ``` @@ -242,7 +242,7 @@ defmodule OpenTelemetry.SemConv.HTTPAttributes do ### Erlang ```erlang - ?'HTTP_RESPONSE_HEADER'. + ?HTTP_RESPONSE_HEADER. 'http.response.header' ``` @@ -274,7 +274,7 @@ defmodule OpenTelemetry.SemConv.HTTPAttributes do ### Erlang ```erlang - ?'HTTP_RESPONSE_STATUS_CODE'. + ?HTTP_RESPONSE_STATUS_CODE. 'http.response.status_code' ``` @@ -312,7 +312,7 @@ defmodule OpenTelemetry.SemConv.HTTPAttributes do ### Erlang ```erlang - ?'HTTP_ROUTE'. + ?HTTP_ROUTE. 'http.route' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/attributes/network_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/attributes/network_attributes.ex index 7a1e11ef..3cbf4ca5 100644 --- a/apps/opentelemetry_semantic_conventions/lib/attributes/network_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/attributes/network_attributes.ex @@ -25,7 +25,7 @@ defmodule OpenTelemetry.SemConv.NetworkAttributes do ### Erlang ```erlang - ?'NETWORK_LOCAL_ADDRESS'. + ?NETWORK_LOCAL_ADDRESS. 'network.local.address' ``` @@ -57,7 +57,7 @@ defmodule OpenTelemetry.SemConv.NetworkAttributes do ### Erlang ```erlang - ?'NETWORK_LOCAL_PORT'. + ?NETWORK_LOCAL_PORT. 'network.local.port' ``` @@ -89,7 +89,7 @@ defmodule OpenTelemetry.SemConv.NetworkAttributes do ### Erlang ```erlang - ?'NETWORK_PEER_ADDRESS'. + ?NETWORK_PEER_ADDRESS. 'network.peer.address' ``` @@ -121,7 +121,7 @@ defmodule OpenTelemetry.SemConv.NetworkAttributes do ### Erlang ```erlang - ?'NETWORK_PEER_PORT'. + ?NETWORK_PEER_PORT. 'network.peer.port' ``` @@ -156,7 +156,7 @@ defmodule OpenTelemetry.SemConv.NetworkAttributes do ### Erlang ```erlang - ?'NETWORK_PROTOCOL_NAME'. + ?NETWORK_PROTOCOL_NAME. 'network.protocol.name' ``` @@ -192,7 +192,7 @@ defmodule OpenTelemetry.SemConv.NetworkAttributes do ### Erlang ```erlang - ?'NETWORK_PROTOCOL_VERSION'. + ?NETWORK_PROTOCOL_VERSION. 'network.protocol.version' ``` @@ -253,13 +253,13 @@ defmodule OpenTelemetry.SemConv.NetworkAttributes do ### Erlang ```erlang - ?'NETWORK_TRANSPORT'. + ?NETWORK_TRANSPORT. 'network.transport' - ?'NETWORK_TRANSPORT_VALUES_TCP'. + ?NETWORK_TRANSPORT_VALUES_TCP. 'tcp' - \#{?'NETWORK_TRANSPORT' => ?'NETWORK_TRANSPORT_VALUES_TCP'}. + \#{?NETWORK_TRANSPORT => ?NETWORK_TRANSPORT_VALUES_TCP}. \#{'network.transport' => 'tcp'} ``` @@ -319,13 +319,13 @@ defmodule OpenTelemetry.SemConv.NetworkAttributes do ### Erlang ```erlang - ?'NETWORK_TYPE'. + ?NETWORK_TYPE. 'network.type' - ?'NETWORK_TYPE_VALUES_IPV_4'. + ?NETWORK_TYPE_VALUES_IPV_4. 'ipv4' - \#{?'NETWORK_TYPE' => ?'NETWORK_TYPE_VALUES_IPV_4'}. + \#{?NETWORK_TYPE => ?NETWORK_TYPE_VALUES_IPV_4}. \#{'network.type' => 'ipv4'} ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/attributes/otel_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/attributes/otel_attributes.ex index 9380be2c..6f07f4a1 100644 --- a/apps/opentelemetry_semantic_conventions/lib/attributes/otel_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/attributes/otel_attributes.ex @@ -25,7 +25,7 @@ defmodule OpenTelemetry.SemConv.OtelAttributes do ### Erlang ```erlang - ?'OTEL_SCOPE_NAME'. + ?OTEL_SCOPE_NAME. 'otel.scope.name' ``` @@ -57,7 +57,7 @@ defmodule OpenTelemetry.SemConv.OtelAttributes do ### Erlang ```erlang - ?'OTEL_SCOPE_VERSION'. + ?OTEL_SCOPE_VERSION. 'otel.scope.version' ``` @@ -99,13 +99,13 @@ defmodule OpenTelemetry.SemConv.OtelAttributes do ### Erlang ```erlang - ?'OTEL_STATUS_CODE'. + ?OTEL_STATUS_CODE. 'otel.status_code' - ?'OTEL_STATUS_CODE_VALUES_OK'. + ?OTEL_STATUS_CODE_VALUES_OK. 'OK' - \#{?'OTEL_STATUS_CODE' => ?'OTEL_STATUS_CODE_VALUES_OK'}. + \#{?OTEL_STATUS_CODE => ?OTEL_STATUS_CODE_VALUES_OK}. \#{'otel.status_code' => 'OK'} ``` @@ -145,7 +145,7 @@ defmodule OpenTelemetry.SemConv.OtelAttributes do ### Erlang ```erlang - ?'OTEL_STATUS_DESCRIPTION'. + ?OTEL_STATUS_DESCRIPTION. 'otel.status_description' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/attributes/server_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/attributes/server_attributes.ex index 7cf5a5a0..65bf7803 100644 --- a/apps/opentelemetry_semantic_conventions/lib/attributes/server_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/attributes/server_attributes.ex @@ -29,7 +29,7 @@ defmodule OpenTelemetry.SemConv.ServerAttributes do ### Erlang ```erlang - ?'SERVER_ADDRESS'. + ?SERVER_ADDRESS. 'server.address' ``` @@ -65,7 +65,7 @@ defmodule OpenTelemetry.SemConv.ServerAttributes do ### Erlang ```erlang - ?'SERVER_PORT'. + ?SERVER_PORT. 'server.port' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/attributes/service_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/attributes/service_attributes.ex index 2b4ed15e..6605df53 100644 --- a/apps/opentelemetry_semantic_conventions/lib/attributes/service_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/attributes/service_attributes.ex @@ -30,7 +30,7 @@ defmodule OpenTelemetry.SemConv.ServiceAttributes do ### Erlang ```erlang - ?'SERVICE_NAME'. + ?SERVICE_NAME. 'service.name' ``` @@ -63,7 +63,7 @@ defmodule OpenTelemetry.SemConv.ServiceAttributes do ### Erlang ```erlang - ?'SERVICE_VERSION'. + ?SERVICE_VERSION. 'service.version' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/attributes/telemetry_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/attributes/telemetry_attributes.ex index 291eb58d..32c76e32 100644 --- a/apps/opentelemetry_semantic_conventions/lib/attributes/telemetry_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/attributes/telemetry_attributes.ex @@ -57,13 +57,13 @@ defmodule OpenTelemetry.SemConv.TelemetryAttributes do ### Erlang ```erlang - ?'TELEMETRY_SDK_LANGUAGE'. + ?TELEMETRY_SDK_LANGUAGE. 'telemetry.sdk.language' - ?'TELEMETRY_SDK_LANGUAGE_VALUES_CPP'. + ?TELEMETRY_SDK_LANGUAGE_VALUES_CPP. 'cpp' - \#{?'TELEMETRY_SDK_LANGUAGE' => ?'TELEMETRY_SDK_LANGUAGE_VALUES_CPP'}. + \#{?TELEMETRY_SDK_LANGUAGE => ?TELEMETRY_SDK_LANGUAGE_VALUES_CPP}. \#{'telemetry.sdk.language' => 'cpp'} ``` @@ -123,7 +123,7 @@ defmodule OpenTelemetry.SemConv.TelemetryAttributes do ### Erlang ```erlang - ?'TELEMETRY_SDK_NAME'. + ?TELEMETRY_SDK_NAME. 'telemetry.sdk.name' ``` @@ -156,7 +156,7 @@ defmodule OpenTelemetry.SemConv.TelemetryAttributes do ### Erlang ```erlang - ?'TELEMETRY_SDK_VERSION'. + ?TELEMETRY_SDK_VERSION. 'telemetry.sdk.version' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/attributes/url_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/attributes/url_attributes.ex index dc5bd413..a5fa0b6c 100644 --- a/apps/opentelemetry_semantic_conventions/lib/attributes/url_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/attributes/url_attributes.ex @@ -26,7 +26,7 @@ defmodule OpenTelemetry.SemConv.URLAttributes do ### Erlang ```erlang - ?'URL_FRAGMENT'. + ?URL_FRAGMENT. 'url.fragment' ``` @@ -64,7 +64,7 @@ defmodule OpenTelemetry.SemConv.URLAttributes do ### Erlang ```erlang - ?'URL_FULL'. + ?URL_FULL. 'url.full' ``` @@ -101,7 +101,7 @@ defmodule OpenTelemetry.SemConv.URLAttributes do ### Erlang ```erlang - ?'URL_PATH'. + ?URL_PATH. 'url.path' ``` @@ -138,7 +138,7 @@ defmodule OpenTelemetry.SemConv.URLAttributes do ### Erlang ```erlang - ?'URL_QUERY'. + ?URL_QUERY. 'url.query' ``` @@ -171,7 +171,7 @@ defmodule OpenTelemetry.SemConv.URLAttributes do ### Erlang ```erlang - ?'URL_SCHEME'. + ?URL_SCHEME. 'url.scheme' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/attributes/user_agent_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/attributes/user_agent_attributes.ex index e380f44a..70106c8b 100644 --- a/apps/opentelemetry_semantic_conventions/lib/attributes/user_agent_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/attributes/user_agent_attributes.ex @@ -26,7 +26,7 @@ defmodule OpenTelemetry.SemConv.UserAgentAttributes do ### Erlang ```erlang - ?'USER_AGENT_ORIGINAL'. + ?USER_AGENT_ORIGINAL. 'user_agent.original' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/aws_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/aws_attributes.ex index a6efdd40..1d473ee3 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/aws_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/aws_attributes.ex @@ -25,7 +25,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS'. + ?AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS. 'aws.dynamodb.attribute_definitions' ``` @@ -57,7 +57,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_DYNAMODB_ATTRIBUTES_TO_GET'. + ?AWS_DYNAMODB_ATTRIBUTES_TO_GET. 'aws.dynamodb.attributes_to_get' ``` @@ -84,7 +84,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_DYNAMODB_CONSISTENT_READ'. + ?AWS_DYNAMODB_CONSISTENT_READ. 'aws.dynamodb.consistent_read' ``` @@ -116,7 +116,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_DYNAMODB_CONSUMED_CAPACITY'. + ?AWS_DYNAMODB_CONSUMED_CAPACITY. 'aws.dynamodb.consumed_capacity' ``` @@ -148,7 +148,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_DYNAMODB_COUNT'. + ?AWS_DYNAMODB_COUNT. 'aws.dynamodb.count' ``` @@ -180,7 +180,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_DYNAMODB_EXCLUSIVE_START_TABLE'. + ?AWS_DYNAMODB_EXCLUSIVE_START_TABLE. 'aws.dynamodb.exclusive_start_table' ``` @@ -212,7 +212,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES'. + ?AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES. 'aws.dynamodb.global_secondary_index_updates' ``` @@ -245,7 +245,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES'. + ?AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES. 'aws.dynamodb.global_secondary_indexes' ``` @@ -277,7 +277,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_DYNAMODB_INDEX_NAME'. + ?AWS_DYNAMODB_INDEX_NAME. 'aws.dynamodb.index_name' ``` @@ -309,7 +309,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_DYNAMODB_ITEM_COLLECTION_METRICS'. + ?AWS_DYNAMODB_ITEM_COLLECTION_METRICS. 'aws.dynamodb.item_collection_metrics' ``` @@ -341,7 +341,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_DYNAMODB_LIMIT'. + ?AWS_DYNAMODB_LIMIT. 'aws.dynamodb.limit' ``` @@ -373,7 +373,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES'. + ?AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES. 'aws.dynamodb.local_secondary_indexes' ``` @@ -405,7 +405,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_DYNAMODB_PROJECTION'. + ?AWS_DYNAMODB_PROJECTION. 'aws.dynamodb.projection' ``` @@ -437,7 +437,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_DYNAMODB_PROVISIONED_READ_CAPACITY'. + ?AWS_DYNAMODB_PROVISIONED_READ_CAPACITY. 'aws.dynamodb.provisioned_read_capacity' ``` @@ -469,7 +469,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY'. + ?AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY. 'aws.dynamodb.provisioned_write_capacity' ``` @@ -496,7 +496,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_DYNAMODB_SCAN_FORWARD'. + ?AWS_DYNAMODB_SCAN_FORWARD. 'aws.dynamodb.scan_forward' ``` @@ -528,7 +528,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_DYNAMODB_SCANNED_COUNT'. + ?AWS_DYNAMODB_SCANNED_COUNT. 'aws.dynamodb.scanned_count' ``` @@ -560,7 +560,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_DYNAMODB_SEGMENT'. + ?AWS_DYNAMODB_SEGMENT. 'aws.dynamodb.segment' ``` @@ -592,7 +592,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_DYNAMODB_SELECT'. + ?AWS_DYNAMODB_SELECT. 'aws.dynamodb.select' ``` @@ -624,7 +624,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_DYNAMODB_TABLE_COUNT'. + ?AWS_DYNAMODB_TABLE_COUNT. 'aws.dynamodb.table_count' ``` @@ -656,7 +656,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_DYNAMODB_TABLE_NAMES'. + ?AWS_DYNAMODB_TABLE_NAMES. 'aws.dynamodb.table_names' ``` @@ -688,7 +688,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_DYNAMODB_TOTAL_SEGMENTS'. + ?AWS_DYNAMODB_TOTAL_SEGMENTS. 'aws.dynamodb.total_segments' ``` @@ -721,7 +721,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_ECS_CLUSTER_ARN'. + ?AWS_ECS_CLUSTER_ARN. 'aws.ecs.cluster.arn' ``` @@ -754,7 +754,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_ECS_CONTAINER_ARN'. + ?AWS_ECS_CONTAINER_ARN. 'aws.ecs.container.arn' ``` @@ -798,13 +798,13 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_ECS_LAUNCHTYPE'. + ?AWS_ECS_LAUNCHTYPE. 'aws.ecs.launchtype' - ?'AWS_ECS_LAUNCHTYPE_VALUES_EC_2'. + ?AWS_ECS_LAUNCHTYPE_VALUES_EC_2. 'ec2' - \#{?'AWS_ECS_LAUNCHTYPE' => ?'AWS_ECS_LAUNCHTYPE_VALUES_EC_2'}. + \#{?AWS_ECS_LAUNCHTYPE => ?AWS_ECS_LAUNCHTYPE_VALUES_EC_2}. \#{'aws.ecs.launchtype' => 'ec2'} ``` @@ -845,7 +845,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_ECS_TASK_ARN'. + ?AWS_ECS_TASK_ARN. 'aws.ecs.task.arn' ``` @@ -878,7 +878,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_ECS_TASK_FAMILY'. + ?AWS_ECS_TASK_FAMILY. 'aws.ecs.task.family' ``` @@ -911,7 +911,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_ECS_TASK_ID'. + ?AWS_ECS_TASK_ID. 'aws.ecs.task.id' ``` @@ -944,7 +944,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_ECS_TASK_REVISION'. + ?AWS_ECS_TASK_REVISION. 'aws.ecs.task.revision' ``` @@ -977,7 +977,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_EKS_CLUSTER_ARN'. + ?AWS_EKS_CLUSTER_ARN. 'aws.eks.cluster.arn' ``` @@ -1013,7 +1013,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_LAMBDA_INVOKED_ARN'. + ?AWS_LAMBDA_INVOKED_ARN. 'aws.lambda.invoked_arn' ``` @@ -1050,7 +1050,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_LOG_GROUP_ARNS'. + ?AWS_LOG_GROUP_ARNS. 'aws.log.group.arns' ``` @@ -1087,7 +1087,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_LOG_GROUP_NAMES'. + ?AWS_LOG_GROUP_NAMES. 'aws.log.group.names' ``` @@ -1124,7 +1124,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_LOG_STREAM_ARNS'. + ?AWS_LOG_STREAM_ARNS. 'aws.log.stream.arns' ``` @@ -1157,7 +1157,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_LOG_STREAM_NAMES'. + ?AWS_LOG_STREAM_NAMES. 'aws.log.stream.names' ``` @@ -1189,7 +1189,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_REQUEST_ID'. + ?AWS_REQUEST_ID. 'aws.request_id' ``` @@ -1226,7 +1226,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_S3_BUCKET'. + ?AWS_S3_BUCKET. 'aws.s3.bucket' ``` @@ -1267,7 +1267,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_S3_COPY_SOURCE'. + ?AWS_S3_COPY_SOURCE. 'aws.s3.copy_source' ``` @@ -1305,7 +1305,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_S3_DELETE'. + ?AWS_S3_DELETE. 'aws.s3.delete' ``` @@ -1356,7 +1356,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_S3_KEY'. + ?AWS_S3_KEY. 'aws.s3.key' ``` @@ -1395,7 +1395,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_S3_PART_NUMBER'. + ?AWS_S3_PART_NUMBER. 'aws.s3.part_number' ``` @@ -1439,7 +1439,7 @@ defmodule OpenTelemetry.SemConv.Incubating.AWSAttributes do ### Erlang ```erlang - ?'AWS_S3_UPLOAD_ID'. + ?AWS_S3_UPLOAD_ID. 'aws.s3.upload_id' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/browser_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/browser_attributes.ex index 128f0d08..63b85baf 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/browser_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/browser_attributes.ex @@ -29,7 +29,7 @@ defmodule OpenTelemetry.SemConv.Incubating.BrowserAttributes do ### Erlang ```erlang - ?'BROWSER_BRANDS'. + ?BROWSER_BRANDS. 'browser.brands' ``` @@ -65,7 +65,7 @@ defmodule OpenTelemetry.SemConv.Incubating.BrowserAttributes do ### Erlang ```erlang - ?'BROWSER_LANGUAGE'. + ?BROWSER_LANGUAGE. 'browser.language' ``` @@ -96,7 +96,7 @@ defmodule OpenTelemetry.SemConv.Incubating.BrowserAttributes do ### Erlang ```erlang - ?'BROWSER_MOBILE'. + ?BROWSER_MOBILE. 'browser.mobile' ``` @@ -133,7 +133,7 @@ defmodule OpenTelemetry.SemConv.Incubating.BrowserAttributes do ### Erlang ```erlang - ?'BROWSER_PLATFORM'. + ?BROWSER_PLATFORM. 'browser.platform' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/cloud_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/cloud_attributes.ex index 09b1476e..d73217e7 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/cloud_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/cloud_attributes.ex @@ -26,7 +26,7 @@ defmodule OpenTelemetry.SemConv.Incubating.CloudAttributes do ### Erlang ```erlang - ?'CLOUD_ACCOUNT_ID'. + ?CLOUD_ACCOUNT_ID. 'cloud.account.id' ``` @@ -63,7 +63,7 @@ defmodule OpenTelemetry.SemConv.Incubating.CloudAttributes do ### Erlang ```erlang - ?'CLOUD_AVAILABILITY_ZONE'. + ?CLOUD_AVAILABILITY_ZONE. 'cloud.availability_zone' ``` @@ -163,13 +163,13 @@ defmodule OpenTelemetry.SemConv.Incubating.CloudAttributes do ### Erlang ```erlang - ?'CLOUD_PLATFORM'. + ?CLOUD_PLATFORM. 'cloud.platform' - ?'CLOUD_PLATFORM_VALUES_ALIBABA_CLOUD_ECS'. + ?CLOUD_PLATFORM_VALUES_ALIBABA_CLOUD_ECS. 'alibaba_cloud_ecs' - \#{?'CLOUD_PLATFORM' => ?'CLOUD_PLATFORM_VALUES_ALIBABA_CLOUD_ECS'}. + \#{?CLOUD_PLATFORM => ?CLOUD_PLATFORM_VALUES_ALIBABA_CLOUD_ECS}. \#{'cloud.platform' => 'alibaba_cloud_ecs'} ``` @@ -257,13 +257,13 @@ defmodule OpenTelemetry.SemConv.Incubating.CloudAttributes do ### Erlang ```erlang - ?'CLOUD_PROVIDER'. + ?CLOUD_PROVIDER. 'cloud.provider' - ?'CLOUD_PROVIDER_VALUES_ALIBABA_CLOUD'. + ?CLOUD_PROVIDER_VALUES_ALIBABA_CLOUD. 'alibaba_cloud' - \#{?'CLOUD_PROVIDER' => ?'CLOUD_PROVIDER_VALUES_ALIBABA_CLOUD'}. + \#{?CLOUD_PROVIDER => ?CLOUD_PROVIDER_VALUES_ALIBABA_CLOUD}. \#{'cloud.provider' => 'alibaba_cloud'} ``` @@ -313,7 +313,7 @@ defmodule OpenTelemetry.SemConv.Incubating.CloudAttributes do ### Erlang ```erlang - ?'CLOUD_REGION'. + ?CLOUD_REGION. 'cloud.region' ``` @@ -366,7 +366,7 @@ defmodule OpenTelemetry.SemConv.Incubating.CloudAttributes do ### Erlang ```erlang - ?'CLOUD_RESOURCE_ID'. + ?CLOUD_RESOURCE_ID. 'cloud.resource_id' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/cloudevents_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/cloudevents_attributes.ex index be83fd4e..a4501492 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/cloudevents_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/cloudevents_attributes.ex @@ -26,7 +26,7 @@ defmodule OpenTelemetry.SemConv.Incubating.CloudeventsAttributes do ### Erlang ```erlang - ?'CLOUDEVENTS_EVENT_ID'. + ?CLOUDEVENTS_EVENT_ID. 'cloudevents.event_id' ``` @@ -59,7 +59,7 @@ defmodule OpenTelemetry.SemConv.Incubating.CloudeventsAttributes do ### Erlang ```erlang - ?'CLOUDEVENTS_EVENT_SOURCE'. + ?CLOUDEVENTS_EVENT_SOURCE. 'cloudevents.event_source' ``` @@ -92,7 +92,7 @@ defmodule OpenTelemetry.SemConv.Incubating.CloudeventsAttributes do ### Erlang ```erlang - ?'CLOUDEVENTS_EVENT_SPEC_VERSION'. + ?CLOUDEVENTS_EVENT_SPEC_VERSION. 'cloudevents.event_spec_version' ``` @@ -125,7 +125,7 @@ defmodule OpenTelemetry.SemConv.Incubating.CloudeventsAttributes do ### Erlang ```erlang - ?'CLOUDEVENTS_EVENT_SUBJECT'. + ?CLOUDEVENTS_EVENT_SUBJECT. 'cloudevents.event_subject' ``` @@ -158,7 +158,7 @@ defmodule OpenTelemetry.SemConv.Incubating.CloudeventsAttributes do ### Erlang ```erlang - ?'CLOUDEVENTS_EVENT_TYPE'. + ?CLOUDEVENTS_EVENT_TYPE. 'cloudevents.event_type' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/code_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/code_attributes.ex index f04879be..154e989a 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/code_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/code_attributes.ex @@ -26,7 +26,7 @@ defmodule OpenTelemetry.SemConv.Incubating.CodeAttributes do ### Erlang ```erlang - ?'CODE_COLUMN'. + ?CODE_COLUMN. 'code.column' ``` @@ -59,7 +59,7 @@ defmodule OpenTelemetry.SemConv.Incubating.CodeAttributes do ### Erlang ```erlang - ?'CODE_FILEPATH'. + ?CODE_FILEPATH. 'code.filepath' ``` @@ -92,7 +92,7 @@ defmodule OpenTelemetry.SemConv.Incubating.CodeAttributes do ### Erlang ```erlang - ?'CODE_FUNCTION'. + ?CODE_FUNCTION. 'code.function' ``` @@ -125,7 +125,7 @@ defmodule OpenTelemetry.SemConv.Incubating.CodeAttributes do ### Erlang ```erlang - ?'CODE_LINENO'. + ?CODE_LINENO. 'code.lineno' ``` @@ -158,7 +158,7 @@ defmodule OpenTelemetry.SemConv.Incubating.CodeAttributes do ### Erlang ```erlang - ?'CODE_NAMESPACE'. + ?CODE_NAMESPACE. 'code.namespace' ``` @@ -191,7 +191,7 @@ defmodule OpenTelemetry.SemConv.Incubating.CodeAttributes do ### Erlang ```erlang - ?'CODE_STACKTRACE'. + ?CODE_STACKTRACE. 'code.stacktrace' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/container_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/container_attributes.ex index bf59727e..06e6ff3e 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/container_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/container_attributes.ex @@ -30,7 +30,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ContainerAttributes do ### Erlang ```erlang - ?'CONTAINER_COMMAND'. + ?CONTAINER_COMMAND. 'container.command' ``` @@ -63,7 +63,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ContainerAttributes do ### Erlang ```erlang - ?'CONTAINER_COMMAND_ARGS'. + ?CONTAINER_COMMAND_ARGS. 'container.command_args' ``` @@ -96,7 +96,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ContainerAttributes do ### Erlang ```erlang - ?'CONTAINER_COMMAND_LINE'. + ?CONTAINER_COMMAND_LINE. 'container.command_line' ``` @@ -145,13 +145,13 @@ defmodule OpenTelemetry.SemConv.Incubating.ContainerAttributes do ### Erlang ```erlang - ?'CONTAINER_CPU_STATE'. + ?CONTAINER_CPU_STATE. 'container.cpu.state' - ?'CONTAINER_CPU_STATE_VALUES_USER'. + ?CONTAINER_CPU_STATE_VALUES_USER. 'user' - \#{?'CONTAINER_CPU_STATE' => ?'CONTAINER_CPU_STATE_VALUES_USER'}. + \#{?CONTAINER_CPU_STATE => ?CONTAINER_CPU_STATE_VALUES_USER}. \#{'container.cpu.state' => 'user'} ``` @@ -193,7 +193,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ContainerAttributes do ### Erlang ```erlang - ?'CONTAINER_ID'. + ?CONTAINER_ID. 'container.id' ``` @@ -232,7 +232,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ContainerAttributes do ### Erlang ```erlang - ?'CONTAINER_IMAGE_ID'. + ?CONTAINER_IMAGE_ID. 'container.image.id' ``` @@ -265,7 +265,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ContainerAttributes do ### Erlang ```erlang - ?'CONTAINER_IMAGE_NAME'. + ?CONTAINER_IMAGE_NAME. 'container.image.name' ``` @@ -302,7 +302,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ContainerAttributes do ### Erlang ```erlang - ?'CONTAINER_IMAGE_REPO_DIGESTS'. + ?CONTAINER_IMAGE_REPO_DIGESTS. 'container.image.repo_digests' ``` @@ -335,7 +335,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ContainerAttributes do ### Erlang ```erlang - ?'CONTAINER_IMAGE_TAGS'. + ?CONTAINER_IMAGE_TAGS. 'container.image.tags' ``` @@ -368,7 +368,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ContainerAttributes do ### Erlang ```erlang - ?'CONTAINER_LABEL'. + ?CONTAINER_LABEL. 'container.label' ``` @@ -409,7 +409,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ContainerAttributes do ### Erlang ```erlang - ?'CONTAINER_NAME'. + ?CONTAINER_NAME. 'container.name' ``` @@ -442,7 +442,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ContainerAttributes do ### Erlang ```erlang - ?'CONTAINER_RUNTIME'. + ?CONTAINER_RUNTIME. 'container.runtime' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/db_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/db_attributes.ex index 1d24fcbe..d47ab5be 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/db_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/db_attributes.ex @@ -55,13 +55,13 @@ defmodule OpenTelemetry.SemConv.Incubating.DBAttributes do ### Erlang ```erlang - ?'DB_CASSANDRA_CONSISTENCY_LEVEL'. + ?DB_CASSANDRA_CONSISTENCY_LEVEL. 'db.cassandra.consistency_level' - ?'DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_ALL'. + ?DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_ALL. 'all' - \#{?'DB_CASSANDRA_CONSISTENCY_LEVEL' => ?'DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_ALL'}. + \#{?DB_CASSANDRA_CONSISTENCY_LEVEL => ?DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_ALL}. \#{'db.cassandra.consistency_level' => 'all'} ``` @@ -111,7 +111,7 @@ defmodule OpenTelemetry.SemConv.Incubating.DBAttributes do ### Erlang ```erlang - ?'DB_CASSANDRA_COORDINATOR_DC'. + ?DB_CASSANDRA_COORDINATOR_DC. 'db.cassandra.coordinator.dc' ``` @@ -144,7 +144,7 @@ defmodule OpenTelemetry.SemConv.Incubating.DBAttributes do ### Erlang ```erlang - ?'DB_CASSANDRA_COORDINATOR_ID'. + ?DB_CASSANDRA_COORDINATOR_ID. 'db.cassandra.coordinator.id' ``` @@ -172,7 +172,7 @@ defmodule OpenTelemetry.SemConv.Incubating.DBAttributes do ### Erlang ```erlang - ?'DB_CASSANDRA_IDEMPOTENCE'. + ?DB_CASSANDRA_IDEMPOTENCE. 'db.cassandra.idempotence' ``` @@ -205,7 +205,7 @@ defmodule OpenTelemetry.SemConv.Incubating.DBAttributes do ### Erlang ```erlang - ?'DB_CASSANDRA_PAGE_SIZE'. + ?DB_CASSANDRA_PAGE_SIZE. 'db.cassandra.page_size' ``` @@ -238,7 +238,7 @@ defmodule OpenTelemetry.SemConv.Incubating.DBAttributes do ### Erlang ```erlang - ?'DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT'. + ?DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT. 'db.cassandra.speculative_execution_count' ``` @@ -279,7 +279,7 @@ defmodule OpenTelemetry.SemConv.Incubating.DBAttributes do ### Erlang ```erlang - ?'DB_CLIENT_CONNECTIONS_POOL_NAME'. + ?DB_CLIENT_CONNECTIONS_POOL_NAME. 'db.client.connections.pool.name' ``` @@ -326,13 +326,13 @@ defmodule OpenTelemetry.SemConv.Incubating.DBAttributes do ### Erlang ```erlang - ?'DB_CLIENT_CONNECTIONS_STATE'. + ?DB_CLIENT_CONNECTIONS_STATE. 'db.client.connections.state' - ?'DB_CLIENT_CONNECTIONS_STATE_VALUES_IDLE'. + ?DB_CLIENT_CONNECTIONS_STATE_VALUES_IDLE. 'idle' - \#{?'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'} ``` @@ -377,7 +377,7 @@ defmodule OpenTelemetry.SemConv.Incubating.DBAttributes do ### Erlang ```erlang - ?'DB_COLLECTION_NAME'. + ?DB_COLLECTION_NAME. 'db.collection.name' ``` @@ -418,7 +418,7 @@ defmodule OpenTelemetry.SemConv.Incubating.DBAttributes do ### Erlang ```erlang - ?'DB_COSMOSDB_CLIENT_ID'. + ?DB_COSMOSDB_CLIENT_ID. 'db.cosmosdb.client_id' ``` @@ -460,13 +460,13 @@ defmodule OpenTelemetry.SemConv.Incubating.DBAttributes do ### Erlang ```erlang - ?'DB_COSMOSDB_CONNECTION_MODE'. + ?DB_COSMOSDB_CONNECTION_MODE. 'db.cosmosdb.connection_mode' - ?'DB_COSMOSDB_CONNECTION_MODE_VALUES_GATEWAY'. + ?DB_COSMOSDB_CONNECTION_MODE_VALUES_GATEWAY. 'gateway' - \#{?'DB_COSMOSDB_CONNECTION_MODE' => ?'DB_COSMOSDB_CONNECTION_MODE_VALUES_GATEWAY'}. + \#{?DB_COSMOSDB_CONNECTION_MODE => ?DB_COSMOSDB_CONNECTION_MODE_VALUES_GATEWAY}. \#{'db.cosmosdb.connection_mode' => 'gateway'} ``` @@ -550,13 +550,13 @@ defmodule OpenTelemetry.SemConv.Incubating.DBAttributes do ### Erlang ```erlang - ?'DB_COSMOSDB_OPERATION_TYPE'. + ?DB_COSMOSDB_OPERATION_TYPE. 'db.cosmosdb.operation_type' - ?'DB_COSMOSDB_OPERATION_TYPE_VALUES_INVALID'. + ?DB_COSMOSDB_OPERATION_TYPE_VALUES_INVALID. 'Invalid' - \#{?'DB_COSMOSDB_OPERATION_TYPE' => ?'DB_COSMOSDB_OPERATION_TYPE_VALUES_INVALID'}. + \#{?DB_COSMOSDB_OPERATION_TYPE => ?DB_COSMOSDB_OPERATION_TYPE_VALUES_INVALID}. \#{'db.cosmosdb.operation_type' => 'Invalid'} ``` @@ -609,7 +609,7 @@ defmodule OpenTelemetry.SemConv.Incubating.DBAttributes do ### Erlang ```erlang - ?'DB_COSMOSDB_REQUEST_CHARGE'. + ?DB_COSMOSDB_REQUEST_CHARGE. 'db.cosmosdb.request_charge' ``` @@ -636,7 +636,7 @@ defmodule OpenTelemetry.SemConv.Incubating.DBAttributes do ### Erlang ```erlang - ?'DB_COSMOSDB_REQUEST_CONTENT_LENGTH'. + ?DB_COSMOSDB_REQUEST_CONTENT_LENGTH. 'db.cosmosdb.request_content_length' ``` @@ -668,7 +668,7 @@ defmodule OpenTelemetry.SemConv.Incubating.DBAttributes do ### Erlang ```erlang - ?'DB_COSMOSDB_STATUS_CODE'. + ?DB_COSMOSDB_STATUS_CODE. 'db.cosmosdb.status_code' ``` @@ -700,7 +700,7 @@ defmodule OpenTelemetry.SemConv.Incubating.DBAttributes do ### Erlang ```erlang - ?'DB_COSMOSDB_SUB_STATUS_CODE'. + ?DB_COSMOSDB_SUB_STATUS_CODE. 'db.cosmosdb.sub_status_code' ``` @@ -733,7 +733,7 @@ defmodule OpenTelemetry.SemConv.Incubating.DBAttributes do ### Erlang ```erlang - ?'DB_ELASTICSEARCH_CLUSTER_NAME'. + ?DB_ELASTICSEARCH_CLUSTER_NAME. 'db.elasticsearch.cluster.name' ``` @@ -766,7 +766,7 @@ defmodule OpenTelemetry.SemConv.Incubating.DBAttributes do ### Erlang ```erlang - ?'DB_ELASTICSEARCH_NODE_NAME'. + ?DB_ELASTICSEARCH_NODE_NAME. 'db.elasticsearch.node.name' ``` @@ -803,7 +803,7 @@ defmodule OpenTelemetry.SemConv.Incubating.DBAttributes do ### Erlang ```erlang - ?'DB_ELASTICSEARCH_PATH_PARTS'. + ?DB_ELASTICSEARCH_PATH_PARTS. 'db.elasticsearch.path_parts' ``` @@ -882,7 +882,7 @@ defmodule OpenTelemetry.SemConv.Incubating.DBAttributes do ### Erlang ```erlang - ?'DB_NAMESPACE'. + ?DB_NAMESPACE. 'db.namespace' ``` @@ -927,7 +927,7 @@ defmodule OpenTelemetry.SemConv.Incubating.DBAttributes do ### Erlang ```erlang - ?'DB_OPERATION_NAME'. + ?DB_OPERATION_NAME. 'db.operation.name' ``` @@ -965,7 +965,7 @@ defmodule OpenTelemetry.SemConv.Incubating.DBAttributes do ### Erlang ```erlang - ?'DB_QUERY_PARAMETER'. + ?DB_QUERY_PARAMETER. 'db.query.parameter' ``` @@ -998,7 +998,7 @@ defmodule OpenTelemetry.SemConv.Incubating.DBAttributes do ### Erlang ```erlang - ?'DB_QUERY_TEXT'. + ?DB_QUERY_TEXT. 'db.query.text' ``` @@ -1168,13 +1168,13 @@ defmodule OpenTelemetry.SemConv.Incubating.DBAttributes do ### Erlang ```erlang - ?'DB_SYSTEM'. + ?DB_SYSTEM. 'db.system' - ?'DB_SYSTEM_VALUES_OTHER_SQL'. + ?DB_SYSTEM_VALUES_OTHER_SQL. 'other_sql' - \#{?'DB_SYSTEM' => ?'DB_SYSTEM_VALUES_OTHER_SQL'}. + \#{?DB_SYSTEM => ?DB_SYSTEM_VALUES_OTHER_SQL}. \#{'db.system' => 'other_sql'} ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/deployment_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/deployment_attributes.ex index 0a032035..7b9b9166 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/deployment_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/deployment_attributes.ex @@ -36,7 +36,7 @@ defmodule OpenTelemetry.SemConv.Incubating.DeploymentAttributes do ### Erlang ```erlang - ?'DEPLOYMENT_ENVIRONMENT'. + ?DEPLOYMENT_ENVIRONMENT. 'deployment.environment' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/destination_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/destination_attributes.ex index 2d97f41c..79f50f43 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/destination_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/destination_attributes.ex @@ -29,7 +29,7 @@ defmodule OpenTelemetry.SemConv.Incubating.DestinationAttributes do ### Erlang ```erlang - ?'DESTINATION_ADDRESS'. + ?DESTINATION_ADDRESS. 'destination.address' ``` @@ -61,7 +61,7 @@ defmodule OpenTelemetry.SemConv.Incubating.DestinationAttributes do ### Erlang ```erlang - ?'DESTINATION_PORT'. + ?DESTINATION_PORT. 'destination.port' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/device_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/device_attributes.ex index b830bee1..3e77f70f 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/device_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/device_attributes.ex @@ -30,7 +30,7 @@ defmodule OpenTelemetry.SemConv.Incubating.DeviceAttributes do ### Erlang ```erlang - ?'DEVICE_ID'. + ?DEVICE_ID. 'device.id' ``` @@ -67,7 +67,7 @@ defmodule OpenTelemetry.SemConv.Incubating.DeviceAttributes do ### Erlang ```erlang - ?'DEVICE_MANUFACTURER'. + ?DEVICE_MANUFACTURER. 'device.manufacturer' ``` @@ -104,7 +104,7 @@ defmodule OpenTelemetry.SemConv.Incubating.DeviceAttributes do ### Erlang ```erlang - ?'DEVICE_MODEL_IDENTIFIER'. + ?DEVICE_MODEL_IDENTIFIER. 'device.model.identifier' ``` @@ -141,7 +141,7 @@ defmodule OpenTelemetry.SemConv.Incubating.DeviceAttributes do ### Erlang ```erlang - ?'DEVICE_MODEL_NAME'. + ?DEVICE_MODEL_NAME. 'device.model.name' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/disk_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/disk_attributes.ex index 05f5b771..cc70bbd1 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/disk_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/disk_attributes.ex @@ -40,13 +40,13 @@ defmodule OpenTelemetry.SemConv.Incubating.DiskAttributes do ### Erlang ```erlang - ?'DISK_IO_DIRECTION'. + ?DISK_IO_DIRECTION. 'disk.io.direction' - ?'DISK_IO_DIRECTION_VALUES_READ'. + ?DISK_IO_DIRECTION_VALUES_READ. 'read' - \#{?'DISK_IO_DIRECTION' => ?'DISK_IO_DIRECTION_VALUES_READ'}. + \#{?DISK_IO_DIRECTION => ?DISK_IO_DIRECTION_VALUES_READ}. \#{'disk.io.direction' => 'read'} ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/dns_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/dns_attributes.ex index e55e6a3a..0931ca23 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/dns_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/dns_attributes.ex @@ -29,7 +29,7 @@ defmodule OpenTelemetry.SemConv.Incubating.DNSAttributes do ### Erlang ```erlang - ?'DNS_QUESTION_NAME'. + ?DNS_QUESTION_NAME. 'dns.question.name' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/enduser_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/enduser_attributes.ex index 4f7ba139..519cb767 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/enduser_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/enduser_attributes.ex @@ -26,7 +26,7 @@ defmodule OpenTelemetry.SemConv.Incubating.EnduserAttributes do ### Erlang ```erlang - ?'ENDUSER_ID'. + ?ENDUSER_ID. 'enduser.id' ``` @@ -58,7 +58,7 @@ defmodule OpenTelemetry.SemConv.Incubating.EnduserAttributes do ### Erlang ```erlang - ?'ENDUSER_ROLE'. + ?ENDUSER_ROLE. 'enduser.role' ``` @@ -91,7 +91,7 @@ defmodule OpenTelemetry.SemConv.Incubating.EnduserAttributes do ### Erlang ```erlang - ?'ENDUSER_SCOPE'. + ?ENDUSER_SCOPE. 'enduser.scope' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/event_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/event_attributes.ex index aa1702d9..77309279 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/event_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/event_attributes.ex @@ -30,7 +30,7 @@ defmodule OpenTelemetry.SemConv.Incubating.EventAttributes do ### Erlang ```erlang - ?'EVENT_NAME'. + ?EVENT_NAME. 'event.name' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/faas_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/faas_attributes.ex index 2128b9dc..d8b01347 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/faas_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/faas_attributes.ex @@ -21,7 +21,7 @@ defmodule OpenTelemetry.SemConv.Incubating.FAASAttributes do ### Erlang ```erlang - ?'FAAS_COLDSTART'. + ?FAAS_COLDSTART. 'faas.coldstart' ``` @@ -54,7 +54,7 @@ defmodule OpenTelemetry.SemConv.Incubating.FAASAttributes do ### Erlang ```erlang - ?'FAAS_CRON'. + ?FAAS_CRON. 'faas.cron' ``` @@ -87,7 +87,7 @@ defmodule OpenTelemetry.SemConv.Incubating.FAASAttributes do ### Erlang ```erlang - ?'FAAS_DOCUMENT_COLLECTION'. + ?FAAS_DOCUMENT_COLLECTION. 'faas.document.collection' ``` @@ -120,7 +120,7 @@ defmodule OpenTelemetry.SemConv.Incubating.FAASAttributes do ### Erlang ```erlang - ?'FAAS_DOCUMENT_NAME'. + ?FAAS_DOCUMENT_NAME. 'faas.document.name' ``` @@ -164,13 +164,13 @@ defmodule OpenTelemetry.SemConv.Incubating.FAASAttributes do ### Erlang ```erlang - ?'FAAS_DOCUMENT_OPERATION'. + ?FAAS_DOCUMENT_OPERATION. 'faas.document.operation' - ?'FAAS_DOCUMENT_OPERATION_VALUES_INSERT'. + ?FAAS_DOCUMENT_OPERATION_VALUES_INSERT. 'insert' - \#{?'FAAS_DOCUMENT_OPERATION' => ?'FAAS_DOCUMENT_OPERATION_VALUES_INSERT'}. + \#{?FAAS_DOCUMENT_OPERATION => ?FAAS_DOCUMENT_OPERATION_VALUES_INSERT}. \#{'faas.document.operation' => 'insert'} ``` @@ -212,7 +212,7 @@ defmodule OpenTelemetry.SemConv.Incubating.FAASAttributes do ### Erlang ```erlang - ?'FAAS_DOCUMENT_TIME'. + ?FAAS_DOCUMENT_TIME. 'faas.document.time' ``` @@ -249,7 +249,7 @@ defmodule OpenTelemetry.SemConv.Incubating.FAASAttributes do ### Erlang ```erlang - ?'FAAS_INSTANCE'. + ?FAAS_INSTANCE. 'faas.instance' ``` @@ -282,7 +282,7 @@ defmodule OpenTelemetry.SemConv.Incubating.FAASAttributes do ### Erlang ```erlang - ?'FAAS_INVOCATION_ID'. + ?FAAS_INVOCATION_ID. 'faas.invocation_id' ``` @@ -319,7 +319,7 @@ defmodule OpenTelemetry.SemConv.Incubating.FAASAttributes do ### Erlang ```erlang - ?'FAAS_INVOKED_NAME'. + ?FAAS_INVOKED_NAME. 'faas.invoked_name' ``` @@ -373,13 +373,13 @@ defmodule OpenTelemetry.SemConv.Incubating.FAASAttributes do ### Erlang ```erlang - ?'FAAS_INVOKED_PROVIDER'. + ?FAAS_INVOKED_PROVIDER. 'faas.invoked_provider' - ?'FAAS_INVOKED_PROVIDER_VALUES_ALIBABA_CLOUD'. + ?FAAS_INVOKED_PROVIDER_VALUES_ALIBABA_CLOUD. 'alibaba_cloud' - \#{?'FAAS_INVOKED_PROVIDER' => ?'FAAS_INVOKED_PROVIDER_VALUES_ALIBABA_CLOUD'}. + \#{?FAAS_INVOKED_PROVIDER => ?FAAS_INVOKED_PROVIDER_VALUES_ALIBABA_CLOUD}. \#{'faas.invoked_provider' => 'alibaba_cloud'} ``` @@ -427,7 +427,7 @@ defmodule OpenTelemetry.SemConv.Incubating.FAASAttributes do ### Erlang ```erlang - ?'FAAS_INVOKED_REGION'. + ?FAAS_INVOKED_REGION. 'faas.invoked_region' ``` @@ -464,7 +464,7 @@ defmodule OpenTelemetry.SemConv.Incubating.FAASAttributes do ### Erlang ```erlang - ?'FAAS_MAX_MEMORY'. + ?FAAS_MAX_MEMORY. 'faas.max_memory' ``` @@ -516,7 +516,7 @@ defmodule OpenTelemetry.SemConv.Incubating.FAASAttributes do ### Erlang ```erlang - ?'FAAS_NAME'. + ?FAAS_NAME. 'faas.name' ``` @@ -549,7 +549,7 @@ defmodule OpenTelemetry.SemConv.Incubating.FAASAttributes do ### Erlang ```erlang - ?'FAAS_TIME'. + ?FAAS_TIME. 'faas.time' ``` @@ -599,13 +599,13 @@ defmodule OpenTelemetry.SemConv.Incubating.FAASAttributes do ### Erlang ```erlang - ?'FAAS_TRIGGER'. + ?FAAS_TRIGGER. 'faas.trigger' - ?'FAAS_TRIGGER_VALUES_DATASOURCE'. + ?FAAS_TRIGGER_VALUES_DATASOURCE. 'datasource' - \#{?'FAAS_TRIGGER' => ?'FAAS_TRIGGER_VALUES_DATASOURCE'}. + \#{?FAAS_TRIGGER => ?FAAS_TRIGGER_VALUES_DATASOURCE}. \#{'faas.trigger' => 'datasource'} ``` @@ -660,7 +660,7 @@ defmodule OpenTelemetry.SemConv.Incubating.FAASAttributes do ### Erlang ```erlang - ?'FAAS_VERSION'. + ?FAAS_VERSION. 'faas.version' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/feature_flag_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/feature_flag_attributes.ex index 6a6572bf..b4a89310 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/feature_flag_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/feature_flag_attributes.ex @@ -25,7 +25,7 @@ defmodule OpenTelemetry.SemConv.Incubating.FeatureFlagAttributes do ### Erlang ```erlang - ?'FEATURE_FLAG_KEY'. + ?FEATURE_FLAG_KEY. 'feature_flag.key' ``` @@ -57,7 +57,7 @@ defmodule OpenTelemetry.SemConv.Incubating.FeatureFlagAttributes do ### Erlang ```erlang - ?'FEATURE_FLAG_PROVIDER_NAME'. + ?FEATURE_FLAG_PROVIDER_NAME. 'feature_flag.provider_name' ``` @@ -100,7 +100,7 @@ defmodule OpenTelemetry.SemConv.Incubating.FeatureFlagAttributes do ### Erlang ```erlang - ?'FEATURE_FLAG_VARIANT'. + ?FEATURE_FLAG_VARIANT. 'feature_flag.variant' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/file_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/file_attributes.ex index 8d29f02e..8f960803 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/file_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/file_attributes.ex @@ -26,7 +26,7 @@ defmodule OpenTelemetry.SemConv.Incubating.FileAttributes do ### Erlang ```erlang - ?'FILE_DIRECTORY'. + ?FILE_DIRECTORY. 'file.directory' ``` @@ -63,7 +63,7 @@ defmodule OpenTelemetry.SemConv.Incubating.FileAttributes do ### Erlang ```erlang - ?'FILE_EXTENSION'. + ?FILE_EXTENSION. 'file.extension' ``` @@ -96,7 +96,7 @@ defmodule OpenTelemetry.SemConv.Incubating.FileAttributes do ### Erlang ```erlang - ?'FILE_NAME'. + ?FILE_NAME. 'file.name' ``` @@ -129,7 +129,7 @@ defmodule OpenTelemetry.SemConv.Incubating.FileAttributes do ### Erlang ```erlang - ?'FILE_PATH'. + ?FILE_PATH. 'file.path' ``` @@ -157,7 +157,7 @@ defmodule OpenTelemetry.SemConv.Incubating.FileAttributes do ### Erlang ```erlang - ?'FILE_SIZE'. + ?FILE_SIZE. 'file.size' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/gcp_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/gcp_attributes.ex index c0b4dd57..cc668ee0 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/gcp_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/gcp_attributes.ex @@ -26,7 +26,7 @@ defmodule OpenTelemetry.SemConv.Incubating.GCPAttributes do ### Erlang ```erlang - ?'GCP_CLOUD_RUN_JOB_EXECUTION'. + ?GCP_CLOUD_RUN_JOB_EXECUTION. 'gcp.cloud_run.job.execution' ``` @@ -59,7 +59,7 @@ defmodule OpenTelemetry.SemConv.Incubating.GCPAttributes do ### Erlang ```erlang - ?'GCP_CLOUD_RUN_JOB_TASK_INDEX'. + ?GCP_CLOUD_RUN_JOB_TASK_INDEX. 'gcp.cloud_run.job.task_index' ``` @@ -92,7 +92,7 @@ defmodule OpenTelemetry.SemConv.Incubating.GCPAttributes do ### Erlang ```erlang - ?'GCP_GCE_INSTANCE_HOSTNAME'. + ?GCP_GCE_INSTANCE_HOSTNAME. 'gcp.gce.instance.hostname' ``` @@ -125,7 +125,7 @@ defmodule OpenTelemetry.SemConv.Incubating.GCPAttributes do ### Erlang ```erlang - ?'GCP_GCE_INSTANCE_NAME'. + ?GCP_GCE_INSTANCE_NAME. 'gcp.gce.instance.name' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/gen_ai_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/gen_ai_attributes.ex index b2214639..3f15ecaf 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/gen_ai_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/gen_ai_attributes.ex @@ -28,7 +28,7 @@ defmodule OpenTelemetry.SemConv.Incubating.GenAiAttributes do ### Erlang ```erlang - ?'GEN_AI_COMPLETION'. + ?GEN_AI_COMPLETION. 'gen_ai.completion' ``` @@ -63,7 +63,7 @@ defmodule OpenTelemetry.SemConv.Incubating.GenAiAttributes do ### Erlang ```erlang - ?'GEN_AI_PROMPT'. + ?GEN_AI_PROMPT. 'gen_ai.prompt' ``` @@ -95,7 +95,7 @@ defmodule OpenTelemetry.SemConv.Incubating.GenAiAttributes do ### Erlang ```erlang - ?'GEN_AI_REQUEST_MAX_TOKENS'. + ?GEN_AI_REQUEST_MAX_TOKENS. 'gen_ai.request.max_tokens' ``` @@ -127,7 +127,7 @@ defmodule OpenTelemetry.SemConv.Incubating.GenAiAttributes do ### Erlang ```erlang - ?'GEN_AI_REQUEST_MODEL'. + ?GEN_AI_REQUEST_MODEL. 'gen_ai.request.model' ``` @@ -159,7 +159,7 @@ defmodule OpenTelemetry.SemConv.Incubating.GenAiAttributes do ### Erlang ```erlang - ?'GEN_AI_REQUEST_TEMPERATURE'. + ?GEN_AI_REQUEST_TEMPERATURE. 'gen_ai.request.temperature' ``` @@ -191,7 +191,7 @@ defmodule OpenTelemetry.SemConv.Incubating.GenAiAttributes do ### Erlang ```erlang - ?'GEN_AI_REQUEST_TOP_P'. + ?GEN_AI_REQUEST_TOP_P. 'gen_ai.request.top_p' ``` @@ -223,7 +223,7 @@ defmodule OpenTelemetry.SemConv.Incubating.GenAiAttributes do ### Erlang ```erlang - ?'GEN_AI_RESPONSE_FINISH_REASONS'. + ?GEN_AI_RESPONSE_FINISH_REASONS. 'gen_ai.response.finish_reasons' ``` @@ -255,7 +255,7 @@ defmodule OpenTelemetry.SemConv.Incubating.GenAiAttributes do ### Erlang ```erlang - ?'GEN_AI_RESPONSE_ID'. + ?GEN_AI_RESPONSE_ID. 'gen_ai.response.id' ``` @@ -287,7 +287,7 @@ defmodule OpenTelemetry.SemConv.Incubating.GenAiAttributes do ### Erlang ```erlang - ?'GEN_AI_RESPONSE_MODEL'. + ?GEN_AI_RESPONSE_MODEL. 'gen_ai.response.model' ``` @@ -336,13 +336,13 @@ defmodule OpenTelemetry.SemConv.Incubating.GenAiAttributes do ### Erlang ```erlang - ?'GEN_AI_SYSTEM'. + ?GEN_AI_SYSTEM. 'gen_ai.system' - ?'GEN_AI_SYSTEM_VALUES_OPENAI'. + ?GEN_AI_SYSTEM_VALUES_OPENAI. 'openai' - \#{?'GEN_AI_SYSTEM' => ?'GEN_AI_SYSTEM_VALUES_OPENAI'}. + \#{?GEN_AI_SYSTEM => ?GEN_AI_SYSTEM_VALUES_OPENAI}. \#{'gen_ai.system' => 'openai'} ``` @@ -381,7 +381,7 @@ defmodule OpenTelemetry.SemConv.Incubating.GenAiAttributes do ### Erlang ```erlang - ?'GEN_AI_USAGE_COMPLETION_TOKENS'. + ?GEN_AI_USAGE_COMPLETION_TOKENS. 'gen_ai.usage.completion_tokens' ``` @@ -413,7 +413,7 @@ defmodule OpenTelemetry.SemConv.Incubating.GenAiAttributes do ### Erlang ```erlang - ?'GEN_AI_USAGE_PROMPT_TOKENS'. + ?GEN_AI_USAGE_PROMPT_TOKENS. 'gen_ai.usage.prompt_tokens' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/graphql_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/graphql_attributes.ex index 7deb9a81..65ec9801 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/graphql_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/graphql_attributes.ex @@ -28,7 +28,7 @@ defmodule OpenTelemetry.SemConv.Incubating.GraphqlAttributes do ### Erlang ```erlang - ?'GRAPHQL_DOCUMENT'. + ?GRAPHQL_DOCUMENT. 'graphql.document' ``` @@ -60,7 +60,7 @@ defmodule OpenTelemetry.SemConv.Incubating.GraphqlAttributes do ### Erlang ```erlang - ?'GRAPHQL_OPERATION_NAME'. + ?GRAPHQL_OPERATION_NAME. 'graphql.operation.name' ``` @@ -109,13 +109,13 @@ defmodule OpenTelemetry.SemConv.Incubating.GraphqlAttributes do ### Erlang ```erlang - ?'GRAPHQL_OPERATION_TYPE'. + ?GRAPHQL_OPERATION_TYPE. 'graphql.operation.type' - ?'GRAPHQL_OPERATION_TYPE_VALUES_QUERY'. + ?GRAPHQL_OPERATION_TYPE_VALUES_QUERY. 'query' - \#{?'GRAPHQL_OPERATION_TYPE' => ?'GRAPHQL_OPERATION_TYPE_VALUES_QUERY'}. + \#{?GRAPHQL_OPERATION_TYPE => ?GRAPHQL_OPERATION_TYPE_VALUES_QUERY}. \#{'graphql.operation.type' => 'query'} ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/heroku_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/heroku_attributes.ex index c0f5dd11..3f744824 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/heroku_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/heroku_attributes.ex @@ -26,7 +26,7 @@ defmodule OpenTelemetry.SemConv.Incubating.HerokuAttributes do ### Erlang ```erlang - ?'HEROKU_APP_ID'. + ?HEROKU_APP_ID. 'heroku.app.id' ``` @@ -59,7 +59,7 @@ defmodule OpenTelemetry.SemConv.Incubating.HerokuAttributes do ### Erlang ```erlang - ?'HEROKU_RELEASE_COMMIT'. + ?HEROKU_RELEASE_COMMIT. 'heroku.release.commit' ``` @@ -92,7 +92,7 @@ defmodule OpenTelemetry.SemConv.Incubating.HerokuAttributes do ### Erlang ```erlang - ?'HEROKU_RELEASE_CREATION_TIMESTAMP'. + ?HEROKU_RELEASE_CREATION_TIMESTAMP. 'heroku.release.creation_timestamp' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/host_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/host_attributes.ex index 268a62b5..178074f5 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/host_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/host_attributes.ex @@ -49,13 +49,13 @@ defmodule OpenTelemetry.SemConv.Incubating.HostAttributes do ### Erlang ```erlang - ?'HOST_ARCH'. + ?HOST_ARCH. 'host.arch' - ?'HOST_ARCH_VALUES_AMD_64'. + ?HOST_ARCH_VALUES_AMD_64. 'amd64' - \#{?'HOST_ARCH' => ?'HOST_ARCH_VALUES_AMD_64'}. + \#{?HOST_ARCH => ?HOST_ARCH_VALUES_AMD_64}. \#{'host.arch' => 'amd64'} ``` @@ -102,7 +102,7 @@ defmodule OpenTelemetry.SemConv.Incubating.HostAttributes do ### Erlang ```erlang - ?'HOST_CPU_CACHE_L2_SIZE'. + ?HOST_CPU_CACHE_L2_SIZE. 'host.cpu.cache.l2.size' ``` @@ -135,7 +135,7 @@ defmodule OpenTelemetry.SemConv.Incubating.HostAttributes do ### Erlang ```erlang - ?'HOST_CPU_FAMILY'. + ?HOST_CPU_FAMILY. 'host.cpu.family' ``` @@ -168,7 +168,7 @@ defmodule OpenTelemetry.SemConv.Incubating.HostAttributes do ### Erlang ```erlang - ?'HOST_CPU_MODEL_ID'. + ?HOST_CPU_MODEL_ID. 'host.cpu.model.id' ``` @@ -201,7 +201,7 @@ defmodule OpenTelemetry.SemConv.Incubating.HostAttributes do ### Erlang ```erlang - ?'HOST_CPU_MODEL_NAME'. + ?HOST_CPU_MODEL_NAME. 'host.cpu.model.name' ``` @@ -234,7 +234,7 @@ defmodule OpenTelemetry.SemConv.Incubating.HostAttributes do ### Erlang ```erlang - ?'HOST_CPU_STEPPING'. + ?HOST_CPU_STEPPING. 'host.cpu.stepping' ``` @@ -271,7 +271,7 @@ defmodule OpenTelemetry.SemConv.Incubating.HostAttributes do ### Erlang ```erlang - ?'HOST_CPU_VENDOR_ID'. + ?HOST_CPU_VENDOR_ID. 'host.cpu.vendor.id' ``` @@ -304,7 +304,7 @@ defmodule OpenTelemetry.SemConv.Incubating.HostAttributes do ### Erlang ```erlang - ?'HOST_ID'. + ?HOST_ID. 'host.id' ``` @@ -337,7 +337,7 @@ defmodule OpenTelemetry.SemConv.Incubating.HostAttributes do ### Erlang ```erlang - ?'HOST_IMAGE_ID'. + ?HOST_IMAGE_ID. 'host.image.id' ``` @@ -370,7 +370,7 @@ defmodule OpenTelemetry.SemConv.Incubating.HostAttributes do ### Erlang ```erlang - ?'HOST_IMAGE_NAME'. + ?HOST_IMAGE_NAME. 'host.image.name' ``` @@ -403,7 +403,7 @@ defmodule OpenTelemetry.SemConv.Incubating.HostAttributes do ### Erlang ```erlang - ?'HOST_IMAGE_VERSION'. + ?HOST_IMAGE_VERSION. 'host.image.version' ``` @@ -440,7 +440,7 @@ defmodule OpenTelemetry.SemConv.Incubating.HostAttributes do ### Erlang ```erlang - ?'HOST_IP'. + ?HOST_IP. 'host.ip' ``` @@ -477,7 +477,7 @@ defmodule OpenTelemetry.SemConv.Incubating.HostAttributes do ### Erlang ```erlang - ?'HOST_MAC'. + ?HOST_MAC. 'host.mac' ``` @@ -510,7 +510,7 @@ defmodule OpenTelemetry.SemConv.Incubating.HostAttributes do ### Erlang ```erlang - ?'HOST_NAME'. + ?HOST_NAME. 'host.name' ``` @@ -543,7 +543,7 @@ defmodule OpenTelemetry.SemConv.Incubating.HostAttributes do ### Erlang ```erlang - ?'HOST_TYPE'. + ?HOST_TYPE. 'host.type' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/http_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/http_attributes.ex index 23471f7d..87d7789b 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/http_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/http_attributes.ex @@ -63,13 +63,13 @@ defmodule OpenTelemetry.SemConv.Incubating.HTTPAttributes do ### Erlang ```erlang - ?'HTTP_CONNECTION_STATE'. + ?HTTP_CONNECTION_STATE. 'http.connection.state' - ?'HTTP_CONNECTION_STATE_VALUES_ACTIVE'. + ?HTTP_CONNECTION_STATE_VALUES_ACTIVE. 'active' - \#{?'HTTP_CONNECTION_STATE' => ?'HTTP_CONNECTION_STATE_VALUES_ACTIVE'}. + \#{?HTTP_CONNECTION_STATE => ?HTTP_CONNECTION_STATE_VALUES_ACTIVE}. \#{'http.connection.state' => 'active'} ``` @@ -165,7 +165,7 @@ defmodule OpenTelemetry.SemConv.Incubating.HTTPAttributes do ### Erlang ```erlang - ?'HTTP_REQUEST_BODY_SIZE'. + ?HTTP_REQUEST_BODY_SIZE. 'http.request.body.size' ``` @@ -198,7 +198,7 @@ defmodule OpenTelemetry.SemConv.Incubating.HTTPAttributes do ### Erlang ```erlang - ?'HTTP_REQUEST_SIZE'. + ?HTTP_REQUEST_SIZE. 'http.request.size' ``` @@ -247,7 +247,7 @@ defmodule OpenTelemetry.SemConv.Incubating.HTTPAttributes do ### Erlang ```erlang - ?'HTTP_RESPONSE_BODY_SIZE'. + ?HTTP_RESPONSE_BODY_SIZE. 'http.response.body.size' ``` @@ -280,7 +280,7 @@ defmodule OpenTelemetry.SemConv.Incubating.HTTPAttributes do ### Erlang ```erlang - ?'HTTP_RESPONSE_SIZE'. + ?HTTP_RESPONSE_SIZE. 'http.response.size' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/k8s_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/k8s_attributes.ex index d6aebd74..e220fd82 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/k8s_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/k8s_attributes.ex @@ -26,7 +26,7 @@ defmodule OpenTelemetry.SemConv.Incubating.K8SAttributes do ### Erlang ```erlang - ?'K8S_CLUSTER_NAME'. + ?K8S_CLUSTER_NAME. 'k8s.cluster.name' ``` @@ -84,7 +84,7 @@ defmodule OpenTelemetry.SemConv.Incubating.K8SAttributes do ### Erlang ```erlang - ?'K8S_CLUSTER_UID'. + ?K8S_CLUSTER_UID. 'k8s.cluster.uid' ``` @@ -117,7 +117,7 @@ defmodule OpenTelemetry.SemConv.Incubating.K8SAttributes do ### Erlang ```erlang - ?'K8S_CONTAINER_NAME'. + ?K8S_CONTAINER_NAME. 'k8s.container.name' ``` @@ -145,7 +145,7 @@ defmodule OpenTelemetry.SemConv.Incubating.K8SAttributes do ### Erlang ```erlang - ?'K8S_CONTAINER_RESTART_COUNT'. + ?K8S_CONTAINER_RESTART_COUNT. 'k8s.container.restart_count' ``` @@ -178,7 +178,7 @@ defmodule OpenTelemetry.SemConv.Incubating.K8SAttributes do ### Erlang ```erlang - ?'K8S_CONTAINER_STATUS_LAST_TERMINATED_REASON'. + ?K8S_CONTAINER_STATUS_LAST_TERMINATED_REASON. 'k8s.container.status.last_terminated_reason' ``` @@ -212,7 +212,7 @@ defmodule OpenTelemetry.SemConv.Incubating.K8SAttributes do ### Erlang ```erlang - ?'K8S_CRONJOB_NAME'. + ?K8S_CRONJOB_NAME. 'k8s.cronjob.name' ``` @@ -245,7 +245,7 @@ defmodule OpenTelemetry.SemConv.Incubating.K8SAttributes do ### Erlang ```erlang - ?'K8S_CRONJOB_UID'. + ?K8S_CRONJOB_UID. 'k8s.cronjob.uid' ``` @@ -278,7 +278,7 @@ defmodule OpenTelemetry.SemConv.Incubating.K8SAttributes do ### Erlang ```erlang - ?'K8S_DAEMONSET_NAME'. + ?K8S_DAEMONSET_NAME. 'k8s.daemonset.name' ``` @@ -311,7 +311,7 @@ defmodule OpenTelemetry.SemConv.Incubating.K8SAttributes do ### Erlang ```erlang - ?'K8S_DAEMONSET_UID'. + ?K8S_DAEMONSET_UID. 'k8s.daemonset.uid' ``` @@ -344,7 +344,7 @@ defmodule OpenTelemetry.SemConv.Incubating.K8SAttributes do ### Erlang ```erlang - ?'K8S_DEPLOYMENT_NAME'. + ?K8S_DEPLOYMENT_NAME. 'k8s.deployment.name' ``` @@ -377,7 +377,7 @@ defmodule OpenTelemetry.SemConv.Incubating.K8SAttributes do ### Erlang ```erlang - ?'K8S_DEPLOYMENT_UID'. + ?K8S_DEPLOYMENT_UID. 'k8s.deployment.uid' ``` @@ -410,7 +410,7 @@ defmodule OpenTelemetry.SemConv.Incubating.K8SAttributes do ### Erlang ```erlang - ?'K8S_JOB_NAME'. + ?K8S_JOB_NAME. 'k8s.job.name' ``` @@ -443,7 +443,7 @@ defmodule OpenTelemetry.SemConv.Incubating.K8SAttributes do ### Erlang ```erlang - ?'K8S_JOB_UID'. + ?K8S_JOB_UID. 'k8s.job.uid' ``` @@ -476,7 +476,7 @@ defmodule OpenTelemetry.SemConv.Incubating.K8SAttributes do ### Erlang ```erlang - ?'K8S_NAMESPACE_NAME'. + ?K8S_NAMESPACE_NAME. 'k8s.namespace.name' ``` @@ -509,7 +509,7 @@ defmodule OpenTelemetry.SemConv.Incubating.K8SAttributes do ### Erlang ```erlang - ?'K8S_NODE_NAME'. + ?K8S_NODE_NAME. 'k8s.node.name' ``` @@ -542,7 +542,7 @@ defmodule OpenTelemetry.SemConv.Incubating.K8SAttributes do ### Erlang ```erlang - ?'K8S_NODE_UID'. + ?K8S_NODE_UID. 'k8s.node.uid' ``` @@ -575,7 +575,7 @@ defmodule OpenTelemetry.SemConv.Incubating.K8SAttributes do ### Erlang ```erlang - ?'K8S_POD_ANNOTATION'. + ?K8S_POD_ANNOTATION. 'k8s.pod.annotation' ``` @@ -608,7 +608,7 @@ defmodule OpenTelemetry.SemConv.Incubating.K8SAttributes do ### Erlang ```erlang - ?'K8S_POD_LABEL'. + ?K8S_POD_LABEL. 'k8s.pod.label' ``` @@ -649,7 +649,7 @@ defmodule OpenTelemetry.SemConv.Incubating.K8SAttributes do ### Erlang ```erlang - ?'K8S_POD_NAME'. + ?K8S_POD_NAME. 'k8s.pod.name' ``` @@ -682,7 +682,7 @@ defmodule OpenTelemetry.SemConv.Incubating.K8SAttributes do ### Erlang ```erlang - ?'K8S_POD_UID'. + ?K8S_POD_UID. 'k8s.pod.uid' ``` @@ -715,7 +715,7 @@ defmodule OpenTelemetry.SemConv.Incubating.K8SAttributes do ### Erlang ```erlang - ?'K8S_REPLICASET_NAME'. + ?K8S_REPLICASET_NAME. 'k8s.replicaset.name' ``` @@ -748,7 +748,7 @@ defmodule OpenTelemetry.SemConv.Incubating.K8SAttributes do ### Erlang ```erlang - ?'K8S_REPLICASET_UID'. + ?K8S_REPLICASET_UID. 'k8s.replicaset.uid' ``` @@ -781,7 +781,7 @@ defmodule OpenTelemetry.SemConv.Incubating.K8SAttributes do ### Erlang ```erlang - ?'K8S_STATEFULSET_NAME'. + ?K8S_STATEFULSET_NAME. 'k8s.statefulset.name' ``` @@ -814,7 +814,7 @@ defmodule OpenTelemetry.SemConv.Incubating.K8SAttributes do ### Erlang ```erlang - ?'K8S_STATEFULSET_UID'. + ?K8S_STATEFULSET_UID. 'k8s.statefulset.uid' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/log_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/log_attributes.ex index 68cbd092..b60196ea 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/log_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/log_attributes.ex @@ -26,7 +26,7 @@ defmodule OpenTelemetry.SemConv.Incubating.LogAttributes do ### Erlang ```erlang - ?'LOG_FILE_NAME'. + ?LOG_FILE_NAME. 'log.file.name' ``` @@ -59,7 +59,7 @@ defmodule OpenTelemetry.SemConv.Incubating.LogAttributes do ### Erlang ```erlang - ?'LOG_FILE_NAME_RESOLVED'. + ?LOG_FILE_NAME_RESOLVED. 'log.file.name_resolved' ``` @@ -92,7 +92,7 @@ defmodule OpenTelemetry.SemConv.Incubating.LogAttributes do ### Erlang ```erlang - ?'LOG_FILE_PATH'. + ?LOG_FILE_PATH. 'log.file.path' ``` @@ -125,7 +125,7 @@ defmodule OpenTelemetry.SemConv.Incubating.LogAttributes do ### Erlang ```erlang - ?'LOG_FILE_PATH_RESOLVED'. + ?LOG_FILE_PATH_RESOLVED. 'log.file.path_resolved' ``` @@ -169,13 +169,13 @@ defmodule OpenTelemetry.SemConv.Incubating.LogAttributes do ### Erlang ```erlang - ?'LOG_IOSTREAM'. + ?LOG_IOSTREAM. 'log.iostream' - ?'LOG_IOSTREAM_VALUES_STDOUT'. + ?LOG_IOSTREAM_VALUES_STDOUT. 'stdout' - \#{?'LOG_IOSTREAM' => ?'LOG_IOSTREAM_VALUES_STDOUT'}. + \#{?LOG_IOSTREAM => ?LOG_IOSTREAM_VALUES_STDOUT}. \#{'log.iostream' => 'stdout'} ``` @@ -221,7 +221,7 @@ defmodule OpenTelemetry.SemConv.Incubating.LogAttributes do ### Erlang ```erlang - ?'LOG_RECORD_UID'. + ?LOG_RECORD_UID. 'log.record.uid' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/messaging_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/messaging_attributes.ex index 36e04146..5c70a4ec 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/messaging_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/messaging_attributes.ex @@ -29,7 +29,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_BATCH_MESSAGE_COUNT'. + ?MESSAGING_BATCH_MESSAGE_COUNT. 'messaging.batch.message_count' ``` @@ -62,7 +62,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_CLIENT_ID'. + ?MESSAGING_CLIENT_ID. 'messaging.client.id' ``` @@ -89,7 +89,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_DESTINATION_ANONYMOUS'. + ?MESSAGING_DESTINATION_ANONYMOUS. 'messaging.destination.anonymous' ``` @@ -126,7 +126,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_DESTINATION_NAME'. + ?MESSAGING_DESTINATION_NAME. 'messaging.destination.name' ``` @@ -159,7 +159,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_DESTINATION_PARTITION_ID'. + ?MESSAGING_DESTINATION_PARTITION_ID. 'messaging.destination.partition.id' ``` @@ -195,7 +195,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_DESTINATION_TEMPLATE'. + ?MESSAGING_DESTINATION_TEMPLATE. 'messaging.destination.template' ``` @@ -222,7 +222,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_DESTINATION_TEMPORARY'. + ?MESSAGING_DESTINATION_TEMPORARY. 'messaging.destination.temporary' ``` @@ -249,7 +249,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_DESTINATION_PUBLISH_ANONYMOUS'. + ?MESSAGING_DESTINATION_PUBLISH_ANONYMOUS. 'messaging.destination_publish.anonymous' ``` @@ -286,7 +286,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_DESTINATION_PUBLISH_NAME'. + ?MESSAGING_DESTINATION_PUBLISH_NAME. 'messaging.destination_publish.name' ``` @@ -319,7 +319,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_EVENTHUBS_CONSUMER_GROUP'. + ?MESSAGING_EVENTHUBS_CONSUMER_GROUP. 'messaging.eventhubs.consumer.group' ``` @@ -352,7 +352,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_EVENTHUBS_MESSAGE_ENQUEUED_TIME'. + ?MESSAGING_EVENTHUBS_MESSAGE_ENQUEUED_TIME. 'messaging.eventhubs.message.enqueued_time' ``` @@ -385,7 +385,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_GCP_PUBSUB_MESSAGE_ACK_DEADLINE'. + ?MESSAGING_GCP_PUBSUB_MESSAGE_ACK_DEADLINE. 'messaging.gcp_pubsub.message.ack_deadline' ``` @@ -418,7 +418,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_GCP_PUBSUB_MESSAGE_ACK_ID'. + ?MESSAGING_GCP_PUBSUB_MESSAGE_ACK_ID. 'messaging.gcp_pubsub.message.ack_id' ``` @@ -451,7 +451,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_GCP_PUBSUB_MESSAGE_DELIVERY_ATTEMPT'. + ?MESSAGING_GCP_PUBSUB_MESSAGE_DELIVERY_ATTEMPT. 'messaging.gcp_pubsub.message.delivery_attempt' ``` @@ -485,7 +485,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_GCP_PUBSUB_MESSAGE_ORDERING_KEY'. + ?MESSAGING_GCP_PUBSUB_MESSAGE_ORDERING_KEY. 'messaging.gcp_pubsub.message.ordering_key' ``` @@ -518,7 +518,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_KAFKA_CONSUMER_GROUP'. + ?MESSAGING_KAFKA_CONSUMER_GROUP. 'messaging.kafka.consumer.group' ``` @@ -563,7 +563,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_KAFKA_MESSAGE_KEY'. + ?MESSAGING_KAFKA_MESSAGE_KEY. 'messaging.kafka.message.key' ``` @@ -596,7 +596,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_KAFKA_MESSAGE_OFFSET'. + ?MESSAGING_KAFKA_MESSAGE_OFFSET. 'messaging.kafka.message.offset' ``` @@ -623,7 +623,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_KAFKA_MESSAGE_TOMBSTONE'. + ?MESSAGING_KAFKA_MESSAGE_TOMBSTONE. 'messaging.kafka.message.tombstone' ``` @@ -661,7 +661,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_MESSAGE_BODY_SIZE'. + ?MESSAGING_MESSAGE_BODY_SIZE. 'messaging.message.body.size' ``` @@ -694,7 +694,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_MESSAGE_CONVERSATION_ID'. + ?MESSAGING_MESSAGE_CONVERSATION_ID. 'messaging.message.conversation_id' ``` @@ -732,7 +732,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_MESSAGE_ENVELOPE_SIZE'. + ?MESSAGING_MESSAGE_ENVELOPE_SIZE. 'messaging.message.envelope.size' ``` @@ -764,7 +764,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_MESSAGE_ID'. + ?MESSAGING_MESSAGE_ID. 'messaging.message.id' ``` @@ -805,7 +805,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_OPERATION_NAME'. + ?MESSAGING_OPERATION_NAME. 'messaging.operation.name' ``` @@ -863,13 +863,13 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_OPERATION_TYPE'. + ?MESSAGING_OPERATION_TYPE. 'messaging.operation.type' - ?'MESSAGING_OPERATION_TYPE_VALUES_PUBLISH'. + ?MESSAGING_OPERATION_TYPE_VALUES_PUBLISH. 'publish' - \#{?'MESSAGING_OPERATION_TYPE' => ?'MESSAGING_OPERATION_TYPE_VALUES_PUBLISH'}. + \#{?MESSAGING_OPERATION_TYPE => ?MESSAGING_OPERATION_TYPE_VALUES_PUBLISH}. \#{'messaging.operation.type' => 'publish'} ``` @@ -913,7 +913,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEY'. + ?MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEY. 'messaging.rabbitmq.destination.routing_key' ``` @@ -947,7 +947,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_RABBITMQ_MESSAGE_DELIVERY_TAG'. + ?MESSAGING_RABBITMQ_MESSAGE_DELIVERY_TAG. 'messaging.rabbitmq.message.delivery_tag' ``` @@ -980,7 +980,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_ROCKETMQ_CLIENT_GROUP'. + ?MESSAGING_ROCKETMQ_CLIENT_GROUP. 'messaging.rocketmq.client_group' ``` @@ -1024,13 +1024,13 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_ROCKETMQ_CONSUMPTION_MODEL'. + ?MESSAGING_ROCKETMQ_CONSUMPTION_MODEL. 'messaging.rocketmq.consumption_model' - ?'MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUES_CLUSTERING'. + ?MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUES_CLUSTERING. 'clustering' - \#{?'MESSAGING_ROCKETMQ_CONSUMPTION_MODEL' => ?'MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUES_CLUSTERING'}. + \#{?MESSAGING_ROCKETMQ_CONSUMPTION_MODEL => ?MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUES_CLUSTERING}. \#{'messaging.rocketmq.consumption_model' => 'clustering'} ``` @@ -1072,7 +1072,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_ROCKETMQ_MESSAGE_DELAY_TIME_LEVEL'. + ?MESSAGING_ROCKETMQ_MESSAGE_DELAY_TIME_LEVEL. 'messaging.rocketmq.message.delay_time_level' ``` @@ -1106,7 +1106,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_ROCKETMQ_MESSAGE_DELIVERY_TIMESTAMP'. + ?MESSAGING_ROCKETMQ_MESSAGE_DELIVERY_TIMESTAMP. 'messaging.rocketmq.message.delivery_timestamp' ``` @@ -1140,7 +1140,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_ROCKETMQ_MESSAGE_GROUP'. + ?MESSAGING_ROCKETMQ_MESSAGE_GROUP. 'messaging.rocketmq.message.group' ``` @@ -1173,7 +1173,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_ROCKETMQ_MESSAGE_KEYS'. + ?MESSAGING_ROCKETMQ_MESSAGE_KEYS. 'messaging.rocketmq.message.keys' ``` @@ -1206,7 +1206,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_ROCKETMQ_MESSAGE_TAG'. + ?MESSAGING_ROCKETMQ_MESSAGE_TAG. 'messaging.rocketmq.message.tag' ``` @@ -1254,13 +1254,13 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_ROCKETMQ_MESSAGE_TYPE'. + ?MESSAGING_ROCKETMQ_MESSAGE_TYPE. 'messaging.rocketmq.message.type' - ?'MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUES_NORMAL'. + ?MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUES_NORMAL. 'normal' - \#{?'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'} ``` @@ -1303,7 +1303,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_ROCKETMQ_NAMESPACE'. + ?MESSAGING_ROCKETMQ_NAMESPACE. 'messaging.rocketmq.namespace' ``` @@ -1336,7 +1336,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTION_NAME'. + ?MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTION_NAME. 'messaging.servicebus.destination.subscription_name' ``` @@ -1385,13 +1385,13 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_SERVICEBUS_DISPOSITION_STATUS'. + ?MESSAGING_SERVICEBUS_DISPOSITION_STATUS. 'messaging.servicebus.disposition_status' - ?'MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUES_COMPLETE'. + ?MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUES_COMPLETE. 'complete' - \#{?'MESSAGING_SERVICEBUS_DISPOSITION_STATUS' => ?'MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUES_COMPLETE'}. + \#{?MESSAGING_SERVICEBUS_DISPOSITION_STATUS => ?MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUES_COMPLETE}. \#{'messaging.servicebus.disposition_status' => 'complete'} ``` @@ -1435,7 +1435,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_SERVICEBUS_MESSAGE_DELIVERY_COUNT'. + ?MESSAGING_SERVICEBUS_MESSAGE_DELIVERY_COUNT. 'messaging.servicebus.message.delivery_count' ``` @@ -1469,7 +1469,7 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_SERVICEBUS_MESSAGE_ENQUEUED_TIME'. + ?MESSAGING_SERVICEBUS_MESSAGE_ENQUEUED_TIME. 'messaging.servicebus.message.enqueued_time' ``` @@ -1532,13 +1532,13 @@ defmodule OpenTelemetry.SemConv.Incubating.MessagingAttributes do ### Erlang ```erlang - ?'MESSAGING_SYSTEM'. + ?MESSAGING_SYSTEM. 'messaging.system' - ?'MESSAGING_SYSTEM_VALUES_ACTIVEMQ'. + ?MESSAGING_SYSTEM_VALUES_ACTIVEMQ. 'activemq' - \#{?'MESSAGING_SYSTEM' => ?'MESSAGING_SYSTEM_VALUES_ACTIVEMQ'}. + \#{?MESSAGING_SYSTEM => ?MESSAGING_SYSTEM_VALUES_ACTIVEMQ}. \#{'messaging.system' => 'activemq'} ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/network_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/network_attributes.ex index 073621ab..dafaa058 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/network_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/network_attributes.ex @@ -214,7 +214,7 @@ defmodule OpenTelemetry.SemConv.Incubating.NetworkAttributes do ### Erlang ```erlang - ?'NETWORK_CARRIER_ICC'. + ?NETWORK_CARRIER_ICC. 'network.carrier.icc' ``` @@ -246,7 +246,7 @@ defmodule OpenTelemetry.SemConv.Incubating.NetworkAttributes do ### Erlang ```erlang - ?'NETWORK_CARRIER_MCC'. + ?NETWORK_CARRIER_MCC. 'network.carrier.mcc' ``` @@ -278,7 +278,7 @@ defmodule OpenTelemetry.SemConv.Incubating.NetworkAttributes do ### Erlang ```erlang - ?'NETWORK_CARRIER_MNC'. + ?NETWORK_CARRIER_MNC. 'network.carrier.mnc' ``` @@ -310,7 +310,7 @@ defmodule OpenTelemetry.SemConv.Incubating.NetworkAttributes do ### Erlang ```erlang - ?'NETWORK_CARRIER_NAME'. + ?NETWORK_CARRIER_NAME. 'network.carrier.name' ``` @@ -395,13 +395,13 @@ defmodule OpenTelemetry.SemConv.Incubating.NetworkAttributes do ### Erlang ```erlang - ?'NETWORK_CONNECTION_SUBTYPE'. + ?NETWORK_CONNECTION_SUBTYPE. 'network.connection.subtype' - ?'NETWORK_CONNECTION_SUBTYPE_VALUES_GPRS'. + ?NETWORK_CONNECTION_SUBTYPE_VALUES_GPRS. 'gprs' - \#{?'NETWORK_CONNECTION_SUBTYPE' => ?'NETWORK_CONNECTION_SUBTYPE_VALUES_GPRS'}. + \#{?NETWORK_CONNECTION_SUBTYPE => ?NETWORK_CONNECTION_SUBTYPE_VALUES_GPRS}. \#{'network.connection.subtype' => 'gprs'} ``` @@ -481,13 +481,13 @@ defmodule OpenTelemetry.SemConv.Incubating.NetworkAttributes do ### Erlang ```erlang - ?'NETWORK_CONNECTION_TYPE'. + ?NETWORK_CONNECTION_TYPE. 'network.connection.type' - ?'NETWORK_CONNECTION_TYPE_VALUES_WIFI'. + ?NETWORK_CONNECTION_TYPE_VALUES_WIFI. 'wifi' - \#{?'NETWORK_CONNECTION_TYPE' => ?'NETWORK_CONNECTION_TYPE_VALUES_WIFI'}. + \#{?NETWORK_CONNECTION_TYPE => ?NETWORK_CONNECTION_TYPE_VALUES_WIFI}. \#{'network.connection.type' => 'wifi'} ``` @@ -545,13 +545,13 @@ defmodule OpenTelemetry.SemConv.Incubating.NetworkAttributes do ### Erlang ```erlang - ?'NETWORK_IO_DIRECTION'. + ?NETWORK_IO_DIRECTION. 'network.io.direction' - ?'NETWORK_IO_DIRECTION_VALUES_TRANSMIT'. + ?NETWORK_IO_DIRECTION_VALUES_TRANSMIT. 'transmit' - \#{?'NETWORK_IO_DIRECTION' => ?'NETWORK_IO_DIRECTION_VALUES_TRANSMIT'}. + \#{?NETWORK_IO_DIRECTION => ?NETWORK_IO_DIRECTION_VALUES_TRANSMIT}. \#{'network.io.direction' => 'transmit'} ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/oci_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/oci_attributes.ex index a758bfcf..7bed10ea 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/oci_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/oci_attributes.ex @@ -31,7 +31,7 @@ defmodule OpenTelemetry.SemConv.Incubating.OCIAttributes do ### Erlang ```erlang - ?'OCI_MANIFEST_DIGEST'. + ?OCI_MANIFEST_DIGEST. 'oci.manifest.digest' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/opentracing_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/opentracing_attributes.ex index 90b75641..106b3a6c 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/opentracing_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/opentracing_attributes.ex @@ -39,13 +39,13 @@ defmodule OpenTelemetry.SemConv.Incubating.OpentracingAttributes do ### Erlang ```erlang - ?'OPENTRACING_REF_TYPE'. + ?OPENTRACING_REF_TYPE. 'opentracing.ref_type' - ?'OPENTRACING_REF_TYPE_VALUES_CHILD_OF'. + ?OPENTRACING_REF_TYPE_VALUES_CHILD_OF. 'child_of' - \#{?'OPENTRACING_REF_TYPE' => ?'OPENTRACING_REF_TYPE_VALUES_CHILD_OF'}. + \#{?OPENTRACING_REF_TYPE => ?OPENTRACING_REF_TYPE_VALUES_CHILD_OF}. \#{'opentracing.ref_type' => 'child_of'} ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/os_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/os_attributes.ex index 886abe76..26c35d09 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/os_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/os_attributes.ex @@ -25,7 +25,7 @@ defmodule OpenTelemetry.SemConv.Incubating.OSAttributes do ### Erlang ```erlang - ?'OS_BUILD_ID'. + ?OS_BUILD_ID. 'os.build_id' ``` @@ -58,7 +58,7 @@ defmodule OpenTelemetry.SemConv.Incubating.OSAttributes do ### Erlang ```erlang - ?'OS_DESCRIPTION'. + ?OS_DESCRIPTION. 'os.description' ``` @@ -90,7 +90,7 @@ defmodule OpenTelemetry.SemConv.Incubating.OSAttributes do ### Erlang ```erlang - ?'OS_NAME'. + ?OS_NAME. 'os.name' ``` @@ -152,13 +152,13 @@ defmodule OpenTelemetry.SemConv.Incubating.OSAttributes do ### Erlang ```erlang - ?'OS_TYPE'. + ?OS_TYPE. 'os.type' - ?'OS_TYPE_VALUES_WINDOWS'. + ?OS_TYPE_VALUES_WINDOWS. 'windows' - \#{?'OS_TYPE' => ?'OS_TYPE_VALUES_WINDOWS'}. + \#{?OS_TYPE => ?OS_TYPE_VALUES_WINDOWS}. \#{'os.type' => 'windows'} ``` @@ -208,7 +208,7 @@ defmodule OpenTelemetry.SemConv.Incubating.OSAttributes do ### Erlang ```erlang - ?'OS_VERSION'. + ?OS_VERSION. 'os.version' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/peer_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/peer_attributes.ex index 3a8d21ef..1ea717e0 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/peer_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/peer_attributes.ex @@ -26,7 +26,7 @@ defmodule OpenTelemetry.SemConv.Incubating.PeerAttributes do ### Erlang ```erlang - ?'PEER_SERVICE'. + ?PEER_SERVICE. 'peer.service' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/process_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/process_attributes.ex index 23e90751..1dccfbb6 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/process_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/process_attributes.ex @@ -26,7 +26,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ProcessAttributes do ### Erlang ```erlang - ?'PROCESS_COMMAND'. + ?PROCESS_COMMAND. 'process.command' ``` @@ -59,7 +59,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ProcessAttributes do ### Erlang ```erlang - ?'PROCESS_COMMAND_ARGS'. + ?PROCESS_COMMAND_ARGS. 'process.command_args' ``` @@ -92,7 +92,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ProcessAttributes do ### Erlang ```erlang - ?'PROCESS_COMMAND_LINE'. + ?PROCESS_COMMAND_LINE. 'process.command_line' ``` @@ -134,13 +134,13 @@ defmodule OpenTelemetry.SemConv.Incubating.ProcessAttributes do ### Erlang ```erlang - ?'PROCESS_CONTEXT_SWITCH_TYPE'. + ?PROCESS_CONTEXT_SWITCH_TYPE. 'process.context_switch_type' - ?'PROCESS_CONTEXT_SWITCH_TYPE_VALUES_VOLUNTARY'. + ?PROCESS_CONTEXT_SWITCH_TYPE_VALUES_VOLUNTARY. 'voluntary' - \#{?'PROCESS_CONTEXT_SWITCH_TYPE' => ?'PROCESS_CONTEXT_SWITCH_TYPE_VALUES_VOLUNTARY'}. + \#{?PROCESS_CONTEXT_SWITCH_TYPE => ?PROCESS_CONTEXT_SWITCH_TYPE_VALUES_VOLUNTARY}. \#{'process.context_switch_type' => 'voluntary'} ``` @@ -194,13 +194,13 @@ defmodule OpenTelemetry.SemConv.Incubating.ProcessAttributes do ### Erlang ```erlang - ?'PROCESS_CPU_STATE'. + ?PROCESS_CPU_STATE. 'process.cpu.state' - ?'PROCESS_CPU_STATE_VALUES_SYSTEM'. + ?PROCESS_CPU_STATE_VALUES_SYSTEM. 'system' - \#{?'PROCESS_CPU_STATE' => ?'PROCESS_CPU_STATE_VALUES_SYSTEM'}. + \#{?PROCESS_CPU_STATE => ?PROCESS_CPU_STATE_VALUES_SYSTEM}. \#{'process.cpu.state' => 'system'} ``` @@ -242,7 +242,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ProcessAttributes do ### Erlang ```erlang - ?'PROCESS_CREATION_TIME'. + ?PROCESS_CREATION_TIME. 'process.creation.time' ``` @@ -275,7 +275,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ProcessAttributes do ### Erlang ```erlang - ?'PROCESS_EXECUTABLE_NAME'. + ?PROCESS_EXECUTABLE_NAME. 'process.executable.name' ``` @@ -308,7 +308,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ProcessAttributes do ### Erlang ```erlang - ?'PROCESS_EXECUTABLE_PATH'. + ?PROCESS_EXECUTABLE_PATH. 'process.executable.path' ``` @@ -341,7 +341,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ProcessAttributes do ### Erlang ```erlang - ?'PROCESS_EXIT_CODE'. + ?PROCESS_EXIT_CODE. 'process.exit.code' ``` @@ -374,7 +374,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ProcessAttributes do ### Erlang ```erlang - ?'PROCESS_EXIT_TIME'. + ?PROCESS_EXIT_TIME. 'process.exit.time' ``` @@ -407,7 +407,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ProcessAttributes do ### Erlang ```erlang - ?'PROCESS_GROUP_LEADER_PID'. + ?PROCESS_GROUP_LEADER_PID. 'process.group_leader.pid' ``` @@ -435,7 +435,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ProcessAttributes do ### Erlang ```erlang - ?'PROCESS_INTERACTIVE'. + ?PROCESS_INTERACTIVE. 'process.interactive' ``` @@ -468,7 +468,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ProcessAttributes do ### Erlang ```erlang - ?'PROCESS_OWNER'. + ?PROCESS_OWNER. 'process.owner' ``` @@ -512,13 +512,13 @@ defmodule OpenTelemetry.SemConv.Incubating.ProcessAttributes do ### Erlang ```erlang - ?'PROCESS_PAGING_FAULT_TYPE'. + ?PROCESS_PAGING_FAULT_TYPE. 'process.paging.fault_type' - ?'PROCESS_PAGING_FAULT_TYPE_VALUES_MAJOR'. + ?PROCESS_PAGING_FAULT_TYPE_VALUES_MAJOR. 'major' - \#{?'PROCESS_PAGING_FAULT_TYPE' => ?'PROCESS_PAGING_FAULT_TYPE_VALUES_MAJOR'}. + \#{?PROCESS_PAGING_FAULT_TYPE => ?PROCESS_PAGING_FAULT_TYPE_VALUES_MAJOR}. \#{'process.paging.fault_type' => 'major'} ``` @@ -559,7 +559,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ProcessAttributes do ### Erlang ```erlang - ?'PROCESS_PARENT_PID'. + ?PROCESS_PARENT_PID. 'process.parent_pid' ``` @@ -592,7 +592,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ProcessAttributes do ### Erlang ```erlang - ?'PROCESS_PID'. + ?PROCESS_PID. 'process.pid' ``` @@ -625,7 +625,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ProcessAttributes do ### Erlang ```erlang - ?'PROCESS_REAL_USER_ID'. + ?PROCESS_REAL_USER_ID. 'process.real_user.id' ``` @@ -658,7 +658,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ProcessAttributes do ### Erlang ```erlang - ?'PROCESS_REAL_USER_NAME'. + ?PROCESS_REAL_USER_NAME. 'process.real_user.name' ``` @@ -691,7 +691,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ProcessAttributes do ### Erlang ```erlang - ?'PROCESS_RUNTIME_DESCRIPTION'. + ?PROCESS_RUNTIME_DESCRIPTION. 'process.runtime.description' ``` @@ -724,7 +724,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ProcessAttributes do ### Erlang ```erlang - ?'PROCESS_RUNTIME_NAME'. + ?PROCESS_RUNTIME_NAME. 'process.runtime.name' ``` @@ -757,7 +757,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ProcessAttributes do ### Erlang ```erlang - ?'PROCESS_RUNTIME_VERSION'. + ?PROCESS_RUNTIME_VERSION. 'process.runtime.version' ``` @@ -790,7 +790,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ProcessAttributes do ### Erlang ```erlang - ?'PROCESS_SAVED_USER_ID'. + ?PROCESS_SAVED_USER_ID. 'process.saved_user.id' ``` @@ -823,7 +823,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ProcessAttributes do ### Erlang ```erlang - ?'PROCESS_SAVED_USER_NAME'. + ?PROCESS_SAVED_USER_NAME. 'process.saved_user.name' ``` @@ -856,7 +856,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ProcessAttributes do ### Erlang ```erlang - ?'PROCESS_SESSION_LEADER_PID'. + ?PROCESS_SESSION_LEADER_PID. 'process.session_leader.pid' ``` @@ -889,7 +889,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ProcessAttributes do ### Erlang ```erlang - ?'PROCESS_USER_ID'. + ?PROCESS_USER_ID. 'process.user.id' ``` @@ -922,7 +922,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ProcessAttributes do ### Erlang ```erlang - ?'PROCESS_USER_NAME'. + ?PROCESS_USER_NAME. 'process.user.name' ``` @@ -959,7 +959,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ProcessAttributes do ### Erlang ```erlang - ?'PROCESS_VPID'. + ?PROCESS_VPID. 'process.vpid' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/rpc_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/rpc_attributes.ex index 6ac4582a..21ff59ae 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/rpc_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/rpc_attributes.ex @@ -114,13 +114,13 @@ defmodule OpenTelemetry.SemConv.Incubating.RPCAttributes do ### Erlang ```erlang - ?'RPC_CONNECT_RPC_ERROR_CODE'. + ?RPC_CONNECT_RPC_ERROR_CODE. 'rpc.connect_rpc.error_code' - ?'RPC_CONNECT_RPC_ERROR_CODE_VALUES_CANCELLED'. + ?RPC_CONNECT_RPC_ERROR_CODE_VALUES_CANCELLED. 'cancelled' - \#{?'RPC_CONNECT_RPC_ERROR_CODE' => ?'RPC_CONNECT_RPC_ERROR_CODE_VALUES_CANCELLED'}. + \#{?RPC_CONNECT_RPC_ERROR_CODE => ?RPC_CONNECT_RPC_ERROR_CODE_VALUES_CANCELLED}. \#{'rpc.connect_rpc.error_code' => 'cancelled'} ``` @@ -179,7 +179,7 @@ defmodule OpenTelemetry.SemConv.Incubating.RPCAttributes do ### Erlang ```erlang - ?'RPC_CONNECT_RPC_REQUEST_METADATA'. + ?RPC_CONNECT_RPC_REQUEST_METADATA. 'rpc.connect_rpc.request.metadata' ``` @@ -216,7 +216,7 @@ defmodule OpenTelemetry.SemConv.Incubating.RPCAttributes do ### Erlang ```erlang - ?'RPC_CONNECT_RPC_RESPONSE_METADATA'. + ?RPC_CONNECT_RPC_RESPONSE_METADATA. 'rpc.connect_rpc.response.metadata' ``` @@ -253,7 +253,7 @@ defmodule OpenTelemetry.SemConv.Incubating.RPCAttributes do ### Erlang ```erlang - ?'RPC_GRPC_REQUEST_METADATA'. + ?RPC_GRPC_REQUEST_METADATA. 'rpc.grpc.request.metadata' ``` @@ -290,7 +290,7 @@ defmodule OpenTelemetry.SemConv.Incubating.RPCAttributes do ### Erlang ```erlang - ?'RPC_GRPC_RESPONSE_METADATA'. + ?RPC_GRPC_RESPONSE_METADATA. 'rpc.grpc.response.metadata' ``` @@ -362,13 +362,13 @@ defmodule OpenTelemetry.SemConv.Incubating.RPCAttributes do ### Erlang ```erlang - ?'RPC_GRPC_STATUS_CODE'. + ?RPC_GRPC_STATUS_CODE. 'rpc.grpc.status_code' - ?'RPC_GRPC_STATUS_CODE_VALUES_OK'. + ?RPC_GRPC_STATUS_CODE_VALUES_OK. '0' - \#{?'RPC_GRPC_STATUS_CODE' => ?'RPC_GRPC_STATUS_CODE_VALUES_OK'}. + \#{?RPC_GRPC_STATUS_CODE => ?RPC_GRPC_STATUS_CODE_VALUES_OK}. \#{'rpc.grpc.status_code' => '0'} ``` @@ -423,7 +423,7 @@ defmodule OpenTelemetry.SemConv.Incubating.RPCAttributes do ### Erlang ```erlang - ?'RPC_JSONRPC_ERROR_CODE'. + ?RPC_JSONRPC_ERROR_CODE. 'rpc.jsonrpc.error_code' ``` @@ -455,7 +455,7 @@ defmodule OpenTelemetry.SemConv.Incubating.RPCAttributes do ### Erlang ```erlang - ?'RPC_JSONRPC_ERROR_MESSAGE'. + ?RPC_JSONRPC_ERROR_MESSAGE. 'rpc.jsonrpc.error_message' ``` @@ -488,7 +488,7 @@ defmodule OpenTelemetry.SemConv.Incubating.RPCAttributes do ### Erlang ```erlang - ?'RPC_JSONRPC_REQUEST_ID'. + ?RPC_JSONRPC_REQUEST_ID. 'rpc.jsonrpc.request_id' ``` @@ -520,7 +520,7 @@ defmodule OpenTelemetry.SemConv.Incubating.RPCAttributes do ### Erlang ```erlang - ?'RPC_JSONRPC_VERSION'. + ?RPC_JSONRPC_VERSION. 'rpc.jsonrpc.version' ``` @@ -547,7 +547,7 @@ defmodule OpenTelemetry.SemConv.Incubating.RPCAttributes do ### Erlang ```erlang - ?'RPC_MESSAGE_COMPRESSED_SIZE'. + ?RPC_MESSAGE_COMPRESSED_SIZE. 'rpc.message.compressed_size' ``` @@ -577,7 +577,7 @@ defmodule OpenTelemetry.SemConv.Incubating.RPCAttributes do ### Erlang ```erlang - ?'RPC_MESSAGE_ID'. + ?RPC_MESSAGE_ID. 'rpc.message.id' ``` @@ -619,13 +619,13 @@ defmodule OpenTelemetry.SemConv.Incubating.RPCAttributes do ### Erlang ```erlang - ?'RPC_MESSAGE_TYPE'. + ?RPC_MESSAGE_TYPE. 'rpc.message.type' - ?'RPC_MESSAGE_TYPE_VALUES_SENT'. + ?RPC_MESSAGE_TYPE_VALUES_SENT. 'SENT' - \#{?'RPC_MESSAGE_TYPE' => ?'RPC_MESSAGE_TYPE_VALUES_SENT'}. + \#{?RPC_MESSAGE_TYPE => ?RPC_MESSAGE_TYPE_VALUES_SENT}. \#{'rpc.message.type' => 'SENT'} ``` @@ -660,7 +660,7 @@ defmodule OpenTelemetry.SemConv.Incubating.RPCAttributes do ### Erlang ```erlang - ?'RPC_MESSAGE_UNCOMPRESSED_SIZE'. + ?RPC_MESSAGE_UNCOMPRESSED_SIZE. 'rpc.message.uncompressed_size' ``` @@ -696,7 +696,7 @@ defmodule OpenTelemetry.SemConv.Incubating.RPCAttributes do ### Erlang ```erlang - ?'RPC_METHOD'. + ?RPC_METHOD. 'rpc.method' ``` @@ -732,7 +732,7 @@ defmodule OpenTelemetry.SemConv.Incubating.RPCAttributes do ### Erlang ```erlang - ?'RPC_SERVICE'. + ?RPC_SERVICE. 'rpc.service' ``` @@ -780,13 +780,13 @@ defmodule OpenTelemetry.SemConv.Incubating.RPCAttributes do ### Erlang ```erlang - ?'RPC_SYSTEM'. + ?RPC_SYSTEM. 'rpc.system' - ?'RPC_SYSTEM_VALUES_GRPC'. + ?RPC_SYSTEM_VALUES_GRPC. 'grpc' - \#{?'RPC_SYSTEM' => ?'RPC_SYSTEM_VALUES_GRPC'}. + \#{?RPC_SYSTEM => ?RPC_SYSTEM_VALUES_GRPC}. \#{'rpc.system' => 'grpc'} ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/service_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/service_attributes.ex index e8c41a4c..9654e319 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/service_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/service_attributes.ex @@ -58,7 +58,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ServiceAttributes do ### Erlang ```erlang - ?'SERVICE_INSTANCE_ID'. + ?SERVICE_INSTANCE_ID. 'service.instance.id' ``` @@ -95,7 +95,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ServiceAttributes do ### Erlang ```erlang - ?'SERVICE_NAMESPACE'. + ?SERVICE_NAMESPACE. 'service.namespace' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/session_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/session_attributes.ex index c79b7133..4611443f 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/session_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/session_attributes.ex @@ -25,7 +25,7 @@ defmodule OpenTelemetry.SemConv.Incubating.SessionAttributes do ### Erlang ```erlang - ?'SESSION_ID'. + ?SESSION_ID. 'session.id' ``` @@ -57,7 +57,7 @@ defmodule OpenTelemetry.SemConv.Incubating.SessionAttributes do ### Erlang ```erlang - ?'SESSION_PREVIOUS_ID'. + ?SESSION_PREVIOUS_ID. 'session.previous_id' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/source_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/source_attributes.ex index 34fc26d3..a8cb54b3 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/source_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/source_attributes.ex @@ -29,7 +29,7 @@ defmodule OpenTelemetry.SemConv.Incubating.SourceAttributes do ### Erlang ```erlang - ?'SOURCE_ADDRESS'. + ?SOURCE_ADDRESS. 'source.address' ``` @@ -61,7 +61,7 @@ defmodule OpenTelemetry.SemConv.Incubating.SourceAttributes do ### Erlang ```erlang - ?'SOURCE_PORT'. + ?SOURCE_PORT. 'source.port' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/system_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/system_attributes.ex index 54e3677c..5e54cccf 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/system_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/system_attributes.ex @@ -25,7 +25,7 @@ defmodule OpenTelemetry.SemConv.Incubating.SystemAttributes do ### Erlang ```erlang - ?'SYSTEM_CPU_LOGICAL_NUMBER'. + ?SYSTEM_CPU_LOGICAL_NUMBER. 'system.cpu.logical_number' ``` @@ -82,13 +82,13 @@ defmodule OpenTelemetry.SemConv.Incubating.SystemAttributes do ### Erlang ```erlang - ?'SYSTEM_CPU_STATE'. + ?SYSTEM_CPU_STATE. 'system.cpu.state' - ?'SYSTEM_CPU_STATE_VALUES_USER'. + ?SYSTEM_CPU_STATE_VALUES_USER. 'user' - \#{?'SYSTEM_CPU_STATE' => ?'SYSTEM_CPU_STATE_VALUES_USER'}. + \#{?SYSTEM_CPU_STATE => ?SYSTEM_CPU_STATE_VALUES_USER}. \#{'system.cpu.state' => 'user'} ``` @@ -133,7 +133,7 @@ defmodule OpenTelemetry.SemConv.Incubating.SystemAttributes do ### Erlang ```erlang - ?'SYSTEM_DEVICE'. + ?SYSTEM_DEVICE. 'system.device' ``` @@ -165,7 +165,7 @@ defmodule OpenTelemetry.SemConv.Incubating.SystemAttributes do ### Erlang ```erlang - ?'SYSTEM_FILESYSTEM_MODE'. + ?SYSTEM_FILESYSTEM_MODE. 'system.filesystem.mode' ``` @@ -197,7 +197,7 @@ defmodule OpenTelemetry.SemConv.Incubating.SystemAttributes do ### Erlang ```erlang - ?'SYSTEM_FILESYSTEM_MOUNTPOINT'. + ?SYSTEM_FILESYSTEM_MOUNTPOINT. 'system.filesystem.mountpoint' ``` @@ -246,13 +246,13 @@ defmodule OpenTelemetry.SemConv.Incubating.SystemAttributes do ### Erlang ```erlang - ?'SYSTEM_FILESYSTEM_STATE'. + ?SYSTEM_FILESYSTEM_STATE. 'system.filesystem.state' - ?'SYSTEM_FILESYSTEM_STATE_VALUES_USED'. + ?SYSTEM_FILESYSTEM_STATE_VALUES_USED. 'used' - \#{?'SYSTEM_FILESYSTEM_STATE' => ?'SYSTEM_FILESYSTEM_STATE_VALUES_USED'}. + \#{?SYSTEM_FILESYSTEM_STATE => ?SYSTEM_FILESYSTEM_STATE_VALUES_USED}. \#{'system.filesystem.state' => 'used'} ``` @@ -316,13 +316,13 @@ defmodule OpenTelemetry.SemConv.Incubating.SystemAttributes do ### Erlang ```erlang - ?'SYSTEM_FILESYSTEM_TYPE'. + ?SYSTEM_FILESYSTEM_TYPE. 'system.filesystem.type' - ?'SYSTEM_FILESYSTEM_TYPE_VALUES_FAT_32'. + ?SYSTEM_FILESYSTEM_TYPE_VALUES_FAT_32. 'fat32' - \#{?'SYSTEM_FILESYSTEM_TYPE' => ?'SYSTEM_FILESYSTEM_TYPE_VALUES_FAT_32'}. + \#{?SYSTEM_FILESYSTEM_TYPE => ?SYSTEM_FILESYSTEM_TYPE_VALUES_FAT_32}. \#{'system.filesystem.type' => 'fat32'} ``` @@ -387,13 +387,13 @@ defmodule OpenTelemetry.SemConv.Incubating.SystemAttributes do ### Erlang ```erlang - ?'SYSTEM_MEMORY_STATE'. + ?SYSTEM_MEMORY_STATE. 'system.memory.state' - ?'SYSTEM_MEMORY_STATE_VALUES_USED'. + ?SYSTEM_MEMORY_STATE_VALUES_USED. 'used' - \#{?'SYSTEM_MEMORY_STATE' => ?'SYSTEM_MEMORY_STATE_VALUES_USED'}. + \#{?SYSTEM_MEMORY_STATE => ?SYSTEM_MEMORY_STATE_VALUES_USED}. \#{'system.memory.state' => 'used'} ``` @@ -471,13 +471,13 @@ defmodule OpenTelemetry.SemConv.Incubating.SystemAttributes do ### Erlang ```erlang - ?'SYSTEM_NETWORK_STATE'. + ?SYSTEM_NETWORK_STATE. 'system.network.state' - ?'SYSTEM_NETWORK_STATE_VALUES_CLOSE'. + ?SYSTEM_NETWORK_STATE_VALUES_CLOSE. 'close' - \#{?'SYSTEM_NETWORK_STATE' => ?'SYSTEM_NETWORK_STATE_VALUES_CLOSE'}. + \#{?SYSTEM_NETWORK_STATE => ?SYSTEM_NETWORK_STATE_VALUES_CLOSE}. \#{'system.network.state' => 'close'} ``` @@ -542,13 +542,13 @@ defmodule OpenTelemetry.SemConv.Incubating.SystemAttributes do ### Erlang ```erlang - ?'SYSTEM_PAGING_DIRECTION'. + ?SYSTEM_PAGING_DIRECTION. 'system.paging.direction' - ?'SYSTEM_PAGING_DIRECTION_VALUES_IN'. + ?SYSTEM_PAGING_DIRECTION_VALUES_IN. 'in' - \#{?'SYSTEM_PAGING_DIRECTION' => ?'SYSTEM_PAGING_DIRECTION_VALUES_IN'}. + \#{?SYSTEM_PAGING_DIRECTION => ?SYSTEM_PAGING_DIRECTION_VALUES_IN}. \#{'system.paging.direction' => 'in'} ``` @@ -603,13 +603,13 @@ defmodule OpenTelemetry.SemConv.Incubating.SystemAttributes do ### Erlang ```erlang - ?'SYSTEM_PAGING_STATE'. + ?SYSTEM_PAGING_STATE. 'system.paging.state' - ?'SYSTEM_PAGING_STATE_VALUES_USED'. + ?SYSTEM_PAGING_STATE_VALUES_USED. 'used' - \#{?'SYSTEM_PAGING_STATE' => ?'SYSTEM_PAGING_STATE_VALUES_USED'}. + \#{?SYSTEM_PAGING_STATE => ?SYSTEM_PAGING_STATE_VALUES_USED}. \#{'system.paging.state' => 'used'} ``` @@ -664,13 +664,13 @@ defmodule OpenTelemetry.SemConv.Incubating.SystemAttributes do ### Erlang ```erlang - ?'SYSTEM_PAGING_TYPE'. + ?SYSTEM_PAGING_TYPE. 'system.paging.type' - ?'SYSTEM_PAGING_TYPE_VALUES_MAJOR'. + ?SYSTEM_PAGING_TYPE_VALUES_MAJOR. 'major' - \#{?'SYSTEM_PAGING_TYPE' => ?'SYSTEM_PAGING_TYPE_VALUES_MAJOR'}. + \#{?SYSTEM_PAGING_TYPE => ?SYSTEM_PAGING_TYPE_VALUES_MAJOR}. \#{'system.paging.type' => 'major'} ``` @@ -731,13 +731,13 @@ defmodule OpenTelemetry.SemConv.Incubating.SystemAttributes do ### Erlang ```erlang - ?'SYSTEM_PROCESS_STATUS'. + ?SYSTEM_PROCESS_STATUS. 'system.process.status' - ?'SYSTEM_PROCESS_STATUS_VALUES_RUNNING'. + ?SYSTEM_PROCESS_STATUS_VALUES_RUNNING. 'running' - \#{?'SYSTEM_PROCESS_STATUS' => ?'SYSTEM_PROCESS_STATUS_VALUES_RUNNING'}. + \#{?SYSTEM_PROCESS_STATUS => ?SYSTEM_PROCESS_STATUS_VALUES_RUNNING}. \#{'system.process.status' => 'running'} ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/telemetry_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/telemetry_attributes.ex index 2f64dd5d..c78bb01b 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/telemetry_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/telemetry_attributes.ex @@ -38,7 +38,7 @@ defmodule OpenTelemetry.SemConv.Incubating.TelemetryAttributes do ### Erlang ```erlang - ?'TELEMETRY_DISTRO_NAME'. + ?TELEMETRY_DISTRO_NAME. 'telemetry.distro.name' ``` @@ -71,7 +71,7 @@ defmodule OpenTelemetry.SemConv.Incubating.TelemetryAttributes do ### Erlang ```erlang - ?'TELEMETRY_DISTRO_VERSION'. + ?TELEMETRY_DISTRO_VERSION. 'telemetry.distro.version' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/thread_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/thread_attributes.ex index f89ac81f..4d236c82 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/thread_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/thread_attributes.ex @@ -26,7 +26,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ThreadAttributes do ### Erlang ```erlang - ?'THREAD_ID'. + ?THREAD_ID. 'thread.id' ``` @@ -59,7 +59,7 @@ defmodule OpenTelemetry.SemConv.Incubating.ThreadAttributes do ### Erlang ```erlang - ?'THREAD_NAME'. + ?THREAD_NAME. 'thread.name' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/tls_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/tls_attributes.ex index 0a56399e..568089d4 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/tls_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/tls_attributes.ex @@ -30,7 +30,7 @@ defmodule OpenTelemetry.SemConv.Incubating.TLSAttributes do ### Erlang ```erlang - ?'TLS_CIPHER'. + ?TLS_CIPHER. 'tls.cipher' ``` @@ -63,7 +63,7 @@ defmodule OpenTelemetry.SemConv.Incubating.TLSAttributes do ### Erlang ```erlang - ?'TLS_CLIENT_CERTIFICATE'. + ?TLS_CLIENT_CERTIFICATE. 'tls.client.certificate' ``` @@ -96,7 +96,7 @@ defmodule OpenTelemetry.SemConv.Incubating.TLSAttributes do ### Erlang ```erlang - ?'TLS_CLIENT_CERTIFICATE_CHAIN'. + ?TLS_CLIENT_CERTIFICATE_CHAIN. 'tls.client.certificate_chain' ``` @@ -129,7 +129,7 @@ defmodule OpenTelemetry.SemConv.Incubating.TLSAttributes do ### Erlang ```erlang - ?'TLS_CLIENT_HASH_MD5'. + ?TLS_CLIENT_HASH_MD5. 'tls.client.hash.md5' ``` @@ -162,7 +162,7 @@ defmodule OpenTelemetry.SemConv.Incubating.TLSAttributes do ### Erlang ```erlang - ?'TLS_CLIENT_HASH_SHA1'. + ?TLS_CLIENT_HASH_SHA1. 'tls.client.hash.sha1' ``` @@ -195,7 +195,7 @@ defmodule OpenTelemetry.SemConv.Incubating.TLSAttributes do ### Erlang ```erlang - ?'TLS_CLIENT_HASH_SHA256'. + ?TLS_CLIENT_HASH_SHA256. 'tls.client.hash.sha256' ``` @@ -227,7 +227,7 @@ defmodule OpenTelemetry.SemConv.Incubating.TLSAttributes do ### Erlang ```erlang - ?'TLS_CLIENT_ISSUER'. + ?TLS_CLIENT_ISSUER. 'tls.client.issuer' ``` @@ -259,7 +259,7 @@ defmodule OpenTelemetry.SemConv.Incubating.TLSAttributes do ### Erlang ```erlang - ?'TLS_CLIENT_JA3'. + ?TLS_CLIENT_JA3. 'tls.client.ja3' ``` @@ -291,7 +291,7 @@ defmodule OpenTelemetry.SemConv.Incubating.TLSAttributes do ### Erlang ```erlang - ?'TLS_CLIENT_NOT_AFTER'. + ?TLS_CLIENT_NOT_AFTER. 'tls.client.not_after' ``` @@ -323,7 +323,7 @@ defmodule OpenTelemetry.SemConv.Incubating.TLSAttributes do ### Erlang ```erlang - ?'TLS_CLIENT_NOT_BEFORE'. + ?TLS_CLIENT_NOT_BEFORE. 'tls.client.not_before' ``` @@ -355,7 +355,7 @@ defmodule OpenTelemetry.SemConv.Incubating.TLSAttributes do ### Erlang ```erlang - ?'TLS_CLIENT_SERVER_NAME'. + ?TLS_CLIENT_SERVER_NAME. 'tls.client.server_name' ``` @@ -387,7 +387,7 @@ defmodule OpenTelemetry.SemConv.Incubating.TLSAttributes do ### Erlang ```erlang - ?'TLS_CLIENT_SUBJECT'. + ?TLS_CLIENT_SUBJECT. 'tls.client.subject' ``` @@ -419,7 +419,7 @@ defmodule OpenTelemetry.SemConv.Incubating.TLSAttributes do ### Erlang ```erlang - ?'TLS_CLIENT_SUPPORTED_CIPHERS'. + ?TLS_CLIENT_SUPPORTED_CIPHERS. 'tls.client.supported_ciphers' ``` @@ -451,7 +451,7 @@ defmodule OpenTelemetry.SemConv.Incubating.TLSAttributes do ### Erlang ```erlang - ?'TLS_CURVE'. + ?TLS_CURVE. 'tls.curve' ``` @@ -483,7 +483,7 @@ defmodule OpenTelemetry.SemConv.Incubating.TLSAttributes do ### Erlang ```erlang - ?'TLS_ESTABLISHED'. + ?TLS_ESTABLISHED. 'tls.established' ``` @@ -516,7 +516,7 @@ defmodule OpenTelemetry.SemConv.Incubating.TLSAttributes do ### Erlang ```erlang - ?'TLS_NEXT_PROTOCOL'. + ?TLS_NEXT_PROTOCOL. 'tls.next_protocol' ``` @@ -560,13 +560,13 @@ defmodule OpenTelemetry.SemConv.Incubating.TLSAttributes do ### Erlang ```erlang - ?'TLS_PROTOCOL_NAME'. + ?TLS_PROTOCOL_NAME. 'tls.protocol.name' - ?'TLS_PROTOCOL_NAME_VALUES_SSL'. + ?TLS_PROTOCOL_NAME_VALUES_SSL. 'ssl' - \#{?'TLS_PROTOCOL_NAME' => ?'TLS_PROTOCOL_NAME_VALUES_SSL'}. + \#{?TLS_PROTOCOL_NAME => ?TLS_PROTOCOL_NAME_VALUES_SSL}. \#{'tls.protocol.name' => 'ssl'} ``` @@ -607,7 +607,7 @@ defmodule OpenTelemetry.SemConv.Incubating.TLSAttributes do ### Erlang ```erlang - ?'TLS_PROTOCOL_VERSION'. + ?TLS_PROTOCOL_VERSION. 'tls.protocol.version' ``` @@ -639,7 +639,7 @@ defmodule OpenTelemetry.SemConv.Incubating.TLSAttributes do ### Erlang ```erlang - ?'TLS_RESUMED'. + ?TLS_RESUMED. 'tls.resumed' ``` @@ -672,7 +672,7 @@ defmodule OpenTelemetry.SemConv.Incubating.TLSAttributes do ### Erlang ```erlang - ?'TLS_SERVER_CERTIFICATE'. + ?TLS_SERVER_CERTIFICATE. 'tls.server.certificate' ``` @@ -705,7 +705,7 @@ defmodule OpenTelemetry.SemConv.Incubating.TLSAttributes do ### Erlang ```erlang - ?'TLS_SERVER_CERTIFICATE_CHAIN'. + ?TLS_SERVER_CERTIFICATE_CHAIN. 'tls.server.certificate_chain' ``` @@ -738,7 +738,7 @@ defmodule OpenTelemetry.SemConv.Incubating.TLSAttributes do ### Erlang ```erlang - ?'TLS_SERVER_HASH_MD5'. + ?TLS_SERVER_HASH_MD5. 'tls.server.hash.md5' ``` @@ -771,7 +771,7 @@ defmodule OpenTelemetry.SemConv.Incubating.TLSAttributes do ### Erlang ```erlang - ?'TLS_SERVER_HASH_SHA1'. + ?TLS_SERVER_HASH_SHA1. 'tls.server.hash.sha1' ``` @@ -804,7 +804,7 @@ defmodule OpenTelemetry.SemConv.Incubating.TLSAttributes do ### Erlang ```erlang - ?'TLS_SERVER_HASH_SHA256'. + ?TLS_SERVER_HASH_SHA256. 'tls.server.hash.sha256' ``` @@ -836,7 +836,7 @@ defmodule OpenTelemetry.SemConv.Incubating.TLSAttributes do ### Erlang ```erlang - ?'TLS_SERVER_ISSUER'. + ?TLS_SERVER_ISSUER. 'tls.server.issuer' ``` @@ -868,7 +868,7 @@ defmodule OpenTelemetry.SemConv.Incubating.TLSAttributes do ### Erlang ```erlang - ?'TLS_SERVER_JA3S'. + ?TLS_SERVER_JA3S. 'tls.server.ja3s' ``` @@ -900,7 +900,7 @@ defmodule OpenTelemetry.SemConv.Incubating.TLSAttributes do ### Erlang ```erlang - ?'TLS_SERVER_NOT_AFTER'. + ?TLS_SERVER_NOT_AFTER. 'tls.server.not_after' ``` @@ -932,7 +932,7 @@ defmodule OpenTelemetry.SemConv.Incubating.TLSAttributes do ### Erlang ```erlang - ?'TLS_SERVER_NOT_BEFORE'. + ?TLS_SERVER_NOT_BEFORE. 'tls.server.not_before' ``` @@ -964,7 +964,7 @@ defmodule OpenTelemetry.SemConv.Incubating.TLSAttributes do ### Erlang ```erlang - ?'TLS_SERVER_SUBJECT'. + ?TLS_SERVER_SUBJECT. 'tls.server.subject' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/url_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/url_attributes.ex index 9f381771..82665c4a 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/url_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/url_attributes.ex @@ -39,7 +39,7 @@ defmodule OpenTelemetry.SemConv.Incubating.URLAttributes do ### Erlang ```erlang - ?'URL_DOMAIN'. + ?URL_DOMAIN. 'url.domain' ``` @@ -76,7 +76,7 @@ defmodule OpenTelemetry.SemConv.Incubating.URLAttributes do ### Erlang ```erlang - ?'URL_EXTENSION'. + ?URL_EXTENSION. 'url.extension' ``` @@ -114,7 +114,7 @@ defmodule OpenTelemetry.SemConv.Incubating.URLAttributes do ### Erlang ```erlang - ?'URL_ORIGINAL'. + ?URL_ORIGINAL. 'url.original' ``` @@ -147,7 +147,7 @@ defmodule OpenTelemetry.SemConv.Incubating.URLAttributes do ### Erlang ```erlang - ?'URL_PORT'. + ?URL_PORT. 'url.port' ``` @@ -184,7 +184,7 @@ defmodule OpenTelemetry.SemConv.Incubating.URLAttributes do ### Erlang ```erlang - ?'URL_REGISTERED_DOMAIN'. + ?URL_REGISTERED_DOMAIN. 'url.registered_domain' ``` @@ -221,7 +221,7 @@ defmodule OpenTelemetry.SemConv.Incubating.URLAttributes do ### Erlang ```erlang - ?'URL_SUBDOMAIN'. + ?URL_SUBDOMAIN. 'url.subdomain' ``` @@ -254,7 +254,7 @@ defmodule OpenTelemetry.SemConv.Incubating.URLAttributes do ### Erlang ```erlang - ?'URL_TEMPLATE'. + ?URL_TEMPLATE. 'url.template' ``` @@ -291,7 +291,7 @@ defmodule OpenTelemetry.SemConv.Incubating.URLAttributes do ### Erlang ```erlang - ?'URL_TOP_LEVEL_DOMAIN'. + ?URL_TOP_LEVEL_DOMAIN. 'url.top_level_domain' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/user_agent_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/user_agent_attributes.ex index 8b619fd7..b9d8c84c 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/user_agent_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/user_agent_attributes.ex @@ -31,7 +31,7 @@ defmodule OpenTelemetry.SemConv.Incubating.UserAgentAttributes do ### Erlang ```erlang - ?'USER_AGENT_NAME'. + ?USER_AGENT_NAME. 'user_agent.name' ``` @@ -68,7 +68,7 @@ defmodule OpenTelemetry.SemConv.Incubating.UserAgentAttributes do ### Erlang ```erlang - ?'USER_AGENT_VERSION'. + ?USER_AGENT_VERSION. 'user_agent.version' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/webengine_attributes.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/webengine_attributes.ex index 7fae2e3f..c6824610 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/webengine_attributes.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/attributes/webengine_attributes.ex @@ -26,7 +26,7 @@ defmodule OpenTelemetry.SemConv.Incubating.WebengineAttributes do ### Erlang ```erlang - ?'WEBENGINE_DESCRIPTION'. + ?WEBENGINE_DESCRIPTION. 'webengine.description' ``` @@ -59,7 +59,7 @@ defmodule OpenTelemetry.SemConv.Incubating.WebengineAttributes do ### Erlang ```erlang - ?'WEBENGINE_NAME'. + ?WEBENGINE_NAME. 'webengine.name' ``` @@ -92,7 +92,7 @@ defmodule OpenTelemetry.SemConv.Incubating.WebengineAttributes do ### Erlang ```erlang - ?'WEBENGINE_VERSION'. + ?WEBENGINE_VERSION. 'webengine.version' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/container_metrics.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/container_metrics.ex index 28cbe596..afb594d1 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/container_metrics.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/container_metrics.ex @@ -22,7 +22,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.ContainerMetrics do ### Erlang ```erlang - ?'CONTAINER_CPU_TIME'. + ?CONTAINER_CPU_TIME. 'container.cpu.time' ``` @@ -53,7 +53,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.ContainerMetrics do ### Erlang ```erlang - ?'CONTAINER_DISK_IO'. + ?CONTAINER_DISK_IO. 'container.disk.io' ``` @@ -84,7 +84,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.ContainerMetrics do ### Erlang ```erlang - ?'CONTAINER_MEMORY_USAGE'. + ?CONTAINER_MEMORY_USAGE. 'container.memory.usage' ``` @@ -115,7 +115,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.ContainerMetrics do ### Erlang ```erlang - ?'CONTAINER_NETWORK_IO'. + ?CONTAINER_NETWORK_IO. 'container.network.io' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/db_metrics.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/db_metrics.ex index 7de28dce..c0a2e122 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/db_metrics.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/db_metrics.ex @@ -18,7 +18,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.DBMetrics do ### Erlang ```erlang - ?'DB_CLIENT_CONNECTION_COUNT'. + ?DB_CLIENT_CONNECTION_COUNT. 'db.client.connection.count' ``` @@ -45,7 +45,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.DBMetrics do ### Erlang ```erlang - ?'DB_CLIENT_CONNECTION_CREATE_TIME'. + ?DB_CLIENT_CONNECTION_CREATE_TIME. 'db.client.connection.create_time' ``` @@ -72,7 +72,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.DBMetrics do ### Erlang ```erlang - ?'DB_CLIENT_CONNECTION_IDLE_MAX'. + ?DB_CLIENT_CONNECTION_IDLE_MAX. 'db.client.connection.idle.max' ``` @@ -99,7 +99,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.DBMetrics do ### Erlang ```erlang - ?'DB_CLIENT_CONNECTION_IDLE_MIN'. + ?DB_CLIENT_CONNECTION_IDLE_MIN. 'db.client.connection.idle.min' ``` @@ -126,7 +126,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.DBMetrics do ### Erlang ```erlang - ?'DB_CLIENT_CONNECTION_MAX'. + ?DB_CLIENT_CONNECTION_MAX. 'db.client.connection.max' ``` @@ -153,7 +153,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.DBMetrics do ### Erlang ```erlang - ?'DB_CLIENT_CONNECTION_PENDING_REQUESTS'. + ?DB_CLIENT_CONNECTION_PENDING_REQUESTS. 'db.client.connection.pending_requests' ``` @@ -180,7 +180,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.DBMetrics do ### Erlang ```erlang - ?'DB_CLIENT_CONNECTION_TIMEOUTS'. + ?DB_CLIENT_CONNECTION_TIMEOUTS. 'db.client.connection.timeouts' ``` @@ -207,7 +207,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.DBMetrics do ### Erlang ```erlang - ?'DB_CLIENT_CONNECTION_USE_TIME'. + ?DB_CLIENT_CONNECTION_USE_TIME. 'db.client.connection.use_time' ``` @@ -234,7 +234,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.DBMetrics do ### Erlang ```erlang - ?'DB_CLIENT_CONNECTION_WAIT_TIME'. + ?DB_CLIENT_CONNECTION_WAIT_TIME. 'db.client.connection.wait_time' ``` @@ -342,7 +342,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.DBMetrics do ### Erlang ```erlang - ?'DB_CLIENT_OPERATION_DURATION'. + ?DB_CLIENT_OPERATION_DURATION. 'db.client.operation.duration' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/dns_metrics.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/dns_metrics.ex index 87730079..030d7e3c 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/dns_metrics.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/dns_metrics.ex @@ -18,7 +18,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.DNSMetrics do ### Erlang ```erlang - ?'DNS_LOOKUP_DURATION'. + ?DNS_LOOKUP_DURATION. 'dns.lookup.duration' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/faas_metrics.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/faas_metrics.ex index c3aa4c37..950c5f9c 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/faas_metrics.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/faas_metrics.ex @@ -18,7 +18,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.FAASMetrics do ### Erlang ```erlang - ?'FAAS_COLDSTARTS'. + ?FAAS_COLDSTARTS. 'faas.coldstarts' ``` @@ -45,7 +45,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.FAASMetrics do ### Erlang ```erlang - ?'FAAS_CPU_USAGE'. + ?FAAS_CPU_USAGE. 'faas.cpu_usage' ``` @@ -72,7 +72,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.FAASMetrics do ### Erlang ```erlang - ?'FAAS_ERRORS'. + ?FAAS_ERRORS. 'faas.errors' ``` @@ -99,7 +99,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.FAASMetrics do ### Erlang ```erlang - ?'FAAS_INIT_DURATION'. + ?FAAS_INIT_DURATION. 'faas.init_duration' ``` @@ -126,7 +126,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.FAASMetrics do ### Erlang ```erlang - ?'FAAS_INVOCATIONS'. + ?FAAS_INVOCATIONS. 'faas.invocations' ``` @@ -153,7 +153,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.FAASMetrics do ### Erlang ```erlang - ?'FAAS_INVOKE_DURATION'. + ?FAAS_INVOKE_DURATION. 'faas.invoke_duration' ``` @@ -180,7 +180,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.FAASMetrics do ### Erlang ```erlang - ?'FAAS_MEM_USAGE'. + ?FAAS_MEM_USAGE. 'faas.mem_usage' ``` @@ -207,7 +207,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.FAASMetrics do ### Erlang ```erlang - ?'FAAS_NET_IO'. + ?FAAS_NET_IO. 'faas.net_io' ``` @@ -234,7 +234,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.FAASMetrics do ### Erlang ```erlang - ?'FAAS_TIMEOUTS'. + ?FAAS_TIMEOUTS. 'faas.timeouts' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/http_metrics.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/http_metrics.ex index 83a82efb..525b8079 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/http_metrics.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/http_metrics.ex @@ -18,7 +18,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.HTTPMetrics do ### Erlang ```erlang - ?'HTTP_CLIENT_ACTIVE_REQUESTS'. + ?HTTP_CLIENT_ACTIVE_REQUESTS. 'http.client.active_requests' ``` @@ -45,7 +45,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.HTTPMetrics do ### Erlang ```erlang - ?'HTTP_CLIENT_CONNECTION_DURATION'. + ?HTTP_CLIENT_CONNECTION_DURATION. 'http.client.connection.duration' ``` @@ -72,7 +72,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.HTTPMetrics do ### Erlang ```erlang - ?'HTTP_CLIENT_OPEN_CONNECTIONS'. + ?HTTP_CLIENT_OPEN_CONNECTIONS. 'http.client.open_connections' ``` @@ -103,7 +103,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.HTTPMetrics do ### Erlang ```erlang - ?'HTTP_CLIENT_REQUEST_BODY_SIZE'. + ?HTTP_CLIENT_REQUEST_BODY_SIZE. 'http.client.request.body.size' ``` @@ -134,7 +134,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.HTTPMetrics do ### Erlang ```erlang - ?'HTTP_CLIENT_RESPONSE_BODY_SIZE'. + ?HTTP_CLIENT_RESPONSE_BODY_SIZE. 'http.client.response.body.size' ``` @@ -161,7 +161,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.HTTPMetrics do ### Erlang ```erlang - ?'HTTP_SERVER_ACTIVE_REQUESTS'. + ?HTTP_SERVER_ACTIVE_REQUESTS. 'http.server.active_requests' ``` @@ -192,7 +192,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.HTTPMetrics do ### Erlang ```erlang - ?'HTTP_SERVER_REQUEST_BODY_SIZE'. + ?HTTP_SERVER_REQUEST_BODY_SIZE. 'http.server.request.body.size' ``` @@ -223,7 +223,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.HTTPMetrics do ### Erlang ```erlang - ?'HTTP_SERVER_RESPONSE_BODY_SIZE'. + ?HTTP_SERVER_RESPONSE_BODY_SIZE. 'http.server.response.body.size' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/messaging_metrics.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/messaging_metrics.ex index 2764f59c..f1380483 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/messaging_metrics.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/messaging_metrics.ex @@ -18,7 +18,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.MessagingMetrics do ### Erlang ```erlang - ?'MESSAGING_PROCESS_DURATION'. + ?MESSAGING_PROCESS_DURATION. 'messaging.process.duration' ``` @@ -45,7 +45,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.MessagingMetrics do ### Erlang ```erlang - ?'MESSAGING_PROCESS_MESSAGES'. + ?MESSAGING_PROCESS_MESSAGES. 'messaging.process.messages' ``` @@ -72,7 +72,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.MessagingMetrics do ### Erlang ```erlang - ?'MESSAGING_PUBLISH_DURATION'. + ?MESSAGING_PUBLISH_DURATION. 'messaging.publish.duration' ``` @@ -99,7 +99,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.MessagingMetrics do ### Erlang ```erlang - ?'MESSAGING_PUBLISH_MESSAGES'. + ?MESSAGING_PUBLISH_MESSAGES. 'messaging.publish.messages' ``` @@ -126,7 +126,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.MessagingMetrics do ### Erlang ```erlang - ?'MESSAGING_RECEIVE_DURATION'. + ?MESSAGING_RECEIVE_DURATION. 'messaging.receive.duration' ``` @@ -153,7 +153,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.MessagingMetrics do ### Erlang ```erlang - ?'MESSAGING_RECEIVE_MESSAGES'. + ?MESSAGING_RECEIVE_MESSAGES. 'messaging.receive.messages' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/process_metrics.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/process_metrics.ex index 56e67a7f..07b3f74d 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/process_metrics.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/process_metrics.ex @@ -18,7 +18,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.ProcessMetrics do ### Erlang ```erlang - ?'PROCESS_CONTEXT_SWITCHES'. + ?PROCESS_CONTEXT_SWITCHES. 'process.context_switches' ``` @@ -45,7 +45,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.ProcessMetrics do ### Erlang ```erlang - ?'PROCESS_CPU_TIME'. + ?PROCESS_CPU_TIME. 'process.cpu.time' ``` @@ -72,7 +72,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.ProcessMetrics do ### Erlang ```erlang - ?'PROCESS_CPU_UTILIZATION'. + ?PROCESS_CPU_UTILIZATION. 'process.cpu.utilization' ``` @@ -99,7 +99,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.ProcessMetrics do ### Erlang ```erlang - ?'PROCESS_DISK_IO'. + ?PROCESS_DISK_IO. 'process.disk.io' ``` @@ -126,7 +126,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.ProcessMetrics do ### Erlang ```erlang - ?'PROCESS_MEMORY_USAGE'. + ?PROCESS_MEMORY_USAGE. 'process.memory.usage' ``` @@ -153,7 +153,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.ProcessMetrics do ### Erlang ```erlang - ?'PROCESS_MEMORY_VIRTUAL'. + ?PROCESS_MEMORY_VIRTUAL. 'process.memory.virtual' ``` @@ -180,7 +180,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.ProcessMetrics do ### Erlang ```erlang - ?'PROCESS_NETWORK_IO'. + ?PROCESS_NETWORK_IO. 'process.network.io' ``` @@ -207,7 +207,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.ProcessMetrics do ### Erlang ```erlang - ?'PROCESS_OPEN_FILE_DESCRIPTOR_COUNT'. + ?PROCESS_OPEN_FILE_DESCRIPTOR_COUNT. 'process.open_file_descriptor.count' ``` @@ -234,7 +234,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.ProcessMetrics do ### Erlang ```erlang - ?'PROCESS_PAGING_FAULTS'. + ?PROCESS_PAGING_FAULTS. 'process.paging.faults' ``` @@ -261,7 +261,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.ProcessMetrics do ### Erlang ```erlang - ?'PROCESS_THREAD_COUNT'. + ?PROCESS_THREAD_COUNT. 'process.thread.count' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/rpc_metrics.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/rpc_metrics.ex index d6f25be5..5b7396f1 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/rpc_metrics.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/rpc_metrics.ex @@ -25,7 +25,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.RPCMetrics do ### Erlang ```erlang - ?'RPC_CLIENT_DURATION'. + ?RPC_CLIENT_DURATION. 'rpc.client.duration' ``` @@ -56,7 +56,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.RPCMetrics do ### Erlang ```erlang - ?'RPC_CLIENT_REQUEST_SIZE'. + ?RPC_CLIENT_REQUEST_SIZE. 'rpc.client.request.size' ``` @@ -89,7 +89,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.RPCMetrics do ### Erlang ```erlang - ?'RPC_CLIENT_REQUESTS_PER_RPC'. + ?RPC_CLIENT_REQUESTS_PER_RPC. 'rpc.client.requests_per_rpc' ``` @@ -120,7 +120,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.RPCMetrics do ### Erlang ```erlang - ?'RPC_CLIENT_RESPONSE_SIZE'. + ?RPC_CLIENT_RESPONSE_SIZE. 'rpc.client.response.size' ``` @@ -153,7 +153,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.RPCMetrics do ### Erlang ```erlang - ?'RPC_CLIENT_RESPONSES_PER_RPC'. + ?RPC_CLIENT_RESPONSES_PER_RPC. 'rpc.client.responses_per_rpc' ``` @@ -187,7 +187,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.RPCMetrics do ### Erlang ```erlang - ?'RPC_SERVER_DURATION'. + ?RPC_SERVER_DURATION. 'rpc.server.duration' ``` @@ -218,7 +218,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.RPCMetrics do ### Erlang ```erlang - ?'RPC_SERVER_REQUEST_SIZE'. + ?RPC_SERVER_REQUEST_SIZE. 'rpc.server.request.size' ``` @@ -251,7 +251,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.RPCMetrics do ### Erlang ```erlang - ?'RPC_SERVER_REQUESTS_PER_RPC'. + ?RPC_SERVER_REQUESTS_PER_RPC. 'rpc.server.requests_per_rpc' ``` @@ -282,7 +282,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.RPCMetrics do ### Erlang ```erlang - ?'RPC_SERVER_RESPONSE_SIZE'. + ?RPC_SERVER_RESPONSE_SIZE. 'rpc.server.response.size' ``` @@ -315,7 +315,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.RPCMetrics do ### Erlang ```erlang - ?'RPC_SERVER_RESPONSES_PER_RPC'. + ?RPC_SERVER_RESPONSES_PER_RPC. 'rpc.server.responses_per_rpc' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/system_metrics.ex b/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/system_metrics.ex index 51bda442..bc379bf4 100644 --- a/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/system_metrics.ex +++ b/apps/opentelemetry_semantic_conventions/lib/incubating/metrics/system_metrics.ex @@ -18,7 +18,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.SystemMetrics do ### Erlang ```erlang - ?'SYSTEM_CPU_FREQUENCY'. + ?SYSTEM_CPU_FREQUENCY. 'system.cpu.frequency' ``` @@ -45,7 +45,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.SystemMetrics do ### Erlang ```erlang - ?'SYSTEM_CPU_LOGICAL_COUNT'. + ?SYSTEM_CPU_LOGICAL_COUNT. 'system.cpu.logical.count' ``` @@ -72,7 +72,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.SystemMetrics do ### Erlang ```erlang - ?'SYSTEM_CPU_PHYSICAL_COUNT'. + ?SYSTEM_CPU_PHYSICAL_COUNT. 'system.cpu.physical.count' ``` @@ -99,7 +99,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.SystemMetrics do ### Erlang ```erlang - ?'SYSTEM_CPU_TIME'. + ?SYSTEM_CPU_TIME. 'system.cpu.time' ``` @@ -126,7 +126,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.SystemMetrics do ### Erlang ```erlang - ?'SYSTEM_CPU_UTILIZATION'. + ?SYSTEM_CPU_UTILIZATION. 'system.cpu.utilization' ``` @@ -153,7 +153,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.SystemMetrics do ### Erlang ```erlang - ?'SYSTEM_DISK_IO'. + ?SYSTEM_DISK_IO. 'system.disk.io' ``` @@ -189,7 +189,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.SystemMetrics do ### Erlang ```erlang - ?'SYSTEM_DISK_IO_TIME'. + ?SYSTEM_DISK_IO_TIME. 'system.disk.io_time' ``` @@ -216,7 +216,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.SystemMetrics do ### Erlang ```erlang - ?'SYSTEM_DISK_MERGED'. + ?SYSTEM_DISK_MERGED. 'system.disk.merged' ``` @@ -250,7 +250,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.SystemMetrics do ### Erlang ```erlang - ?'SYSTEM_DISK_OPERATION_TIME'. + ?SYSTEM_DISK_OPERATION_TIME. 'system.disk.operation_time' ``` @@ -277,7 +277,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.SystemMetrics do ### Erlang ```erlang - ?'SYSTEM_DISK_OPERATIONS'. + ?SYSTEM_DISK_OPERATIONS. 'system.disk.operations' ``` @@ -304,7 +304,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.SystemMetrics do ### Erlang ```erlang - ?'SYSTEM_FILESYSTEM_USAGE'. + ?SYSTEM_FILESYSTEM_USAGE. 'system.filesystem.usage' ``` @@ -331,7 +331,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.SystemMetrics do ### Erlang ```erlang - ?'SYSTEM_FILESYSTEM_UTILIZATION'. + ?SYSTEM_FILESYSTEM_UTILIZATION. 'system.filesystem.utilization' ``` @@ -366,7 +366,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.SystemMetrics do ### Erlang ```erlang - ?'SYSTEM_LINUX_MEMORY_AVAILABLE'. + ?SYSTEM_LINUX_MEMORY_AVAILABLE. 'system.linux.memory.available' ``` @@ -397,7 +397,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.SystemMetrics do ### Erlang ```erlang - ?'SYSTEM_MEMORY_LIMIT'. + ?SYSTEM_MEMORY_LIMIT. 'system.memory.limit' ``` @@ -429,7 +429,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.SystemMetrics do ### Erlang ```erlang - ?'SYSTEM_MEMORY_SHARED'. + ?SYSTEM_MEMORY_SHARED. 'system.memory.shared' ``` @@ -461,7 +461,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.SystemMetrics do ### Erlang ```erlang - ?'SYSTEM_MEMORY_USAGE'. + ?SYSTEM_MEMORY_USAGE. 'system.memory.usage' ``` @@ -488,7 +488,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.SystemMetrics do ### Erlang ```erlang - ?'SYSTEM_MEMORY_UTILIZATION'. + ?SYSTEM_MEMORY_UTILIZATION. 'system.memory.utilization' ``` @@ -515,7 +515,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.SystemMetrics do ### Erlang ```erlang - ?'SYSTEM_NETWORK_CONNECTIONS'. + ?SYSTEM_NETWORK_CONNECTIONS. 'system.network.connections' ``` @@ -550,7 +550,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.SystemMetrics do ### Erlang ```erlang - ?'SYSTEM_NETWORK_DROPPED'. + ?SYSTEM_NETWORK_DROPPED. 'system.network.dropped' ``` @@ -585,7 +585,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.SystemMetrics do ### Erlang ```erlang - ?'SYSTEM_NETWORK_ERRORS'. + ?SYSTEM_NETWORK_ERRORS. 'system.network.errors' ``` @@ -612,7 +612,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.SystemMetrics do ### Erlang ```erlang - ?'SYSTEM_NETWORK_IO'. + ?SYSTEM_NETWORK_IO. 'system.network.io' ``` @@ -639,7 +639,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.SystemMetrics do ### Erlang ```erlang - ?'SYSTEM_NETWORK_PACKETS'. + ?SYSTEM_NETWORK_PACKETS. 'system.network.packets' ``` @@ -666,7 +666,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.SystemMetrics do ### Erlang ```erlang - ?'SYSTEM_PAGING_FAULTS'. + ?SYSTEM_PAGING_FAULTS. 'system.paging.faults' ``` @@ -693,7 +693,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.SystemMetrics do ### Erlang ```erlang - ?'SYSTEM_PAGING_OPERATIONS'. + ?SYSTEM_PAGING_OPERATIONS. 'system.paging.operations' ``` @@ -720,7 +720,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.SystemMetrics do ### Erlang ```erlang - ?'SYSTEM_PAGING_USAGE'. + ?SYSTEM_PAGING_USAGE. 'system.paging.usage' ``` @@ -747,7 +747,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.SystemMetrics do ### Erlang ```erlang - ?'SYSTEM_PAGING_UTILIZATION'. + ?SYSTEM_PAGING_UTILIZATION. 'system.paging.utilization' ``` @@ -774,7 +774,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.SystemMetrics do ### Erlang ```erlang - ?'SYSTEM_PROCESS_COUNT'. + ?SYSTEM_PROCESS_COUNT. 'system.process.count' ``` @@ -801,7 +801,7 @@ defmodule OpenTelemetry.SemConv.Incubating.Metrics.SystemMetrics do ### Erlang ```erlang - ?'SYSTEM_PROCESS_CREATED'. + ?SYSTEM_PROCESS_CREATED. 'system.process.created' ``` diff --git a/apps/opentelemetry_semantic_conventions/lib/metrics/http_metrics.ex b/apps/opentelemetry_semantic_conventions/lib/metrics/http_metrics.ex index 43045d11..d2e8f13b 100644 --- a/apps/opentelemetry_semantic_conventions/lib/metrics/http_metrics.ex +++ b/apps/opentelemetry_semantic_conventions/lib/metrics/http_metrics.ex @@ -18,7 +18,7 @@ defmodule OpenTelemetry.SemConv.Metrics.HTTPMetrics do ### Erlang ```erlang - ?'HTTP_CLIENT_REQUEST_DURATION'. + ?HTTP_CLIENT_REQUEST_DURATION. 'http.client.request.duration' ``` @@ -45,7 +45,7 @@ defmodule OpenTelemetry.SemConv.Metrics.HTTPMetrics do ### Erlang ```erlang - ?'HTTP_SERVER_REQUEST_DURATION'. + ?HTTP_SERVER_REQUEST_DURATION. 'http.server.request.duration' ``` 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 172741cc..0509b475 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,13 +84,13 @@ defmodule {{ module_namespace }}.{{ module_name }} do ### Erlang ```erlang - ?'{{ c.erl_attr_name(attribute.name) }}'. + ?{{ c.erl_attr_name(attribute.name) }}. '{{ attribute.name }}' - ?'{{ c.erl_attr_name(attribute.name) }}_VALUES_{{ attribute.type.members|first|attr('id') | screaming_snake_case }}'. + ?{{ c.erl_attr_name(attribute.name) }}_VALUES_{{ attribute.type.members|first|attr('id') | screaming_snake_case }}. '{{ attribute.type.members|first|attr('value') }}' - {% raw %}\#{{% endraw %}?'{{ c.erl_attr_name(attribute.name) }}' => ?'{{ c.erl_attr_name(attribute.name) }}_VALUES_{{ attribute.type.members|first|attr('id') | screaming_snake_case }}'{% raw %}}{% endraw %}. + {% raw %}\#{{% endraw %}?{{ c.erl_attr_name(attribute.name) }} => ?{{ c.erl_attr_name(attribute.name) }}_VALUES_{{ attribute.type.members|first|attr('id') | screaming_snake_case }}{% raw %}}{% endraw %}. {% raw %}\#{{% endraw %}'{{ attribute.name }}' => '{{ attribute.type.members|first|attr('value') }}'{% raw %}}{% endraw %} ``` {%- else %} @@ -103,7 +103,7 @@ defmodule {{ module_namespace }}.{{ module_name }} do ### Erlang ```erlang - ?'{{ c.erl_attr_name(attribute.name) }}'. + ?{{ c.erl_attr_name(attribute.name) }}. '{{ attribute.name }}' ``` {%- endif %} diff --git a/apps/opentelemetry_semantic_conventions/templates/registry/elixir/semantic_metrics.ex.j2 b/apps/opentelemetry_semantic_conventions/templates/registry/elixir/semantic_metrics.ex.j2 index 770b2877..bed5a9ad 100644 --- a/apps/opentelemetry_semantic_conventions/templates/registry/elixir/semantic_metrics.ex.j2 +++ b/apps/opentelemetry_semantic_conventions/templates/registry/elixir/semantic_metrics.ex.j2 @@ -26,7 +26,7 @@ defmodule {{ module_namespace }}.{{ module_name }} do Instrument: `{{ metric.instrument }}` Unit: `{{ metric.unit }}` - + {%- if metric.note %} ### Notes @@ -42,7 +42,7 @@ defmodule {{ module_namespace }}.{{ module_name }} do ### Erlang ```erlang - ?'{{ metric.metric_name | snake_case | upper }}'. + ?{{ metric.metric_name | snake_case | upper }}. '{{ metric.metric_name }}' ``` @@ -55,4 +55,4 @@ defmodule {{ module_namespace }}.{{ module_name }} do {{ c.to_atom(metric.metric_name) }} end {% endfor %} -end \ No newline at end of file +end diff --git a/apps/opentelemetry_semantic_conventions/templates/registry/erlang/semantic_attributes.hrl.j2 b/apps/opentelemetry_semantic_conventions/templates/registry/erlang/semantic_attributes.hrl.j2 index f0e71c9e..edc3f77d 100644 --- a/apps/opentelemetry_semantic_conventions/templates/registry/erlang/semantic_attributes.hrl.j2 +++ b/apps/opentelemetry_semantic_conventions/templates/registry/erlang/semantic_attributes.hrl.j2 @@ -23,10 +23,10 @@ %% @deprecated {{ attribute.deprecated | replace("\n", "\n%% ") }} {%- endif %} %% {{ attribute.brief | replace("\n", "\n%% ") }} --define('{{ c.attr_name(attribute.name) }}', '{{ attribute.name }}'). +-define({{ c.attr_name(attribute.name) }}, '{{ attribute.name }}'). {%- if attribute.type is mapping %} {% for member in attribute.type.members %} --define('{{ c.attr_name(attribute.name) }}_VALUES_{{ member.id | screaming_snake_case }}', '{{ member.value }}'). +-define({{ c.attr_name(attribute.name) }}_VALUES_{{ member.id | screaming_snake_case }}, '{{ member.value }}'). {% endfor %} {%- endif %} {% endfor %} diff --git a/apps/opentelemetry_semantic_conventions/templates/registry/erlang/semantic_metrics.hrl.j2 b/apps/opentelemetry_semantic_conventions/templates/registry/erlang/semantic_metrics.hrl.j2 index fd919989..169b7e2a 100644 --- a/apps/opentelemetry_semantic_conventions/templates/registry/erlang/semantic_metrics.hrl.j2 +++ b/apps/opentelemetry_semantic_conventions/templates/registry/erlang/semantic_metrics.hrl.j2 @@ -21,5 +21,5 @@ %% @deprecated {{ metric.deprecated | replace("\n", "\n%% ") }} {%- endif %} %% {{ metric.brief | replace("\n", "\n%% ") }} --define('{{ c.attr_name(metric.metric_name) }}', '{{ metric.metric_name }}'). +-define({{ c.attr_name(metric.metric_name) }}, '{{ metric.metric_name }}'). {% endfor %}