const FaaSInvokedNameKey … const FaaSInvokedProviderKey … const FaaSInvokedRegionKey … const FaaSTriggerKey … var FaaSInvokedProviderAlibabaCloud … var FaaSInvokedProviderAWS … var FaaSInvokedProviderAzure … var FaaSInvokedProviderGCP … var FaaSInvokedProviderTencentCloud … var FaaSTriggerDatasource … var FaaSTriggerHTTP … var FaaSTriggerPubsub … var FaaSTriggerTimer … var FaaSTriggerOther … // 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 { … } 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 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 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 PoolNameKey … const StateKey … var StateIdle … var StateUsed … // PoolName returns an attribute KeyValue conforming to the "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, then the // [db.connection_string](/docs/database/database-spans.md#connection-level-attributes) // should be used func PoolName(val string) attribute.KeyValue { … } const AspnetcoreDiagnosticsHandlerTypeKey … const AspnetcoreRateLimitingPolicyKey … const AspnetcoreRateLimitingResultKey … const AspnetcoreRequestIsUnhandledKey … const AspnetcoreRoutingIsFallbackKey … var AspnetcoreRateLimitingResultAcquired … var AspnetcoreRateLimitingResultEndpointLimiter … var AspnetcoreRateLimitingResultGlobalLimiter … var AspnetcoreRateLimitingResultRequestCanceled … // 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 SignalrConnectionStatusKey … const SignalrTransportKey … var SignalrConnectionStatusNormalClosure … var SignalrConnectionStatusTimeout … var SignalrConnectionStatusAppShutdown … var SignalrTransportServerSentEvents … var SignalrTransportLongPolling … var SignalrTransportWebSockets … const JvmBufferPoolNameKey … // 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 { … } const JvmMemoryPoolNameKey … const JvmMemoryTypeKey … var JvmMemoryTypeHeap … var JvmMemoryTypeNonHeap … // 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 { … } 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 SystemProcessesStatusKey … var SystemProcessesStatusRunning … var SystemProcessesStatusSleeping … var SystemProcessesStatusStopped … var SystemProcessesStatusDefunct … 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 DBCassandraConsistencyLevelKey … const DBCassandraCoordinatorDCKey … const DBCassandraCoordinatorIDKey … const DBCassandraIdempotenceKey … const DBCassandraPageSizeKey … const DBCassandraSpeculativeExecutionCountKey … const DBCassandraTableKey … const DBConnectionStringKey … const DBCosmosDBClientIDKey … const DBCosmosDBConnectionModeKey … const DBCosmosDBContainerKey … const DBCosmosDBOperationTypeKey … const DBCosmosDBRequestChargeKey … const DBCosmosDBRequestContentLengthKey … const DBCosmosDBStatusCodeKey … const DBCosmosDBSubStatusCodeKey … const DBElasticsearchClusterNameKey … const DBElasticsearchNodeNameKey … const DBInstanceIDKey … const DBJDBCDriverClassnameKey … const DBMongoDBCollectionKey … const DBMSSQLInstanceNameKey … const DBNameKey … const DBOperationKey … const DBRedisDBIndexKey … const DBSQLTableKey … const DBStatementKey … const DBSystemKey … const DBUserKey … var DBCassandraConsistencyLevelAll … var DBCassandraConsistencyLevelEachQuorum … var DBCassandraConsistencyLevelQuorum … var DBCassandraConsistencyLevelLocalQuorum … var DBCassandraConsistencyLevelOne … var DBCassandraConsistencyLevelTwo … var DBCassandraConsistencyLevelThree … var DBCassandraConsistencyLevelLocalOne … var DBCassandraConsistencyLevelAny … var DBCassandraConsistencyLevelSerial … var DBCassandraConsistencyLevelLocalSerial … 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 … 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 … // 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 { … } // DBCassandraTable returns an attribute KeyValue conforming to the // "db.cassandra.table" semantic conventions. It represents the name of the // primary Cassandra table that the operation is acting upon, including the // keyspace name (if applicable). func DBCassandraTable(val string) attribute.KeyValue { … } // DBConnectionString returns an attribute KeyValue conforming to the // "db.connection_string" semantic conventions. It represents the connection // string used to connect to the database. It is recommended to remove embedded // credentials. func DBConnectionString(val string) attribute.KeyValue { … } // 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 { … } // DBCosmosDBContainer returns an attribute KeyValue conforming to the // "db.cosmosdb.container" semantic conventions. It represents the cosmos DB // container name. func DBCosmosDBContainer(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 { … } // 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 { … } // DBInstanceID returns an attribute KeyValue conforming to the // "db.instance.id" semantic conventions. It represents an identifier (address, // unique name, or any other identifier) of the database instance that is // executing queries or mutations on the current connection. This is useful in // cases where the database is running in a clustered environment and the // instrumentation is able to record the node executing the query. The client // may obtain this value in databases like MySQL using queries like `select // @@hostname`. func DBInstanceID(val string) attribute.KeyValue { … } // DBJDBCDriverClassname returns an attribute KeyValue conforming to the // "db.jdbc.driver_classname" semantic conventions. It represents the // fully-qualified class name of the [Java Database Connectivity // (JDBC)](https://docs.oracle.com/javase/8/docs/technotes/guides/jdbc/) driver // used to connect. func DBJDBCDriverClassname(val string) attribute.KeyValue { … } // DBMongoDBCollection returns an attribute KeyValue conforming to the // "db.mongodb.collection" semantic conventions. It represents the MongoDB // collection being accessed within the database stated in `db.name`. func DBMongoDBCollection(val string) attribute.KeyValue { … } // DBMSSQLInstanceName returns an attribute KeyValue conforming to the // "db.mssql.instance_name" semantic conventions. It represents the Microsoft // SQL Server [instance // name](https://docs.microsoft.com/sql/connect/jdbc/building-the-connection-url?view=sql-server-ver15) // connecting to. This name is used to determine the port of a named instance. func DBMSSQLInstanceName(val string) attribute.KeyValue { … } // DBName returns an attribute KeyValue conforming to the "db.name" semantic // conventions. It represents the this attribute is used to report the name of // the database being accessed. For commands that switch the database, this // should be set to the target database (even if the command fails). func DBName(val string) attribute.KeyValue { … } // DBOperation returns an attribute KeyValue conforming to the // "db.operation" semantic conventions. It represents the name of the operation // being executed, e.g. the [MongoDB command // name](https://docs.mongodb.com/manual/reference/command/#database-operations) // such as `findAndModify`, or the SQL keyword. func DBOperation(val string) attribute.KeyValue { … } // DBRedisDBIndex returns an attribute KeyValue conforming to the // "db.redis.database_index" semantic conventions. It represents the index of // the database being accessed as used in the [`SELECT` // command](https://redis.io/commands/select), provided as an integer. To be // used instead of the generic `db.name` attribute. func DBRedisDBIndex(val int) attribute.KeyValue { … } // DBSQLTable returns an attribute KeyValue conforming to the "db.sql.table" // semantic conventions. It represents the name of the primary table that the // operation is acting upon, including the database name (if applicable). func DBSQLTable(val string) attribute.KeyValue { … } // DBStatement returns an attribute KeyValue conforming to the // "db.statement" semantic conventions. It represents the database statement // being executed. func DBStatement(val string) attribute.KeyValue { … } // DBUser returns an attribute KeyValue conforming to the "db.user" semantic // conventions. It represents the username for accessing the database. func DBUser(val string) attribute.KeyValue { … } const HTTPFlavorKey … const HTTPMethodKey … const HTTPRequestContentLengthKey … const HTTPResponseContentLengthKey … const HTTPSchemeKey … const HTTPStatusCodeKey … const HTTPTargetKey … const HTTPURLKey … const HTTPUserAgentKey … var HTTPFlavorHTTP10 … var HTTPFlavorHTTP11 … var HTTPFlavorHTTP20 … var HTTPFlavorHTTP30 … var HTTPFlavorSPDY … var HTTPFlavorQUIC … // HTTPMethod returns an attribute KeyValue conforming to the "http.method" // semantic conventions. // // Deprecated: use `http.request.method` instead. func HTTPMethod(val string) attribute.KeyValue { … } // HTTPRequestContentLength returns an attribute KeyValue conforming to the // "http.request_content_length" semantic conventions. // // Deprecated: use `http.request.header.content-length` instead. func HTTPRequestContentLength(val int) attribute.KeyValue { … } // HTTPResponseContentLength returns an attribute KeyValue conforming to the // "http.response_content_length" semantic conventions. // // Deprecated: use `http.response.header.content-length` instead. func HTTPResponseContentLength(val int) attribute.KeyValue { … } // HTTPScheme returns an attribute KeyValue conforming to the "http.scheme" // semantic conventions. // // Deprecated: use `url.scheme` instead. func HTTPScheme(val string) attribute.KeyValue { … } // HTTPStatusCode returns an attribute KeyValue conforming to the // "http.status_code" semantic conventions. // // Deprecated: use `http.response.status_code` instead. func HTTPStatusCode(val int) attribute.KeyValue { … } // HTTPTarget returns an attribute KeyValue conforming to the "http.target" // semantic conventions. // // Deprecated: use `url.path` and `url.query` instead. func HTTPTarget(val string) attribute.KeyValue { … } // HTTPURL returns an attribute KeyValue conforming to the "http.url" // semantic conventions. // // Deprecated: use `url.full` instead. func HTTPURL(val string) attribute.KeyValue { … } // HTTPUserAgent returns an attribute KeyValue conforming to the // "http.user_agent" semantic conventions. // // Deprecated: use `user_agent.original` instead. func HTTPUserAgent(val string) attribute.KeyValue { … } const NetHostNameKey … const NetHostPortKey … const NetPeerNameKey … const NetPeerPortKey … const NetProtocolNameKey … const NetProtocolVersionKey … const NetSockFamilyKey … const NetSockHostAddrKey … const NetSockHostPortKey … const NetSockPeerAddrKey … const NetSockPeerNameKey … const NetSockPeerPortKey … const NetTransportKey … var NetSockFamilyInet … var NetSockFamilyInet6 … var NetSockFamilyUnix … var NetTransportTCP … var NetTransportUDP … var NetTransportPipe … var NetTransportInProc … var NetTransportOther … // NetHostName returns an attribute KeyValue conforming to the // "net.host.name" semantic conventions. // // Deprecated: use `server.address`. func NetHostName(val string) attribute.KeyValue { … } // NetHostPort returns an attribute KeyValue conforming to the // "net.host.port" semantic conventions. // // Deprecated: use `server.port`. func NetHostPort(val int) attribute.KeyValue { … } // NetPeerName returns an attribute KeyValue conforming to the // "net.peer.name" semantic conventions. // // Deprecated: use `server.address` on client spans and `client.address` on // server spans. func NetPeerName(val string) attribute.KeyValue { … } // NetPeerPort returns an attribute KeyValue conforming to the // "net.peer.port" semantic conventions. // // Deprecated: use `server.port` on client spans and `client.port` on server // spans. func NetPeerPort(val int) attribute.KeyValue { … } // NetProtocolName returns an attribute KeyValue conforming to the // "net.protocol.name" semantic conventions. // // Deprecated: use `network.protocol.name`. func NetProtocolName(val string) attribute.KeyValue { … } // NetProtocolVersion returns an attribute KeyValue conforming to the // "net.protocol.version" semantic conventions. // // Deprecated: use `network.protocol.version`. func NetProtocolVersion(val string) attribute.KeyValue { … } // NetSockHostAddr returns an attribute KeyValue conforming to the // "net.sock.host.addr" semantic conventions. // // Deprecated: use `network.local.address`. func NetSockHostAddr(val string) attribute.KeyValue { … } // NetSockHostPort returns an attribute KeyValue conforming to the // "net.sock.host.port" semantic conventions. // // Deprecated: use `network.local.port`. func NetSockHostPort(val int) attribute.KeyValue { … } // NetSockPeerAddr returns an attribute KeyValue conforming to the // "net.sock.peer.addr" semantic conventions. // // Deprecated: use `network.peer.address`. func NetSockPeerAddr(val string) attribute.KeyValue { … } // NetSockPeerName returns an attribute KeyValue conforming to the // "net.sock.peer.name" semantic conventions. // // Deprecated: no replacement at this time. func NetSockPeerName(val string) attribute.KeyValue { … } // NetSockPeerPort returns an attribute KeyValue conforming to the // "net.sock.peer.port" semantic conventions. // // Deprecated: use `network.peer.port`. func NetSockPeerPort(val int) attribute.KeyValue { … } 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 DiskIoDirectionKey … var DiskIoDirectionRead … var DiskIoDirectionWrite … const ErrorTypeKey … var ErrorTypeOther … 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 HTTPRequestBodySizeKey … const HTTPRequestMethodKey … const HTTPRequestMethodOriginalKey … const HTTPRequestResendCountKey … const HTTPResponseBodySizeKey … const HTTPResponseStatusCodeKey … const HTTPRouteKey … 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 { … } // 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 { … } // 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 MessagingBatchMessageCountKey … const MessagingClientIDKey … const MessagingDestinationAnonymousKey … const MessagingDestinationNameKey … const MessagingDestinationTemplateKey … const MessagingDestinationTemporaryKey … const MessagingDestinationPublishAnonymousKey … const MessagingDestinationPublishNameKey … const MessagingGCPPubsubMessageOrderingKeyKey … const MessagingKafkaConsumerGroupKey … const MessagingKafkaDestinationPartitionKey … const MessagingKafkaMessageKeyKey … const MessagingKafkaMessageOffsetKey … const MessagingKafkaMessageTombstoneKey … const MessagingMessageBodySizeKey … const MessagingMessageConversationIDKey … const MessagingMessageEnvelopeSizeKey … const MessagingMessageIDKey … const MessagingOperationKey … const MessagingRabbitmqDestinationRoutingKeyKey … const MessagingRocketmqClientGroupKey … const MessagingRocketmqConsumptionModelKey … const MessagingRocketmqMessageDelayTimeLevelKey … const MessagingRocketmqMessageDeliveryTimestampKey … const MessagingRocketmqMessageGroupKey … const MessagingRocketmqMessageKeysKey … const MessagingRocketmqMessageTagKey … const MessagingRocketmqMessageTypeKey … const MessagingRocketmqNamespaceKey … const MessagingSystemKey … var MessagingOperationPublish … var MessagingOperationCreate … var MessagingOperationReceive … var MessagingOperationDeliver … var MessagingRocketmqConsumptionModelClustering … var MessagingRocketmqConsumptionModelBroadcasting … var MessagingRocketmqMessageTypeNormal … var MessagingRocketmqMessageTypeFifo … var MessagingRocketmqMessageTypeDelay … var MessagingRocketmqMessageTypeTransaction … var MessagingSystemActivemq … var MessagingSystemAWSSqs … var MessagingSystemAzureEventgrid … var MessagingSystemAzureEventhubs … var MessagingSystemAzureServicebus … 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 { … } // 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 { … } // 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 { … } // 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 { … } // MessagingKafkaDestinationPartition returns an attribute KeyValue // conforming to the "messaging.kafka.destination.partition" semantic // conventions. It represents the partition the message is sent to. func MessagingKafkaDestinationPartition(val int) 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 { … } // 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 { … } // 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 { … } // 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 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 version // of the protocol specified in `network.protocol.name`. func NetworkProtocolVersion(val string) attribute.KeyValue { … } const RPCConnectRPCErrorCodeKey … const RPCGRPCStatusCodeKey … const RPCJsonrpcErrorCodeKey … const RPCJsonrpcErrorMessageKey … const RPCJsonrpcRequestIDKey … const RPCJsonrpcVersionKey … 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 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 { … } // 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 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 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 URLFragmentKey … const URLFullKey … const URLPathKey … const URLQueryKey … const URLSchemeKey … // 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 { … } // 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 { … } // 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 { … } // 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 { … } const UserAgentOriginalKey … // 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 { … } 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 { … }