Versions in this module Expand all Collapse all v1 v1.11.2 Nov 21, 2022 Changes in this version + 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 + const AWSECSClusterARNKey + const AWSECSContainerARNKey + const AWSECSLaunchtypeKey + const AWSECSTaskARNKey + const AWSECSTaskFamilyKey + const AWSECSTaskRevisionKey + const AWSEKSClusterARNKey + const AWSLambdaInvokedARNKey + const AWSLogGroupARNsKey + const AWSLogGroupNamesKey + const AWSLogStreamARNsKey + const AWSLogStreamNamesKey + const CloudAccountIDKey + const CloudAvailabilityZoneKey + const CloudPlatformKey + const CloudProviderKey + const CloudRegionKey + const CodeFilepathKey + const CodeFunctionKey + const CodeLineNumberKey + const CodeNamespaceKey + const ContainerIDKey + const ContainerImageNameKey + const ContainerImageTagKey + const ContainerNameKey + const ContainerRuntimeKey + const DBCassandraConsistencyLevelKey + const DBCassandraCoordinatorDCKey + const DBCassandraCoordinatorIDKey + const DBCassandraIdempotenceKey + const DBCassandraKeyspaceKey + const DBCassandraPageSizeKey + const DBCassandraSpeculativeExecutionCountKey + const DBCassandraTableKey + const DBConnectionStringKey + const DBHBaseNamespaceKey + const DBJDBCDriverClassnameKey + const DBMSSQLInstanceNameKey + const DBMongoDBCollectionKey + const DBNameKey + const DBOperationKey + const DBRedisDBIndexKey + const DBSQLTableKey + const DBStatementKey + const DBSystemKey + const DBUserKey + const DeploymentEnvironmentKey + const DeviceIDKey + const DeviceModelIdentifierKey + const DeviceModelNameKey + const EnduserIDKey + const EnduserRoleKey + const EnduserScopeKey + const ExceptionEscapedKey + const ExceptionEventName + const ExceptionMessageKey + const ExceptionStacktraceKey + const ExceptionTypeKey + const FaaSColdstartKey + const FaaSCronKey + const FaaSDocumentCollectionKey + const FaaSDocumentNameKey + const FaaSDocumentOperationKey + const FaaSDocumentTimeKey + const FaaSExecutionKey + const FaaSIDKey + const FaaSInstanceKey + const FaaSInvokedNameKey + const FaaSInvokedProviderKey + const FaaSInvokedRegionKey + const FaaSMaxMemoryKey + const FaaSNameKey + const FaaSTimeKey + const FaaSTriggerKey + const FaaSVersionKey + const HTTPClientIPKey + const HTTPFlavorKey + const HTTPHostKey + const HTTPMethodKey + const HTTPRequestContentLengthKey + const HTTPRequestContentLengthUncompressedKey + const HTTPResponseContentLengthKey + const HTTPResponseContentLengthUncompressedKey + const HTTPRouteKey + const HTTPSchemeKey + const HTTPServerNameKey + const HTTPStatusCodeKey + const HTTPTargetKey + const HTTPURLKey + const HTTPUserAgentKey + const HostArchKey + const HostIDKey + const HostImageIDKey + const HostImageNameKey + const HostImageVersionKey + const HostNameKey + const HostTypeKey + const K8SClusterNameKey + const K8SContainerNameKey + 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 + const MessagingConversationIDKey + const MessagingDestinationKey + const MessagingDestinationKindKey + const MessagingKafkaClientIDKey + const MessagingKafkaConsumerGroupKey + const MessagingKafkaMessageKeyKey + const MessagingKafkaPartitionKey + const MessagingKafkaTombstoneKey + const MessagingMessageIDKey + const MessagingMessagePayloadCompressedSizeBytesKey + const MessagingMessagePayloadSizeBytesKey + const MessagingOperationKey + const MessagingProtocolKey + const MessagingProtocolVersionKey + const MessagingRabbitmqRoutingKeyKey + const MessagingSystemKey + const MessagingTempDestinationKey + const MessagingURLKey + const NetHostCarrierIccKey + const NetHostCarrierMccKey + const NetHostCarrierMncKey + const NetHostCarrierNameKey + const NetHostConnectionSubtypeKey + const NetHostConnectionTypeKey + const NetHostIPKey + const NetHostNameKey + const NetHostPortKey + const NetPeerIPKey + const NetPeerNameKey + const NetPeerPortKey + const NetTransportKey + const OSDescriptionKey + const OSNameKey + const OSTypeKey + const OSVersionKey + const PeerServiceKey + const ProcessCommandArgsKey + const ProcessCommandKey + const ProcessCommandLineKey + const ProcessExecutableNameKey + const ProcessExecutablePathKey + const ProcessOwnerKey + const ProcessPIDKey + const ProcessRuntimeDescriptionKey + const ProcessRuntimeNameKey + const ProcessRuntimeVersionKey + const RPCGRPCStatusCodeKey + const RPCJsonrpcErrorCodeKey + const RPCJsonrpcErrorMessageKey + const RPCJsonrpcRequestIDKey + const RPCJsonrpcVersionKey + const RPCMethodKey + const RPCServiceKey + const RPCSystemKey + const SchemaURL + const ServiceInstanceIDKey + const ServiceNameKey + const ServiceNamespaceKey + const ServiceVersionKey + const TelemetryAutoVersionKey + const TelemetrySDKLanguageKey + const TelemetrySDKNameKey + const TelemetrySDKVersionKey + const ThreadIDKey + const ThreadNameKey + const WebEngineDescriptionKey + const WebEngineNameKey + const WebEngineVersionKey + var AWSECSLaunchtypeEC2 = AWSECSLaunchtypeKey.String("ec2") + var AWSECSLaunchtypeFargate = AWSECSLaunchtypeKey.String("fargate") + var CloudPlatformAWSEC2 = CloudPlatformKey.String("aws_ec2") + var CloudPlatformAWSECS = CloudPlatformKey.String("aws_ecs") + var CloudPlatformAWSEKS = CloudPlatformKey.String("aws_eks") + var CloudPlatformAWSElasticBeanstalk = CloudPlatformKey.String("aws_elastic_beanstalk") + var CloudPlatformAWSLambda = CloudPlatformKey.String("aws_lambda") + var CloudPlatformAlibabaCloudECS = CloudPlatformKey.String("alibaba_cloud_ecs") + var CloudPlatformAlibabaCloudFc = CloudPlatformKey.String("alibaba_cloud_fc") + var CloudPlatformAzureAKS = CloudPlatformKey.String("azure_aks") + var CloudPlatformAzureAppService = CloudPlatformKey.String("azure_app_service") + var CloudPlatformAzureContainerInstances = CloudPlatformKey.String("azure_container_instances") + var CloudPlatformAzureFunctions = CloudPlatformKey.String("azure_functions") + var CloudPlatformAzureVM = CloudPlatformKey.String("azure_vm") + var CloudPlatformGCPAppEngine = CloudPlatformKey.String("gcp_app_engine") + var CloudPlatformGCPCloudFunctions = CloudPlatformKey.String("gcp_cloud_functions") + var CloudPlatformGCPCloudRun = CloudPlatformKey.String("gcp_cloud_run") + var CloudPlatformGCPComputeEngine = CloudPlatformKey.String("gcp_compute_engine") + var CloudPlatformGCPKubernetesEngine = CloudPlatformKey.String("gcp_kubernetes_engine") + var CloudProviderAWS = CloudProviderKey.String("aws") + var CloudProviderAlibabaCloud = CloudProviderKey.String("alibaba_cloud") + var CloudProviderAzure = CloudProviderKey.String("azure") + var CloudProviderGCP = CloudProviderKey.String("gcp") + var DBCassandraConsistencyLevelAll = DBCassandraConsistencyLevelKey.String("all") + var DBCassandraConsistencyLevelAny = DBCassandraConsistencyLevelKey.String("any") + var DBCassandraConsistencyLevelEachQuorum = DBCassandraConsistencyLevelKey.String("each_quorum") + var DBCassandraConsistencyLevelLocalOne = DBCassandraConsistencyLevelKey.String("local_one") + var DBCassandraConsistencyLevelLocalQuorum = DBCassandraConsistencyLevelKey.String("local_quorum") + var DBCassandraConsistencyLevelLocalSerial = DBCassandraConsistencyLevelKey.String("local_serial") + var DBCassandraConsistencyLevelOne = DBCassandraConsistencyLevelKey.String("one") + var DBCassandraConsistencyLevelQuorum = DBCassandraConsistencyLevelKey.String("quorum") + var DBCassandraConsistencyLevelSerial = DBCassandraConsistencyLevelKey.String("serial") + var DBCassandraConsistencyLevelThree = DBCassandraConsistencyLevelKey.String("three") + var DBCassandraConsistencyLevelTwo = DBCassandraConsistencyLevelKey.String("two") + var DBSystemAdabas = DBSystemKey.String("adabas") + var DBSystemCache = DBSystemKey.String("cache") + var DBSystemCassandra = DBSystemKey.String("cassandra") + var DBSystemCloudscape = DBSystemKey.String("cloudscape") + var DBSystemCockroachdb = DBSystemKey.String("cockroachdb") + var DBSystemColdfusion = DBSystemKey.String("coldfusion") + var DBSystemCosmosDB = DBSystemKey.String("cosmosdb") + var DBSystemCouchDB = DBSystemKey.String("couchdb") + var DBSystemCouchbase = DBSystemKey.String("couchbase") + var DBSystemDB2 = DBSystemKey.String("db2") + var DBSystemDerby = DBSystemKey.String("derby") + var DBSystemDynamoDB = DBSystemKey.String("dynamodb") + var DBSystemEDB = DBSystemKey.String("edb") + var DBSystemElasticsearch = DBSystemKey.String("elasticsearch") + var DBSystemFilemaker = DBSystemKey.String("filemaker") + var DBSystemFirebird = DBSystemKey.String("firebird") + var DBSystemFirstSQL = DBSystemKey.String("firstsql") + var DBSystemGeode = DBSystemKey.String("geode") + var DBSystemH2 = DBSystemKey.String("h2") + var DBSystemHBase = DBSystemKey.String("hbase") + var DBSystemHSQLDB = DBSystemKey.String("hsqldb") + var DBSystemHanaDB = DBSystemKey.String("hanadb") + var DBSystemHive = DBSystemKey.String("hive") + var DBSystemInformix = DBSystemKey.String("informix") + var DBSystemIngres = DBSystemKey.String("ingres") + var DBSystemInstantDB = DBSystemKey.String("instantdb") + var DBSystemInterbase = DBSystemKey.String("interbase") + var DBSystemMSSQL = DBSystemKey.String("mssql") + var DBSystemMariaDB = DBSystemKey.String("mariadb") + var DBSystemMaxDB = DBSystemKey.String("maxdb") + var DBSystemMemcached = DBSystemKey.String("memcached") + var DBSystemMongoDB = DBSystemKey.String("mongodb") + var DBSystemMySQL = DBSystemKey.String("mysql") + var DBSystemNeo4j = DBSystemKey.String("neo4j") + var DBSystemNetezza = DBSystemKey.String("netezza") + var DBSystemOracle = DBSystemKey.String("oracle") + var DBSystemOtherSQL = DBSystemKey.String("other_sql") + var DBSystemPervasive = DBSystemKey.String("pervasive") + var DBSystemPointbase = DBSystemKey.String("pointbase") + var DBSystemPostgreSQL = DBSystemKey.String("postgresql") + var DBSystemProgress = DBSystemKey.String("progress") + var DBSystemRedis = DBSystemKey.String("redis") + var DBSystemRedshift = DBSystemKey.String("redshift") + var DBSystemSqlite = DBSystemKey.String("sqlite") + var DBSystemSybase = DBSystemKey.String("sybase") + var DBSystemTeradata = DBSystemKey.String("teradata") + var DBSystemVertica = DBSystemKey.String("vertica") + var FaaSDocumentOperationDelete = FaaSDocumentOperationKey.String("delete") + var FaaSDocumentOperationEdit = FaaSDocumentOperationKey.String("edit") + var FaaSDocumentOperationInsert = FaaSDocumentOperationKey.String("insert") + var FaaSInvokedProviderAWS = FaaSInvokedProviderKey.String("aws") + var FaaSInvokedProviderAlibabaCloud = FaaSInvokedProviderKey.String("alibaba_cloud") + var FaaSInvokedProviderAzure = FaaSInvokedProviderKey.String("azure") + var FaaSInvokedProviderGCP = FaaSInvokedProviderKey.String("gcp") + var FaaSTriggerDatasource = FaaSTriggerKey.String("datasource") + var FaaSTriggerHTTP = FaaSTriggerKey.String("http") + var FaaSTriggerOther = FaaSTriggerKey.String("other") + var FaaSTriggerPubsub = FaaSTriggerKey.String("pubsub") + var FaaSTriggerTimer = FaaSTriggerKey.String("timer") + var HTTPFlavorHTTP10 = HTTPFlavorKey.String("1.0") + var HTTPFlavorHTTP11 = HTTPFlavorKey.String("1.1") + var HTTPFlavorHTTP20 = HTTPFlavorKey.String("2.0") + var HTTPFlavorQUIC = HTTPFlavorKey.String("QUIC") + var HTTPFlavorSPDY = HTTPFlavorKey.String("SPDY") + var HTTPSchemeHTTP = HTTPSchemeKey.String("http") + var HTTPSchemeHTTPS = HTTPSchemeKey.String("https") + var HostArchAMD64 = HostArchKey.String("amd64") + var HostArchARM32 = HostArchKey.String("arm32") + var HostArchARM64 = HostArchKey.String("arm64") + var HostArchIA64 = HostArchKey.String("ia64") + var HostArchPPC32 = HostArchKey.String("ppc32") + var HostArchPPC64 = HostArchKey.String("ppc64") + var HostArchX86 = HostArchKey.String("x86") + var MessagingDestinationKindQueue = MessagingDestinationKindKey.String("queue") + var MessagingDestinationKindTopic = MessagingDestinationKindKey.String("topic") + var MessagingOperationProcess = MessagingOperationKey.String("process") + var MessagingOperationReceive = MessagingOperationKey.String("receive") + var NetHostConnectionSubtypeCdma = NetHostConnectionSubtypeKey.String("cdma") + var NetHostConnectionSubtypeCdma20001xrtt = NetHostConnectionSubtypeKey.String("cdma2000_1xrtt") + var NetHostConnectionSubtypeEdge = NetHostConnectionSubtypeKey.String("edge") + var NetHostConnectionSubtypeEhrpd = NetHostConnectionSubtypeKey.String("ehrpd") + var NetHostConnectionSubtypeEvdo0 = NetHostConnectionSubtypeKey.String("evdo_0") + var NetHostConnectionSubtypeEvdoA = NetHostConnectionSubtypeKey.String("evdo_a") + var NetHostConnectionSubtypeEvdoB = NetHostConnectionSubtypeKey.String("evdo_b") + var NetHostConnectionSubtypeGprs = NetHostConnectionSubtypeKey.String("gprs") + var NetHostConnectionSubtypeGsm = NetHostConnectionSubtypeKey.String("gsm") + var NetHostConnectionSubtypeHsdpa = NetHostConnectionSubtypeKey.String("hsdpa") + var NetHostConnectionSubtypeHspa = NetHostConnectionSubtypeKey.String("hspa") + var NetHostConnectionSubtypeHspap = NetHostConnectionSubtypeKey.String("hspap") + var NetHostConnectionSubtypeHsupa = NetHostConnectionSubtypeKey.String("hsupa") + var NetHostConnectionSubtypeIden = NetHostConnectionSubtypeKey.String("iden") + var NetHostConnectionSubtypeIwlan = NetHostConnectionSubtypeKey.String("iwlan") + var NetHostConnectionSubtypeLte = NetHostConnectionSubtypeKey.String("lte") + var NetHostConnectionSubtypeLteCa = NetHostConnectionSubtypeKey.String("lte_ca") + var NetHostConnectionSubtypeNr = NetHostConnectionSubtypeKey.String("nr") + var NetHostConnectionSubtypeNrnsa = NetHostConnectionSubtypeKey.String("nrnsa") + var NetHostConnectionSubtypeTdScdma = NetHostConnectionSubtypeKey.String("td_scdma") + var NetHostConnectionSubtypeUmts = NetHostConnectionSubtypeKey.String("umts") + var NetHostConnectionTypeCell = NetHostConnectionTypeKey.String("cell") + var NetHostConnectionTypeUnavailable = NetHostConnectionTypeKey.String("unavailable") + var NetHostConnectionTypeUnknown = NetHostConnectionTypeKey.String("unknown") + var NetHostConnectionTypeWifi = NetHostConnectionTypeKey.String("wifi") + var NetHostConnectionTypeWired = NetHostConnectionTypeKey.String("wired") + var NetTransportIP = NetTransportKey.String("ip") + var NetTransportInProc = NetTransportKey.String("inproc") + var NetTransportOther = NetTransportKey.String("other") + var NetTransportPipe = NetTransportKey.String("pipe") + var NetTransportTCP = NetTransportKey.String("ip_tcp") + var NetTransportUDP = NetTransportKey.String("ip_udp") + var NetTransportUnix = NetTransportKey.String("unix") + var OSTypeAIX = OSTypeKey.String("aix") + var OSTypeDarwin = OSTypeKey.String("darwin") + var OSTypeDragonflyBSD = OSTypeKey.String("dragonflybsd") + var OSTypeFreeBSD = OSTypeKey.String("freebsd") + var OSTypeHPUX = OSTypeKey.String("hpux") + var OSTypeLinux = OSTypeKey.String("linux") + var OSTypeNetBSD = OSTypeKey.String("netbsd") + var OSTypeOpenBSD = OSTypeKey.String("openbsd") + var OSTypeSolaris = OSTypeKey.String("solaris") + var OSTypeWindows = OSTypeKey.String("windows") + var OSTypeZOS = OSTypeKey.String("z_os") + var RPCGRPCStatusCodeAborted = RPCGRPCStatusCodeKey.Int(10) + var RPCGRPCStatusCodeAlreadyExists = RPCGRPCStatusCodeKey.Int(6) + var RPCGRPCStatusCodeCancelled = RPCGRPCStatusCodeKey.Int(1) + var RPCGRPCStatusCodeDataLoss = RPCGRPCStatusCodeKey.Int(15) + var RPCGRPCStatusCodeDeadlineExceeded = RPCGRPCStatusCodeKey.Int(4) + var RPCGRPCStatusCodeFailedPrecondition = RPCGRPCStatusCodeKey.Int(9) + var RPCGRPCStatusCodeInternal = RPCGRPCStatusCodeKey.Int(13) + var RPCGRPCStatusCodeInvalidArgument = RPCGRPCStatusCodeKey.Int(3) + var RPCGRPCStatusCodeNotFound = RPCGRPCStatusCodeKey.Int(5) + var RPCGRPCStatusCodeOk = RPCGRPCStatusCodeKey.Int(0) + var RPCGRPCStatusCodeOutOfRange = RPCGRPCStatusCodeKey.Int(11) + var RPCGRPCStatusCodePermissionDenied = RPCGRPCStatusCodeKey.Int(7) + var RPCGRPCStatusCodeResourceExhausted = RPCGRPCStatusCodeKey.Int(8) + var RPCGRPCStatusCodeUnauthenticated = RPCGRPCStatusCodeKey.Int(16) + var RPCGRPCStatusCodeUnavailable = RPCGRPCStatusCodeKey.Int(14) + var RPCGRPCStatusCodeUnimplemented = RPCGRPCStatusCodeKey.Int(12) + var RPCGRPCStatusCodeUnknown = RPCGRPCStatusCodeKey.Int(2) + var TelemetrySDKLanguageCPP = TelemetrySDKLanguageKey.String("cpp") + var TelemetrySDKLanguageDotnet = TelemetrySDKLanguageKey.String("dotnet") + var TelemetrySDKLanguageErlang = TelemetrySDKLanguageKey.String("erlang") + var TelemetrySDKLanguageGo = TelemetrySDKLanguageKey.String("go") + var TelemetrySDKLanguageJava = TelemetrySDKLanguageKey.String("java") + var TelemetrySDKLanguageNodejs = TelemetrySDKLanguageKey.String("nodejs") + var TelemetrySDKLanguagePHP = TelemetrySDKLanguageKey.String("php") + var TelemetrySDKLanguagePython = TelemetrySDKLanguageKey.String("python") + var TelemetrySDKLanguageRuby = TelemetrySDKLanguageKey.String("ruby") + var TelemetrySDKLanguageWebjs = TelemetrySDKLanguageKey.String("webjs") + func EndUserAttributesFromHTTPRequest(request *http.Request) []attribute.KeyValue + func HTTPAttributesFromHTTPStatusCode(code int) []attribute.KeyValue + func HTTPClientAttributesFromHTTPRequest(request *http.Request) []attribute.KeyValue + func HTTPServerAttributesFromHTTPRequest(serverName, route string, request *http.Request) []attribute.KeyValue + func HTTPServerMetricAttributesFromHTTPRequest(serverName string, request *http.Request) []attribute.KeyValue + func NetAttributesFromHTTPRequest(network string, request *http.Request) []attribute.KeyValue + func SpanStatusFromHTTPStatusCode(code int) (codes.Code, string) + func SpanStatusFromHTTPStatusCodeAndSpanKind(code int, spanKind trace.SpanKind) (codes.Code, string)