const AndroidOSAPILevelKey … // AndroidOSAPILevel returns an attribute KeyValue conforming to the // "android.os.api_level" semantic conventions. It represents the uniquely // identifies the framework API revision offered by a version (`os.version`) of // the android operating system. More information can be found // [here](https://developer.android.com/guide/topics/manifest/uses-sdk-element#APILevels). func AndroidOSAPILevel(val string) attribute.KeyValue { … } const AspnetcoreRateLimitingResultKey … const AspnetcoreDiagnosticsHandlerTypeKey … const AspnetcoreDiagnosticsExceptionResultKey … const AspnetcoreRateLimitingPolicyKey … const AspnetcoreRequestIsUnhandledKey … const AspnetcoreRoutingIsFallbackKey … const AspnetcoreRoutingMatchStatusKey … var AspnetcoreRateLimitingResultAcquired … var AspnetcoreRateLimitingResultEndpointLimiter … var AspnetcoreRateLimitingResultGlobalLimiter … var AspnetcoreRateLimitingResultRequestCanceled … var AspnetcoreDiagnosticsExceptionResultHandled … var AspnetcoreDiagnosticsExceptionResultUnhandled … var AspnetcoreDiagnosticsExceptionResultSkipped … var AspnetcoreDiagnosticsExceptionResultAborted … var AspnetcoreRoutingMatchStatusSuccess … var AspnetcoreRoutingMatchStatusFailure … // AspnetcoreDiagnosticsHandlerType returns an attribute KeyValue conforming // to the "aspnetcore.diagnostics.handler.type" semantic conventions. It // represents the full type name of the // [`IExceptionHandler`](https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.diagnostics.iexceptionhandler) // implementation that handled the exception. func AspnetcoreDiagnosticsHandlerType(val string) attribute.KeyValue { … } // AspnetcoreRateLimitingPolicy returns an attribute KeyValue conforming to // the "aspnetcore.rate_limiting.policy" semantic conventions. It represents // the rate limiting policy name. func AspnetcoreRateLimitingPolicy(val string) attribute.KeyValue { … } // AspnetcoreRequestIsUnhandled returns an attribute KeyValue conforming to // the "aspnetcore.request.is_unhandled" semantic conventions. It represents // the flag indicating if request was handled by the application pipeline. func AspnetcoreRequestIsUnhandled(val bool) attribute.KeyValue { … } // AspnetcoreRoutingIsFallback returns an attribute KeyValue conforming to // the "aspnetcore.routing.is_fallback" semantic conventions. It represents a // value that indicates whether the matched route is a fallback route. func AspnetcoreRoutingIsFallback(val bool) attribute.KeyValue { … } const AWSRequestIDKey … // AWSRequestID returns an attribute KeyValue conforming to the // "aws.request_id" semantic conventions. It represents the AWS request ID as // returned in the response headers `x-amz-request-id` or `x-amz-requestid`. func AWSRequestID(val string) attribute.KeyValue { … } const AWSDynamoDBAttributeDefinitionsKey … const AWSDynamoDBAttributesToGetKey … const AWSDynamoDBConsistentReadKey … const AWSDynamoDBConsumedCapacityKey … const AWSDynamoDBCountKey … const AWSDynamoDBExclusiveStartTableKey … const AWSDynamoDBGlobalSecondaryIndexUpdatesKey … const AWSDynamoDBGlobalSecondaryIndexesKey … const AWSDynamoDBIndexNameKey … const AWSDynamoDBItemCollectionMetricsKey … const AWSDynamoDBLimitKey … const AWSDynamoDBLocalSecondaryIndexesKey … const AWSDynamoDBProjectionKey … const AWSDynamoDBProvisionedReadCapacityKey … const AWSDynamoDBProvisionedWriteCapacityKey … const AWSDynamoDBScanForwardKey … const AWSDynamoDBScannedCountKey … const AWSDynamoDBSegmentKey … const AWSDynamoDBSelectKey … const AWSDynamoDBTableCountKey … const AWSDynamoDBTableNamesKey … const AWSDynamoDBTotalSegmentsKey … // AWSDynamoDBAttributeDefinitions returns an attribute KeyValue conforming // to the "aws.dynamodb.attribute_definitions" semantic conventions. It // represents the JSON-serialized value of each item in the // `AttributeDefinitions` request field. func AWSDynamoDBAttributeDefinitions(val ...string) attribute.KeyValue { … } // AWSDynamoDBAttributesToGet returns an attribute KeyValue conforming to // the "aws.dynamodb.attributes_to_get" semantic conventions. It represents the // value of the `AttributesToGet` request parameter. func AWSDynamoDBAttributesToGet(val ...string) attribute.KeyValue { … } // AWSDynamoDBConsistentRead returns an attribute KeyValue conforming to the // "aws.dynamodb.consistent_read" semantic conventions. It represents the value // of the `ConsistentRead` request parameter. func AWSDynamoDBConsistentRead(val bool) attribute.KeyValue { … } // AWSDynamoDBConsumedCapacity returns an attribute KeyValue conforming to // the "aws.dynamodb.consumed_capacity" semantic conventions. It represents the // JSON-serialized value of each item in the `ConsumedCapacity` response field. func AWSDynamoDBConsumedCapacity(val ...string) attribute.KeyValue { … } // AWSDynamoDBCount returns an attribute KeyValue conforming to the // "aws.dynamodb.count" semantic conventions. It represents the value of the // `Count` response parameter. func AWSDynamoDBCount(val int) attribute.KeyValue { … } // AWSDynamoDBExclusiveStartTable returns an attribute KeyValue conforming // to the "aws.dynamodb.exclusive_start_table" semantic conventions. It // represents the value of the `ExclusiveStartTableName` request parameter. func AWSDynamoDBExclusiveStartTable(val string) attribute.KeyValue { … } // AWSDynamoDBGlobalSecondaryIndexUpdates returns an attribute KeyValue // conforming to the "aws.dynamodb.global_secondary_index_updates" semantic // conventions. It represents the JSON-serialized value of each item in the // `GlobalSecondaryIndexUpdates` request field. func AWSDynamoDBGlobalSecondaryIndexUpdates(val ...string) attribute.KeyValue { … } // AWSDynamoDBGlobalSecondaryIndexes returns an attribute KeyValue // conforming to the "aws.dynamodb.global_secondary_indexes" semantic // conventions. It represents the JSON-serialized value of each item of the // `GlobalSecondaryIndexes` request field func AWSDynamoDBGlobalSecondaryIndexes(val ...string) attribute.KeyValue { … } // AWSDynamoDBIndexName returns an attribute KeyValue conforming to the // "aws.dynamodb.index_name" semantic conventions. It represents the value of // the `IndexName` request parameter. func AWSDynamoDBIndexName(val string) attribute.KeyValue { … } // AWSDynamoDBItemCollectionMetrics returns an attribute KeyValue conforming // to the "aws.dynamodb.item_collection_metrics" semantic conventions. It // represents the JSON-serialized value of the `ItemCollectionMetrics` response // field. func AWSDynamoDBItemCollectionMetrics(val string) attribute.KeyValue { … } // AWSDynamoDBLimit returns an attribute KeyValue conforming to the // "aws.dynamodb.limit" semantic conventions. It represents the value of the // `Limit` request parameter. func AWSDynamoDBLimit(val int) attribute.KeyValue { … } // AWSDynamoDBLocalSecondaryIndexes returns an attribute KeyValue conforming // to the "aws.dynamodb.local_secondary_indexes" semantic conventions. It // represents the JSON-serialized value of each item of the // `LocalSecondaryIndexes` request field. func AWSDynamoDBLocalSecondaryIndexes(val ...string) attribute.KeyValue { … } // AWSDynamoDBProjection returns an attribute KeyValue conforming to the // "aws.dynamodb.projection" semantic conventions. It represents the value of // the `ProjectionExpression` request parameter. func AWSDynamoDBProjection(val string) attribute.KeyValue { … } // AWSDynamoDBProvisionedReadCapacity returns an attribute KeyValue // conforming to the "aws.dynamodb.provisioned_read_capacity" semantic // conventions. It represents the value of the // `ProvisionedThroughput.ReadCapacityUnits` request parameter. func AWSDynamoDBProvisionedReadCapacity(val float64) attribute.KeyValue { … } // AWSDynamoDBProvisionedWriteCapacity returns an attribute KeyValue // conforming to the "aws.dynamodb.provisioned_write_capacity" semantic // conventions. It represents the value of the // `ProvisionedThroughput.WriteCapacityUnits` request parameter. func AWSDynamoDBProvisionedWriteCapacity(val float64) attribute.KeyValue { … } // AWSDynamoDBScanForward returns an attribute KeyValue conforming to the // "aws.dynamodb.scan_forward" semantic conventions. It represents the value of // the `ScanIndexForward` request parameter. func AWSDynamoDBScanForward(val bool) attribute.KeyValue { … } // AWSDynamoDBScannedCount returns an attribute KeyValue conforming to the // "aws.dynamodb.scanned_count" semantic conventions. It represents the value // of the `ScannedCount` response parameter. func AWSDynamoDBScannedCount(val int) attribute.KeyValue { … } // AWSDynamoDBSegment returns an attribute KeyValue conforming to the // "aws.dynamodb.segment" semantic conventions. It represents the value of the // `Segment` request parameter. func AWSDynamoDBSegment(val int) attribute.KeyValue { … } // AWSDynamoDBSelect returns an attribute KeyValue conforming to the // "aws.dynamodb.select" semantic conventions. It represents the value of the // `Select` request parameter. func AWSDynamoDBSelect(val string) attribute.KeyValue { … } // AWSDynamoDBTableCount returns an attribute KeyValue conforming to the // "aws.dynamodb.table_count" semantic conventions. It represents the number of // items in the `TableNames` response parameter. func AWSDynamoDBTableCount(val int) attribute.KeyValue { … } // AWSDynamoDBTableNames returns an attribute KeyValue conforming to the // "aws.dynamodb.table_names" semantic conventions. It represents the keys in // the `RequestItems` object field. func AWSDynamoDBTableNames(val ...string) attribute.KeyValue { … } // AWSDynamoDBTotalSegments returns an attribute KeyValue conforming to the // "aws.dynamodb.total_segments" semantic conventions. It represents the value // of the `TotalSegments` request parameter. func AWSDynamoDBTotalSegments(val int) attribute.KeyValue { … } const AWSECSTaskIDKey … const AWSECSClusterARNKey … const AWSECSContainerARNKey … const AWSECSLaunchtypeKey … const AWSECSTaskARNKey … const AWSECSTaskFamilyKey … const AWSECSTaskRevisionKey … var AWSECSLaunchtypeEC2 … var AWSECSLaunchtypeFargate … // AWSECSTaskID returns an attribute KeyValue conforming to the // "aws.ecs.task.id" semantic conventions. It represents the ID of a running // ECS task. The ID MUST be extracted from `task.arn`. func AWSECSTaskID(val string) attribute.KeyValue { … } // AWSECSClusterARN returns an attribute KeyValue conforming to the // "aws.ecs.cluster.arn" semantic conventions. It represents the ARN of an [ECS // cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html). func AWSECSClusterARN(val string) attribute.KeyValue { … } // AWSECSContainerARN returns an attribute KeyValue conforming to the // "aws.ecs.container.arn" semantic conventions. It represents the Amazon // Resource Name (ARN) of an [ECS container // instance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html). func AWSECSContainerARN(val string) attribute.KeyValue { … } // AWSECSTaskARN returns an attribute KeyValue conforming to the // "aws.ecs.task.arn" semantic conventions. It represents the ARN of a running // [ECS // task](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids). func AWSECSTaskARN(val string) attribute.KeyValue { … } // AWSECSTaskFamily returns an attribute KeyValue conforming to the // "aws.ecs.task.family" semantic conventions. It represents 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. func AWSECSTaskFamily(val string) attribute.KeyValue { … } // AWSECSTaskRevision returns an attribute KeyValue conforming to the // "aws.ecs.task.revision" semantic conventions. It represents the revision for // the task definition used to create the ECS task. func AWSECSTaskRevision(val string) attribute.KeyValue { … } const AWSEKSClusterARNKey … // AWSEKSClusterARN returns an attribute KeyValue conforming to the // "aws.eks.cluster.arn" semantic conventions. It represents the ARN of an EKS // cluster. func AWSEKSClusterARN(val string) attribute.KeyValue { … } const AWSLogGroupARNsKey … const AWSLogGroupNamesKey … const AWSLogStreamARNsKey … const AWSLogStreamNamesKey … // AWSLogGroupARNs returns an attribute KeyValue conforming to the // "aws.log.group.arns" semantic conventions. It represents the Amazon Resource // Name(s) (ARN) of the AWS log group(s). func AWSLogGroupARNs(val ...string) attribute.KeyValue { … } // AWSLogGroupNames returns an attribute KeyValue conforming to the // "aws.log.group.names" semantic conventions. It represents the name(s) of the // AWS log group(s) an application is writing to. func AWSLogGroupNames(val ...string) attribute.KeyValue { … } // AWSLogStreamARNs returns an attribute KeyValue conforming to the // "aws.log.stream.arns" semantic conventions. It represents the ARN(s) of the // AWS log stream(s). func AWSLogStreamARNs(val ...string) attribute.KeyValue { … } // AWSLogStreamNames returns an attribute KeyValue conforming to the // "aws.log.stream.names" semantic conventions. It represents the name(s) of // the AWS log stream(s) an application is writing to. func AWSLogStreamNames(val ...string) attribute.KeyValue { … } const AWSLambdaInvokedARNKey … // AWSLambdaInvokedARN returns an attribute KeyValue conforming to the // "aws.lambda.invoked_arn" semantic conventions. It represents 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). func AWSLambdaInvokedARN(val string) attribute.KeyValue { … } const AWSS3BucketKey … const AWSS3CopySourceKey … const AWSS3DeleteKey … const AWSS3KeyKey … const AWSS3PartNumberKey … const AWSS3UploadIDKey … // AWSS3Bucket returns an attribute KeyValue conforming to the // "aws.s3.bucket" semantic conventions. It represents 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. func AWSS3Bucket(val string) attribute.KeyValue { … } // AWSS3CopySource returns an attribute KeyValue conforming to the // "aws.s3.copy_source" semantic conventions. It represents the source object // (in the form `bucket`/`key`) for the copy operation. func AWSS3CopySource(val string) attribute.KeyValue { … } // AWSS3Delete returns an attribute KeyValue conforming to the // "aws.s3.delete" semantic conventions. It represents the delete request // container that specifies the objects to be deleted. func AWSS3Delete(val string) attribute.KeyValue { … } // AWSS3Key returns an attribute KeyValue conforming to the "aws.s3.key" // semantic conventions. It represents 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. func AWSS3Key(val string) attribute.KeyValue { … } // AWSS3PartNumber returns an attribute KeyValue conforming to the // "aws.s3.part_number" semantic conventions. It represents the part number of // the part being uploaded in a multipart-upload operation. This is a positive // integer between 1 and 10,000. func AWSS3PartNumber(val int) attribute.KeyValue { … } // AWSS3UploadID returns an attribute KeyValue conforming to the // "aws.s3.upload_id" semantic conventions. It represents the upload ID that // identifies the multipart upload. func AWSS3UploadID(val string) attribute.KeyValue { … } const BrowserBrandsKey … const BrowserLanguageKey … const BrowserMobileKey … const BrowserPlatformKey … // BrowserBrands returns an attribute KeyValue conforming to the // "browser.brands" semantic conventions. It represents the array of brand name // and version separated by a space func BrowserBrands(val ...string) attribute.KeyValue { … } // BrowserLanguage returns an attribute KeyValue conforming to the // "browser.language" semantic conventions. It represents the preferred // language of the user using the browser func BrowserLanguage(val string) attribute.KeyValue { … } // BrowserMobile returns an attribute KeyValue conforming to the // "browser.mobile" semantic conventions. It represents a boolean that is true // if the browser is running on a mobile device func BrowserMobile(val bool) attribute.KeyValue { … } // BrowserPlatform returns an attribute KeyValue conforming to the // "browser.platform" semantic conventions. It represents the platform on which // the browser is running func BrowserPlatform(val string) attribute.KeyValue { … } const ClientAddressKey … const ClientPortKey … // ClientAddress returns an attribute KeyValue conforming to the // "client.address" semantic conventions. It represents the client address - // domain name if available without reverse DNS lookup; otherwise, IP address // or Unix domain socket name. func ClientAddress(val string) attribute.KeyValue { … } // ClientPort returns an attribute KeyValue conforming to the "client.port" // semantic conventions. It represents the client port number. func ClientPort(val int) attribute.KeyValue { … } const CloudAccountIDKey … const CloudAvailabilityZoneKey … const CloudPlatformKey … const CloudProviderKey … const CloudRegionKey … const CloudResourceIDKey … var CloudPlatformAlibabaCloudECS … var CloudPlatformAlibabaCloudFc … var CloudPlatformAlibabaCloudOpenshift … var CloudPlatformAWSEC2 … var CloudPlatformAWSECS … var CloudPlatformAWSEKS … var CloudPlatformAWSLambda … var CloudPlatformAWSElasticBeanstalk … var CloudPlatformAWSAppRunner … var CloudPlatformAWSOpenshift … var CloudPlatformAzureVM … var CloudPlatformAzureContainerApps … var CloudPlatformAzureContainerInstances … var CloudPlatformAzureAKS … var CloudPlatformAzureFunctions … var CloudPlatformAzureAppService … var CloudPlatformAzureOpenshift … var CloudPlatformGCPBareMetalSolution … var CloudPlatformGCPComputeEngine … var CloudPlatformGCPCloudRun … var CloudPlatformGCPKubernetesEngine … var CloudPlatformGCPCloudFunctions … var CloudPlatformGCPAppEngine … var CloudPlatformGCPOpenshift … var CloudPlatformIbmCloudOpenshift … var CloudPlatformTencentCloudCvm … var CloudPlatformTencentCloudEKS … var CloudPlatformTencentCloudScf … var CloudProviderAlibabaCloud … var CloudProviderAWS … var CloudProviderAzure … var CloudProviderGCP … var CloudProviderHeroku … var CloudProviderIbmCloud … var CloudProviderTencentCloud … // CloudAccountID returns an attribute KeyValue conforming to the // "cloud.account.id" semantic conventions. It represents the cloud account ID // the resource is assigned to. func CloudAccountID(val string) attribute.KeyValue { … } // CloudAvailabilityZone returns an attribute KeyValue conforming to the // "cloud.availability_zone" semantic conventions. It represents the cloud // regions often have multiple, isolated locations known as zones to increase // availability. Availability zone represents the zone where the resource is // running. func CloudAvailabilityZone(val string) attribute.KeyValue { … } // CloudRegion returns an attribute KeyValue conforming to the // "cloud.region" semantic conventions. It represents the geographical region // the resource is running. func CloudRegion(val string) attribute.KeyValue { … } // CloudResourceID returns an attribute KeyValue conforming to the // "cloud.resource_id" semantic conventions. It represents the 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) func CloudResourceID(val string) attribute.KeyValue { … } const CloudeventsEventIDKey … const CloudeventsEventSourceKey … const CloudeventsEventSpecVersionKey … const CloudeventsEventSubjectKey … const CloudeventsEventTypeKey … // CloudeventsEventID returns an attribute KeyValue conforming to the // "cloudevents.event_id" semantic conventions. It represents the // [event_id](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#id) // uniquely identifies the event. func CloudeventsEventID(val string) attribute.KeyValue { … } // CloudeventsEventSource returns an attribute KeyValue conforming to the // "cloudevents.event_source" semantic conventions. It represents the // [source](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#source-1) // identifies the context in which an event happened. func CloudeventsEventSource(val string) attribute.KeyValue { … } // CloudeventsEventSpecVersion returns an attribute KeyValue conforming to // the "cloudevents.event_spec_version" semantic conventions. It represents the // [version of the CloudEvents // specification](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#specversion) // which the event uses. func CloudeventsEventSpecVersion(val string) attribute.KeyValue { … } // CloudeventsEventSubject returns an attribute KeyValue conforming to the // "cloudevents.event_subject" semantic conventions. It represents 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). func CloudeventsEventSubject(val string) attribute.KeyValue { … } // CloudeventsEventType returns an attribute KeyValue conforming to the // "cloudevents.event_type" semantic conventions. It represents 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. func CloudeventsEventType(val string) attribute.KeyValue { … } const CodeColumnKey … const CodeFilepathKey … const CodeFunctionKey … const CodeLineNumberKey … const CodeNamespaceKey … const CodeStacktraceKey … // CodeColumn returns an attribute KeyValue conforming to the "code.column" // semantic conventions. It represents the column number in `code.filepath` // best representing the operation. It SHOULD point within the code unit named // in `code.function`. func CodeColumn(val int) attribute.KeyValue { … } // CodeFilepath returns an attribute KeyValue conforming to the // "code.filepath" semantic conventions. It represents the source code file // name that identifies the code unit as uniquely as possible (preferably an // absolute file path). func CodeFilepath(val string) attribute.KeyValue { … } // CodeFunction returns an attribute KeyValue conforming to the // "code.function" semantic conventions. It represents the method or function // name, or equivalent (usually rightmost part of the code unit's name). func CodeFunction(val string) attribute.KeyValue { … } // CodeLineNumber returns an attribute KeyValue conforming to the "code.lineno" // semantic conventions. It represents the line number in `code.filepath` best // representing the operation. It SHOULD point within the code unit named in // `code.function`. func CodeLineNumber(val int) attribute.KeyValue { … } // CodeNamespace returns an attribute KeyValue conforming to the // "code.namespace" semantic conventions. It represents 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. func CodeNamespace(val string) attribute.KeyValue { … } // CodeStacktrace returns an attribute KeyValue conforming to the // "code.stacktrace" semantic conventions. It represents 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. func CodeStacktrace(val string) attribute.KeyValue { … } const ContainerCommandKey … const ContainerCommandArgsKey … const ContainerCommandLineKey … const ContainerCPUStateKey … const ContainerIDKey … const ContainerImageIDKey … const ContainerImageNameKey … const ContainerImageRepoDigestsKey … const ContainerImageTagsKey … const ContainerNameKey … const ContainerRuntimeKey … var ContainerCPUStateUser … var ContainerCPUStateSystem … var ContainerCPUStateKernel … // ContainerCommand returns an attribute KeyValue conforming to the // "container.command" semantic conventions. It represents the command used to // run the container (i.e. the command name). func ContainerCommand(val string) attribute.KeyValue { … } // ContainerCommandArgs returns an attribute KeyValue conforming to the // "container.command_args" semantic conventions. It represents the all the // command arguments (including the command/executable itself) run by the // container. [2] func ContainerCommandArgs(val ...string) attribute.KeyValue { … } // ContainerCommandLine returns an attribute KeyValue conforming to the // "container.command_line" semantic conventions. It represents the full // command run by the container as a single string representing the full // command. [2] func ContainerCommandLine(val string) attribute.KeyValue { … } // ContainerID returns an attribute KeyValue conforming to the // "container.id" semantic conventions. It represents the 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. func ContainerID(val string) attribute.KeyValue { … } // ContainerImageID returns an attribute KeyValue conforming to the // "container.image.id" semantic conventions. It represents the runtime // specific image identifier. Usually a hash algorithm followed by a UUID. func ContainerImageID(val string) attribute.KeyValue { … } // ContainerImageName returns an attribute KeyValue conforming to the // "container.image.name" semantic conventions. It represents the name of the // image the container was built on. func ContainerImageName(val string) attribute.KeyValue { … } // ContainerImageRepoDigests returns an attribute KeyValue conforming to the // "container.image.repo_digests" semantic conventions. It represents the repo // digests of the container image as provided by the container runtime. func ContainerImageRepoDigests(val ...string) attribute.KeyValue { … } // ContainerImageTags returns an attribute KeyValue conforming to the // "container.image.tags" semantic conventions. It represents the 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 `<tag>` section of the full name for example from // `registry.example.com/my-org/my-image:<tag>`. func ContainerImageTags(val ...string) attribute.KeyValue { … } // ContainerName returns an attribute KeyValue conforming to the // "container.name" semantic conventions. It represents the container name used // by container runtime. func ContainerName(val string) attribute.KeyValue { … } // ContainerRuntime returns an attribute KeyValue conforming to the // "container.runtime" semantic conventions. It represents the container // runtime managing this container. func ContainerRuntime(val string) attribute.KeyValue { … } const DBClientConnectionsPoolNameKey … const DBClientConnectionsStateKey … const DBCollectionNameKey … const DBNamespaceKey … const DBOperationNameKey … const DBQueryTextKey … const DBSystemKey … var DBClientConnectionsStateIdle … var DBClientConnectionsStateUsed … var DBSystemOtherSQL … var DBSystemMSSQL … var DBSystemMssqlcompact … var DBSystemMySQL … var DBSystemOracle … var DBSystemDB2 … var DBSystemPostgreSQL … var DBSystemRedshift … var DBSystemHive … var DBSystemCloudscape … var DBSystemHSQLDB … var DBSystemProgress … var DBSystemMaxDB … var DBSystemHanaDB … var DBSystemIngres … var DBSystemFirstSQL … var DBSystemEDB … var DBSystemCache … var DBSystemAdabas … var DBSystemFirebird … var DBSystemDerby … var DBSystemFilemaker … var DBSystemInformix … var DBSystemInstantDB … var DBSystemInterbase … var DBSystemMariaDB … var DBSystemNetezza … var DBSystemPervasive … var DBSystemPointbase … var DBSystemSqlite … var DBSystemSybase … var DBSystemTeradata … var DBSystemVertica … var DBSystemH2 … var DBSystemColdfusion … var DBSystemCassandra … var DBSystemHBase … var DBSystemMongoDB … var DBSystemRedis … var DBSystemCouchbase … var DBSystemCouchDB … var DBSystemCosmosDB … var DBSystemDynamoDB … var DBSystemNeo4j … var DBSystemGeode … var DBSystemElasticsearch … var DBSystemMemcached … var DBSystemCockroachdb … var DBSystemOpensearch … var DBSystemClickhouse … var DBSystemSpanner … var DBSystemTrino … // DBClientConnectionsPoolName returns an attribute KeyValue conforming to // the "db.client.connections.pool.name" semantic conventions. It represents // 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`. func DBClientConnectionsPoolName(val string) attribute.KeyValue { … } // DBCollectionName returns an attribute KeyValue conforming to the // "db.collection.name" semantic conventions. It represents the name of a // collection (table, container) within the database. func DBCollectionName(val string) attribute.KeyValue { … } // DBNamespace returns an attribute KeyValue conforming to the // "db.namespace" semantic conventions. It represents the name of the database, // fully qualified within the server address and port. func DBNamespace(val string) attribute.KeyValue { … } // DBOperationName returns an attribute KeyValue conforming to the // "db.operation.name" semantic conventions. It represents the name of the // operation or command being executed. func DBOperationName(val string) attribute.KeyValue { … } // DBQueryText returns an attribute KeyValue conforming to the // "db.query.text" semantic conventions. It represents the database query being // executed. func DBQueryText(val string) attribute.KeyValue { … } const DBCassandraConsistencyLevelKey … const DBCassandraCoordinatorDCKey … const DBCassandraCoordinatorIDKey … const DBCassandraIdempotenceKey … const DBCassandraPageSizeKey … const DBCassandraSpeculativeExecutionCountKey … var DBCassandraConsistencyLevelAll … var DBCassandraConsistencyLevelEachQuorum … var DBCassandraConsistencyLevelQuorum … var DBCassandraConsistencyLevelLocalQuorum … var DBCassandraConsistencyLevelOne … var DBCassandraConsistencyLevelTwo … var DBCassandraConsistencyLevelThree … var DBCassandraConsistencyLevelLocalOne … var DBCassandraConsistencyLevelAny … var DBCassandraConsistencyLevelSerial … var DBCassandraConsistencyLevelLocalSerial … // DBCassandraCoordinatorDC returns an attribute KeyValue conforming to the // "db.cassandra.coordinator.dc" semantic conventions. It represents the data // center of the coordinating node for a query. func DBCassandraCoordinatorDC(val string) attribute.KeyValue { … } // DBCassandraCoordinatorID returns an attribute KeyValue conforming to the // "db.cassandra.coordinator.id" semantic conventions. It represents the ID of // the coordinating node for a query. func DBCassandraCoordinatorID(val string) attribute.KeyValue { … } // DBCassandraIdempotence returns an attribute KeyValue conforming to the // "db.cassandra.idempotence" semantic conventions. It represents the whether // or not the query is idempotent. func DBCassandraIdempotence(val bool) attribute.KeyValue { … } // DBCassandraPageSize returns an attribute KeyValue conforming to the // "db.cassandra.page_size" semantic conventions. It represents the fetch size // used for paging, i.e. how many rows will be returned at once. func DBCassandraPageSize(val int) attribute.KeyValue { … } // DBCassandraSpeculativeExecutionCount returns an attribute KeyValue // conforming to the "db.cassandra.speculative_execution_count" semantic // conventions. It represents the number of times a query was speculatively // executed. Not set or `0` if the query was not executed speculatively. func DBCassandraSpeculativeExecutionCount(val int) attribute.KeyValue { … } const DBCosmosDBClientIDKey … const DBCosmosDBConnectionModeKey … const DBCosmosDBOperationTypeKey … const DBCosmosDBRequestChargeKey … const DBCosmosDBRequestContentLengthKey … const DBCosmosDBStatusCodeKey … const DBCosmosDBSubStatusCodeKey … var DBCosmosDBConnectionModeGateway … var DBCosmosDBConnectionModeDirect … var DBCosmosDBOperationTypeInvalid … var DBCosmosDBOperationTypeCreate … var DBCosmosDBOperationTypePatch … var DBCosmosDBOperationTypeRead … var DBCosmosDBOperationTypeReadFeed … var DBCosmosDBOperationTypeDelete … var DBCosmosDBOperationTypeReplace … var DBCosmosDBOperationTypeExecute … var DBCosmosDBOperationTypeQuery … var DBCosmosDBOperationTypeHead … var DBCosmosDBOperationTypeHeadFeed … var DBCosmosDBOperationTypeUpsert … var DBCosmosDBOperationTypeBatch … var DBCosmosDBOperationTypeQueryPlan … var DBCosmosDBOperationTypeExecuteJavascript … // DBCosmosDBClientID returns an attribute KeyValue conforming to the // "db.cosmosdb.client_id" semantic conventions. It represents the unique // Cosmos client instance id. func DBCosmosDBClientID(val string) attribute.KeyValue { … } // DBCosmosDBRequestCharge returns an attribute KeyValue conforming to the // "db.cosmosdb.request_charge" semantic conventions. It represents the rU // consumed for that operation func DBCosmosDBRequestCharge(val float64) attribute.KeyValue { … } // DBCosmosDBRequestContentLength returns an attribute KeyValue conforming // to the "db.cosmosdb.request_content_length" semantic conventions. It // represents the request payload size in bytes func DBCosmosDBRequestContentLength(val int) attribute.KeyValue { … } // DBCosmosDBStatusCode returns an attribute KeyValue conforming to the // "db.cosmosdb.status_code" semantic conventions. It represents the cosmos DB // status code. func DBCosmosDBStatusCode(val int) attribute.KeyValue { … } // DBCosmosDBSubStatusCode returns an attribute KeyValue conforming to the // "db.cosmosdb.sub_status_code" semantic conventions. It represents the cosmos // DB sub status code. func DBCosmosDBSubStatusCode(val int) attribute.KeyValue { … } const DBElasticsearchClusterNameKey … const DBElasticsearchNodeNameKey … // DBElasticsearchClusterName returns an attribute KeyValue conforming to // the "db.elasticsearch.cluster.name" semantic conventions. It represents the // represents the identifier of an Elasticsearch cluster. func DBElasticsearchClusterName(val string) attribute.KeyValue { … } // DBElasticsearchNodeName returns an attribute KeyValue conforming to the // "db.elasticsearch.node.name" semantic conventions. It represents the // represents the human-readable identifier of the node/instance to which a // request was routed. func DBElasticsearchNodeName(val string) attribute.KeyValue { … } const DeploymentEnvironmentKey … // DeploymentEnvironment returns an attribute KeyValue conforming to the // "deployment.environment" semantic conventions. It represents the name of the // [deployment environment](https://wikipedia.org/wiki/Deployment_environment) // (aka deployment tier). func DeploymentEnvironment(val string) attribute.KeyValue { … } const AndroidStateKey … var AndroidStateCreated … var AndroidStateBackground … var AndroidStateForeground … const DestinationAddressKey … const DestinationPortKey … // DestinationAddress returns an attribute KeyValue conforming to the // "destination.address" semantic conventions. It represents the destination // address - domain name if available without reverse DNS lookup; otherwise, IP // address or Unix domain socket name. func DestinationAddress(val string) attribute.KeyValue { … } // DestinationPort returns an attribute KeyValue conforming to the // "destination.port" semantic conventions. It represents the destination port // number func DestinationPort(val int) attribute.KeyValue { … } const DeviceIDKey … const DeviceManufacturerKey … const DeviceModelIdentifierKey … const DeviceModelNameKey … // DeviceID returns an attribute KeyValue conforming to the "device.id" // semantic conventions. It represents a unique identifier representing the // device func DeviceID(val string) attribute.KeyValue { … } // DeviceManufacturer returns an attribute KeyValue conforming to the // "device.manufacturer" semantic conventions. It represents the name of the // device manufacturer func DeviceManufacturer(val string) attribute.KeyValue { … } // DeviceModelIdentifier returns an attribute KeyValue conforming to the // "device.model.identifier" semantic conventions. It represents the model // identifier for the device func DeviceModelIdentifier(val string) attribute.KeyValue { … } // DeviceModelName returns an attribute KeyValue conforming to the // "device.model.name" semantic conventions. It represents the marketing name // for the device model func DeviceModelName(val string) attribute.KeyValue { … } const DiskIoDirectionKey … var DiskIoDirectionRead … var DiskIoDirectionWrite … const DNSQuestionNameKey … // DNSQuestionName returns an attribute KeyValue conforming to the // "dns.question.name" semantic conventions. It represents the name being // queried. func DNSQuestionName(val string) attribute.KeyValue { … } const EnduserIDKey … const EnduserRoleKey … const EnduserScopeKey … // EnduserID returns an attribute KeyValue conforming to the "enduser.id" // semantic conventions. It represents the 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. func EnduserID(val string) attribute.KeyValue { … } // EnduserRole returns an attribute KeyValue conforming to the // "enduser.role" semantic conventions. It represents the actual/assumed role // the client is making the request under extracted from token or application // security context. func EnduserRole(val string) attribute.KeyValue { … } // EnduserScope returns an attribute KeyValue conforming to the // "enduser.scope" semantic conventions. It represents the 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). func EnduserScope(val string) attribute.KeyValue { … } const ErrorTypeKey … var ErrorTypeOther … const EventNameKey … // EventName returns an attribute KeyValue conforming to the "event.name" // semantic conventions. It represents the identifies the class / type of // event. func EventName(val string) attribute.KeyValue { … } const ExceptionEscapedKey … const ExceptionMessageKey … const ExceptionStacktraceKey … const ExceptionTypeKey … // ExceptionEscaped returns an attribute KeyValue conforming to the // "exception.escaped" semantic conventions. It represents the 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. func ExceptionEscaped(val bool) attribute.KeyValue { … } // ExceptionMessage returns an attribute KeyValue conforming to the // "exception.message" semantic conventions. It represents the exception // message. func ExceptionMessage(val string) attribute.KeyValue { … } // ExceptionStacktrace returns an attribute KeyValue conforming to the // "exception.stacktrace" semantic conventions. It represents 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. func ExceptionStacktrace(val string) attribute.KeyValue { … } // ExceptionType returns an attribute KeyValue conforming to the // "exception.type" semantic conventions. It represents 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. func ExceptionType(val string) attribute.KeyValue { … } const FaaSColdstartKey … const FaaSCronKey … const FaaSDocumentCollectionKey … const FaaSDocumentNameKey … const FaaSDocumentOperationKey … const FaaSDocumentTimeKey … const FaaSInstanceKey … const FaaSInvocationIDKey … const FaaSInvokedNameKey … const FaaSInvokedProviderKey … const FaaSInvokedRegionKey … const FaaSMaxMemoryKey … const FaaSNameKey … const FaaSTimeKey … const FaaSTriggerKey … const FaaSVersionKey … var FaaSDocumentOperationInsert … var FaaSDocumentOperationEdit … var FaaSDocumentOperationDelete … var FaaSInvokedProviderAlibabaCloud … var FaaSInvokedProviderAWS … var FaaSInvokedProviderAzure … var FaaSInvokedProviderGCP … var FaaSInvokedProviderTencentCloud … var FaaSTriggerDatasource … var FaaSTriggerHTTP … var FaaSTriggerPubsub … var FaaSTriggerTimer … var FaaSTriggerOther … // FaaSColdstart returns an attribute KeyValue conforming to the // "faas.coldstart" semantic conventions. It represents a boolean that is true // if the serverless function is executed for the first time (aka cold-start). func FaaSColdstart(val bool) attribute.KeyValue { … } // FaaSCron returns an attribute KeyValue conforming to the "faas.cron" // semantic conventions. It represents a string containing the schedule period // as [Cron // Expression](https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm). func FaaSCron(val string) attribute.KeyValue { … } // FaaSDocumentCollection returns an attribute KeyValue conforming to the // "faas.document.collection" semantic conventions. It represents 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. func FaaSDocumentCollection(val string) attribute.KeyValue { … } // FaaSDocumentName returns an attribute KeyValue conforming to the // "faas.document.name" semantic conventions. It represents 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. func FaaSDocumentName(val string) attribute.KeyValue { … } // FaaSDocumentTime returns an attribute KeyValue conforming to the // "faas.document.time" semantic conventions. It represents 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). func FaaSDocumentTime(val string) attribute.KeyValue { … } // FaaSInstance returns an attribute KeyValue conforming to the // "faas.instance" semantic conventions. It represents the execution // environment ID as a string, that will be potentially reused for other // invocations to the same function/function version. func FaaSInstance(val string) attribute.KeyValue { … } // FaaSInvocationID returns an attribute KeyValue conforming to the // "faas.invocation_id" semantic conventions. It represents the invocation ID // of the current function invocation. func FaaSInvocationID(val string) attribute.KeyValue { … } // FaaSInvokedName returns an attribute KeyValue conforming to the // "faas.invoked_name" semantic conventions. It represents the name of the // invoked function. func FaaSInvokedName(val string) attribute.KeyValue { … } // FaaSInvokedRegion returns an attribute KeyValue conforming to the // "faas.invoked_region" semantic conventions. It represents the cloud region // of the invoked function. func FaaSInvokedRegion(val string) attribute.KeyValue { … } // FaaSMaxMemory returns an attribute KeyValue conforming to the // "faas.max_memory" semantic conventions. It represents the amount of memory // available to the serverless function converted to Bytes. func FaaSMaxMemory(val int) attribute.KeyValue { … } // FaaSName returns an attribute KeyValue conforming to the "faas.name" // semantic conventions. It represents the name of the single function that // this runtime instance executes. func FaaSName(val string) attribute.KeyValue { … } // FaaSTime returns an attribute KeyValue conforming to the "faas.time" // semantic conventions. It represents 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). func FaaSTime(val string) attribute.KeyValue { … } // FaaSVersion returns an attribute KeyValue conforming to the // "faas.version" semantic conventions. It represents the immutable version of // the function being executed. func FaaSVersion(val string) attribute.KeyValue { … } const FeatureFlagKeyKey … const FeatureFlagProviderNameKey … const FeatureFlagVariantKey … // FeatureFlagKey returns an attribute KeyValue conforming to the // "feature_flag.key" semantic conventions. It represents the unique identifier // of the feature flag. func FeatureFlagKey(val string) attribute.KeyValue { … } // FeatureFlagProviderName returns an attribute KeyValue conforming to the // "feature_flag.provider_name" semantic conventions. It represents the name of // the service provider that performs the flag evaluation. func FeatureFlagProviderName(val string) attribute.KeyValue { … } // FeatureFlagVariant returns an attribute KeyValue conforming to the // "feature_flag.variant" semantic conventions. It represents the sHOULD be a // semantic identifier for a value. If one is unavailable, a stringified // version of the value can be used. func FeatureFlagVariant(val string) attribute.KeyValue { … } const FileDirectoryKey … const FileExtensionKey … const FileNameKey … const FilePathKey … const FileSizeKey … // FileDirectory returns an attribute KeyValue conforming to the // "file.directory" semantic conventions. It represents the directory where the // file is located. It should include the drive letter, when appropriate. func FileDirectory(val string) attribute.KeyValue { … } // FileExtension returns an attribute KeyValue conforming to the // "file.extension" semantic conventions. It represents the file extension, // excluding the leading dot. func FileExtension(val string) attribute.KeyValue { … } // FileName returns an attribute KeyValue conforming to the "file.name" // semantic conventions. It represents the name of the file including the // extension, without the directory. func FileName(val string) attribute.KeyValue { … } // FilePath returns an attribute KeyValue conforming to the "file.path" // semantic conventions. It represents the full path to the file, including the // file name. It should include the drive letter, when appropriate. func FilePath(val string) attribute.KeyValue { … } // FileSize returns an attribute KeyValue conforming to the "file.size" // semantic conventions. It represents the file size in bytes. func FileSize(val int) attribute.KeyValue { … } const GCPCloudRunJobExecutionKey … const GCPCloudRunJobTaskIndexKey … // GCPCloudRunJobExecution returns an attribute KeyValue conforming to the // "gcp.cloud_run.job.execution" semantic conventions. It represents 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. func GCPCloudRunJobExecution(val string) attribute.KeyValue { … } // GCPCloudRunJobTaskIndex returns an attribute KeyValue conforming to the // "gcp.cloud_run.job.task_index" semantic conventions. It represents 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. func GCPCloudRunJobTaskIndex(val int) attribute.KeyValue { … } const GCPGceInstanceHostnameKey … const GCPGceInstanceNameKey … // GCPGceInstanceHostname returns an attribute KeyValue conforming to the // "gcp.gce.instance.hostname" semantic conventions. It represents 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). func GCPGceInstanceHostname(val string) attribute.KeyValue { … } // GCPGceInstanceName returns an attribute KeyValue conforming to the // "gcp.gce.instance.name" semantic conventions. It represents 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). func GCPGceInstanceName(val string) attribute.KeyValue { … } const GenAiCompletionKey … const GenAiPromptKey … const GenAiRequestMaxTokensKey … const GenAiRequestModelKey … const GenAiRequestTemperatureKey … const GenAiRequestTopPKey … const GenAiResponseFinishReasonsKey … const GenAiResponseIDKey … const GenAiResponseModelKey … const GenAiSystemKey … const GenAiUsageCompletionTokensKey … const GenAiUsagePromptTokensKey … var GenAiSystemOpenai … // GenAiCompletion returns an attribute KeyValue conforming to the // "gen_ai.completion" semantic conventions. It represents the full response // received from the LLM. func GenAiCompletion(val string) attribute.KeyValue { … } // GenAiPrompt returns an attribute KeyValue conforming to the // "gen_ai.prompt" semantic conventions. It represents the full prompt sent to // an LLM. func GenAiPrompt(val string) attribute.KeyValue { … } // GenAiRequestMaxTokens returns an attribute KeyValue conforming to the // "gen_ai.request.max_tokens" semantic conventions. It represents the maximum // number of tokens the LLM generates for a request. func GenAiRequestMaxTokens(val int) attribute.KeyValue { … } // GenAiRequestModel returns an attribute KeyValue conforming to the // "gen_ai.request.model" semantic conventions. It represents the name of the // LLM a request is being made to. func GenAiRequestModel(val string) attribute.KeyValue { … } // GenAiRequestTemperature returns an attribute KeyValue conforming to the // "gen_ai.request.temperature" semantic conventions. It represents the // temperature setting for the LLM request. func GenAiRequestTemperature(val float64) attribute.KeyValue { … } // GenAiRequestTopP returns an attribute KeyValue conforming to the // "gen_ai.request.top_p" semantic conventions. It represents the top_p // sampling setting for the LLM request. func GenAiRequestTopP(val float64) attribute.KeyValue { … } // GenAiResponseFinishReasons returns an attribute KeyValue conforming to // the "gen_ai.response.finish_reasons" semantic conventions. It represents the // array of reasons the model stopped generating tokens, corresponding to each // generation received. func GenAiResponseFinishReasons(val ...string) attribute.KeyValue { … } // GenAiResponseID returns an attribute KeyValue conforming to the // "gen_ai.response.id" semantic conventions. It represents the unique // identifier for the completion. func GenAiResponseID(val string) attribute.KeyValue { … } // GenAiResponseModel returns an attribute KeyValue conforming to the // "gen_ai.response.model" semantic conventions. It represents the name of the // LLM a response was generated from. func GenAiResponseModel(val string) attribute.KeyValue { … } // GenAiUsageCompletionTokens returns an attribute KeyValue conforming to // the "gen_ai.usage.completion_tokens" semantic conventions. It represents the // number of tokens used in the LLM response (completion). func GenAiUsageCompletionTokens(val int) attribute.KeyValue { … } // GenAiUsagePromptTokens returns an attribute KeyValue conforming to the // "gen_ai.usage.prompt_tokens" semantic conventions. It represents the number // of tokens used in the LLM prompt. func GenAiUsagePromptTokens(val int) attribute.KeyValue { … } const GraphqlDocumentKey … const GraphqlOperationNameKey … const GraphqlOperationTypeKey … var GraphqlOperationTypeQuery … var GraphqlOperationTypeMutation … var GraphqlOperationTypeSubscription … // GraphqlDocument returns an attribute KeyValue conforming to the // "graphql.document" semantic conventions. It represents the GraphQL document // being executed. func GraphqlDocument(val string) attribute.KeyValue { … } // GraphqlOperationName returns an attribute KeyValue conforming to the // "graphql.operation.name" semantic conventions. It represents the name of the // operation being executed. func GraphqlOperationName(val string) attribute.KeyValue { … } const HerokuAppIDKey … const HerokuReleaseCommitKey … const HerokuReleaseCreationTimestampKey … // HerokuAppID returns an attribute KeyValue conforming to the // "heroku.app.id" semantic conventions. It represents the unique identifier // for the application func HerokuAppID(val string) attribute.KeyValue { … } // HerokuReleaseCommit returns an attribute KeyValue conforming to the // "heroku.release.commit" semantic conventions. It represents the commit hash // for the current release func HerokuReleaseCommit(val string) attribute.KeyValue { … } // HerokuReleaseCreationTimestamp returns an attribute KeyValue conforming // to the "heroku.release.creation_timestamp" semantic conventions. It // represents the time and date the release was created func HerokuReleaseCreationTimestamp(val string) attribute.KeyValue { … } const HostArchKey … const HostCPUCacheL2SizeKey … const HostCPUFamilyKey … const HostCPUModelIDKey … const HostCPUModelNameKey … const HostCPUSteppingKey … const HostCPUVendorIDKey … const HostIDKey … const HostImageIDKey … const HostImageNameKey … const HostImageVersionKey … const HostIPKey … const HostMacKey … const HostNameKey … const HostTypeKey … var HostArchAMD64 … var HostArchARM32 … var HostArchARM64 … var HostArchIA64 … var HostArchPPC32 … var HostArchPPC64 … var HostArchS390x … var HostArchX86 … // HostCPUCacheL2Size returns an attribute KeyValue conforming to the // "host.cpu.cache.l2.size" semantic conventions. It represents the amount of // level 2 memory cache available to the processor (in Bytes). func HostCPUCacheL2Size(val int) attribute.KeyValue { … } // HostCPUFamily returns an attribute KeyValue conforming to the // "host.cpu.family" semantic conventions. It represents the family or // generation of the CPU. func HostCPUFamily(val string) attribute.KeyValue { … } // HostCPUModelID returns an attribute KeyValue conforming to the // "host.cpu.model.id" semantic conventions. It represents the model // identifier. It provides more granular information about the CPU, // distinguishing it from other CPUs within the same family. func HostCPUModelID(val string) attribute.KeyValue { … } // HostCPUModelName returns an attribute KeyValue conforming to the // "host.cpu.model.name" semantic conventions. It represents the model // designation of the processor. func HostCPUModelName(val string) attribute.KeyValue { … } // HostCPUStepping returns an attribute KeyValue conforming to the // "host.cpu.stepping" semantic conventions. It represents the stepping or core // revisions. func HostCPUStepping(val string) attribute.KeyValue { … } // HostCPUVendorID returns an attribute KeyValue conforming to the // "host.cpu.vendor.id" semantic conventions. It represents the processor // manufacturer identifier. A maximum 12-character string. func HostCPUVendorID(val string) attribute.KeyValue { … } // HostID returns an attribute KeyValue conforming to the "host.id" semantic // conventions. It represents the 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. func HostID(val string) attribute.KeyValue { … } // HostImageID returns an attribute KeyValue conforming to the // "host.image.id" semantic conventions. It represents the vM image ID or host // OS image ID. For Cloud, this value is from the provider. func HostImageID(val string) attribute.KeyValue { … } // HostImageName returns an attribute KeyValue conforming to the // "host.image.name" semantic conventions. It represents the name of the VM // image or OS install the host was instantiated from. func HostImageName(val string) attribute.KeyValue { … } // HostImageVersion returns an attribute KeyValue conforming to the // "host.image.version" semantic conventions. It represents the version string // of the VM image or host OS as defined in [Version // Attributes](/docs/resource/README.md#version-attributes). func HostImageVersion(val string) attribute.KeyValue { … } // HostIP returns an attribute KeyValue conforming to the "host.ip" semantic // conventions. It represents the available IP addresses of the host, excluding // loopback interfaces. func HostIP(val ...string) attribute.KeyValue { … } // HostMac returns an attribute KeyValue conforming to the "host.mac" // semantic conventions. It represents the available MAC addresses of the host, // excluding loopback interfaces. func HostMac(val ...string) attribute.KeyValue { … } // HostName returns an attribute KeyValue conforming to the "host.name" // semantic conventions. It represents the 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. func HostName(val string) attribute.KeyValue { … } // HostType returns an attribute KeyValue conforming to the "host.type" // semantic conventions. It represents the type of host. For Cloud, this must // be the machine type. func HostType(val string) attribute.KeyValue { … } const HTTPConnectionStateKey … const HTTPRequestBodySizeKey … const HTTPRequestMethodKey … const HTTPRequestMethodOriginalKey … const HTTPRequestResendCountKey … const HTTPRequestSizeKey … const HTTPResponseBodySizeKey … const HTTPResponseSizeKey … const HTTPResponseStatusCodeKey … const HTTPRouteKey … var HTTPConnectionStateActive … var HTTPConnectionStateIdle … var HTTPRequestMethodConnect … var HTTPRequestMethodDelete … var HTTPRequestMethodGet … var HTTPRequestMethodHead … var HTTPRequestMethodOptions … var HTTPRequestMethodPatch … var HTTPRequestMethodPost … var HTTPRequestMethodPut … var HTTPRequestMethodTrace … var HTTPRequestMethodOther … // HTTPRequestBodySize returns an attribute KeyValue conforming to the // "http.request.body.size" semantic conventions. It represents 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. func HTTPRequestBodySize(val int) attribute.KeyValue { … } // HTTPRequestMethodOriginal returns an attribute KeyValue conforming to the // "http.request.method_original" semantic conventions. It represents the // original HTTP method sent by the client in the request line. func HTTPRequestMethodOriginal(val string) attribute.KeyValue { … } // HTTPRequestResendCount returns an attribute KeyValue conforming to the // "http.request.resend_count" semantic conventions. It represents the ordinal // number of request resending attempt (for any reason, including redirects). func HTTPRequestResendCount(val int) attribute.KeyValue { … } // HTTPRequestSize returns an attribute KeyValue conforming to the // "http.request.size" semantic conventions. It represents 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. func HTTPRequestSize(val int) attribute.KeyValue { … } // HTTPResponseBodySize returns an attribute KeyValue conforming to the // "http.response.body.size" semantic conventions. It represents 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. func HTTPResponseBodySize(val int) attribute.KeyValue { … } // HTTPResponseSize returns an attribute KeyValue conforming to the // "http.response.size" semantic conventions. It represents 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. func HTTPResponseSize(val int) attribute.KeyValue { … } // HTTPResponseStatusCode returns an attribute KeyValue conforming to the // "http.response.status_code" semantic conventions. It represents the [HTTP // response status code](https://tools.ietf.org/html/rfc7231#section-6). func HTTPResponseStatusCode(val int) attribute.KeyValue { … } // HTTPRoute returns an attribute KeyValue conforming to the "http.route" // semantic conventions. It represents the matched route, that is, the path // template in the format used by the respective server framework. func HTTPRoute(val string) attribute.KeyValue { … } const JvmBufferPoolNameKey … const JvmGcActionKey … const JvmGcNameKey … const JvmMemoryPoolNameKey … const JvmMemoryTypeKey … const JvmThreadDaemonKey … const JvmThreadStateKey … var JvmMemoryTypeHeap … var JvmMemoryTypeNonHeap … var JvmThreadStateNew … var JvmThreadStateRunnable … var JvmThreadStateBlocked … var JvmThreadStateWaiting … var JvmThreadStateTimedWaiting … var JvmThreadStateTerminated … // JvmBufferPoolName returns an attribute KeyValue conforming to the // "jvm.buffer.pool.name" semantic conventions. It represents the name of the // buffer pool. func JvmBufferPoolName(val string) attribute.KeyValue { … } // JvmGcAction returns an attribute KeyValue conforming to the // "jvm.gc.action" semantic conventions. It represents the name of the garbage // collector action. func JvmGcAction(val string) attribute.KeyValue { … } // JvmGcName returns an attribute KeyValue conforming to the "jvm.gc.name" // semantic conventions. It represents the name of the garbage collector. func JvmGcName(val string) attribute.KeyValue { … } // JvmMemoryPoolName returns an attribute KeyValue conforming to the // "jvm.memory.pool.name" semantic conventions. It represents the name of the // memory pool. func JvmMemoryPoolName(val string) attribute.KeyValue { … } // JvmThreadDaemon returns an attribute KeyValue conforming to the // "jvm.thread.daemon" semantic conventions. It represents the whether the // thread is daemon or not. func JvmThreadDaemon(val bool) attribute.KeyValue { … } const K8SClusterNameKey … const K8SClusterUIDKey … const K8SContainerNameKey … const K8SContainerRestartCountKey … const K8SContainerStatusLastTerminatedReasonKey … const K8SCronJobNameKey … const K8SCronJobUIDKey … const K8SDaemonSetNameKey … const K8SDaemonSetUIDKey … const K8SDeploymentNameKey … const K8SDeploymentUIDKey … const K8SJobNameKey … const K8SJobUIDKey … const K8SNamespaceNameKey … const K8SNodeNameKey … const K8SNodeUIDKey … const K8SPodNameKey … const K8SPodUIDKey … const K8SReplicaSetNameKey … const K8SReplicaSetUIDKey … const K8SStatefulSetNameKey … const K8SStatefulSetUIDKey … // K8SClusterName returns an attribute KeyValue conforming to the // "k8s.cluster.name" semantic conventions. It represents the name of the // cluster. func K8SClusterName(val string) attribute.KeyValue { … } // K8SClusterUID returns an attribute KeyValue conforming to the // "k8s.cluster.uid" semantic conventions. It represents a pseudo-ID for the // cluster, set to the UID of the `kube-system` namespace. func K8SClusterUID(val string) attribute.KeyValue { … } // K8SContainerName returns an attribute KeyValue conforming to the // "k8s.container.name" semantic conventions. It represents the name of the // Container from Pod specification, must be unique within a Pod. Container // runtime usually uses different globally unique name (`container.name`). func K8SContainerName(val string) attribute.KeyValue { … } // K8SContainerRestartCount returns an attribute KeyValue conforming to the // "k8s.container.restart_count" semantic conventions. It represents the number // of times the container was restarted. This attribute can be used to identify // a particular container (running or stopped) within a container spec. func K8SContainerRestartCount(val int) attribute.KeyValue { … } // K8SContainerStatusLastTerminatedReason returns an attribute KeyValue // conforming to the "k8s.container.status.last_terminated_reason" semantic // conventions. It represents the last terminated reason of the Container. func K8SContainerStatusLastTerminatedReason(val string) attribute.KeyValue { … } // K8SCronJobName returns an attribute KeyValue conforming to the // "k8s.cronjob.name" semantic conventions. It represents the name of the // CronJob. func K8SCronJobName(val string) attribute.KeyValue { … } // K8SCronJobUID returns an attribute KeyValue conforming to the // "k8s.cronjob.uid" semantic conventions. It represents the UID of the // CronJob. func K8SCronJobUID(val string) attribute.KeyValue { … } // K8SDaemonSetName returns an attribute KeyValue conforming to the // "k8s.daemonset.name" semantic conventions. It represents the name of the // DaemonSet. func K8SDaemonSetName(val string) attribute.KeyValue { … } // K8SDaemonSetUID returns an attribute KeyValue conforming to the // "k8s.daemonset.uid" semantic conventions. It represents the UID of the // DaemonSet. func K8SDaemonSetUID(val string) attribute.KeyValue { … } // K8SDeploymentName returns an attribute KeyValue conforming to the // "k8s.deployment.name" semantic conventions. It represents the name of the // Deployment. func K8SDeploymentName(val string) attribute.KeyValue { … } // K8SDeploymentUID returns an attribute KeyValue conforming to the // "k8s.deployment.uid" semantic conventions. It represents the UID of the // Deployment. func K8SDeploymentUID(val string) attribute.KeyValue { … } // K8SJobName returns an attribute KeyValue conforming to the "k8s.job.name" // semantic conventions. It represents the name of the Job. func K8SJobName(val string) attribute.KeyValue { … } // K8SJobUID returns an attribute KeyValue conforming to the "k8s.job.uid" // semantic conventions. It represents the UID of the Job. func K8SJobUID(val string) attribute.KeyValue { … } // K8SNamespaceName returns an attribute KeyValue conforming to the // "k8s.namespace.name" semantic conventions. It represents the name of the // namespace that the pod is running in. func K8SNamespaceName(val string) attribute.KeyValue { … } // K8SNodeName returns an attribute KeyValue conforming to the // "k8s.node.name" semantic conventions. It represents the name of the Node. func K8SNodeName(val string) attribute.KeyValue { … } // K8SNodeUID returns an attribute KeyValue conforming to the "k8s.node.uid" // semantic conventions. It represents the UID of the Node. func K8SNodeUID(val string) attribute.KeyValue { … } // K8SPodName returns an attribute KeyValue conforming to the "k8s.pod.name" // semantic conventions. It represents the name of the Pod. func K8SPodName(val string) attribute.KeyValue { … } // K8SPodUID returns an attribute KeyValue conforming to the "k8s.pod.uid" // semantic conventions. It represents the UID of the Pod. func K8SPodUID(val string) attribute.KeyValue { … } // K8SReplicaSetName returns an attribute KeyValue conforming to the // "k8s.replicaset.name" semantic conventions. It represents the name of the // ReplicaSet. func K8SReplicaSetName(val string) attribute.KeyValue { … } // K8SReplicaSetUID returns an attribute KeyValue conforming to the // "k8s.replicaset.uid" semantic conventions. It represents the UID of the // ReplicaSet. func K8SReplicaSetUID(val string) attribute.KeyValue { … } // K8SStatefulSetName returns an attribute KeyValue conforming to the // "k8s.statefulset.name" semantic conventions. It represents the name of the // StatefulSet. func K8SStatefulSetName(val string) attribute.KeyValue { … } // K8SStatefulSetUID returns an attribute KeyValue conforming to the // "k8s.statefulset.uid" semantic conventions. It represents the UID of the // StatefulSet. func K8SStatefulSetUID(val string) attribute.KeyValue { … } const LogIostreamKey … var LogIostreamStdout … var LogIostreamStderr … const LogFileNameKey … const LogFileNameResolvedKey … const LogFilePathKey … const LogFilePathResolvedKey … // LogFileName returns an attribute KeyValue conforming to the // "log.file.name" semantic conventions. It represents the basename of the // file. func LogFileName(val string) attribute.KeyValue { … } // LogFileNameResolved returns an attribute KeyValue conforming to the // "log.file.name_resolved" semantic conventions. It represents the basename of // the file, with symlinks resolved. func LogFileNameResolved(val string) attribute.KeyValue { … } // LogFilePath returns an attribute KeyValue conforming to the // "log.file.path" semantic conventions. It represents the full path to the // file. func LogFilePath(val string) attribute.KeyValue { … } // LogFilePathResolved returns an attribute KeyValue conforming to the // "log.file.path_resolved" semantic conventions. It represents the full path // to the file, with symlinks resolved. func LogFilePathResolved(val string) attribute.KeyValue { … } const LogRecordUIDKey … // LogRecordUID returns an attribute KeyValue conforming to the // "log.record.uid" semantic conventions. It represents a unique identifier for // the Log Record. func LogRecordUID(val string) attribute.KeyValue { … } const MessagingBatchMessageCountKey … const MessagingClientIDKey … const MessagingDestinationAnonymousKey … const MessagingDestinationNameKey … const MessagingDestinationPartitionIDKey … const MessagingDestinationTemplateKey … const MessagingDestinationTemporaryKey … const MessagingDestinationPublishAnonymousKey … const MessagingDestinationPublishNameKey … const MessagingMessageBodySizeKey … const MessagingMessageConversationIDKey … const MessagingMessageEnvelopeSizeKey … const MessagingMessageIDKey … const MessagingOperationNameKey … const MessagingOperationTypeKey … const MessagingSystemKey … var MessagingOperationTypePublish … var MessagingOperationTypeCreate … var MessagingOperationTypeReceive … var MessagingOperationTypeDeliver … var MessagingOperationTypeSettle … var MessagingSystemActivemq … var MessagingSystemAWSSqs … var MessagingSystemEventgrid … var MessagingSystemEventhubs … var MessagingSystemServicebus … var MessagingSystemGCPPubsub … var MessagingSystemJms … var MessagingSystemKafka … var MessagingSystemRabbitmq … var MessagingSystemRocketmq … // MessagingBatchMessageCount returns an attribute KeyValue conforming to // the "messaging.batch.message_count" semantic conventions. It represents the // number of messages sent, received, or processed in the scope of the batching // operation. func MessagingBatchMessageCount(val int) attribute.KeyValue { … } // MessagingClientID returns an attribute KeyValue conforming to the // "messaging.client.id" semantic conventions. It represents a unique // identifier for the client that consumes or produces a message. func MessagingClientID(val string) attribute.KeyValue { … } // MessagingDestinationAnonymous returns an attribute KeyValue conforming to // the "messaging.destination.anonymous" semantic conventions. It represents a // boolean that is true if the message destination is anonymous (could be // unnamed or have auto-generated name). func MessagingDestinationAnonymous(val bool) attribute.KeyValue { … } // MessagingDestinationName returns an attribute KeyValue conforming to the // "messaging.destination.name" semantic conventions. It represents the message // destination name func MessagingDestinationName(val string) attribute.KeyValue { … } // MessagingDestinationPartitionID returns an attribute KeyValue conforming // to the "messaging.destination.partition.id" semantic conventions. It // represents the identifier of the partition messages are sent to or received // from, unique within the `messaging.destination.name`. func MessagingDestinationPartitionID(val string) attribute.KeyValue { … } // MessagingDestinationTemplate returns an attribute KeyValue conforming to // the "messaging.destination.template" semantic conventions. It represents the // low cardinality representation of the messaging destination name func MessagingDestinationTemplate(val string) attribute.KeyValue { … } // MessagingDestinationTemporary returns an attribute KeyValue conforming to // the "messaging.destination.temporary" semantic conventions. It represents a // boolean that is true if the message destination is temporary and might not // exist anymore after messages are processed. func MessagingDestinationTemporary(val bool) attribute.KeyValue { … } // MessagingDestinationPublishAnonymous returns an attribute KeyValue // conforming to the "messaging.destination_publish.anonymous" semantic // conventions. It represents a boolean that is true if the publish message // destination is anonymous (could be unnamed or have auto-generated name). func MessagingDestinationPublishAnonymous(val bool) attribute.KeyValue { … } // MessagingDestinationPublishName returns an attribute KeyValue conforming // to the "messaging.destination_publish.name" semantic conventions. It // represents the name of the original destination the message was published to func MessagingDestinationPublishName(val string) attribute.KeyValue { … } // MessagingMessageBodySize returns an attribute KeyValue conforming to the // "messaging.message.body.size" semantic conventions. It represents the size // of the message body in bytes. func MessagingMessageBodySize(val int) attribute.KeyValue { … } // MessagingMessageConversationID returns an attribute KeyValue conforming // to the "messaging.message.conversation_id" semantic conventions. It // represents the conversation ID identifying the conversation to which the // message belongs, represented as a string. Sometimes called "Correlation ID". func MessagingMessageConversationID(val string) attribute.KeyValue { … } // MessagingMessageEnvelopeSize returns an attribute KeyValue conforming to // the "messaging.message.envelope.size" semantic conventions. It represents // the size of the message body and metadata in bytes. func MessagingMessageEnvelopeSize(val int) attribute.KeyValue { … } // MessagingMessageID returns an attribute KeyValue conforming to the // "messaging.message.id" semantic conventions. It represents a value used by // the messaging system as an identifier for the message, represented as a // string. func MessagingMessageID(val string) attribute.KeyValue { … } // MessagingOperationName returns an attribute KeyValue conforming to the // "messaging.operation.name" semantic conventions. It represents the // system-specific name of the messaging operation. func MessagingOperationName(val string) attribute.KeyValue { … } const MessagingKafkaConsumerGroupKey … const MessagingKafkaMessageKeyKey … const MessagingKafkaMessageOffsetKey … const MessagingKafkaMessageTombstoneKey … // MessagingKafkaConsumerGroup returns an attribute KeyValue conforming to // the "messaging.kafka.consumer.group" semantic conventions. It represents the // name of the Kafka Consumer Group that is handling the message. Only applies // to consumers, not producers. func MessagingKafkaConsumerGroup(val string) attribute.KeyValue { … } // MessagingKafkaMessageKey returns an attribute KeyValue conforming to the // "messaging.kafka.message.key" semantic conventions. It represents the // 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. func MessagingKafkaMessageKey(val string) attribute.KeyValue { … } // MessagingKafkaMessageOffset returns an attribute KeyValue conforming to // the "messaging.kafka.message.offset" semantic conventions. It represents the // offset of a record in the corresponding Kafka partition. func MessagingKafkaMessageOffset(val int) attribute.KeyValue { … } // MessagingKafkaMessageTombstone returns an attribute KeyValue conforming // to the "messaging.kafka.message.tombstone" semantic conventions. It // represents a boolean that is true if the message is a tombstone. func MessagingKafkaMessageTombstone(val bool) attribute.KeyValue { … } const MessagingRabbitmqDestinationRoutingKeyKey … const MessagingRabbitmqMessageDeliveryTagKey … // MessagingRabbitmqDestinationRoutingKey returns an attribute KeyValue // conforming to the "messaging.rabbitmq.destination.routing_key" semantic // conventions. It represents the rabbitMQ message routing key. func MessagingRabbitmqDestinationRoutingKey(val string) attribute.KeyValue { … } // MessagingRabbitmqMessageDeliveryTag returns an attribute KeyValue // conforming to the "messaging.rabbitmq.message.delivery_tag" semantic // conventions. It represents the rabbitMQ message delivery tag func MessagingRabbitmqMessageDeliveryTag(val int) attribute.KeyValue { … } const MessagingRocketmqClientGroupKey … const MessagingRocketmqConsumptionModelKey … const MessagingRocketmqMessageDelayTimeLevelKey … const MessagingRocketmqMessageDeliveryTimestampKey … const MessagingRocketmqMessageGroupKey … const MessagingRocketmqMessageKeysKey … const MessagingRocketmqMessageTagKey … const MessagingRocketmqMessageTypeKey … const MessagingRocketmqNamespaceKey … var MessagingRocketmqConsumptionModelClustering … var MessagingRocketmqConsumptionModelBroadcasting … var MessagingRocketmqMessageTypeNormal … var MessagingRocketmqMessageTypeFifo … var MessagingRocketmqMessageTypeDelay … var MessagingRocketmqMessageTypeTransaction … // MessagingRocketmqClientGroup returns an attribute KeyValue conforming to // the "messaging.rocketmq.client_group" semantic conventions. It represents // the name of the RocketMQ producer/consumer group that is handling the // message. The client type is identified by the SpanKind. func MessagingRocketmqClientGroup(val string) attribute.KeyValue { … } // MessagingRocketmqMessageDelayTimeLevel returns an attribute KeyValue // conforming to the "messaging.rocketmq.message.delay_time_level" semantic // conventions. It represents the delay time level for delay message, which // determines the message delay time. func MessagingRocketmqMessageDelayTimeLevel(val int) attribute.KeyValue { … } // MessagingRocketmqMessageDeliveryTimestamp returns an attribute KeyValue // conforming to the "messaging.rocketmq.message.delivery_timestamp" semantic // conventions. It represents the timestamp in milliseconds that the delay // message is expected to be delivered to consumer. func MessagingRocketmqMessageDeliveryTimestamp(val int) attribute.KeyValue { … } // MessagingRocketmqMessageGroup returns an attribute KeyValue conforming to // the "messaging.rocketmq.message.group" semantic conventions. It represents // the 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. func MessagingRocketmqMessageGroup(val string) attribute.KeyValue { … } // MessagingRocketmqMessageKeys returns an attribute KeyValue conforming to // the "messaging.rocketmq.message.keys" semantic conventions. It represents // the key(s) of message, another way to mark message besides message id. func MessagingRocketmqMessageKeys(val ...string) attribute.KeyValue { … } // MessagingRocketmqMessageTag returns an attribute KeyValue conforming to // the "messaging.rocketmq.message.tag" semantic conventions. It represents the // secondary classifier of message besides topic. func MessagingRocketmqMessageTag(val string) attribute.KeyValue { … } // MessagingRocketmqNamespace returns an attribute KeyValue conforming to // the "messaging.rocketmq.namespace" semantic conventions. It represents the // namespace of RocketMQ resources, resources in different namespaces are // individual. func MessagingRocketmqNamespace(val string) attribute.KeyValue { … } const MessagingGCPPubsubMessageAckDeadlineKey … const MessagingGCPPubsubMessageAckIDKey … const MessagingGCPPubsubMessageDeliveryAttemptKey … const MessagingGCPPubsubMessageOrderingKeyKey … // MessagingGCPPubsubMessageAckDeadline returns an attribute KeyValue // conforming to the "messaging.gcp_pubsub.message.ack_deadline" semantic // conventions. It represents the ack deadline in seconds set for the modify // ack deadline request. func MessagingGCPPubsubMessageAckDeadline(val int) attribute.KeyValue { … } // MessagingGCPPubsubMessageAckID returns an attribute KeyValue conforming // to the "messaging.gcp_pubsub.message.ack_id" semantic conventions. It // represents the ack id for a given message. func MessagingGCPPubsubMessageAckID(val string) attribute.KeyValue { … } // MessagingGCPPubsubMessageDeliveryAttempt returns an attribute KeyValue // conforming to the "messaging.gcp_pubsub.message.delivery_attempt" semantic // conventions. It represents the delivery attempt for a given message. func MessagingGCPPubsubMessageDeliveryAttempt(val int) attribute.KeyValue { … } // MessagingGCPPubsubMessageOrderingKey returns an attribute KeyValue // conforming to the "messaging.gcp_pubsub.message.ordering_key" semantic // conventions. It represents the ordering key for a given message. If the // attribute is not present, the message does not have an ordering key. func MessagingGCPPubsubMessageOrderingKey(val string) attribute.KeyValue { … } const MessagingServicebusDestinationSubscriptionNameKey … const MessagingServicebusDispositionStatusKey … const MessagingServicebusMessageDeliveryCountKey … const MessagingServicebusMessageEnqueuedTimeKey … var MessagingServicebusDispositionStatusComplete … var MessagingServicebusDispositionStatusAbandon … var MessagingServicebusDispositionStatusDeadLetter … var MessagingServicebusDispositionStatusDefer … // MessagingServicebusDestinationSubscriptionName returns an attribute // KeyValue conforming to the // "messaging.servicebus.destination.subscription_name" semantic conventions. // It represents the name of the subscription in the topic messages are // received from. func MessagingServicebusDestinationSubscriptionName(val string) attribute.KeyValue { … } // MessagingServicebusMessageDeliveryCount returns an attribute KeyValue // conforming to the "messaging.servicebus.message.delivery_count" semantic // conventions. It represents the number of deliveries that have been attempted // for this message. func MessagingServicebusMessageDeliveryCount(val int) attribute.KeyValue { … } // MessagingServicebusMessageEnqueuedTime returns an attribute KeyValue // conforming to the "messaging.servicebus.message.enqueued_time" semantic // conventions. It represents the UTC epoch seconds at which the message has // been accepted and stored in the entity. func MessagingServicebusMessageEnqueuedTime(val int) attribute.KeyValue { … } const MessagingEventhubsConsumerGroupKey … const MessagingEventhubsMessageEnqueuedTimeKey … // MessagingEventhubsConsumerGroup returns an attribute KeyValue conforming // to the "messaging.eventhubs.consumer.group" semantic conventions. It // represents the name of the consumer group the event consumer is associated // with. func MessagingEventhubsConsumerGroup(val string) attribute.KeyValue { … } // MessagingEventhubsMessageEnqueuedTime returns an attribute KeyValue // conforming to the "messaging.eventhubs.message.enqueued_time" semantic // conventions. It represents the UTC epoch seconds at which the message has // been accepted and stored in the entity. func MessagingEventhubsMessageEnqueuedTime(val int) attribute.KeyValue { … } const NetworkCarrierIccKey … const NetworkCarrierMccKey … const NetworkCarrierMncKey … const NetworkCarrierNameKey … const NetworkConnectionSubtypeKey … const NetworkConnectionTypeKey … const NetworkIoDirectionKey … const NetworkLocalAddressKey … const NetworkLocalPortKey … const NetworkPeerAddressKey … const NetworkPeerPortKey … const NetworkProtocolNameKey … const NetworkProtocolVersionKey … const NetworkTransportKey … const NetworkTypeKey … var NetworkConnectionSubtypeGprs … var NetworkConnectionSubtypeEdge … var NetworkConnectionSubtypeUmts … var NetworkConnectionSubtypeCdma … var NetworkConnectionSubtypeEvdo0 … var NetworkConnectionSubtypeEvdoA … var NetworkConnectionSubtypeCdma20001xrtt … var NetworkConnectionSubtypeHsdpa … var NetworkConnectionSubtypeHsupa … var NetworkConnectionSubtypeHspa … var NetworkConnectionSubtypeIden … var NetworkConnectionSubtypeEvdoB … var NetworkConnectionSubtypeLte … var NetworkConnectionSubtypeEhrpd … var NetworkConnectionSubtypeHspap … var NetworkConnectionSubtypeGsm … var NetworkConnectionSubtypeTdScdma … var NetworkConnectionSubtypeIwlan … var NetworkConnectionSubtypeNr … var NetworkConnectionSubtypeNrnsa … var NetworkConnectionSubtypeLteCa … var NetworkConnectionTypeWifi … var NetworkConnectionTypeWired … var NetworkConnectionTypeCell … var NetworkConnectionTypeUnavailable … var NetworkConnectionTypeUnknown … var NetworkIoDirectionTransmit … var NetworkIoDirectionReceive … var NetworkTransportTCP … var NetworkTransportUDP … var NetworkTransportPipe … var NetworkTransportUnix … var NetworkTypeIpv4 … var NetworkTypeIpv6 … // NetworkCarrierIcc returns an attribute KeyValue conforming to the // "network.carrier.icc" semantic conventions. It represents the ISO 3166-1 // alpha-2 2-character country code associated with the mobile carrier network. func NetworkCarrierIcc(val string) attribute.KeyValue { … } // NetworkCarrierMcc returns an attribute KeyValue conforming to the // "network.carrier.mcc" semantic conventions. It represents the mobile carrier // country code. func NetworkCarrierMcc(val string) attribute.KeyValue { … } // NetworkCarrierMnc returns an attribute KeyValue conforming to the // "network.carrier.mnc" semantic conventions. It represents the mobile carrier // network code. func NetworkCarrierMnc(val string) attribute.KeyValue { … } // NetworkCarrierName returns an attribute KeyValue conforming to the // "network.carrier.name" semantic conventions. It represents the name of the // mobile carrier. func NetworkCarrierName(val string) attribute.KeyValue { … } // NetworkLocalAddress returns an attribute KeyValue conforming to the // "network.local.address" semantic conventions. It represents the local // address of the network connection - IP address or Unix domain socket name. func NetworkLocalAddress(val string) attribute.KeyValue { … } // NetworkLocalPort returns an attribute KeyValue conforming to the // "network.local.port" semantic conventions. It represents the local port // number of the network connection. func NetworkLocalPort(val int) attribute.KeyValue { … } // NetworkPeerAddress returns an attribute KeyValue conforming to the // "network.peer.address" semantic conventions. It represents the peer address // of the network connection - IP address or Unix domain socket name. func NetworkPeerAddress(val string) attribute.KeyValue { … } // NetworkPeerPort returns an attribute KeyValue conforming to the // "network.peer.port" semantic conventions. It represents the peer port number // of the network connection. func NetworkPeerPort(val int) attribute.KeyValue { … } // NetworkProtocolName returns an attribute KeyValue conforming to the // "network.protocol.name" semantic conventions. It represents the [OSI // application layer](https://osi-model.com/application-layer/) or non-OSI // equivalent. func NetworkProtocolName(val string) attribute.KeyValue { … } // NetworkProtocolVersion returns an attribute KeyValue conforming to the // "network.protocol.version" semantic conventions. It represents the actual // version of the protocol used for network communication. func NetworkProtocolVersion(val string) attribute.KeyValue { … } const OciManifestDigestKey … // OciManifestDigest returns an attribute KeyValue conforming to the // "oci.manifest.digest" semantic conventions. It represents the digest of the // OCI image manifest. For container images specifically is the digest by which // the container image is known. func OciManifestDigest(val string) attribute.KeyValue { … } const OpentracingRefTypeKey … var OpentracingRefTypeChildOf … var OpentracingRefTypeFollowsFrom … const OSBuildIDKey … const OSDescriptionKey … const OSNameKey … const OSTypeKey … const OSVersionKey … var OSTypeWindows … var OSTypeLinux … var OSTypeDarwin … var OSTypeFreeBSD … var OSTypeNetBSD … var OSTypeOpenBSD … var OSTypeDragonflyBSD … var OSTypeHPUX … var OSTypeAIX … var OSTypeSolaris … var OSTypeZOS … // OSBuildID returns an attribute KeyValue conforming to the "os.build_id" // semantic conventions. It represents the unique identifier for a particular // build or compilation of the operating system. func OSBuildID(val string) attribute.KeyValue { … } // OSDescription returns an attribute KeyValue conforming to the // "os.description" semantic conventions. It represents the human readable (not // intended to be parsed) OS version information, like e.g. reported by `ver` // or `lsb_release -a` commands. func OSDescription(val string) attribute.KeyValue { … } // OSName returns an attribute KeyValue conforming to the "os.name" semantic // conventions. It represents the human readable operating system name. func OSName(val string) attribute.KeyValue { … } // OSVersion returns an attribute KeyValue conforming to the "os.version" // semantic conventions. It represents the version string of the operating // system as defined in [Version // Attributes](/docs/resource/README.md#version-attributes). func OSVersion(val string) attribute.KeyValue { … } const OTelStatusCodeKey … const OTelStatusDescriptionKey … var OTelStatusCodeOk … var OTelStatusCodeError … // OTelStatusDescription returns an attribute KeyValue conforming to the // "otel.status_description" semantic conventions. It represents the // description of the Status if it has a value, otherwise not set. func OTelStatusDescription(val string) attribute.KeyValue { … } const OTelScopeNameKey … const OTelScopeVersionKey … // OTelScopeName returns an attribute KeyValue conforming to the // "otel.scope.name" semantic conventions. It represents the name of the // instrumentation scope - (`InstrumentationScope.Name` in OTLP). func OTelScopeName(val string) attribute.KeyValue { … } // OTelScopeVersion returns an attribute KeyValue conforming to the // "otel.scope.version" semantic conventions. It represents the version of the // instrumentation scope - (`InstrumentationScope.Version` in OTLP). func OTelScopeVersion(val string) attribute.KeyValue { … } const PeerServiceKey … // PeerService returns an attribute KeyValue conforming to the // "peer.service" semantic conventions. It represents 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. func PeerService(val string) attribute.KeyValue { … } const ProcessCommandKey … const ProcessCommandArgsKey … const ProcessCommandLineKey … const ProcessContextSwitchTypeKey … const ProcessCreationTimeKey … const ProcessExecutableNameKey … const ProcessExecutablePathKey … const ProcessExitCodeKey … const ProcessExitTimeKey … const ProcessGroupLeaderPIDKey … const ProcessInteractiveKey … const ProcessOwnerKey … const ProcessPagingFaultTypeKey … const ProcessParentPIDKey … const ProcessPIDKey … const ProcessRealUserIDKey … const ProcessRealUserNameKey … const ProcessRuntimeDescriptionKey … const ProcessRuntimeNameKey … const ProcessRuntimeVersionKey … const ProcessSavedUserIDKey … const ProcessSavedUserNameKey … const ProcessSessionLeaderPIDKey … const ProcessUserIDKey … const ProcessUserNameKey … const ProcessVpidKey … var ProcessContextSwitchTypeVoluntary … var ProcessContextSwitchTypeInvoluntary … var ProcessPagingFaultTypeMajor … var ProcessPagingFaultTypeMinor … // ProcessCommand returns an attribute KeyValue conforming to the // "process.command" semantic conventions. It represents 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`. func ProcessCommand(val string) attribute.KeyValue { … } // ProcessCommandArgs returns an attribute KeyValue conforming to the // "process.command_args" semantic conventions. It represents the 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`. func ProcessCommandArgs(val ...string) attribute.KeyValue { … } // ProcessCommandLine returns an attribute KeyValue conforming to the // "process.command_line" semantic conventions. It represents 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. func ProcessCommandLine(val string) attribute.KeyValue { … } // ProcessCreationTime returns an attribute KeyValue conforming to the // "process.creation.time" semantic conventions. It represents the date and // time the process was created, in ISO 8601 format. func ProcessCreationTime(val string) attribute.KeyValue { … } // ProcessExecutableName returns an attribute KeyValue conforming to the // "process.executable.name" semantic conventions. It represents 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`. func ProcessExecutableName(val string) attribute.KeyValue { … } // ProcessExecutablePath returns an attribute KeyValue conforming to the // "process.executable.path" semantic conventions. It represents 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`. func ProcessExecutablePath(val string) attribute.KeyValue { … } // ProcessExitCode returns an attribute KeyValue conforming to the // "process.exit.code" semantic conventions. It represents the exit code of the // process. func ProcessExitCode(val int) attribute.KeyValue { … } // ProcessExitTime returns an attribute KeyValue conforming to the // "process.exit.time" semantic conventions. It represents the date and time // the process exited, in ISO 8601 format. func ProcessExitTime(val string) attribute.KeyValue { … } // ProcessGroupLeaderPID returns an attribute KeyValue conforming to the // "process.group_leader.pid" semantic conventions. It represents the PID of // the process's group leader. This is also the process group ID (PGID) of the // process. func ProcessGroupLeaderPID(val int) attribute.KeyValue { … } // ProcessInteractive returns an attribute KeyValue conforming to the // "process.interactive" semantic conventions. It represents the whether the // process is connected to an interactive shell. func ProcessInteractive(val bool) attribute.KeyValue { … } // ProcessOwner returns an attribute KeyValue conforming to the // "process.owner" semantic conventions. It represents the username of the user // that owns the process. func ProcessOwner(val string) attribute.KeyValue { … } // ProcessParentPID returns an attribute KeyValue conforming to the // "process.parent_pid" semantic conventions. It represents the parent Process // identifier (PPID). func ProcessParentPID(val int) attribute.KeyValue { … } // ProcessPID returns an attribute KeyValue conforming to the "process.pid" // semantic conventions. It represents the process identifier (PID). func ProcessPID(val int) attribute.KeyValue { … } // ProcessRealUserID returns an attribute KeyValue conforming to the // "process.real_user.id" semantic conventions. It represents the real user ID // (RUID) of the process. func ProcessRealUserID(val int) attribute.KeyValue { … } // ProcessRealUserName returns an attribute KeyValue conforming to the // "process.real_user.name" semantic conventions. It represents the username of // the real user of the process. func ProcessRealUserName(val string) attribute.KeyValue { … } // ProcessRuntimeDescription returns an attribute KeyValue conforming to the // "process.runtime.description" semantic conventions. It represents an // additional description about the runtime of the process, for example a // specific vendor customization of the runtime environment. func ProcessRuntimeDescription(val string) attribute.KeyValue { … } // ProcessRuntimeName returns an attribute KeyValue conforming to the // "process.runtime.name" semantic conventions. It represents the name of the // runtime of this process. For compiled native binaries, this SHOULD be the // name of the compiler. func ProcessRuntimeName(val string) attribute.KeyValue { … } // ProcessRuntimeVersion returns an attribute KeyValue conforming to the // "process.runtime.version" semantic conventions. It represents the version of // the runtime of this process, as returned by the runtime without // modification. func ProcessRuntimeVersion(val string) attribute.KeyValue { … } // ProcessSavedUserID returns an attribute KeyValue conforming to the // "process.saved_user.id" semantic conventions. It represents the saved user // ID (SUID) of the process. func ProcessSavedUserID(val int) attribute.KeyValue { … } // ProcessSavedUserName returns an attribute KeyValue conforming to the // "process.saved_user.name" semantic conventions. It represents the username // of the saved user. func ProcessSavedUserName(val string) attribute.KeyValue { … } // ProcessSessionLeaderPID returns an attribute KeyValue conforming to the // "process.session_leader.pid" semantic conventions. It represents the PID of // the process's session leader. This is also the session ID (SID) of the // process. func ProcessSessionLeaderPID(val int) attribute.KeyValue { … } // ProcessUserID returns an attribute KeyValue conforming to the // "process.user.id" semantic conventions. It represents the effective user ID // (EUID) of the process. func ProcessUserID(val int) attribute.KeyValue { … } // ProcessUserName returns an attribute KeyValue conforming to the // "process.user.name" semantic conventions. It represents the username of the // effective user of the process. func ProcessUserName(val string) attribute.KeyValue { … } // ProcessVpid returns an attribute KeyValue conforming to the // "process.vpid" semantic conventions. It represents the virtual process // identifier. func ProcessVpid(val int) attribute.KeyValue { … } const ProcessCPUStateKey … var ProcessCPUStateSystem … var ProcessCPUStateUser … var ProcessCPUStateWait … const RPCConnectRPCErrorCodeKey … const RPCGRPCStatusCodeKey … const RPCJsonrpcErrorCodeKey … const RPCJsonrpcErrorMessageKey … const RPCJsonrpcRequestIDKey … const RPCJsonrpcVersionKey … const RPCMessageCompressedSizeKey … const RPCMessageIDKey … const RPCMessageTypeKey … const RPCMessageUncompressedSizeKey … const RPCMethodKey … const RPCServiceKey … const RPCSystemKey … var RPCConnectRPCErrorCodeCancelled … var RPCConnectRPCErrorCodeUnknown … var RPCConnectRPCErrorCodeInvalidArgument … var RPCConnectRPCErrorCodeDeadlineExceeded … var RPCConnectRPCErrorCodeNotFound … var RPCConnectRPCErrorCodeAlreadyExists … var RPCConnectRPCErrorCodePermissionDenied … var RPCConnectRPCErrorCodeResourceExhausted … var RPCConnectRPCErrorCodeFailedPrecondition … var RPCConnectRPCErrorCodeAborted … var RPCConnectRPCErrorCodeOutOfRange … var RPCConnectRPCErrorCodeUnimplemented … var RPCConnectRPCErrorCodeInternal … var RPCConnectRPCErrorCodeUnavailable … var RPCConnectRPCErrorCodeDataLoss … var RPCConnectRPCErrorCodeUnauthenticated … var RPCGRPCStatusCodeOk … var RPCGRPCStatusCodeCancelled … var RPCGRPCStatusCodeUnknown … var RPCGRPCStatusCodeInvalidArgument … var RPCGRPCStatusCodeDeadlineExceeded … var RPCGRPCStatusCodeNotFound … var RPCGRPCStatusCodeAlreadyExists … var RPCGRPCStatusCodePermissionDenied … var RPCGRPCStatusCodeResourceExhausted … var RPCGRPCStatusCodeFailedPrecondition … var RPCGRPCStatusCodeAborted … var RPCGRPCStatusCodeOutOfRange … var RPCGRPCStatusCodeUnimplemented … var RPCGRPCStatusCodeInternal … var RPCGRPCStatusCodeUnavailable … var RPCGRPCStatusCodeDataLoss … var RPCGRPCStatusCodeUnauthenticated … var RPCMessageTypeSent … var RPCMessageTypeReceived … var RPCSystemGRPC … var RPCSystemJavaRmi … var RPCSystemDotnetWcf … var RPCSystemApacheDubbo … var RPCSystemConnectRPC … // RPCJsonrpcErrorCode returns an attribute KeyValue conforming to the // "rpc.jsonrpc.error_code" semantic conventions. It represents the // `error.code` property of response if it is an error response. func RPCJsonrpcErrorCode(val int) attribute.KeyValue { … } // RPCJsonrpcErrorMessage returns an attribute KeyValue conforming to the // "rpc.jsonrpc.error_message" semantic conventions. It represents the // `error.message` property of response if it is an error response. func RPCJsonrpcErrorMessage(val string) attribute.KeyValue { … } // RPCJsonrpcRequestID returns an attribute KeyValue conforming to the // "rpc.jsonrpc.request_id" semantic conventions. It represents the `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. func RPCJsonrpcRequestID(val string) attribute.KeyValue { … } // RPCJsonrpcVersion returns an attribute KeyValue conforming to the // "rpc.jsonrpc.version" semantic conventions. It represents the protocol // version as in `jsonrpc` property of request/response. Since JSON-RPC 1.0 // doesn't specify this, the value can be omitted. func RPCJsonrpcVersion(val string) attribute.KeyValue { … } // RPCMessageCompressedSize returns an attribute KeyValue conforming to the // "rpc.message.compressed_size" semantic conventions. It represents the // compressed size of the message in bytes. func RPCMessageCompressedSize(val int) attribute.KeyValue { … } // RPCMessageID returns an attribute KeyValue conforming to the // "rpc.message.id" semantic conventions. It represents the mUST be calculated // as two different counters starting from `1` one for sent messages and one // for received message. func RPCMessageID(val int) attribute.KeyValue { … } // RPCMessageUncompressedSize returns an attribute KeyValue conforming to // the "rpc.message.uncompressed_size" semantic conventions. It represents the // uncompressed size of the message in bytes. func RPCMessageUncompressedSize(val int) attribute.KeyValue { … } // RPCMethod returns an attribute KeyValue conforming to the "rpc.method" // semantic conventions. It represents the name of the (logical) method being // called, must be equal to the $method part in the span name. func RPCMethod(val string) attribute.KeyValue { … } // RPCService returns an attribute KeyValue conforming to the "rpc.service" // semantic conventions. It represents the full (logical) name of the service // being called, including its package name, if applicable. func RPCService(val string) attribute.KeyValue { … } const ServerAddressKey … const ServerPortKey … // ServerAddress returns an attribute KeyValue conforming to the // "server.address" semantic conventions. It represents the server domain name // if available without reverse DNS lookup; otherwise, IP address or Unix // domain socket name. func ServerAddress(val string) attribute.KeyValue { … } // ServerPort returns an attribute KeyValue conforming to the "server.port" // semantic conventions. It represents the server port number. func ServerPort(val int) attribute.KeyValue { … } const ServiceInstanceIDKey … const ServiceNameKey … const ServiceNamespaceKey … const ServiceVersionKey … // ServiceInstanceID returns an attribute KeyValue conforming to the // "service.instance.id" semantic conventions. It represents the string ID of // the service instance. func ServiceInstanceID(val string) attribute.KeyValue { … } // ServiceName returns an attribute KeyValue conforming to the // "service.name" semantic conventions. It represents the logical name of the // service. func ServiceName(val string) attribute.KeyValue { … } // ServiceNamespace returns an attribute KeyValue conforming to the // "service.namespace" semantic conventions. It represents a namespace for // `service.name`. func ServiceNamespace(val string) attribute.KeyValue { … } // ServiceVersion returns an attribute KeyValue conforming to the // "service.version" semantic conventions. It represents the version string of // the service API or implementation. The format is not defined by these // conventions. func ServiceVersion(val string) attribute.KeyValue { … } const SessionIDKey … const SessionPreviousIDKey … // SessionID returns an attribute KeyValue conforming to the "session.id" // semantic conventions. It represents a unique id to identify a session. func SessionID(val string) attribute.KeyValue { … } // SessionPreviousID returns an attribute KeyValue conforming to the // "session.previous_id" semantic conventions. It represents the previous // `session.id` for this user, when known. func SessionPreviousID(val string) attribute.KeyValue { … } const SignalrConnectionStatusKey … const SignalrTransportKey … var SignalrConnectionStatusNormalClosure … var SignalrConnectionStatusTimeout … var SignalrConnectionStatusAppShutdown … var SignalrTransportServerSentEvents … var SignalrTransportLongPolling … var SignalrTransportWebSockets … const SourceAddressKey … const SourcePortKey … // SourceAddress returns an attribute KeyValue conforming to the // "source.address" semantic conventions. It represents the source address - // domain name if available without reverse DNS lookup; otherwise, IP address // or Unix domain socket name. func SourceAddress(val string) attribute.KeyValue { … } // SourcePort returns an attribute KeyValue conforming to the "source.port" // semantic conventions. It represents the source port number func SourcePort(val int) attribute.KeyValue { … } const SystemDeviceKey … // SystemDevice returns an attribute KeyValue conforming to the // "system.device" semantic conventions. It represents the device identifier func SystemDevice(val string) attribute.KeyValue { … } const SystemCPULogicalNumberKey … const SystemCPUStateKey … var SystemCPUStateUser … var SystemCPUStateSystem … var SystemCPUStateNice … var SystemCPUStateIdle … var SystemCPUStateIowait … var SystemCPUStateInterrupt … var SystemCPUStateSteal … // SystemCPULogicalNumber returns an attribute KeyValue conforming to the // "system.cpu.logical_number" semantic conventions. It represents the logical // CPU number [0..n-1] func SystemCPULogicalNumber(val int) attribute.KeyValue { … } const SystemMemoryStateKey … var SystemMemoryStateUsed … var SystemMemoryStateFree … var SystemMemoryStateShared … var SystemMemoryStateBuffers … var SystemMemoryStateCached … const SystemPagingDirectionKey … const SystemPagingStateKey … const SystemPagingTypeKey … var SystemPagingDirectionIn … var SystemPagingDirectionOut … var SystemPagingStateUsed … var SystemPagingStateFree … var SystemPagingTypeMajor … var SystemPagingTypeMinor … const SystemFilesystemModeKey … const SystemFilesystemMountpointKey … const SystemFilesystemStateKey … const SystemFilesystemTypeKey … var SystemFilesystemStateUsed … var SystemFilesystemStateFree … var SystemFilesystemStateReserved … var SystemFilesystemTypeFat32 … var SystemFilesystemTypeExfat … var SystemFilesystemTypeNtfs … var SystemFilesystemTypeRefs … var SystemFilesystemTypeHfsplus … var SystemFilesystemTypeExt4 … // SystemFilesystemMode returns an attribute KeyValue conforming to the // "system.filesystem.mode" semantic conventions. It represents the filesystem // mode func SystemFilesystemMode(val string) attribute.KeyValue { … } // SystemFilesystemMountpoint returns an attribute KeyValue conforming to // the "system.filesystem.mountpoint" semantic conventions. It represents the // filesystem mount path func SystemFilesystemMountpoint(val string) attribute.KeyValue { … } const SystemNetworkStateKey … var SystemNetworkStateClose … var SystemNetworkStateCloseWait … var SystemNetworkStateClosing … var SystemNetworkStateDelete … var SystemNetworkStateEstablished … var SystemNetworkStateFinWait1 … var SystemNetworkStateFinWait2 … var SystemNetworkStateLastAck … var SystemNetworkStateListen … var SystemNetworkStateSynRecv … var SystemNetworkStateSynSent … var SystemNetworkStateTimeWait … const SystemProcessStatusKey … var SystemProcessStatusRunning … var SystemProcessStatusSleeping … var SystemProcessStatusStopped … var SystemProcessStatusDefunct … const TelemetrySDKLanguageKey … const TelemetrySDKNameKey … const TelemetrySDKVersionKey … const TelemetryDistroNameKey … const TelemetryDistroVersionKey … var TelemetrySDKLanguageCPP … var TelemetrySDKLanguageDotnet … var TelemetrySDKLanguageErlang … var TelemetrySDKLanguageGo … var TelemetrySDKLanguageJava … var TelemetrySDKLanguageNodejs … var TelemetrySDKLanguagePHP … var TelemetrySDKLanguagePython … var TelemetrySDKLanguageRuby … var TelemetrySDKLanguageRust … var TelemetrySDKLanguageSwift … var TelemetrySDKLanguageWebjs … // TelemetrySDKName returns an attribute KeyValue conforming to the // "telemetry.sdk.name" semantic conventions. It represents the name of the // telemetry SDK as defined above. func TelemetrySDKName(val string) attribute.KeyValue { … } // TelemetrySDKVersion returns an attribute KeyValue conforming to the // "telemetry.sdk.version" semantic conventions. It represents the version // string of the telemetry SDK. func TelemetrySDKVersion(val string) attribute.KeyValue { … } // TelemetryDistroName returns an attribute KeyValue conforming to the // "telemetry.distro.name" semantic conventions. It represents the name of the // auto instrumentation agent or distribution, if used. func TelemetryDistroName(val string) attribute.KeyValue { … } // TelemetryDistroVersion returns an attribute KeyValue conforming to the // "telemetry.distro.version" semantic conventions. It represents the version // string of the auto instrumentation agent or distribution, if used. func TelemetryDistroVersion(val string) attribute.KeyValue { … } const ThreadIDKey … const ThreadNameKey … // ThreadID returns an attribute KeyValue conforming to the "thread.id" // semantic conventions. It represents the current "managed" thread ID (as // opposed to OS thread ID). func ThreadID(val int) attribute.KeyValue { … } // ThreadName returns an attribute KeyValue conforming to the "thread.name" // semantic conventions. It represents the current thread name. func ThreadName(val string) attribute.KeyValue { … } const TLSCipherKey … const TLSClientCertificateKey … const TLSClientCertificateChainKey … const TLSClientHashMd5Key … const TLSClientHashSha1Key … const TLSClientHashSha256Key … const TLSClientIssuerKey … const TLSClientJa3Key … const TLSClientNotAfterKey … const TLSClientNotBeforeKey … const TLSClientServerNameKey … const TLSClientSubjectKey … const TLSClientSupportedCiphersKey … const TLSCurveKey … const TLSEstablishedKey … const TLSNextProtocolKey … const TLSProtocolNameKey … const TLSProtocolVersionKey … const TLSResumedKey … const TLSServerCertificateKey … const TLSServerCertificateChainKey … const TLSServerHashMd5Key … const TLSServerHashSha1Key … const TLSServerHashSha256Key … const TLSServerIssuerKey … const TLSServerJa3sKey … const TLSServerNotAfterKey … const TLSServerNotBeforeKey … const TLSServerSubjectKey … var TLSProtocolNameSsl … var TLSProtocolNameTLS … // TLSCipher returns an attribute KeyValue conforming to the "tls.cipher" // semantic conventions. It represents the string indicating the // [cipher](https://datatracker.ietf.org/doc/html/rfc5246#appendix-A.5) used // during the current connection. func TLSCipher(val string) attribute.KeyValue { … } // TLSClientCertificate returns an attribute KeyValue conforming to the // "tls.client.certificate" semantic conventions. It represents the 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. func TLSClientCertificate(val string) attribute.KeyValue { … } // TLSClientCertificateChain returns an attribute KeyValue conforming to the // "tls.client.certificate_chain" semantic conventions. It represents the 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. func TLSClientCertificateChain(val ...string) attribute.KeyValue { … } // TLSClientHashMd5 returns an attribute KeyValue conforming to the // "tls.client.hash.md5" semantic conventions. It represents the 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. func TLSClientHashMd5(val string) attribute.KeyValue { … } // TLSClientHashSha1 returns an attribute KeyValue conforming to the // "tls.client.hash.sha1" semantic conventions. It represents the 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. func TLSClientHashSha1(val string) attribute.KeyValue { … } // TLSClientHashSha256 returns an attribute KeyValue conforming to the // "tls.client.hash.sha256" semantic conventions. It represents the 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. func TLSClientHashSha256(val string) attribute.KeyValue { … } // TLSClientIssuer returns an attribute KeyValue conforming to the // "tls.client.issuer" semantic conventions. It represents the 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. func TLSClientIssuer(val string) attribute.KeyValue { … } // TLSClientJa3 returns an attribute KeyValue conforming to the // "tls.client.ja3" semantic conventions. It represents a hash that identifies // clients based on how they perform an SSL/TLS handshake. func TLSClientJa3(val string) attribute.KeyValue { … } // TLSClientNotAfter returns an attribute KeyValue conforming to the // "tls.client.not_after" semantic conventions. It represents the date/Time // indicating when client certificate is no longer considered valid. func TLSClientNotAfter(val string) attribute.KeyValue { … } // TLSClientNotBefore returns an attribute KeyValue conforming to the // "tls.client.not_before" semantic conventions. It represents the date/Time // indicating when client certificate is first considered valid. func TLSClientNotBefore(val string) attribute.KeyValue { … } // TLSClientServerName returns an attribute KeyValue conforming to the // "tls.client.server_name" semantic conventions. It represents the also called // an SNI, this tells the server which hostname to which the client is // attempting to connect to. func TLSClientServerName(val string) attribute.KeyValue { … } // TLSClientSubject returns an attribute KeyValue conforming to the // "tls.client.subject" semantic conventions. It represents the distinguished // name of subject of the x.509 certificate presented by the client. func TLSClientSubject(val string) attribute.KeyValue { … } // TLSClientSupportedCiphers returns an attribute KeyValue conforming to the // "tls.client.supported_ciphers" semantic conventions. It represents the array // of ciphers offered by the client during the client hello. func TLSClientSupportedCiphers(val ...string) attribute.KeyValue { … } // TLSCurve returns an attribute KeyValue conforming to the "tls.curve" // semantic conventions. It represents the string indicating the curve used for // the given cipher, when applicable func TLSCurve(val string) attribute.KeyValue { … } // TLSEstablished returns an attribute KeyValue conforming to the // "tls.established" semantic conventions. It represents the boolean flag // indicating if the TLS negotiation was successful and transitioned to an // encrypted tunnel. func TLSEstablished(val bool) attribute.KeyValue { … } // TLSNextProtocol returns an attribute KeyValue conforming to the // "tls.next_protocol" semantic conventions. It represents the 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. func TLSNextProtocol(val string) attribute.KeyValue { … } // TLSProtocolVersion returns an attribute KeyValue conforming to the // "tls.protocol.version" semantic conventions. It represents the 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) func TLSProtocolVersion(val string) attribute.KeyValue { … } // TLSResumed returns an attribute KeyValue conforming to the "tls.resumed" // semantic conventions. It represents the boolean flag indicating if this TLS // connection was resumed from an existing TLS negotiation. func TLSResumed(val bool) attribute.KeyValue { … } // TLSServerCertificate returns an attribute KeyValue conforming to the // "tls.server.certificate" semantic conventions. It represents the 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. func TLSServerCertificate(val string) attribute.KeyValue { … } // TLSServerCertificateChain returns an attribute KeyValue conforming to the // "tls.server.certificate_chain" semantic conventions. It represents the 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. func TLSServerCertificateChain(val ...string) attribute.KeyValue { … } // TLSServerHashMd5 returns an attribute KeyValue conforming to the // "tls.server.hash.md5" semantic conventions. It represents the 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. func TLSServerHashMd5(val string) attribute.KeyValue { … } // TLSServerHashSha1 returns an attribute KeyValue conforming to the // "tls.server.hash.sha1" semantic conventions. It represents the 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. func TLSServerHashSha1(val string) attribute.KeyValue { … } // TLSServerHashSha256 returns an attribute KeyValue conforming to the // "tls.server.hash.sha256" semantic conventions. It represents the 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. func TLSServerHashSha256(val string) attribute.KeyValue { … } // TLSServerIssuer returns an attribute KeyValue conforming to the // "tls.server.issuer" semantic conventions. It represents the 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. func TLSServerIssuer(val string) attribute.KeyValue { … } // TLSServerJa3s returns an attribute KeyValue conforming to the // "tls.server.ja3s" semantic conventions. It represents a hash that identifies // servers based on how they perform an SSL/TLS handshake. func TLSServerJa3s(val string) attribute.KeyValue { … } // TLSServerNotAfter returns an attribute KeyValue conforming to the // "tls.server.not_after" semantic conventions. It represents the date/Time // indicating when server certificate is no longer considered valid. func TLSServerNotAfter(val string) attribute.KeyValue { … } // TLSServerNotBefore returns an attribute KeyValue conforming to the // "tls.server.not_before" semantic conventions. It represents the date/Time // indicating when server certificate is first considered valid. func TLSServerNotBefore(val string) attribute.KeyValue { … } // TLSServerSubject returns an attribute KeyValue conforming to the // "tls.server.subject" semantic conventions. It represents the distinguished // name of subject of the x.509 certificate presented by the server. func TLSServerSubject(val string) attribute.KeyValue { … } const URLDomainKey … const URLExtensionKey … const URLFragmentKey … const URLFullKey … const URLOriginalKey … const URLPathKey … const URLPortKey … const URLQueryKey … const URLRegisteredDomainKey … const URLSchemeKey … const URLSubdomainKey … const URLTemplateKey … const URLTopLevelDomainKey … // URLDomain returns an attribute KeyValue conforming to the "url.domain" // semantic conventions. It represents the domain extracted from the // `url.full`, such as "opentelemetry.io". func URLDomain(val string) attribute.KeyValue { … } // URLExtension returns an attribute KeyValue conforming to the // "url.extension" semantic conventions. It represents the file extension // extracted from the `url.full`, excluding the leading dot. func URLExtension(val string) attribute.KeyValue { … } // URLFragment returns an attribute KeyValue conforming to the // "url.fragment" semantic conventions. It represents the [URI // fragment](https://www.rfc-editor.org/rfc/rfc3986#section-3.5) component func URLFragment(val string) attribute.KeyValue { … } // URLFull returns an attribute KeyValue conforming to the "url.full" // semantic conventions. It represents the absolute URL describing a network // resource according to [RFC3986](https://www.rfc-editor.org/rfc/rfc3986) func URLFull(val string) attribute.KeyValue { … } // URLOriginal returns an attribute KeyValue conforming to the // "url.original" semantic conventions. It represents the unmodified original // URL as seen in the event source. func URLOriginal(val string) attribute.KeyValue { … } // URLPath returns an attribute KeyValue conforming to the "url.path" // semantic conventions. It represents the [URI // path](https://www.rfc-editor.org/rfc/rfc3986#section-3.3) component func URLPath(val string) attribute.KeyValue { … } // URLPort returns an attribute KeyValue conforming to the "url.port" // semantic conventions. It represents the port extracted from the `url.full` func URLPort(val int) attribute.KeyValue { … } // URLQuery returns an attribute KeyValue conforming to the "url.query" // semantic conventions. It represents the [URI // query](https://www.rfc-editor.org/rfc/rfc3986#section-3.4) component func URLQuery(val string) attribute.KeyValue { … } // URLRegisteredDomain returns an attribute KeyValue conforming to the // "url.registered_domain" semantic conventions. It represents the highest // registered url domain, stripped of the subdomain. func URLRegisteredDomain(val string) attribute.KeyValue { … } // URLScheme returns an attribute KeyValue conforming to the "url.scheme" // semantic conventions. It represents the [URI // scheme](https://www.rfc-editor.org/rfc/rfc3986#section-3.1) component // identifying the used protocol. func URLScheme(val string) attribute.KeyValue { … } // URLSubdomain returns an attribute KeyValue conforming to the // "url.subdomain" semantic conventions. It represents 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. func URLSubdomain(val string) attribute.KeyValue { … } // URLTemplate returns an attribute KeyValue conforming to the // "url.template" semantic conventions. It represents the low-cardinality // template of an [absolute path // reference](https://www.rfc-editor.org/rfc/rfc3986#section-4.2). func URLTemplate(val string) attribute.KeyValue { … } // URLTopLevelDomain returns an attribute KeyValue conforming to the // "url.top_level_domain" semantic conventions. It represents 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`. func URLTopLevelDomain(val string) attribute.KeyValue { … } const UserAgentNameKey … const UserAgentOriginalKey … const UserAgentVersionKey … // UserAgentName returns an attribute KeyValue conforming to the // "user_agent.name" semantic conventions. It represents the name of the // user-agent extracted from original. Usually refers to the browser's name. func UserAgentName(val string) attribute.KeyValue { … } // UserAgentOriginal returns an attribute KeyValue conforming to the // "user_agent.original" semantic conventions. It represents the value of the // [HTTP // User-Agent](https://www.rfc-editor.org/rfc/rfc9110.html#field.user-agent) // header sent by the client. func UserAgentOriginal(val string) attribute.KeyValue { … } // UserAgentVersion returns an attribute KeyValue conforming to the // "user_agent.version" semantic conventions. It represents the version of the // user-agent extracted from original. Usually refers to the browser's version func UserAgentVersion(val string) attribute.KeyValue { … } const WebEngineDescriptionKey … const WebEngineNameKey … const WebEngineVersionKey … // WebEngineDescription returns an attribute KeyValue conforming to the // "webengine.description" semantic conventions. It represents the additional // description of the web engine (e.g. detailed version and edition // information). func WebEngineDescription(val string) attribute.KeyValue { … } // WebEngineName returns an attribute KeyValue conforming to the // "webengine.name" semantic conventions. It represents the name of the web // engine. func WebEngineName(val string) attribute.KeyValue { … } // WebEngineVersion returns an attribute KeyValue conforming to the // "webengine.version" semantic conventions. It represents the version of the // web engine. func WebEngineVersion(val string) attribute.KeyValue { … }