Move semconv package from pdata to its own module (#5196)
- Move `model/semconv` package to a new `semconv` module - Add deprecation notices to API from `model/semconv`
This commit is contained in:
parent
1bdce88e6d
commit
b2870634ff
|
|
@ -30,3 +30,7 @@ updates:
|
|||
directory: "/pdata"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
- package-ecosystem: "gomod"
|
||||
directory: "/semconv"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@
|
|||
|
||||
### 🚩 Deprecations 🚩
|
||||
|
||||
- Deprecate all API in `pdata/semconv`. The package is moved to a new `semcomv` module (#5196)
|
||||
|
||||
### 💡 Enhancements 💡
|
||||
|
||||
### 🧰 Bug fixes 🧰
|
||||
|
|
|
|||
5
Makefile
5
Makefile
|
|
@ -297,8 +297,8 @@ gensemconv:
|
|||
@[ "${SPECPATH}" ] || ( echo ">> env var SPECPATH is not set"; exit 1 )
|
||||
@[ "${SPECTAG}" ] || ( echo ">> env var SPECTAG is not set"; exit 1 )
|
||||
@echo "Generating semantic convention constants from specification version ${SPECTAG} at ${SPECPATH}"
|
||||
semconvgen -o model/semconv/${SPECTAG} -t model/internal/semconv/template.j2 -s ${SPECTAG} -i ${SPECPATH}/semantic_conventions/resource -p conventionType=resource -f generated_resource.go
|
||||
semconvgen -o model/semconv/${SPECTAG} -t model/internal/semconv/template.j2 -s ${SPECTAG} -i ${SPECPATH}/semantic_conventions/trace -p conventionType=trace -f generated_trace.go
|
||||
semconvgen -o semconv/${SPECTAG} -t semconv/template.j2 -s ${SPECTAG} -i ${SPECPATH}/semantic_conventions/resource -p conventionType=resource -f generated_resource.go
|
||||
semconvgen -o semconv/${SPECTAG} -t semconv/template.j2 -s ${SPECTAG} -i ${SPECPATH}/semantic_conventions/trace -p conventionType=trace -f generated_trace.go
|
||||
|
||||
# Checks that the HEAD of the contrib repo checked out in CONTRIB_PATH compiles
|
||||
# against the current version of this repo.
|
||||
|
|
@ -307,6 +307,7 @@ check-contrib:
|
|||
@echo Setting contrib at $(CONTRIB_PATH) to use this core checkout
|
||||
@$(MAKE) -C $(CONTRIB_PATH) for-all CMD="$(GOCMD) mod edit -replace go.opentelemetry.io/collector=$(CURDIR)"
|
||||
@$(MAKE) -C $(CONTRIB_PATH) for-all CMD="$(GOCMD) mod edit -replace go.opentelemetry.io/collector/pdata=$(CURDIR)/pdata"
|
||||
@$(MAKE) -C $(CONTRIB_PATH) for-all CMD="$(GOCMD) mod edit -replace go.opentelemetry.io/collector/semconv=$(CURDIR)/semconv"
|
||||
@$(MAKE) -C $(CONTRIB_PATH) for-all CMD="$(GOCMD) mod edit -replace go.opentelemetry.io/collector/model=$(CURDIR)/model"
|
||||
@$(MAKE) -C $(CONTRIB_PATH) -j2 gotidy
|
||||
@$(MAKE) -C $(CONTRIB_PATH) test
|
||||
|
|
|
|||
|
|
@ -28,5 +28,5 @@ processors:
|
|||
|
||||
replaces:
|
||||
- go.opentelemetry.io/collector => ../../
|
||||
- go.opentelemetry.io/collector/model => ../../model
|
||||
- go.opentelemetry.io/collector/semconv => ../../semconv
|
||||
- go.opentelemetry.io/collector/pdata => ../../pdata
|
||||
|
|
|
|||
|
|
@ -52,8 +52,8 @@ require (
|
|||
github.com/tklauser/numcpus v0.4.0 // indirect
|
||||
github.com/yusufpapurcu/wmi v1.2.2 // indirect
|
||||
go.opencensus.io v0.23.0 // indirect
|
||||
go.opentelemetry.io/collector/model v0.49.0 // indirect
|
||||
go.opentelemetry.io/collector/pdata v0.49.0 // indirect
|
||||
go.opentelemetry.io/collector/semconv v0.0.0-00010101000000-000000000000 // indirect
|
||||
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.31.0 // indirect
|
||||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.31.0 // indirect
|
||||
go.opentelemetry.io/contrib/zpages v0.31.0 // indirect
|
||||
|
|
@ -77,6 +77,6 @@ require (
|
|||
|
||||
replace go.opentelemetry.io/collector => ../../
|
||||
|
||||
replace go.opentelemetry.io/collector/model => ../../model
|
||||
replace go.opentelemetry.io/collector/semconv => ../../semconv
|
||||
|
||||
replace go.opentelemetry.io/collector/pdata => ../../pdata
|
||||
|
|
|
|||
4
go.mod
4
go.mod
|
|
@ -20,8 +20,8 @@ require (
|
|||
github.com/spf13/cobra v1.4.0
|
||||
github.com/stretchr/testify v1.7.1
|
||||
go.opencensus.io v0.23.0
|
||||
go.opentelemetry.io/collector/model v0.49.0
|
||||
go.opentelemetry.io/collector/pdata v0.49.0
|
||||
go.opentelemetry.io/collector/semconv v0.0.0-00010101000000-000000000000
|
||||
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.31.0
|
||||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.31.0
|
||||
go.opentelemetry.io/contrib/zpages v0.31.0
|
||||
|
|
@ -74,7 +74,7 @@ require (
|
|||
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
|
||||
)
|
||||
|
||||
replace go.opentelemetry.io/collector/model => ./model
|
||||
replace go.opentelemetry.io/collector/semconv => ./semconv
|
||||
|
||||
replace go.opentelemetry.io/collector/pdata => ./pdata
|
||||
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ const (
|
|||
// Type: Enum
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudProvider = "cloud.provider"
|
||||
// The cloud account ID the resource is assigned to.
|
||||
//
|
||||
|
|
@ -30,6 +31,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '111111111111', 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudAccountID = "cloud.account.id"
|
||||
// The geographical region the resource is running. Refer to your provider's docs
|
||||
// to see the available regions, for example AWS regions, Azure regions, or Google
|
||||
|
|
@ -39,6 +41,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'us-central1', 'us-east-1'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudRegion = "cloud.region"
|
||||
// Cloud regions often have multiple, isolated locations known as zones to
|
||||
// increase availability. Availability zone represents the zone where the resource
|
||||
|
|
@ -49,6 +52,7 @@ const (
|
|||
// Stability: stable
|
||||
// Examples: 'us-east-1c'
|
||||
// Note: Availability zones are called "zones" on Google Cloud.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudAvailabilityZone = "cloud.availability_zone"
|
||||
// The cloud platform in use.
|
||||
//
|
||||
|
|
@ -57,48 +61,67 @@ const (
|
|||
// Stability: stable
|
||||
// Note: The prefix of the service SHOULD match the one specified in
|
||||
// cloud.provider.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatform = "cloud.platform"
|
||||
)
|
||||
|
||||
const (
|
||||
// Amazon Web Services
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudProviderAWS = "aws"
|
||||
// Microsoft Azure
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudProviderAzure = "azure"
|
||||
// Google Cloud Platform
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudProviderGCP = "gcp"
|
||||
)
|
||||
|
||||
const (
|
||||
// AWS Elastic Compute Cloud
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAWSEC2 = "aws_ec2"
|
||||
// AWS Elastic Container Service
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAWSECS = "aws_ecs"
|
||||
// AWS Elastic Kubernetes Service
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAWSEKS = "aws_eks"
|
||||
// AWS Lambda
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAWSLambda = "aws_lambda"
|
||||
// AWS Elastic Beanstalk
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAWSElasticBeanstalk = "aws_elastic_beanstalk"
|
||||
// Azure Virtual Machines
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAzureVM = "azure_vm"
|
||||
// Azure Container Instances
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAzureContainerInstances = "azure_container_instances"
|
||||
// Azure Kubernetes Service
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAzureAKS = "azure_aks"
|
||||
// Azure Functions
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAzureFunctions = "azure_functions"
|
||||
// Azure App Service
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAzureAppService = "azure_app_service"
|
||||
// Google Cloud Compute Engine (GCE)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformGCPComputeEngine = "gcp_compute_engine"
|
||||
// Google Cloud Run
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformGCPCloudRun = "gcp_cloud_run"
|
||||
// Google Cloud Kubernetes Engine (GKE)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformGCPKubernetesEngine = "gcp_kubernetes_engine"
|
||||
// Google Cloud Functions (GCF)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformGCPCloudFunctions = "gcp_cloud_functions"
|
||||
// Google Cloud App Engine (GAE)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformGCPAppEngine = "gcp_app_engine"
|
||||
)
|
||||
|
||||
|
|
@ -111,6 +134,7 @@ const (
|
|||
// Stability: stable
|
||||
// Examples: 'arn:aws:ecs:us-
|
||||
// west-1:123456789123:container/32624152-9086-4f0e-acae-1a75b14fe4d9'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSContainerARN = "aws.ecs.container.arn"
|
||||
// The ARN of an ECS cluster.
|
||||
//
|
||||
|
|
@ -118,12 +142,14 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSClusterARN = "aws.ecs.cluster.arn"
|
||||
// The launch type for an ECS task.
|
||||
//
|
||||
// Type: Enum
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSLaunchtype = "aws.ecs.launchtype"
|
||||
// The ARN of an ECS task definition.
|
||||
//
|
||||
|
|
@ -132,6 +158,7 @@ const (
|
|||
// Stability: stable
|
||||
// Examples: 'arn:aws:ecs:us-
|
||||
// west-1:123456789123:task/10838bed-421f-43ef-870a-f43feacbbb5b'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSTaskARN = "aws.ecs.task.arn"
|
||||
// The task definition family this task definition is a member of.
|
||||
//
|
||||
|
|
@ -139,6 +166,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-family'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSTaskFamily = "aws.ecs.task.family"
|
||||
// The revision for this task definition.
|
||||
//
|
||||
|
|
@ -146,13 +174,16 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '8', '26'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSTaskRevision = "aws.ecs.task.revision"
|
||||
)
|
||||
|
||||
const (
|
||||
// ec2
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSLaunchtypeEC2 = "ec2"
|
||||
// fargate
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSLaunchtypeFargate = "fargate"
|
||||
)
|
||||
|
||||
|
|
@ -164,6 +195,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSEKSClusterARN = "aws.eks.cluster.arn"
|
||||
)
|
||||
|
||||
|
|
@ -178,6 +210,7 @@ const (
|
|||
// Note: Multiple log groups must be supported for cases like multi-container
|
||||
// applications, where a single application has sidecar containers, and each write
|
||||
// to their own log group.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSLogGroupNames = "aws.log.group.names"
|
||||
// The Amazon Resource Name(s) (ARN) of the AWS log group(s).
|
||||
//
|
||||
|
|
@ -186,6 +219,7 @@ const (
|
|||
// Stability: stable
|
||||
// Examples: 'arn:aws:logs:us-west-1:123456789012:log-group:/aws/my/group:*'
|
||||
// Note: See the log group ARN format documentation.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSLogGroupARNs = "aws.log.group.arns"
|
||||
// The name(s) of the AWS log stream(s) an application is writing to.
|
||||
//
|
||||
|
|
@ -193,6 +227,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'logs/main/10838bed-421f-43ef-870a-f43feacbbb5b'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSLogStreamNames = "aws.log.stream.names"
|
||||
// The ARN(s) of the AWS log stream(s).
|
||||
//
|
||||
|
|
@ -204,6 +239,7 @@ const (
|
|||
// Note: See the log stream ARN format documentation. One log group can contain
|
||||
// several log streams, so these ARNs necessarily identify both a log group and a
|
||||
// log stream.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSLogStreamARNs = "aws.log.stream.arns"
|
||||
)
|
||||
|
||||
|
|
@ -215,6 +251,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-autoconf'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeContainerName = "container.name"
|
||||
// Container ID. Usually a UUID, as for example used to identify Docker
|
||||
// containers. The UUID might be abbreviated.
|
||||
|
|
@ -223,6 +260,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'a3bf90e006b2'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeContainerID = "container.id"
|
||||
// The container runtime managing this container.
|
||||
//
|
||||
|
|
@ -230,6 +268,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'docker', 'containerd', 'rkt'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeContainerRuntime = "container.runtime"
|
||||
// Name of the image the container was built on.
|
||||
//
|
||||
|
|
@ -237,6 +276,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'gcr.io/opentelemetry/operator'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeContainerImageName = "container.image.name"
|
||||
// Container image tag.
|
||||
//
|
||||
|
|
@ -244,6 +284,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '0.1'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeContainerImageTag = "container.image.tag"
|
||||
)
|
||||
|
||||
|
|
@ -255,6 +296,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'staging', 'production'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeDeploymentEnvironment = "deployment.environment"
|
||||
)
|
||||
|
||||
|
|
@ -275,6 +317,7 @@ const (
|
|||
// practices and exact implementation details. Caution should be taken when
|
||||
// storing personal data or anything which can identify a user. GDPR and data
|
||||
// protection laws may apply, ensure you do your own due diligence.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeDeviceID = "device.id"
|
||||
// The model identifier for the device
|
||||
//
|
||||
|
|
@ -285,6 +328,7 @@ const (
|
|||
// Note: It's recommended this value represents a machine readable version of the
|
||||
// model identifier rather than the market or consumer-friendly name of the
|
||||
// device.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeDeviceModelIdentifier = "device.model.identifier"
|
||||
// The marketing name for the device model
|
||||
//
|
||||
|
|
@ -294,6 +338,7 @@ const (
|
|||
// Examples: 'iPhone 6s Plus', 'Samsung Galaxy S6'
|
||||
// Note: It's recommended this value represents a human readable version of the
|
||||
// device model rather than a machine readable alternative.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeDeviceModelName = "device.model.name"
|
||||
)
|
||||
|
||||
|
|
@ -308,6 +353,7 @@ const (
|
|||
// Note: This is the name of the function as configured/deployed on the FaaS
|
||||
// platform and is usually different from the name of the callback function (which
|
||||
// may be stored in the code.namespace/code.function span attributes).
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeFaaSName = "faas.name"
|
||||
// The unique ID of the single function that this runtime instance executes.
|
||||
//
|
||||
|
|
@ -331,6 +377,7 @@ const (
|
|||
// part of the ARN is not available without calling another AWS API
|
||||
// which may be deemed too slow for a short-running lambda function.
|
||||
// As an alternative, consider setting faas.id as a span attribute instead.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeFaaSID = "faas.id"
|
||||
// The immutable version of the function being executed.
|
||||
//
|
||||
|
|
@ -347,6 +394,7 @@ const (
|
|||
// K_REVISION environment variable.</li>
|
||||
// <li>Azure Functions: Not applicable. Do not set this attribute.</li>
|
||||
// </ul>
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeFaaSVersion = "faas.version"
|
||||
// The execution environment ID as a string, that will be potentially reused for
|
||||
// other invocations to the same function/function version.
|
||||
|
|
@ -358,6 +406,7 @@ const (
|
|||
// Note: <ul>
|
||||
// <li>AWS Lambda: Use the (full) log stream name.</li>
|
||||
// </ul>
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeFaaSInstance = "faas.instance"
|
||||
// The amount of memory available to the serverless function in MiB.
|
||||
//
|
||||
|
|
@ -369,6 +418,7 @@ const (
|
|||
// easily stop a Java AWS Lambda function from working correctly. On AWS Lambda,
|
||||
// the environment variable AWS_LAMBDA_FUNCTION_MEMORY_SIZE provides this
|
||||
// information.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeFaaSMaxMemory = "faas.max_memory"
|
||||
)
|
||||
|
||||
|
|
@ -381,6 +431,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-test'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostID = "host.id"
|
||||
// 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
|
||||
|
|
@ -390,6 +441,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-test'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostName = "host.name"
|
||||
// Type of host. For Cloud, this must be the machine type.
|
||||
//
|
||||
|
|
@ -397,12 +449,14 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'n1-standard-1'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostType = "host.type"
|
||||
// The CPU architecture the host system is running on.
|
||||
//
|
||||
// Type: Enum
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArch = "host.arch"
|
||||
// Name of the VM image or OS install the host was instantiated from.
|
||||
//
|
||||
|
|
@ -410,6 +464,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'infra-ami-eks-worker-node-7d4ec78312', 'CentOS-8-x86_64-1905'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostImageName = "host.image.name"
|
||||
// VM image ID. For Cloud, this value is from the provider.
|
||||
//
|
||||
|
|
@ -417,6 +472,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'ami-07b06b442921831e5'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostImageID = "host.image.id"
|
||||
// The version string of the VM image as defined in Version Attributes.
|
||||
//
|
||||
|
|
@ -424,23 +480,31 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '0.1'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostImageVersion = "host.image.version"
|
||||
)
|
||||
|
||||
const (
|
||||
// AMD64
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchAMD64 = "amd64"
|
||||
// ARM32
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchARM32 = "arm32"
|
||||
// ARM64
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchARM64 = "arm64"
|
||||
// Itanium
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchIA64 = "ia64"
|
||||
// 32-bit PowerPC
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchPPC32 = "ppc32"
|
||||
// 64-bit PowerPC
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchPPC64 = "ppc64"
|
||||
// 32-bit x86
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchX86 = "x86"
|
||||
)
|
||||
|
||||
|
|
@ -452,6 +516,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-cluster'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SClusterName = "k8s.cluster.name"
|
||||
)
|
||||
|
||||
|
|
@ -463,6 +528,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'node-1'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SNodeName = "k8s.node.name"
|
||||
// The UID of the Node.
|
||||
//
|
||||
|
|
@ -470,6 +536,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '1eb3a0c6-0477-4080-a9cb-0cb7db65c6a2'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SNodeUID = "k8s.node.uid"
|
||||
)
|
||||
|
||||
|
|
@ -481,6 +548,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'default'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SNamespaceName = "k8s.namespace.name"
|
||||
)
|
||||
|
||||
|
|
@ -492,6 +560,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SPodUID = "k8s.pod.uid"
|
||||
// The name of the Pod.
|
||||
//
|
||||
|
|
@ -499,6 +568,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-pod-autoconf'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SPodName = "k8s.pod.name"
|
||||
)
|
||||
|
||||
|
|
@ -510,6 +580,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'redis'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SContainerName = "k8s.container.name"
|
||||
)
|
||||
|
||||
|
|
@ -521,6 +592,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SReplicaSetUID = "k8s.replicaset.uid"
|
||||
// The name of the ReplicaSet.
|
||||
//
|
||||
|
|
@ -528,6 +600,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SReplicaSetName = "k8s.replicaset.name"
|
||||
)
|
||||
|
||||
|
|
@ -539,6 +612,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SDeploymentUID = "k8s.deployment.uid"
|
||||
// The name of the Deployment.
|
||||
//
|
||||
|
|
@ -546,6 +620,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SDeploymentName = "k8s.deployment.name"
|
||||
)
|
||||
|
||||
|
|
@ -557,6 +632,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SStatefulSetUID = "k8s.statefulset.uid"
|
||||
// The name of the StatefulSet.
|
||||
//
|
||||
|
|
@ -564,6 +640,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SStatefulSetName = "k8s.statefulset.name"
|
||||
)
|
||||
|
||||
|
|
@ -575,6 +652,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SDaemonSetUID = "k8s.daemonset.uid"
|
||||
// The name of the DaemonSet.
|
||||
//
|
||||
|
|
@ -582,6 +660,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SDaemonSetName = "k8s.daemonset.name"
|
||||
)
|
||||
|
||||
|
|
@ -593,6 +672,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SJobUID = "k8s.job.uid"
|
||||
// The name of the Job.
|
||||
//
|
||||
|
|
@ -600,6 +680,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SJobName = "k8s.job.name"
|
||||
)
|
||||
|
||||
|
|
@ -611,6 +692,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SCronJobUID = "k8s.cronjob.uid"
|
||||
// The name of the CronJob.
|
||||
//
|
||||
|
|
@ -618,6 +700,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SCronJobName = "k8s.cronjob.name"
|
||||
)
|
||||
|
||||
|
|
@ -628,6 +711,7 @@ const (
|
|||
// Type: Enum
|
||||
// Required: Always
|
||||
// Stability: stable
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSType = "os.type"
|
||||
// Human readable (not intended to be parsed) OS version information, like e.g.
|
||||
// reported by ver or lsb_release -a commands.
|
||||
|
|
@ -636,6 +720,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'Microsoft Windows [Version 10.0.18363.778]', 'Ubuntu 18.04.1 LTS'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSDescription = "os.description"
|
||||
// Human readable operating system name.
|
||||
//
|
||||
|
|
@ -643,6 +728,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'iOS', 'Android', 'Ubuntu'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSName = "os.name"
|
||||
// The version string of the operating system as defined in Version Attributes.
|
||||
//
|
||||
|
|
@ -650,31 +736,43 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '14.2.1', '18.04.1'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSVersion = "os.version"
|
||||
)
|
||||
|
||||
const (
|
||||
// Microsoft Windows
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeWindows = "windows"
|
||||
// Linux
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeLinux = "linux"
|
||||
// Apple Darwin
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeDarwin = "darwin"
|
||||
// FreeBSD
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeFreeBSD = "freebsd"
|
||||
// NetBSD
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeNetBSD = "netbsd"
|
||||
// OpenBSD
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeOpenBSD = "openbsd"
|
||||
// DragonFly BSD
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeDragonflyBSD = "dragonflybsd"
|
||||
// HP-UX (Hewlett Packard Unix)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeHPUX = "hpux"
|
||||
// AIX (Advanced Interactive eXecutive)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeAIX = "aix"
|
||||
// Oracle Solaris
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeSolaris = "solaris"
|
||||
// IBM z/OS
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeZOS = "z_os"
|
||||
)
|
||||
|
||||
|
|
@ -686,6 +784,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 1234
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessPID = "process.pid"
|
||||
// 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
|
||||
|
|
@ -695,6 +794,7 @@ const (
|
|||
// Required: See below
|
||||
// Stability: stable
|
||||
// Examples: 'otelcol'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessExecutableName = "process.executable.name"
|
||||
// The full path to the process executable. On Linux based systems, can be set to
|
||||
// the target of proc/[pid]/exe. On Windows, can be set to the result of
|
||||
|
|
@ -704,6 +804,7 @@ const (
|
|||
// Required: See below
|
||||
// Stability: stable
|
||||
// Examples: '/usr/bin/cmd/otelcol'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessExecutablePath = "process.executable.path"
|
||||
// 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
|
||||
|
|
@ -713,6 +814,7 @@ const (
|
|||
// Required: See below
|
||||
// Stability: stable
|
||||
// Examples: 'cmd/otelcol'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessCommand = "process.command"
|
||||
// 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
|
||||
|
|
@ -723,6 +825,7 @@ const (
|
|||
// Required: See below
|
||||
// Stability: stable
|
||||
// Examples: 'C:\\cmd\\otecol --config="my directory\\config.yaml"'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessCommandLine = "process.command_line"
|
||||
// All the command arguments (including the command/executable itself) as received
|
||||
// by the process. On Linux-based systems (and some other Unixoid systems
|
||||
|
|
@ -734,6 +837,7 @@ const (
|
|||
// Required: See below
|
||||
// Stability: stable
|
||||
// Examples: 'cmd/otecol', '--config=config.yaml'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessCommandArgs = "process.command_args"
|
||||
// The username of the user that owns the process.
|
||||
//
|
||||
|
|
@ -741,6 +845,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'root'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessOwner = "process.owner"
|
||||
)
|
||||
|
||||
|
|
@ -753,6 +858,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'OpenJDK Runtime Environment'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessRuntimeName = "process.runtime.name"
|
||||
// The version of the runtime of this process, as returned by the runtime without
|
||||
// modification.
|
||||
|
|
@ -761,6 +867,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '14.0.2'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessRuntimeVersion = "process.runtime.version"
|
||||
// An additional description about the runtime of the process, for example a
|
||||
// specific vendor customization of the runtime environment.
|
||||
|
|
@ -769,6 +876,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'Eclipse OpenJ9 Eclipse OpenJ9 VM openj9-0.21.0'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessRuntimeDescription = "process.runtime.description"
|
||||
)
|
||||
|
||||
|
|
@ -785,6 +893,7 @@ const (
|
|||
// concatenated with process.executable.name, e.g. unknown_service:bash. If
|
||||
// process.executable.name is not available, the value MUST be set to
|
||||
// unknown_service.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeServiceName = "service.name"
|
||||
// A namespace for service.name.
|
||||
//
|
||||
|
|
@ -799,6 +908,7 @@ const (
|
|||
// services that have no explicit namespace defined (so the empty/unspecified
|
||||
// namespace is simply one more valid namespace). Zero-length namespace string is
|
||||
// assumed equal to unspecified namespace.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeServiceNamespace = "service.namespace"
|
||||
// The string ID of the service instance.
|
||||
//
|
||||
|
|
@ -818,6 +928,7 @@ const (
|
|||
// value of this attribute it is recommended to generate a random Version 1 or
|
||||
// Version 4 RFC 4122 UUID (services aiming for reproducible UUIDs may also use
|
||||
// Version 5, see RFC 4122 for more recommendations).
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeServiceInstanceID = "service.instance.id"
|
||||
// The version string of the service API or implementation.
|
||||
//
|
||||
|
|
@ -825,6 +936,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '2.0.0'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeServiceVersion = "service.version"
|
||||
)
|
||||
|
||||
|
|
@ -836,12 +948,14 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKName = "telemetry.sdk.name"
|
||||
// The language of the telemetry SDK.
|
||||
//
|
||||
// Type: Enum
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguage = "telemetry.sdk.language"
|
||||
// The version string of the telemetry SDK.
|
||||
//
|
||||
|
|
@ -849,6 +963,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '1.2.3'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKVersion = "telemetry.sdk.version"
|
||||
// The version string of the auto instrumentation agent, if used.
|
||||
//
|
||||
|
|
@ -856,29 +971,40 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '1.2.3'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetryAutoVersion = "telemetry.auto.version"
|
||||
)
|
||||
|
||||
const (
|
||||
// cpp
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageCPP = "cpp"
|
||||
// dotnet
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageDotnet = "dotnet"
|
||||
// erlang
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageErlang = "erlang"
|
||||
// go
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageGo = "go"
|
||||
// java
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageJava = "java"
|
||||
// nodejs
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageNodejs = "nodejs"
|
||||
// php
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguagePHP = "php"
|
||||
// python
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguagePython = "python"
|
||||
// ruby
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageRuby = "ruby"
|
||||
// webjs
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageWebjs = "webjs"
|
||||
)
|
||||
|
||||
|
|
@ -890,6 +1016,7 @@ const (
|
|||
// Required: Always
|
||||
// Stability: stable
|
||||
// Examples: 'WildFly'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeWebEngineName = "webengine.name"
|
||||
// The version of the web engine.
|
||||
//
|
||||
|
|
@ -897,6 +1024,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '21.0.0'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeWebEngineVersion = "webengine.version"
|
||||
// Additional description of the web engine (e.g. detailed version and edition
|
||||
// information).
|
||||
|
|
@ -905,9 +1033,11 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'WildFly Full 21.0.0.Final (WildFly Core 13.0.1.Final) - 2.2.2.Final'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeWebEngineDescription = "webengine.description"
|
||||
)
|
||||
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
func GetResourceSemanticConventionAttributeNames() []string {
|
||||
return []string{
|
||||
AttributeCloudProvider,
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -15,11 +15,15 @@
|
|||
package semconv // import "go.opentelemetry.io/collector/model/semconv/v1.5.0"
|
||||
|
||||
const (
|
||||
InstrumentationLibraryName = "otel.library.name"
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
InstrumentationLibraryName = "otel.library.name"
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
InstrumentationLibraryVersion = "otel.library.version"
|
||||
)
|
||||
|
||||
const (
|
||||
OtelStatusCode = "otel.status_code"
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
OtelStatusCode = "otel.status_code"
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
OtelStatusDescription = "otel.status_description"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -17,4 +17,5 @@ package semconv // import "go.opentelemetry.io/collector/model/semconv/v1.5.0"
|
|||
// SchemaURL is the schema URL that matches the version of the semantic conventions
|
||||
// that this package defines. Conventions packages starting from v1.4.0 must declare
|
||||
// non-empty schema URL in the form https://opentelemetry.io/schemas/<version>
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
const SchemaURL = "https://opentelemetry.io/schemas/1.5.0"
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ const (
|
|||
// Type: Enum
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudProvider = "cloud.provider"
|
||||
// The cloud account ID the resource is assigned to.
|
||||
//
|
||||
|
|
@ -30,6 +31,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '111111111111', 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudAccountID = "cloud.account.id"
|
||||
// The geographical region the resource is running. Refer to your provider's docs
|
||||
// to see the available regions, for example Alibaba Cloud regions, AWS regions,
|
||||
|
|
@ -39,6 +41,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'us-central1', 'us-east-1'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudRegion = "cloud.region"
|
||||
// Cloud regions often have multiple, isolated locations known as zones to
|
||||
// increase availability. Availability zone represents the zone where the resource
|
||||
|
|
@ -50,6 +53,7 @@ const (
|
|||
// Examples: 'us-east-1c'
|
||||
// Note: Availability zones are called "zones" on Alibaba Cloud and
|
||||
// Google Cloud.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudAvailabilityZone = "cloud.availability_zone"
|
||||
// The cloud platform in use.
|
||||
//
|
||||
|
|
@ -58,54 +62,76 @@ const (
|
|||
// Stability: stable
|
||||
// Note: The prefix of the service SHOULD match the one specified in
|
||||
// cloud.provider.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatform = "cloud.platform"
|
||||
)
|
||||
|
||||
const (
|
||||
// Alibaba Cloud
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudProviderAlibabaCloud = "alibaba_cloud"
|
||||
// Amazon Web Services
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudProviderAWS = "aws"
|
||||
// Microsoft Azure
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudProviderAzure = "azure"
|
||||
// Google Cloud Platform
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudProviderGCP = "gcp"
|
||||
)
|
||||
|
||||
const (
|
||||
// Alibaba Cloud Elastic Compute Service
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAlibabaCloudECS = "alibaba_cloud_ecs"
|
||||
// Alibaba Cloud Function Compute
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAlibabaCloudFc = "alibaba_cloud_fc"
|
||||
// AWS Elastic Compute Cloud
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAWSEC2 = "aws_ec2"
|
||||
// AWS Elastic Container Service
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAWSECS = "aws_ecs"
|
||||
// AWS Elastic Kubernetes Service
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAWSEKS = "aws_eks"
|
||||
// AWS Lambda
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAWSLambda = "aws_lambda"
|
||||
// AWS Elastic Beanstalk
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAWSElasticBeanstalk = "aws_elastic_beanstalk"
|
||||
// Azure Virtual Machines
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAzureVM = "azure_vm"
|
||||
// Azure Container Instances
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAzureContainerInstances = "azure_container_instances"
|
||||
// Azure Kubernetes Service
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAzureAKS = "azure_aks"
|
||||
// Azure Functions
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAzureFunctions = "azure_functions"
|
||||
// Azure App Service
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAzureAppService = "azure_app_service"
|
||||
// Google Cloud Compute Engine (GCE)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformGCPComputeEngine = "gcp_compute_engine"
|
||||
// Google Cloud Run
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformGCPCloudRun = "gcp_cloud_run"
|
||||
// Google Cloud Kubernetes Engine (GKE)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformGCPKubernetesEngine = "gcp_kubernetes_engine"
|
||||
// Google Cloud Functions (GCF)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformGCPCloudFunctions = "gcp_cloud_functions"
|
||||
// Google Cloud App Engine (GAE)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformGCPAppEngine = "gcp_app_engine"
|
||||
)
|
||||
|
||||
|
|
@ -118,6 +144,7 @@ const (
|
|||
// Stability: stable
|
||||
// Examples: 'arn:aws:ecs:us-
|
||||
// west-1:123456789123:container/32624152-9086-4f0e-acae-1a75b14fe4d9'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSContainerARN = "aws.ecs.container.arn"
|
||||
// The ARN of an ECS cluster.
|
||||
//
|
||||
|
|
@ -125,12 +152,14 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSClusterARN = "aws.ecs.cluster.arn"
|
||||
// The launch type for an ECS task.
|
||||
//
|
||||
// Type: Enum
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSLaunchtype = "aws.ecs.launchtype"
|
||||
// The ARN of an ECS task definition.
|
||||
//
|
||||
|
|
@ -139,6 +168,7 @@ const (
|
|||
// Stability: stable
|
||||
// Examples: 'arn:aws:ecs:us-
|
||||
// west-1:123456789123:task/10838bed-421f-43ef-870a-f43feacbbb5b'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSTaskARN = "aws.ecs.task.arn"
|
||||
// The task definition family this task definition is a member of.
|
||||
//
|
||||
|
|
@ -146,6 +176,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-family'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSTaskFamily = "aws.ecs.task.family"
|
||||
// The revision for this task definition.
|
||||
//
|
||||
|
|
@ -153,13 +184,16 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '8', '26'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSTaskRevision = "aws.ecs.task.revision"
|
||||
)
|
||||
|
||||
const (
|
||||
// ec2
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSLaunchtypeEC2 = "ec2"
|
||||
// fargate
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSLaunchtypeFargate = "fargate"
|
||||
)
|
||||
|
||||
|
|
@ -171,6 +205,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSEKSClusterARN = "aws.eks.cluster.arn"
|
||||
)
|
||||
|
||||
|
|
@ -185,6 +220,7 @@ const (
|
|||
// Note: Multiple log groups must be supported for cases like multi-container
|
||||
// applications, where a single application has sidecar containers, and each write
|
||||
// to their own log group.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSLogGroupNames = "aws.log.group.names"
|
||||
// The Amazon Resource Name(s) (ARN) of the AWS log group(s).
|
||||
//
|
||||
|
|
@ -193,6 +229,7 @@ const (
|
|||
// Stability: stable
|
||||
// Examples: 'arn:aws:logs:us-west-1:123456789012:log-group:/aws/my/group:*'
|
||||
// Note: See the log group ARN format documentation.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSLogGroupARNs = "aws.log.group.arns"
|
||||
// The name(s) of the AWS log stream(s) an application is writing to.
|
||||
//
|
||||
|
|
@ -200,6 +237,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'logs/main/10838bed-421f-43ef-870a-f43feacbbb5b'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSLogStreamNames = "aws.log.stream.names"
|
||||
// The ARN(s) of the AWS log stream(s).
|
||||
//
|
||||
|
|
@ -211,6 +249,7 @@ const (
|
|||
// Note: See the log stream ARN format documentation. One log group can contain
|
||||
// several log streams, so these ARNs necessarily identify both a log group and a
|
||||
// log stream.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSLogStreamARNs = "aws.log.stream.arns"
|
||||
)
|
||||
|
||||
|
|
@ -222,6 +261,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-autoconf'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeContainerName = "container.name"
|
||||
// Container ID. Usually a UUID, as for example used to identify Docker
|
||||
// containers. The UUID might be abbreviated.
|
||||
|
|
@ -230,6 +270,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'a3bf90e006b2'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeContainerID = "container.id"
|
||||
// The container runtime managing this container.
|
||||
//
|
||||
|
|
@ -237,6 +278,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'docker', 'containerd', 'rkt'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeContainerRuntime = "container.runtime"
|
||||
// Name of the image the container was built on.
|
||||
//
|
||||
|
|
@ -244,6 +286,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'gcr.io/opentelemetry/operator'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeContainerImageName = "container.image.name"
|
||||
// Container image tag.
|
||||
//
|
||||
|
|
@ -251,6 +294,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '0.1'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeContainerImageTag = "container.image.tag"
|
||||
)
|
||||
|
||||
|
|
@ -262,6 +306,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'staging', 'production'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeDeploymentEnvironment = "deployment.environment"
|
||||
)
|
||||
|
||||
|
|
@ -282,6 +327,7 @@ const (
|
|||
// practices and exact implementation details. Caution should be taken when
|
||||
// storing personal data or anything which can identify a user. GDPR and data
|
||||
// protection laws may apply, ensure you do your own due diligence.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeDeviceID = "device.id"
|
||||
// The model identifier for the device
|
||||
//
|
||||
|
|
@ -292,6 +338,7 @@ const (
|
|||
// Note: It's recommended this value represents a machine readable version of the
|
||||
// model identifier rather than the market or consumer-friendly name of the
|
||||
// device.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeDeviceModelIdentifier = "device.model.identifier"
|
||||
// The marketing name for the device model
|
||||
//
|
||||
|
|
@ -301,6 +348,7 @@ const (
|
|||
// Examples: 'iPhone 6s Plus', 'Samsung Galaxy S6'
|
||||
// Note: It's recommended this value represents a human readable version of the
|
||||
// device model rather than a machine readable alternative.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeDeviceModelName = "device.model.name"
|
||||
)
|
||||
|
||||
|
|
@ -315,6 +363,7 @@ const (
|
|||
// Note: This is the name of the function as configured/deployed on the FaaS
|
||||
// platform and is usually different from the name of the callback function (which
|
||||
// may be stored in the code.namespace/code.function span attributes).
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeFaaSName = "faas.name"
|
||||
// The unique ID of the single function that this runtime instance executes.
|
||||
//
|
||||
|
|
@ -338,6 +387,7 @@ const (
|
|||
// part of the ARN is not available without calling another AWS API
|
||||
// which may be deemed too slow for a short-running lambda function.
|
||||
// As an alternative, consider setting faas.id as a span attribute instead.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeFaaSID = "faas.id"
|
||||
// The immutable version of the function being executed.
|
||||
//
|
||||
|
|
@ -354,6 +404,7 @@ const (
|
|||
// K_REVISION environment variable.</li>
|
||||
// <li>Azure Functions: Not applicable. Do not set this attribute.</li>
|
||||
// </ul>
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeFaaSVersion = "faas.version"
|
||||
// The execution environment ID as a string, that will be potentially reused for
|
||||
// other invocations to the same function/function version.
|
||||
|
|
@ -365,6 +416,7 @@ const (
|
|||
// Note: <ul>
|
||||
// <li>AWS Lambda: Use the (full) log stream name.</li>
|
||||
// </ul>
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeFaaSInstance = "faas.instance"
|
||||
// The amount of memory available to the serverless function in MiB.
|
||||
//
|
||||
|
|
@ -376,6 +428,7 @@ const (
|
|||
// easily stop a Java AWS Lambda function from working correctly. On AWS Lambda,
|
||||
// the environment variable AWS_LAMBDA_FUNCTION_MEMORY_SIZE provides this
|
||||
// information.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeFaaSMaxMemory = "faas.max_memory"
|
||||
)
|
||||
|
||||
|
|
@ -388,6 +441,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-test'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostID = "host.id"
|
||||
// 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
|
||||
|
|
@ -397,6 +451,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-test'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostName = "host.name"
|
||||
// Type of host. For Cloud, this must be the machine type.
|
||||
//
|
||||
|
|
@ -404,12 +459,14 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'n1-standard-1'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostType = "host.type"
|
||||
// The CPU architecture the host system is running on.
|
||||
//
|
||||
// Type: Enum
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArch = "host.arch"
|
||||
// Name of the VM image or OS install the host was instantiated from.
|
||||
//
|
||||
|
|
@ -417,6 +474,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'infra-ami-eks-worker-node-7d4ec78312', 'CentOS-8-x86_64-1905'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostImageName = "host.image.name"
|
||||
// VM image ID. For Cloud, this value is from the provider.
|
||||
//
|
||||
|
|
@ -424,6 +482,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'ami-07b06b442921831e5'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostImageID = "host.image.id"
|
||||
// The version string of the VM image as defined in Version Attributes.
|
||||
//
|
||||
|
|
@ -431,23 +490,31 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '0.1'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostImageVersion = "host.image.version"
|
||||
)
|
||||
|
||||
const (
|
||||
// AMD64
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchAMD64 = "amd64"
|
||||
// ARM32
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchARM32 = "arm32"
|
||||
// ARM64
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchARM64 = "arm64"
|
||||
// Itanium
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchIA64 = "ia64"
|
||||
// 32-bit PowerPC
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchPPC32 = "ppc32"
|
||||
// 64-bit PowerPC
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchPPC64 = "ppc64"
|
||||
// 32-bit x86
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchX86 = "x86"
|
||||
)
|
||||
|
||||
|
|
@ -459,6 +526,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-cluster'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SClusterName = "k8s.cluster.name"
|
||||
)
|
||||
|
||||
|
|
@ -470,6 +538,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'node-1'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SNodeName = "k8s.node.name"
|
||||
// The UID of the Node.
|
||||
//
|
||||
|
|
@ -477,6 +546,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '1eb3a0c6-0477-4080-a9cb-0cb7db65c6a2'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SNodeUID = "k8s.node.uid"
|
||||
)
|
||||
|
||||
|
|
@ -488,6 +558,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'default'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SNamespaceName = "k8s.namespace.name"
|
||||
)
|
||||
|
||||
|
|
@ -499,6 +570,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SPodUID = "k8s.pod.uid"
|
||||
// The name of the Pod.
|
||||
//
|
||||
|
|
@ -506,6 +578,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-pod-autoconf'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SPodName = "k8s.pod.name"
|
||||
)
|
||||
|
||||
|
|
@ -517,6 +590,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'redis'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SContainerName = "k8s.container.name"
|
||||
)
|
||||
|
||||
|
|
@ -528,6 +602,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SReplicaSetUID = "k8s.replicaset.uid"
|
||||
// The name of the ReplicaSet.
|
||||
//
|
||||
|
|
@ -535,6 +610,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SReplicaSetName = "k8s.replicaset.name"
|
||||
)
|
||||
|
||||
|
|
@ -546,6 +622,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SDeploymentUID = "k8s.deployment.uid"
|
||||
// The name of the Deployment.
|
||||
//
|
||||
|
|
@ -553,6 +630,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SDeploymentName = "k8s.deployment.name"
|
||||
)
|
||||
|
||||
|
|
@ -564,6 +642,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SStatefulSetUID = "k8s.statefulset.uid"
|
||||
// The name of the StatefulSet.
|
||||
//
|
||||
|
|
@ -571,6 +650,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SStatefulSetName = "k8s.statefulset.name"
|
||||
)
|
||||
|
||||
|
|
@ -582,6 +662,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SDaemonSetUID = "k8s.daemonset.uid"
|
||||
// The name of the DaemonSet.
|
||||
//
|
||||
|
|
@ -589,6 +670,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SDaemonSetName = "k8s.daemonset.name"
|
||||
)
|
||||
|
||||
|
|
@ -600,6 +682,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SJobUID = "k8s.job.uid"
|
||||
// The name of the Job.
|
||||
//
|
||||
|
|
@ -607,6 +690,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SJobName = "k8s.job.name"
|
||||
)
|
||||
|
||||
|
|
@ -618,6 +702,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SCronJobUID = "k8s.cronjob.uid"
|
||||
// The name of the CronJob.
|
||||
//
|
||||
|
|
@ -625,6 +710,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SCronJobName = "k8s.cronjob.name"
|
||||
)
|
||||
|
||||
|
|
@ -635,6 +721,7 @@ const (
|
|||
// Type: Enum
|
||||
// Required: Always
|
||||
// Stability: stable
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSType = "os.type"
|
||||
// Human readable (not intended to be parsed) OS version information, like e.g.
|
||||
// reported by ver or lsb_release -a commands.
|
||||
|
|
@ -643,6 +730,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'Microsoft Windows [Version 10.0.18363.778]', 'Ubuntu 18.04.1 LTS'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSDescription = "os.description"
|
||||
// Human readable operating system name.
|
||||
//
|
||||
|
|
@ -650,6 +738,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'iOS', 'Android', 'Ubuntu'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSName = "os.name"
|
||||
// The version string of the operating system as defined in Version Attributes.
|
||||
//
|
||||
|
|
@ -657,31 +746,43 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '14.2.1', '18.04.1'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSVersion = "os.version"
|
||||
)
|
||||
|
||||
const (
|
||||
// Microsoft Windows
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeWindows = "windows"
|
||||
// Linux
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeLinux = "linux"
|
||||
// Apple Darwin
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeDarwin = "darwin"
|
||||
// FreeBSD
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeFreeBSD = "freebsd"
|
||||
// NetBSD
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeNetBSD = "netbsd"
|
||||
// OpenBSD
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeOpenBSD = "openbsd"
|
||||
// DragonFly BSD
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeDragonflyBSD = "dragonflybsd"
|
||||
// HP-UX (Hewlett Packard Unix)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeHPUX = "hpux"
|
||||
// AIX (Advanced Interactive eXecutive)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeAIX = "aix"
|
||||
// Oracle Solaris
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeSolaris = "solaris"
|
||||
// IBM z/OS
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeZOS = "z_os"
|
||||
)
|
||||
|
||||
|
|
@ -693,6 +794,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 1234
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessPID = "process.pid"
|
||||
// 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
|
||||
|
|
@ -702,6 +804,7 @@ const (
|
|||
// Required: See below
|
||||
// Stability: stable
|
||||
// Examples: 'otelcol'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessExecutableName = "process.executable.name"
|
||||
// The full path to the process executable. On Linux based systems, can be set to
|
||||
// the target of proc/[pid]/exe. On Windows, can be set to the result of
|
||||
|
|
@ -711,6 +814,7 @@ const (
|
|||
// Required: See below
|
||||
// Stability: stable
|
||||
// Examples: '/usr/bin/cmd/otelcol'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessExecutablePath = "process.executable.path"
|
||||
// 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
|
||||
|
|
@ -720,6 +824,7 @@ const (
|
|||
// Required: See below
|
||||
// Stability: stable
|
||||
// Examples: 'cmd/otelcol'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessCommand = "process.command"
|
||||
// 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
|
||||
|
|
@ -730,6 +835,7 @@ const (
|
|||
// Required: See below
|
||||
// Stability: stable
|
||||
// Examples: 'C:\\cmd\\otecol --config="my directory\\config.yaml"'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessCommandLine = "process.command_line"
|
||||
// All the command arguments (including the command/executable itself) as received
|
||||
// by the process. On Linux-based systems (and some other Unixoid systems
|
||||
|
|
@ -741,6 +847,7 @@ const (
|
|||
// Required: See below
|
||||
// Stability: stable
|
||||
// Examples: 'cmd/otecol', '--config=config.yaml'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessCommandArgs = "process.command_args"
|
||||
// The username of the user that owns the process.
|
||||
//
|
||||
|
|
@ -748,6 +855,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'root'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessOwner = "process.owner"
|
||||
)
|
||||
|
||||
|
|
@ -760,6 +868,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'OpenJDK Runtime Environment'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessRuntimeName = "process.runtime.name"
|
||||
// The version of the runtime of this process, as returned by the runtime without
|
||||
// modification.
|
||||
|
|
@ -768,6 +877,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '14.0.2'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessRuntimeVersion = "process.runtime.version"
|
||||
// An additional description about the runtime of the process, for example a
|
||||
// specific vendor customization of the runtime environment.
|
||||
|
|
@ -776,6 +886,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'Eclipse OpenJ9 Eclipse OpenJ9 VM openj9-0.21.0'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessRuntimeDescription = "process.runtime.description"
|
||||
)
|
||||
|
||||
|
|
@ -792,6 +903,7 @@ const (
|
|||
// concatenated with process.executable.name, e.g. unknown_service:bash. If
|
||||
// process.executable.name is not available, the value MUST be set to
|
||||
// unknown_service.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeServiceName = "service.name"
|
||||
// A namespace for service.name.
|
||||
//
|
||||
|
|
@ -806,6 +918,7 @@ const (
|
|||
// services that have no explicit namespace defined (so the empty/unspecified
|
||||
// namespace is simply one more valid namespace). Zero-length namespace string is
|
||||
// assumed equal to unspecified namespace.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeServiceNamespace = "service.namespace"
|
||||
// The string ID of the service instance.
|
||||
//
|
||||
|
|
@ -825,6 +938,7 @@ const (
|
|||
// value of this attribute it is recommended to generate a random Version 1 or
|
||||
// Version 4 RFC 4122 UUID (services aiming for reproducible UUIDs may also use
|
||||
// Version 5, see RFC 4122 for more recommendations).
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeServiceInstanceID = "service.instance.id"
|
||||
// The version string of the service API or implementation.
|
||||
//
|
||||
|
|
@ -832,6 +946,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '2.0.0'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeServiceVersion = "service.version"
|
||||
)
|
||||
|
||||
|
|
@ -843,12 +958,14 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKName = "telemetry.sdk.name"
|
||||
// The language of the telemetry SDK.
|
||||
//
|
||||
// Type: Enum
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguage = "telemetry.sdk.language"
|
||||
// The version string of the telemetry SDK.
|
||||
//
|
||||
|
|
@ -856,6 +973,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '1.2.3'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKVersion = "telemetry.sdk.version"
|
||||
// The version string of the auto instrumentation agent, if used.
|
||||
//
|
||||
|
|
@ -863,29 +981,40 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '1.2.3'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetryAutoVersion = "telemetry.auto.version"
|
||||
)
|
||||
|
||||
const (
|
||||
// cpp
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageCPP = "cpp"
|
||||
// dotnet
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageDotnet = "dotnet"
|
||||
// erlang
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageErlang = "erlang"
|
||||
// go
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageGo = "go"
|
||||
// java
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageJava = "java"
|
||||
// nodejs
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageNodejs = "nodejs"
|
||||
// php
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguagePHP = "php"
|
||||
// python
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguagePython = "python"
|
||||
// ruby
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageRuby = "ruby"
|
||||
// webjs
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageWebjs = "webjs"
|
||||
)
|
||||
|
||||
|
|
@ -897,6 +1026,7 @@ const (
|
|||
// Required: Always
|
||||
// Stability: stable
|
||||
// Examples: 'WildFly'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeWebEngineName = "webengine.name"
|
||||
// The version of the web engine.
|
||||
//
|
||||
|
|
@ -904,6 +1034,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '21.0.0'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeWebEngineVersion = "webengine.version"
|
||||
// Additional description of the web engine (e.g. detailed version and edition
|
||||
// information).
|
||||
|
|
@ -912,9 +1043,11 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'WildFly Full 21.0.0.Final (WildFly Core 13.0.1.Final) - 2.2.2.Final'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeWebEngineDescription = "webengine.description"
|
||||
)
|
||||
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
func GetResourceSemanticConventionAttributeNames() []string {
|
||||
return []string{
|
||||
AttributeCloudProvider,
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -15,8 +15,12 @@
|
|||
package semconv // import "go.opentelemetry.io/collector/model/semconv/v1.6.1"
|
||||
|
||||
const (
|
||||
OtelLibraryName = "otel.library.name"
|
||||
OtelLibraryVersion = "otel.library.version"
|
||||
OtelStatusCode = "otel.status_code"
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
OtelLibraryName = "otel.library.name"
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
OtelLibraryVersion = "otel.library.version"
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
OtelStatusCode = "otel.status_code"
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
OtelStatusDescription = "otel.status_description"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -17,4 +17,5 @@ package semconv // import "go.opentelemetry.io/collector/model/semconv/v1.6.1"
|
|||
// SchemaURL is the schema URL that matches the version of the semantic conventions
|
||||
// that this package defines. Conventions packages starting from v1.4.0 must declare
|
||||
// non-empty schema URL in the form https://opentelemetry.io/schemas/<version>
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
const SchemaURL = "https://opentelemetry.io/schemas/1.6.1"
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ const (
|
|||
// Type: Enum
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudProvider = "cloud.provider"
|
||||
// The cloud account ID the resource is assigned to.
|
||||
//
|
||||
|
|
@ -30,6 +31,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '111111111111', 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudAccountID = "cloud.account.id"
|
||||
// The geographical region the resource is running. Refer to your provider's docs
|
||||
// to see the available regions, for example Alibaba Cloud regions, AWS regions,
|
||||
|
|
@ -39,6 +41,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'us-central1', 'us-east-1'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudRegion = "cloud.region"
|
||||
// Cloud regions often have multiple, isolated locations known as zones to
|
||||
// increase availability. Availability zone represents the zone where the resource
|
||||
|
|
@ -50,6 +53,7 @@ const (
|
|||
// Examples: 'us-east-1c'
|
||||
// Note: Availability zones are called "zones" on Alibaba Cloud and
|
||||
// Google Cloud.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudAvailabilityZone = "cloud.availability_zone"
|
||||
// The cloud platform in use.
|
||||
//
|
||||
|
|
@ -58,54 +62,76 @@ const (
|
|||
// Stability: stable
|
||||
// Note: The prefix of the service SHOULD match the one specified in
|
||||
// cloud.provider.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatform = "cloud.platform"
|
||||
)
|
||||
|
||||
const (
|
||||
// Alibaba Cloud
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudProviderAlibabaCloud = "alibaba_cloud"
|
||||
// Amazon Web Services
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudProviderAWS = "aws"
|
||||
// Microsoft Azure
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudProviderAzure = "azure"
|
||||
// Google Cloud Platform
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudProviderGCP = "gcp"
|
||||
)
|
||||
|
||||
const (
|
||||
// Alibaba Cloud Elastic Compute Service
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAlibabaCloudECS = "alibaba_cloud_ecs"
|
||||
// Alibaba Cloud Function Compute
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAlibabaCloudFc = "alibaba_cloud_fc"
|
||||
// AWS Elastic Compute Cloud
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAWSEC2 = "aws_ec2"
|
||||
// AWS Elastic Container Service
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAWSECS = "aws_ecs"
|
||||
// AWS Elastic Kubernetes Service
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAWSEKS = "aws_eks"
|
||||
// AWS Lambda
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAWSLambda = "aws_lambda"
|
||||
// AWS Elastic Beanstalk
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAWSElasticBeanstalk = "aws_elastic_beanstalk"
|
||||
// Azure Virtual Machines
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAzureVM = "azure_vm"
|
||||
// Azure Container Instances
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAzureContainerInstances = "azure_container_instances"
|
||||
// Azure Kubernetes Service
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAzureAKS = "azure_aks"
|
||||
// Azure Functions
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAzureFunctions = "azure_functions"
|
||||
// Azure App Service
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAzureAppService = "azure_app_service"
|
||||
// Google Cloud Compute Engine (GCE)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformGCPComputeEngine = "gcp_compute_engine"
|
||||
// Google Cloud Run
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformGCPCloudRun = "gcp_cloud_run"
|
||||
// Google Cloud Kubernetes Engine (GKE)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformGCPKubernetesEngine = "gcp_kubernetes_engine"
|
||||
// Google Cloud Functions (GCF)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformGCPCloudFunctions = "gcp_cloud_functions"
|
||||
// Google Cloud App Engine (GAE)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformGCPAppEngine = "gcp_app_engine"
|
||||
)
|
||||
|
||||
|
|
@ -118,6 +144,7 @@ const (
|
|||
// Stability: stable
|
||||
// Examples: 'arn:aws:ecs:us-
|
||||
// west-1:123456789123:container/32624152-9086-4f0e-acae-1a75b14fe4d9'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSContainerARN = "aws.ecs.container.arn"
|
||||
// The ARN of an ECS cluster.
|
||||
//
|
||||
|
|
@ -125,12 +152,14 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSClusterARN = "aws.ecs.cluster.arn"
|
||||
// The launch type for an ECS task.
|
||||
//
|
||||
// Type: Enum
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSLaunchtype = "aws.ecs.launchtype"
|
||||
// The ARN of an ECS task definition.
|
||||
//
|
||||
|
|
@ -139,6 +168,7 @@ const (
|
|||
// Stability: stable
|
||||
// Examples: 'arn:aws:ecs:us-
|
||||
// west-1:123456789123:task/10838bed-421f-43ef-870a-f43feacbbb5b'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSTaskARN = "aws.ecs.task.arn"
|
||||
// The task definition family this task definition is a member of.
|
||||
//
|
||||
|
|
@ -146,6 +176,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-family'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSTaskFamily = "aws.ecs.task.family"
|
||||
// The revision for this task definition.
|
||||
//
|
||||
|
|
@ -153,13 +184,16 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '8', '26'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSTaskRevision = "aws.ecs.task.revision"
|
||||
)
|
||||
|
||||
const (
|
||||
// ec2
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSLaunchtypeEC2 = "ec2"
|
||||
// fargate
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSLaunchtypeFargate = "fargate"
|
||||
)
|
||||
|
||||
|
|
@ -171,6 +205,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSEKSClusterARN = "aws.eks.cluster.arn"
|
||||
)
|
||||
|
||||
|
|
@ -185,6 +220,7 @@ const (
|
|||
// Note: Multiple log groups must be supported for cases like multi-container
|
||||
// applications, where a single application has sidecar containers, and each write
|
||||
// to their own log group.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSLogGroupNames = "aws.log.group.names"
|
||||
// The Amazon Resource Name(s) (ARN) of the AWS log group(s).
|
||||
//
|
||||
|
|
@ -193,6 +229,7 @@ const (
|
|||
// Stability: stable
|
||||
// Examples: 'arn:aws:logs:us-west-1:123456789012:log-group:/aws/my/group:*'
|
||||
// Note: See the log group ARN format documentation.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSLogGroupARNs = "aws.log.group.arns"
|
||||
// The name(s) of the AWS log stream(s) an application is writing to.
|
||||
//
|
||||
|
|
@ -200,6 +237,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'logs/main/10838bed-421f-43ef-870a-f43feacbbb5b'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSLogStreamNames = "aws.log.stream.names"
|
||||
// The ARN(s) of the AWS log stream(s).
|
||||
//
|
||||
|
|
@ -211,6 +249,7 @@ const (
|
|||
// Note: See the log stream ARN format documentation. One log group can contain
|
||||
// several log streams, so these ARNs necessarily identify both a log group and a
|
||||
// log stream.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSLogStreamARNs = "aws.log.stream.arns"
|
||||
)
|
||||
|
||||
|
|
@ -222,6 +261,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-autoconf'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeContainerName = "container.name"
|
||||
// Container ID. Usually a UUID, as for example used to identify Docker
|
||||
// containers. The UUID might be abbreviated.
|
||||
|
|
@ -230,6 +270,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'a3bf90e006b2'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeContainerID = "container.id"
|
||||
// The container runtime managing this container.
|
||||
//
|
||||
|
|
@ -237,6 +278,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'docker', 'containerd', 'rkt'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeContainerRuntime = "container.runtime"
|
||||
// Name of the image the container was built on.
|
||||
//
|
||||
|
|
@ -244,6 +286,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'gcr.io/opentelemetry/operator'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeContainerImageName = "container.image.name"
|
||||
// Container image tag.
|
||||
//
|
||||
|
|
@ -251,6 +294,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '0.1'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeContainerImageTag = "container.image.tag"
|
||||
)
|
||||
|
||||
|
|
@ -262,6 +306,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'staging', 'production'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeDeploymentEnvironment = "deployment.environment"
|
||||
)
|
||||
|
||||
|
|
@ -282,6 +327,7 @@ const (
|
|||
// practices and exact implementation details. Caution should be taken when
|
||||
// storing personal data or anything which can identify a user. GDPR and data
|
||||
// protection laws may apply, ensure you do your own due diligence.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeDeviceID = "device.id"
|
||||
// The model identifier for the device
|
||||
//
|
||||
|
|
@ -292,6 +338,7 @@ const (
|
|||
// Note: It's recommended this value represents a machine readable version of the
|
||||
// model identifier rather than the market or consumer-friendly name of the
|
||||
// device.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeDeviceModelIdentifier = "device.model.identifier"
|
||||
// The marketing name for the device model
|
||||
//
|
||||
|
|
@ -301,6 +348,7 @@ const (
|
|||
// Examples: 'iPhone 6s Plus', 'Samsung Galaxy S6'
|
||||
// Note: It's recommended this value represents a human readable version of the
|
||||
// device model rather than a machine readable alternative.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeDeviceModelName = "device.model.name"
|
||||
)
|
||||
|
||||
|
|
@ -315,6 +363,7 @@ const (
|
|||
// Note: This is the name of the function as configured/deployed on the FaaS
|
||||
// platform and is usually different from the name of the callback function (which
|
||||
// may be stored in the code.namespace/code.function span attributes).
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeFaaSName = "faas.name"
|
||||
// The unique ID of the single function that this runtime instance executes.
|
||||
//
|
||||
|
|
@ -338,6 +387,7 @@ const (
|
|||
// part of the ARN is not available without calling another AWS API
|
||||
// which may be deemed too slow for a short-running lambda function.
|
||||
// As an alternative, consider setting faas.id as a span attribute instead.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeFaaSID = "faas.id"
|
||||
// The immutable version of the function being executed.
|
||||
//
|
||||
|
|
@ -354,6 +404,7 @@ const (
|
|||
// K_REVISION environment variable.</li>
|
||||
// <li>Azure Functions: Not applicable. Do not set this attribute.</li>
|
||||
// </ul>
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeFaaSVersion = "faas.version"
|
||||
// The execution environment ID as a string, that will be potentially reused for
|
||||
// other invocations to the same function/function version.
|
||||
|
|
@ -365,6 +416,7 @@ const (
|
|||
// Note: <ul>
|
||||
// <li>AWS Lambda: Use the (full) log stream name.</li>
|
||||
// </ul>
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeFaaSInstance = "faas.instance"
|
||||
// The amount of memory available to the serverless function in MiB.
|
||||
//
|
||||
|
|
@ -376,6 +428,7 @@ const (
|
|||
// easily stop a Java AWS Lambda function from working correctly. On AWS Lambda,
|
||||
// the environment variable AWS_LAMBDA_FUNCTION_MEMORY_SIZE provides this
|
||||
// information.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeFaaSMaxMemory = "faas.max_memory"
|
||||
)
|
||||
|
||||
|
|
@ -388,6 +441,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-test'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostID = "host.id"
|
||||
// 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
|
||||
|
|
@ -397,6 +451,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-test'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostName = "host.name"
|
||||
// Type of host. For Cloud, this must be the machine type.
|
||||
//
|
||||
|
|
@ -404,12 +459,14 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'n1-standard-1'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostType = "host.type"
|
||||
// The CPU architecture the host system is running on.
|
||||
//
|
||||
// Type: Enum
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArch = "host.arch"
|
||||
// Name of the VM image or OS install the host was instantiated from.
|
||||
//
|
||||
|
|
@ -417,6 +474,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'infra-ami-eks-worker-node-7d4ec78312', 'CentOS-8-x86_64-1905'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostImageName = "host.image.name"
|
||||
// VM image ID. For Cloud, this value is from the provider.
|
||||
//
|
||||
|
|
@ -424,6 +482,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'ami-07b06b442921831e5'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostImageID = "host.image.id"
|
||||
// The version string of the VM image as defined in Version Attributes.
|
||||
//
|
||||
|
|
@ -431,23 +490,31 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '0.1'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostImageVersion = "host.image.version"
|
||||
)
|
||||
|
||||
const (
|
||||
// AMD64
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchAMD64 = "amd64"
|
||||
// ARM32
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchARM32 = "arm32"
|
||||
// ARM64
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchARM64 = "arm64"
|
||||
// Itanium
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchIA64 = "ia64"
|
||||
// 32-bit PowerPC
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchPPC32 = "ppc32"
|
||||
// 64-bit PowerPC
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchPPC64 = "ppc64"
|
||||
// 32-bit x86
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchX86 = "x86"
|
||||
)
|
||||
|
||||
|
|
@ -459,6 +526,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-cluster'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SClusterName = "k8s.cluster.name"
|
||||
)
|
||||
|
||||
|
|
@ -470,6 +538,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'node-1'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SNodeName = "k8s.node.name"
|
||||
// The UID of the Node.
|
||||
//
|
||||
|
|
@ -477,6 +546,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '1eb3a0c6-0477-4080-a9cb-0cb7db65c6a2'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SNodeUID = "k8s.node.uid"
|
||||
)
|
||||
|
||||
|
|
@ -488,6 +558,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'default'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SNamespaceName = "k8s.namespace.name"
|
||||
)
|
||||
|
||||
|
|
@ -499,6 +570,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SPodUID = "k8s.pod.uid"
|
||||
// The name of the Pod.
|
||||
//
|
||||
|
|
@ -506,6 +578,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-pod-autoconf'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SPodName = "k8s.pod.name"
|
||||
)
|
||||
|
||||
|
|
@ -517,6 +590,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'redis'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SContainerName = "k8s.container.name"
|
||||
)
|
||||
|
||||
|
|
@ -528,6 +602,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SReplicaSetUID = "k8s.replicaset.uid"
|
||||
// The name of the ReplicaSet.
|
||||
//
|
||||
|
|
@ -535,6 +610,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SReplicaSetName = "k8s.replicaset.name"
|
||||
)
|
||||
|
||||
|
|
@ -546,6 +622,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SDeploymentUID = "k8s.deployment.uid"
|
||||
// The name of the Deployment.
|
||||
//
|
||||
|
|
@ -553,6 +630,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SDeploymentName = "k8s.deployment.name"
|
||||
)
|
||||
|
||||
|
|
@ -564,6 +642,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SStatefulSetUID = "k8s.statefulset.uid"
|
||||
// The name of the StatefulSet.
|
||||
//
|
||||
|
|
@ -571,6 +650,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SStatefulSetName = "k8s.statefulset.name"
|
||||
)
|
||||
|
||||
|
|
@ -582,6 +662,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SDaemonSetUID = "k8s.daemonset.uid"
|
||||
// The name of the DaemonSet.
|
||||
//
|
||||
|
|
@ -589,6 +670,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SDaemonSetName = "k8s.daemonset.name"
|
||||
)
|
||||
|
||||
|
|
@ -600,6 +682,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SJobUID = "k8s.job.uid"
|
||||
// The name of the Job.
|
||||
//
|
||||
|
|
@ -607,6 +690,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SJobName = "k8s.job.name"
|
||||
)
|
||||
|
||||
|
|
@ -618,6 +702,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SCronJobUID = "k8s.cronjob.uid"
|
||||
// The name of the CronJob.
|
||||
//
|
||||
|
|
@ -625,6 +710,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SCronJobName = "k8s.cronjob.name"
|
||||
)
|
||||
|
||||
|
|
@ -635,6 +721,7 @@ const (
|
|||
// Type: Enum
|
||||
// Required: Always
|
||||
// Stability: stable
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSType = "os.type"
|
||||
// Human readable (not intended to be parsed) OS version information, like e.g.
|
||||
// reported by ver or lsb_release -a commands.
|
||||
|
|
@ -643,6 +730,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'Microsoft Windows [Version 10.0.18363.778]', 'Ubuntu 18.04.1 LTS'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSDescription = "os.description"
|
||||
// Human readable operating system name.
|
||||
//
|
||||
|
|
@ -650,6 +738,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'iOS', 'Android', 'Ubuntu'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSName = "os.name"
|
||||
// The version string of the operating system as defined in Version Attributes.
|
||||
//
|
||||
|
|
@ -657,31 +746,43 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '14.2.1', '18.04.1'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSVersion = "os.version"
|
||||
)
|
||||
|
||||
const (
|
||||
// Microsoft Windows
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeWindows = "windows"
|
||||
// Linux
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeLinux = "linux"
|
||||
// Apple Darwin
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeDarwin = "darwin"
|
||||
// FreeBSD
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeFreeBSD = "freebsd"
|
||||
// NetBSD
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeNetBSD = "netbsd"
|
||||
// OpenBSD
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeOpenBSD = "openbsd"
|
||||
// DragonFly BSD
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeDragonflyBSD = "dragonflybsd"
|
||||
// HP-UX (Hewlett Packard Unix)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeHPUX = "hpux"
|
||||
// AIX (Advanced Interactive eXecutive)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeAIX = "aix"
|
||||
// Oracle Solaris
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeSolaris = "solaris"
|
||||
// IBM z/OS
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeZOS = "z_os"
|
||||
)
|
||||
|
||||
|
|
@ -693,6 +794,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 1234
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessPID = "process.pid"
|
||||
// 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
|
||||
|
|
@ -702,6 +804,7 @@ const (
|
|||
// Required: See below
|
||||
// Stability: stable
|
||||
// Examples: 'otelcol'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessExecutableName = "process.executable.name"
|
||||
// The full path to the process executable. On Linux based systems, can be set to
|
||||
// the target of proc/[pid]/exe. On Windows, can be set to the result of
|
||||
|
|
@ -711,6 +814,7 @@ const (
|
|||
// Required: See below
|
||||
// Stability: stable
|
||||
// Examples: '/usr/bin/cmd/otelcol'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessExecutablePath = "process.executable.path"
|
||||
// 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
|
||||
|
|
@ -720,6 +824,7 @@ const (
|
|||
// Required: See below
|
||||
// Stability: stable
|
||||
// Examples: 'cmd/otelcol'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessCommand = "process.command"
|
||||
// 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
|
||||
|
|
@ -730,6 +835,7 @@ const (
|
|||
// Required: See below
|
||||
// Stability: stable
|
||||
// Examples: 'C:\\cmd\\otecol --config="my directory\\config.yaml"'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessCommandLine = "process.command_line"
|
||||
// All the command arguments (including the command/executable itself) as received
|
||||
// by the process. On Linux-based systems (and some other Unixoid systems
|
||||
|
|
@ -741,6 +847,7 @@ const (
|
|||
// Required: See below
|
||||
// Stability: stable
|
||||
// Examples: 'cmd/otecol', '--config=config.yaml'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessCommandArgs = "process.command_args"
|
||||
// The username of the user that owns the process.
|
||||
//
|
||||
|
|
@ -748,6 +855,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'root'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessOwner = "process.owner"
|
||||
)
|
||||
|
||||
|
|
@ -760,6 +868,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'OpenJDK Runtime Environment'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessRuntimeName = "process.runtime.name"
|
||||
// The version of the runtime of this process, as returned by the runtime without
|
||||
// modification.
|
||||
|
|
@ -768,6 +877,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '14.0.2'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessRuntimeVersion = "process.runtime.version"
|
||||
// An additional description about the runtime of the process, for example a
|
||||
// specific vendor customization of the runtime environment.
|
||||
|
|
@ -776,6 +886,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'Eclipse OpenJ9 Eclipse OpenJ9 VM openj9-0.21.0'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessRuntimeDescription = "process.runtime.description"
|
||||
)
|
||||
|
||||
|
|
@ -792,6 +903,7 @@ const (
|
|||
// concatenated with process.executable.name, e.g. unknown_service:bash. If
|
||||
// process.executable.name is not available, the value MUST be set to
|
||||
// unknown_service.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeServiceName = "service.name"
|
||||
// A namespace for service.name.
|
||||
//
|
||||
|
|
@ -806,6 +918,7 @@ const (
|
|||
// services that have no explicit namespace defined (so the empty/unspecified
|
||||
// namespace is simply one more valid namespace). Zero-length namespace string is
|
||||
// assumed equal to unspecified namespace.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeServiceNamespace = "service.namespace"
|
||||
// The string ID of the service instance.
|
||||
//
|
||||
|
|
@ -825,6 +938,7 @@ const (
|
|||
// value of this attribute it is recommended to generate a random Version 1 or
|
||||
// Version 4 RFC 4122 UUID (services aiming for reproducible UUIDs may also use
|
||||
// Version 5, see RFC 4122 for more recommendations).
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeServiceInstanceID = "service.instance.id"
|
||||
// The version string of the service API or implementation.
|
||||
//
|
||||
|
|
@ -832,6 +946,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '2.0.0'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeServiceVersion = "service.version"
|
||||
)
|
||||
|
||||
|
|
@ -843,12 +958,14 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKName = "telemetry.sdk.name"
|
||||
// The language of the telemetry SDK.
|
||||
//
|
||||
// Type: Enum
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguage = "telemetry.sdk.language"
|
||||
// The version string of the telemetry SDK.
|
||||
//
|
||||
|
|
@ -856,6 +973,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '1.2.3'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKVersion = "telemetry.sdk.version"
|
||||
// The version string of the auto instrumentation agent, if used.
|
||||
//
|
||||
|
|
@ -863,29 +981,40 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '1.2.3'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetryAutoVersion = "telemetry.auto.version"
|
||||
)
|
||||
|
||||
const (
|
||||
// cpp
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageCPP = "cpp"
|
||||
// dotnet
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageDotnet = "dotnet"
|
||||
// erlang
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageErlang = "erlang"
|
||||
// go
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageGo = "go"
|
||||
// java
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageJava = "java"
|
||||
// nodejs
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageNodejs = "nodejs"
|
||||
// php
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguagePHP = "php"
|
||||
// python
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguagePython = "python"
|
||||
// ruby
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageRuby = "ruby"
|
||||
// webjs
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageWebjs = "webjs"
|
||||
)
|
||||
|
||||
|
|
@ -897,6 +1026,7 @@ const (
|
|||
// Required: Always
|
||||
// Stability: stable
|
||||
// Examples: 'WildFly'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeWebEngineName = "webengine.name"
|
||||
// The version of the web engine.
|
||||
//
|
||||
|
|
@ -904,6 +1034,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '21.0.0'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeWebEngineVersion = "webengine.version"
|
||||
// Additional description of the web engine (e.g. detailed version and edition
|
||||
// information).
|
||||
|
|
@ -912,9 +1043,11 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'WildFly Full 21.0.0.Final (WildFly Core 13.0.1.Final) - 2.2.2.Final'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeWebEngineDescription = "webengine.description"
|
||||
)
|
||||
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
func GetResourceSemanticConventionAttributeNames() []string {
|
||||
return []string{
|
||||
AttributeCloudProvider,
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -15,8 +15,12 @@
|
|||
package semconv // import "go.opentelemetry.io/collector/model/semconv/v1.7.0"
|
||||
|
||||
const (
|
||||
OtelLibraryName = "otel.library.name"
|
||||
OtelLibraryVersion = "otel.library.version"
|
||||
OtelStatusCode = "otel.status_code"
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
OtelLibraryName = "otel.library.name"
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
OtelLibraryVersion = "otel.library.version"
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
OtelStatusCode = "otel.status_code"
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
OtelStatusDescription = "otel.status_description"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -17,4 +17,5 @@ package semconv // import "go.opentelemetry.io/collector/model/semconv/v1.7.0"
|
|||
// SchemaURL is the schema URL that matches the version of the semantic conventions
|
||||
// that this package defines. Conventions packages starting from v1.4.0 must declare
|
||||
// non-empty schema URL in the form https://opentelemetry.io/schemas/<version>
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
const SchemaURL = "https://opentelemetry.io/schemas/1.7.0"
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ const (
|
|||
// Type: Enum
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudProvider = "cloud.provider"
|
||||
// The cloud account ID the resource is assigned to.
|
||||
//
|
||||
|
|
@ -30,6 +31,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '111111111111', 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudAccountID = "cloud.account.id"
|
||||
// The geographical region the resource is running.
|
||||
//
|
||||
|
|
@ -40,6 +42,7 @@ const (
|
|||
// Note: Refer to your provider's docs to see the available regions, for example
|
||||
// Alibaba Cloud regions, AWS regions, Azure regions, Google Cloud regions, or
|
||||
// Tencent Cloud regions.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudRegion = "cloud.region"
|
||||
// Cloud regions often have multiple, isolated locations known as zones to
|
||||
// increase availability. Availability zone represents the zone where the resource
|
||||
|
|
@ -51,6 +54,7 @@ const (
|
|||
// Examples: 'us-east-1c'
|
||||
// Note: Availability zones are called "zones" on Alibaba Cloud and
|
||||
// Google Cloud.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudAvailabilityZone = "cloud.availability_zone"
|
||||
// The cloud platform in use.
|
||||
//
|
||||
|
|
@ -59,64 +63,91 @@ const (
|
|||
// Stability: stable
|
||||
// Note: The prefix of the service SHOULD match the one specified in
|
||||
// cloud.provider.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatform = "cloud.platform"
|
||||
)
|
||||
|
||||
const (
|
||||
// Alibaba Cloud
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudProviderAlibabaCloud = "alibaba_cloud"
|
||||
// Amazon Web Services
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudProviderAWS = "aws"
|
||||
// Microsoft Azure
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudProviderAzure = "azure"
|
||||
// Google Cloud Platform
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudProviderGCP = "gcp"
|
||||
// Tencent Cloud
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudProviderTencentCloud = "tencent_cloud"
|
||||
)
|
||||
|
||||
const (
|
||||
// Alibaba Cloud Elastic Compute Service
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAlibabaCloudECS = "alibaba_cloud_ecs"
|
||||
// Alibaba Cloud Function Compute
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAlibabaCloudFc = "alibaba_cloud_fc"
|
||||
// AWS Elastic Compute Cloud
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAWSEC2 = "aws_ec2"
|
||||
// AWS Elastic Container Service
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAWSECS = "aws_ecs"
|
||||
// AWS Elastic Kubernetes Service
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAWSEKS = "aws_eks"
|
||||
// AWS Lambda
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAWSLambda = "aws_lambda"
|
||||
// AWS Elastic Beanstalk
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAWSElasticBeanstalk = "aws_elastic_beanstalk"
|
||||
// AWS App Runner
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAWSAppRunner = "aws_app_runner"
|
||||
// Azure Virtual Machines
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAzureVM = "azure_vm"
|
||||
// Azure Container Instances
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAzureContainerInstances = "azure_container_instances"
|
||||
// Azure Kubernetes Service
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAzureAKS = "azure_aks"
|
||||
// Azure Functions
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAzureFunctions = "azure_functions"
|
||||
// Azure App Service
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAzureAppService = "azure_app_service"
|
||||
// Google Cloud Compute Engine (GCE)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformGCPComputeEngine = "gcp_compute_engine"
|
||||
// Google Cloud Run
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformGCPCloudRun = "gcp_cloud_run"
|
||||
// Google Cloud Kubernetes Engine (GKE)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformGCPKubernetesEngine = "gcp_kubernetes_engine"
|
||||
// Google Cloud Functions (GCF)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformGCPCloudFunctions = "gcp_cloud_functions"
|
||||
// Google Cloud App Engine (GAE)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformGCPAppEngine = "gcp_app_engine"
|
||||
// Tencent Cloud Cloud Virtual Machine (CVM)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformTencentCloudCvm = "tencent_cloud_cvm"
|
||||
// Tencent Cloud Elastic Kubernetes Service (EKS)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformTencentCloudEKS = "tencent_cloud_eks"
|
||||
// Tencent Cloud Serverless Cloud Function (SCF)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformTencentCloudScf = "tencent_cloud_scf"
|
||||
)
|
||||
|
||||
|
|
@ -129,6 +160,7 @@ const (
|
|||
// Stability: stable
|
||||
// Examples: 'arn:aws:ecs:us-
|
||||
// west-1:123456789123:container/32624152-9086-4f0e-acae-1a75b14fe4d9'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSContainerARN = "aws.ecs.container.arn"
|
||||
// The ARN of an ECS cluster.
|
||||
//
|
||||
|
|
@ -136,12 +168,14 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSClusterARN = "aws.ecs.cluster.arn"
|
||||
// The launch type for an ECS task.
|
||||
//
|
||||
// Type: Enum
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSLaunchtype = "aws.ecs.launchtype"
|
||||
// The ARN of an ECS task definition.
|
||||
//
|
||||
|
|
@ -150,6 +184,7 @@ const (
|
|||
// Stability: stable
|
||||
// Examples: 'arn:aws:ecs:us-
|
||||
// west-1:123456789123:task/10838bed-421f-43ef-870a-f43feacbbb5b'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSTaskARN = "aws.ecs.task.arn"
|
||||
// The task definition family this task definition is a member of.
|
||||
//
|
||||
|
|
@ -157,6 +192,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-family'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSTaskFamily = "aws.ecs.task.family"
|
||||
// The revision for this task definition.
|
||||
//
|
||||
|
|
@ -164,13 +200,16 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '8', '26'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSTaskRevision = "aws.ecs.task.revision"
|
||||
)
|
||||
|
||||
const (
|
||||
// ec2
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSLaunchtypeEC2 = "ec2"
|
||||
// fargate
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSLaunchtypeFargate = "fargate"
|
||||
)
|
||||
|
||||
|
|
@ -182,6 +221,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSEKSClusterARN = "aws.eks.cluster.arn"
|
||||
)
|
||||
|
||||
|
|
@ -196,6 +236,7 @@ const (
|
|||
// Note: Multiple log groups must be supported for cases like multi-container
|
||||
// applications, where a single application has sidecar containers, and each write
|
||||
// to their own log group.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSLogGroupNames = "aws.log.group.names"
|
||||
// The Amazon Resource Name(s) (ARN) of the AWS log group(s).
|
||||
//
|
||||
|
|
@ -204,6 +245,7 @@ const (
|
|||
// Stability: stable
|
||||
// Examples: 'arn:aws:logs:us-west-1:123456789012:log-group:/aws/my/group:*'
|
||||
// Note: See the log group ARN format documentation.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSLogGroupARNs = "aws.log.group.arns"
|
||||
// The name(s) of the AWS log stream(s) an application is writing to.
|
||||
//
|
||||
|
|
@ -211,6 +253,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'logs/main/10838bed-421f-43ef-870a-f43feacbbb5b'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSLogStreamNames = "aws.log.stream.names"
|
||||
// The ARN(s) of the AWS log stream(s).
|
||||
//
|
||||
|
|
@ -222,6 +265,7 @@ const (
|
|||
// Note: See the log stream ARN format documentation. One log group can contain
|
||||
// several log streams, so these ARNs necessarily identify both a log group and a
|
||||
// log stream.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSLogStreamARNs = "aws.log.stream.arns"
|
||||
)
|
||||
|
||||
|
|
@ -233,6 +277,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-autoconf'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeContainerName = "container.name"
|
||||
// Container ID. Usually a UUID, as for example used to identify Docker
|
||||
// containers. The UUID might be abbreviated.
|
||||
|
|
@ -241,6 +286,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'a3bf90e006b2'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeContainerID = "container.id"
|
||||
// The container runtime managing this container.
|
||||
//
|
||||
|
|
@ -248,6 +294,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'docker', 'containerd', 'rkt'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeContainerRuntime = "container.runtime"
|
||||
// Name of the image the container was built on.
|
||||
//
|
||||
|
|
@ -255,6 +302,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'gcr.io/opentelemetry/operator'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeContainerImageName = "container.image.name"
|
||||
// Container image tag.
|
||||
//
|
||||
|
|
@ -262,6 +310,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '0.1'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeContainerImageTag = "container.image.tag"
|
||||
)
|
||||
|
||||
|
|
@ -273,6 +322,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'staging', 'production'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeDeploymentEnvironment = "deployment.environment"
|
||||
)
|
||||
|
||||
|
|
@ -293,6 +343,7 @@ const (
|
|||
// practices and exact implementation details. Caution should be taken when
|
||||
// storing personal data or anything which can identify a user. GDPR and data
|
||||
// protection laws may apply, ensure you do your own due diligence.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeDeviceID = "device.id"
|
||||
// The model identifier for the device
|
||||
//
|
||||
|
|
@ -303,6 +354,7 @@ const (
|
|||
// Note: It's recommended this value represents a machine readable version of the
|
||||
// model identifier rather than the market or consumer-friendly name of the
|
||||
// device.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeDeviceModelIdentifier = "device.model.identifier"
|
||||
// The marketing name for the device model
|
||||
//
|
||||
|
|
@ -312,6 +364,7 @@ const (
|
|||
// Examples: 'iPhone 6s Plus', 'Samsung Galaxy S6'
|
||||
// Note: It's recommended this value represents a human readable version of the
|
||||
// device model rather than a machine readable alternative.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeDeviceModelName = "device.model.name"
|
||||
)
|
||||
|
||||
|
|
@ -326,6 +379,7 @@ const (
|
|||
// Note: This is the name of the function as configured/deployed on the FaaS
|
||||
// platform and is usually different from the name of the callback function (which
|
||||
// may be stored in the code.namespace/code.function span attributes).
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeFaaSName = "faas.name"
|
||||
// The unique ID of the single function that this runtime instance executes.
|
||||
//
|
||||
|
|
@ -349,6 +403,7 @@ const (
|
|||
// part of the ARN is not available without calling another AWS API
|
||||
// which may be deemed too slow for a short-running lambda function.
|
||||
// As an alternative, consider setting faas.id as a span attribute instead.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeFaaSID = "faas.id"
|
||||
// The immutable version of the function being executed.
|
||||
//
|
||||
|
|
@ -365,6 +420,7 @@ const (
|
|||
// K_REVISION environment variable.</li>
|
||||
// <li>Azure Functions: Not applicable. Do not set this attribute.</li>
|
||||
// </ul>
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeFaaSVersion = "faas.version"
|
||||
// The execution environment ID as a string, that will be potentially reused for
|
||||
// other invocations to the same function/function version.
|
||||
|
|
@ -376,6 +432,7 @@ const (
|
|||
// Note: <ul>
|
||||
// <li>AWS Lambda: Use the (full) log stream name.</li>
|
||||
// </ul>
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeFaaSInstance = "faas.instance"
|
||||
// The amount of memory available to the serverless function in MiB.
|
||||
//
|
||||
|
|
@ -387,6 +444,7 @@ const (
|
|||
// easily stop a Java AWS Lambda function from working correctly. On AWS Lambda,
|
||||
// the environment variable AWS_LAMBDA_FUNCTION_MEMORY_SIZE provides this
|
||||
// information.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeFaaSMaxMemory = "faas.max_memory"
|
||||
)
|
||||
|
||||
|
|
@ -399,6 +457,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-test'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostID = "host.id"
|
||||
// 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
|
||||
|
|
@ -408,6 +467,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-test'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostName = "host.name"
|
||||
// Type of host. For Cloud, this must be the machine type.
|
||||
//
|
||||
|
|
@ -415,12 +475,14 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'n1-standard-1'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostType = "host.type"
|
||||
// The CPU architecture the host system is running on.
|
||||
//
|
||||
// Type: Enum
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArch = "host.arch"
|
||||
// Name of the VM image or OS install the host was instantiated from.
|
||||
//
|
||||
|
|
@ -428,6 +490,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'infra-ami-eks-worker-node-7d4ec78312', 'CentOS-8-x86_64-1905'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostImageName = "host.image.name"
|
||||
// VM image ID. For Cloud, this value is from the provider.
|
||||
//
|
||||
|
|
@ -435,6 +498,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'ami-07b06b442921831e5'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostImageID = "host.image.id"
|
||||
// The version string of the VM image as defined in Version Attributes.
|
||||
//
|
||||
|
|
@ -442,25 +506,34 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '0.1'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostImageVersion = "host.image.version"
|
||||
)
|
||||
|
||||
const (
|
||||
// AMD64
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchAMD64 = "amd64"
|
||||
// ARM32
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchARM32 = "arm32"
|
||||
// ARM64
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchARM64 = "arm64"
|
||||
// Itanium
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchIA64 = "ia64"
|
||||
// 32-bit PowerPC
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchPPC32 = "ppc32"
|
||||
// 64-bit PowerPC
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchPPC64 = "ppc64"
|
||||
// IBM z/Architecture
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchS390x = "s390x"
|
||||
// 32-bit x86
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchX86 = "x86"
|
||||
)
|
||||
|
||||
|
|
@ -472,6 +545,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-cluster'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SClusterName = "k8s.cluster.name"
|
||||
)
|
||||
|
||||
|
|
@ -483,6 +557,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'node-1'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SNodeName = "k8s.node.name"
|
||||
// The UID of the Node.
|
||||
//
|
||||
|
|
@ -490,6 +565,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '1eb3a0c6-0477-4080-a9cb-0cb7db65c6a2'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SNodeUID = "k8s.node.uid"
|
||||
)
|
||||
|
||||
|
|
@ -501,6 +577,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'default'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SNamespaceName = "k8s.namespace.name"
|
||||
)
|
||||
|
||||
|
|
@ -512,6 +589,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SPodUID = "k8s.pod.uid"
|
||||
// The name of the Pod.
|
||||
//
|
||||
|
|
@ -519,6 +597,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-pod-autoconf'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SPodName = "k8s.pod.name"
|
||||
)
|
||||
|
||||
|
|
@ -531,6 +610,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'redis'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SContainerName = "k8s.container.name"
|
||||
// Number of times the container was restarted. This attribute can be used to
|
||||
// identify a particular container (running or stopped) within a container spec.
|
||||
|
|
@ -539,6 +619,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 0, 2
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SContainerRestartCount = "k8s.container.restart_count"
|
||||
)
|
||||
|
||||
|
|
@ -550,6 +631,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SReplicaSetUID = "k8s.replicaset.uid"
|
||||
// The name of the ReplicaSet.
|
||||
//
|
||||
|
|
@ -557,6 +639,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SReplicaSetName = "k8s.replicaset.name"
|
||||
)
|
||||
|
||||
|
|
@ -568,6 +651,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SDeploymentUID = "k8s.deployment.uid"
|
||||
// The name of the Deployment.
|
||||
//
|
||||
|
|
@ -575,6 +659,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SDeploymentName = "k8s.deployment.name"
|
||||
)
|
||||
|
||||
|
|
@ -586,6 +671,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SStatefulSetUID = "k8s.statefulset.uid"
|
||||
// The name of the StatefulSet.
|
||||
//
|
||||
|
|
@ -593,6 +679,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SStatefulSetName = "k8s.statefulset.name"
|
||||
)
|
||||
|
||||
|
|
@ -604,6 +691,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SDaemonSetUID = "k8s.daemonset.uid"
|
||||
// The name of the DaemonSet.
|
||||
//
|
||||
|
|
@ -611,6 +699,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SDaemonSetName = "k8s.daemonset.name"
|
||||
)
|
||||
|
||||
|
|
@ -622,6 +711,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SJobUID = "k8s.job.uid"
|
||||
// The name of the Job.
|
||||
//
|
||||
|
|
@ -629,6 +719,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SJobName = "k8s.job.name"
|
||||
)
|
||||
|
||||
|
|
@ -640,6 +731,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SCronJobUID = "k8s.cronjob.uid"
|
||||
// The name of the CronJob.
|
||||
//
|
||||
|
|
@ -647,6 +739,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SCronJobName = "k8s.cronjob.name"
|
||||
)
|
||||
|
||||
|
|
@ -657,6 +750,7 @@ const (
|
|||
// Type: Enum
|
||||
// Required: Always
|
||||
// Stability: stable
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSType = "os.type"
|
||||
// Human readable (not intended to be parsed) OS version information, like e.g.
|
||||
// reported by ver or lsb_release -a commands.
|
||||
|
|
@ -665,6 +759,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'Microsoft Windows [Version 10.0.18363.778]', 'Ubuntu 18.04.1 LTS'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSDescription = "os.description"
|
||||
// Human readable operating system name.
|
||||
//
|
||||
|
|
@ -672,6 +767,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'iOS', 'Android', 'Ubuntu'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSName = "os.name"
|
||||
// The version string of the operating system as defined in Version Attributes.
|
||||
//
|
||||
|
|
@ -679,31 +775,43 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '14.2.1', '18.04.1'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSVersion = "os.version"
|
||||
)
|
||||
|
||||
const (
|
||||
// Microsoft Windows
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeWindows = "windows"
|
||||
// Linux
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeLinux = "linux"
|
||||
// Apple Darwin
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeDarwin = "darwin"
|
||||
// FreeBSD
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeFreeBSD = "freebsd"
|
||||
// NetBSD
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeNetBSD = "netbsd"
|
||||
// OpenBSD
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeOpenBSD = "openbsd"
|
||||
// DragonFly BSD
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeDragonflyBSD = "dragonflybsd"
|
||||
// HP-UX (Hewlett Packard Unix)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeHPUX = "hpux"
|
||||
// AIX (Advanced Interactive eXecutive)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeAIX = "aix"
|
||||
// Oracle Solaris
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeSolaris = "solaris"
|
||||
// IBM z/OS
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeZOS = "z_os"
|
||||
)
|
||||
|
||||
|
|
@ -715,6 +823,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 1234
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessPID = "process.pid"
|
||||
// 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
|
||||
|
|
@ -724,6 +833,7 @@ const (
|
|||
// Required: See below
|
||||
// Stability: stable
|
||||
// Examples: 'otelcol'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessExecutableName = "process.executable.name"
|
||||
// The full path to the process executable. On Linux based systems, can be set to
|
||||
// the target of proc/[pid]/exe. On Windows, can be set to the result of
|
||||
|
|
@ -733,6 +843,7 @@ const (
|
|||
// Required: See below
|
||||
// Stability: stable
|
||||
// Examples: '/usr/bin/cmd/otelcol'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessExecutablePath = "process.executable.path"
|
||||
// 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
|
||||
|
|
@ -742,6 +853,7 @@ const (
|
|||
// Required: See below
|
||||
// Stability: stable
|
||||
// Examples: 'cmd/otelcol'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessCommand = "process.command"
|
||||
// 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
|
||||
|
|
@ -752,6 +864,7 @@ const (
|
|||
// Required: See below
|
||||
// Stability: stable
|
||||
// Examples: 'C:\\cmd\\otecol --config="my directory\\config.yaml"'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessCommandLine = "process.command_line"
|
||||
// All the command arguments (including the command/executable itself) as received
|
||||
// by the process. On Linux-based systems (and some other Unixoid systems
|
||||
|
|
@ -763,6 +876,7 @@ const (
|
|||
// Required: See below
|
||||
// Stability: stable
|
||||
// Examples: 'cmd/otecol', '--config=config.yaml'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessCommandArgs = "process.command_args"
|
||||
// The username of the user that owns the process.
|
||||
//
|
||||
|
|
@ -770,6 +884,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'root'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessOwner = "process.owner"
|
||||
)
|
||||
|
||||
|
|
@ -782,6 +897,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'OpenJDK Runtime Environment'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessRuntimeName = "process.runtime.name"
|
||||
// The version of the runtime of this process, as returned by the runtime without
|
||||
// modification.
|
||||
|
|
@ -790,6 +906,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '14.0.2'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessRuntimeVersion = "process.runtime.version"
|
||||
// An additional description about the runtime of the process, for example a
|
||||
// specific vendor customization of the runtime environment.
|
||||
|
|
@ -798,6 +915,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'Eclipse OpenJ9 Eclipse OpenJ9 VM openj9-0.21.0'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessRuntimeDescription = "process.runtime.description"
|
||||
)
|
||||
|
||||
|
|
@ -814,6 +932,7 @@ const (
|
|||
// concatenated with process.executable.name, e.g. unknown_service:bash. If
|
||||
// process.executable.name is not available, the value MUST be set to
|
||||
// unknown_service.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeServiceName = "service.name"
|
||||
// A namespace for service.name.
|
||||
//
|
||||
|
|
@ -828,6 +947,7 @@ const (
|
|||
// services that have no explicit namespace defined (so the empty/unspecified
|
||||
// namespace is simply one more valid namespace). Zero-length namespace string is
|
||||
// assumed equal to unspecified namespace.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeServiceNamespace = "service.namespace"
|
||||
// The string ID of the service instance.
|
||||
//
|
||||
|
|
@ -847,6 +967,7 @@ const (
|
|||
// value of this attribute it is recommended to generate a random Version 1 or
|
||||
// Version 4 RFC 4122 UUID (services aiming for reproducible UUIDs may also use
|
||||
// Version 5, see RFC 4122 for more recommendations).
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeServiceInstanceID = "service.instance.id"
|
||||
// The version string of the service API or implementation.
|
||||
//
|
||||
|
|
@ -854,6 +975,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '2.0.0'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeServiceVersion = "service.version"
|
||||
)
|
||||
|
||||
|
|
@ -865,12 +987,14 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKName = "telemetry.sdk.name"
|
||||
// The language of the telemetry SDK.
|
||||
//
|
||||
// Type: Enum
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguage = "telemetry.sdk.language"
|
||||
// The version string of the telemetry SDK.
|
||||
//
|
||||
|
|
@ -878,6 +1002,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '1.2.3'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKVersion = "telemetry.sdk.version"
|
||||
// The version string of the auto instrumentation agent, if used.
|
||||
//
|
||||
|
|
@ -885,31 +1010,43 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '1.2.3'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetryAutoVersion = "telemetry.auto.version"
|
||||
)
|
||||
|
||||
const (
|
||||
// cpp
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageCPP = "cpp"
|
||||
// dotnet
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageDotnet = "dotnet"
|
||||
// erlang
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageErlang = "erlang"
|
||||
// go
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageGo = "go"
|
||||
// java
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageJava = "java"
|
||||
// nodejs
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageNodejs = "nodejs"
|
||||
// php
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguagePHP = "php"
|
||||
// python
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguagePython = "python"
|
||||
// ruby
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageRuby = "ruby"
|
||||
// webjs
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageWebjs = "webjs"
|
||||
// swift
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageSwift = "swift"
|
||||
)
|
||||
|
||||
|
|
@ -921,6 +1058,7 @@ const (
|
|||
// Required: Always
|
||||
// Stability: stable
|
||||
// Examples: 'WildFly'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeWebEngineName = "webengine.name"
|
||||
// The version of the web engine.
|
||||
//
|
||||
|
|
@ -928,6 +1066,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '21.0.0'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeWebEngineVersion = "webengine.version"
|
||||
// Additional description of the web engine (e.g. detailed version and edition
|
||||
// information).
|
||||
|
|
@ -936,9 +1075,11 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'WildFly Full 21.0.0.Final (WildFly Core 13.0.1.Final) - 2.2.2.Final'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeWebEngineDescription = "webengine.description"
|
||||
)
|
||||
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
func GetResourceSemanticConventionAttributeNames() []string {
|
||||
return []string{
|
||||
AttributeCloudProvider,
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -15,8 +15,12 @@
|
|||
package semconv // import "go.opentelemetry.io/collector/model/semconv/v1.8.0"
|
||||
|
||||
const (
|
||||
OtelLibraryName = "otel.library.name"
|
||||
OtelLibraryVersion = "otel.library.version"
|
||||
OtelStatusCode = "otel.status_code"
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
OtelLibraryName = "otel.library.name"
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
OtelLibraryVersion = "otel.library.version"
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
OtelStatusCode = "otel.status_code"
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
OtelStatusDescription = "otel.status_description"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -17,4 +17,5 @@ package semconv // import "go.opentelemetry.io/collector/model/semconv/v1.8.0"
|
|||
// SchemaURL is the schema URL that matches the version of the semantic conventions
|
||||
// that this package defines. Conventions packages starting from v1.4.0 must declare
|
||||
// non-empty schema URL in the form https://opentelemetry.io/schemas/<version>
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
const SchemaURL = "https://opentelemetry.io/schemas/1.8.0"
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ const (
|
|||
// Type: Enum
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudProvider = "cloud.provider"
|
||||
// The cloud account ID the resource is assigned to.
|
||||
//
|
||||
|
|
@ -30,6 +31,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '111111111111', 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudAccountID = "cloud.account.id"
|
||||
// The geographical region the resource is running.
|
||||
//
|
||||
|
|
@ -40,6 +42,7 @@ const (
|
|||
// Note: Refer to your provider's docs to see the available regions, for example
|
||||
// Alibaba Cloud regions, AWS regions, Azure regions, Google Cloud regions, or
|
||||
// Tencent Cloud regions.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudRegion = "cloud.region"
|
||||
// Cloud regions often have multiple, isolated locations known as zones to
|
||||
// increase availability. Availability zone represents the zone where the resource
|
||||
|
|
@ -51,6 +54,7 @@ const (
|
|||
// Examples: 'us-east-1c'
|
||||
// Note: Availability zones are called "zones" on Alibaba Cloud and
|
||||
// Google Cloud.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudAvailabilityZone = "cloud.availability_zone"
|
||||
// The cloud platform in use.
|
||||
//
|
||||
|
|
@ -59,64 +63,91 @@ const (
|
|||
// Stability: stable
|
||||
// Note: The prefix of the service SHOULD match the one specified in
|
||||
// cloud.provider.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatform = "cloud.platform"
|
||||
)
|
||||
|
||||
const (
|
||||
// Alibaba Cloud
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudProviderAlibabaCloud = "alibaba_cloud"
|
||||
// Amazon Web Services
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudProviderAWS = "aws"
|
||||
// Microsoft Azure
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudProviderAzure = "azure"
|
||||
// Google Cloud Platform
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudProviderGCP = "gcp"
|
||||
// Tencent Cloud
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudProviderTencentCloud = "tencent_cloud"
|
||||
)
|
||||
|
||||
const (
|
||||
// Alibaba Cloud Elastic Compute Service
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAlibabaCloudECS = "alibaba_cloud_ecs"
|
||||
// Alibaba Cloud Function Compute
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAlibabaCloudFc = "alibaba_cloud_fc"
|
||||
// AWS Elastic Compute Cloud
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAWSEC2 = "aws_ec2"
|
||||
// AWS Elastic Container Service
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAWSECS = "aws_ecs"
|
||||
// AWS Elastic Kubernetes Service
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAWSEKS = "aws_eks"
|
||||
// AWS Lambda
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAWSLambda = "aws_lambda"
|
||||
// AWS Elastic Beanstalk
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAWSElasticBeanstalk = "aws_elastic_beanstalk"
|
||||
// AWS App Runner
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAWSAppRunner = "aws_app_runner"
|
||||
// Azure Virtual Machines
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAzureVM = "azure_vm"
|
||||
// Azure Container Instances
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAzureContainerInstances = "azure_container_instances"
|
||||
// Azure Kubernetes Service
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAzureAKS = "azure_aks"
|
||||
// Azure Functions
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAzureFunctions = "azure_functions"
|
||||
// Azure App Service
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformAzureAppService = "azure_app_service"
|
||||
// Google Cloud Compute Engine (GCE)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformGCPComputeEngine = "gcp_compute_engine"
|
||||
// Google Cloud Run
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformGCPCloudRun = "gcp_cloud_run"
|
||||
// Google Cloud Kubernetes Engine (GKE)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformGCPKubernetesEngine = "gcp_kubernetes_engine"
|
||||
// Google Cloud Functions (GCF)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformGCPCloudFunctions = "gcp_cloud_functions"
|
||||
// Google Cloud App Engine (GAE)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformGCPAppEngine = "gcp_app_engine"
|
||||
// Tencent Cloud Cloud Virtual Machine (CVM)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformTencentCloudCvm = "tencent_cloud_cvm"
|
||||
// Tencent Cloud Elastic Kubernetes Service (EKS)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformTencentCloudEKS = "tencent_cloud_eks"
|
||||
// Tencent Cloud Serverless Cloud Function (SCF)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeCloudPlatformTencentCloudScf = "tencent_cloud_scf"
|
||||
)
|
||||
|
||||
|
|
@ -129,6 +160,7 @@ const (
|
|||
// Stability: stable
|
||||
// Examples: 'arn:aws:ecs:us-
|
||||
// west-1:123456789123:container/32624152-9086-4f0e-acae-1a75b14fe4d9'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSContainerARN = "aws.ecs.container.arn"
|
||||
// The ARN of an ECS cluster.
|
||||
//
|
||||
|
|
@ -136,12 +168,14 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSClusterARN = "aws.ecs.cluster.arn"
|
||||
// The launch type for an ECS task.
|
||||
//
|
||||
// Type: Enum
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSLaunchtype = "aws.ecs.launchtype"
|
||||
// The ARN of an ECS task definition.
|
||||
//
|
||||
|
|
@ -150,6 +184,7 @@ const (
|
|||
// Stability: stable
|
||||
// Examples: 'arn:aws:ecs:us-
|
||||
// west-1:123456789123:task/10838bed-421f-43ef-870a-f43feacbbb5b'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSTaskARN = "aws.ecs.task.arn"
|
||||
// The task definition family this task definition is a member of.
|
||||
//
|
||||
|
|
@ -157,6 +192,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-family'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSTaskFamily = "aws.ecs.task.family"
|
||||
// The revision for this task definition.
|
||||
//
|
||||
|
|
@ -164,13 +200,16 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '8', '26'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSTaskRevision = "aws.ecs.task.revision"
|
||||
)
|
||||
|
||||
const (
|
||||
// ec2
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSLaunchtypeEC2 = "ec2"
|
||||
// fargate
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSECSLaunchtypeFargate = "fargate"
|
||||
)
|
||||
|
||||
|
|
@ -182,6 +221,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSEKSClusterARN = "aws.eks.cluster.arn"
|
||||
)
|
||||
|
||||
|
|
@ -196,6 +236,7 @@ const (
|
|||
// Note: Multiple log groups must be supported for cases like multi-container
|
||||
// applications, where a single application has sidecar containers, and each write
|
||||
// to their own log group.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSLogGroupNames = "aws.log.group.names"
|
||||
// The Amazon Resource Name(s) (ARN) of the AWS log group(s).
|
||||
//
|
||||
|
|
@ -204,6 +245,7 @@ const (
|
|||
// Stability: stable
|
||||
// Examples: 'arn:aws:logs:us-west-1:123456789012:log-group:/aws/my/group:*'
|
||||
// Note: See the log group ARN format documentation.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSLogGroupARNs = "aws.log.group.arns"
|
||||
// The name(s) of the AWS log stream(s) an application is writing to.
|
||||
//
|
||||
|
|
@ -211,6 +253,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'logs/main/10838bed-421f-43ef-870a-f43feacbbb5b'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSLogStreamNames = "aws.log.stream.names"
|
||||
// The ARN(s) of the AWS log stream(s).
|
||||
//
|
||||
|
|
@ -222,6 +265,7 @@ const (
|
|||
// Note: See the log stream ARN format documentation. One log group can contain
|
||||
// several log streams, so these ARNs necessarily identify both a log group and a
|
||||
// log stream.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeAWSLogStreamARNs = "aws.log.stream.arns"
|
||||
)
|
||||
|
||||
|
|
@ -233,6 +277,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-autoconf'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeContainerName = "container.name"
|
||||
// Container ID. Usually a UUID, as for example used to identify Docker
|
||||
// containers. The UUID might be abbreviated.
|
||||
|
|
@ -241,6 +286,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'a3bf90e006b2'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeContainerID = "container.id"
|
||||
// The container runtime managing this container.
|
||||
//
|
||||
|
|
@ -248,6 +294,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'docker', 'containerd', 'rkt'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeContainerRuntime = "container.runtime"
|
||||
// Name of the image the container was built on.
|
||||
//
|
||||
|
|
@ -255,6 +302,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'gcr.io/opentelemetry/operator'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeContainerImageName = "container.image.name"
|
||||
// Container image tag.
|
||||
//
|
||||
|
|
@ -262,6 +310,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '0.1'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeContainerImageTag = "container.image.tag"
|
||||
)
|
||||
|
||||
|
|
@ -273,6 +322,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'staging', 'production'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeDeploymentEnvironment = "deployment.environment"
|
||||
)
|
||||
|
||||
|
|
@ -293,6 +343,7 @@ const (
|
|||
// practices and exact implementation details. Caution should be taken when
|
||||
// storing personal data or anything which can identify a user. GDPR and data
|
||||
// protection laws may apply, ensure you do your own due diligence.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeDeviceID = "device.id"
|
||||
// The model identifier for the device
|
||||
//
|
||||
|
|
@ -303,6 +354,7 @@ const (
|
|||
// Note: It's recommended this value represents a machine readable version of the
|
||||
// model identifier rather than the market or consumer-friendly name of the
|
||||
// device.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeDeviceModelIdentifier = "device.model.identifier"
|
||||
// The marketing name for the device model
|
||||
//
|
||||
|
|
@ -312,6 +364,7 @@ const (
|
|||
// Examples: 'iPhone 6s Plus', 'Samsung Galaxy S6'
|
||||
// Note: It's recommended this value represents a human readable version of the
|
||||
// device model rather than a machine readable alternative.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeDeviceModelName = "device.model.name"
|
||||
// The name of the device manufacturer
|
||||
//
|
||||
|
|
@ -321,6 +374,7 @@ const (
|
|||
// Examples: 'Apple', 'Samsung'
|
||||
// Note: The Android OS provides this field via Build. iOS apps SHOULD hardcode
|
||||
// the value Apple.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeDeviceManufacturer = "device.manufacturer"
|
||||
)
|
||||
|
||||
|
|
@ -335,6 +389,7 @@ const (
|
|||
// Note: This is the name of the function as configured/deployed on the FaaS
|
||||
// platform and is usually different from the name of the callback function (which
|
||||
// may be stored in the code.namespace/code.function span attributes).
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeFaaSName = "faas.name"
|
||||
// The unique ID of the single function that this runtime instance executes.
|
||||
//
|
||||
|
|
@ -358,6 +413,7 @@ const (
|
|||
// part of the ARN is not available without calling another AWS API
|
||||
// which may be deemed too slow for a short-running lambda function.
|
||||
// As an alternative, consider setting faas.id as a span attribute instead.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeFaaSID = "faas.id"
|
||||
// The immutable version of the function being executed.
|
||||
//
|
||||
|
|
@ -374,6 +430,7 @@ const (
|
|||
// K_REVISION environment variable.</li>
|
||||
// <li>Azure Functions: Not applicable. Do not set this attribute.</li>
|
||||
// </ul>
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeFaaSVersion = "faas.version"
|
||||
// The execution environment ID as a string, that will be potentially reused for
|
||||
// other invocations to the same function/function version.
|
||||
|
|
@ -385,6 +442,7 @@ const (
|
|||
// Note: <ul>
|
||||
// <li>AWS Lambda: Use the (full) log stream name.</li>
|
||||
// </ul>
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeFaaSInstance = "faas.instance"
|
||||
// The amount of memory available to the serverless function in MiB.
|
||||
//
|
||||
|
|
@ -396,6 +454,7 @@ const (
|
|||
// easily stop a Java AWS Lambda function from working correctly. On AWS Lambda,
|
||||
// the environment variable AWS_LAMBDA_FUNCTION_MEMORY_SIZE provides this
|
||||
// information.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeFaaSMaxMemory = "faas.max_memory"
|
||||
)
|
||||
|
||||
|
|
@ -408,6 +467,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-test'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostID = "host.id"
|
||||
// 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
|
||||
|
|
@ -417,6 +477,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-test'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostName = "host.name"
|
||||
// Type of host. For Cloud, this must be the machine type.
|
||||
//
|
||||
|
|
@ -424,12 +485,14 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'n1-standard-1'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostType = "host.type"
|
||||
// The CPU architecture the host system is running on.
|
||||
//
|
||||
// Type: Enum
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArch = "host.arch"
|
||||
// Name of the VM image or OS install the host was instantiated from.
|
||||
//
|
||||
|
|
@ -437,6 +500,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'infra-ami-eks-worker-node-7d4ec78312', 'CentOS-8-x86_64-1905'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostImageName = "host.image.name"
|
||||
// VM image ID. For Cloud, this value is from the provider.
|
||||
//
|
||||
|
|
@ -444,6 +508,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'ami-07b06b442921831e5'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostImageID = "host.image.id"
|
||||
// The version string of the VM image as defined in Version Attributes.
|
||||
//
|
||||
|
|
@ -451,25 +516,34 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '0.1'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostImageVersion = "host.image.version"
|
||||
)
|
||||
|
||||
const (
|
||||
// AMD64
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchAMD64 = "amd64"
|
||||
// ARM32
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchARM32 = "arm32"
|
||||
// ARM64
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchARM64 = "arm64"
|
||||
// Itanium
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchIA64 = "ia64"
|
||||
// 32-bit PowerPC
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchPPC32 = "ppc32"
|
||||
// 64-bit PowerPC
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchPPC64 = "ppc64"
|
||||
// IBM z/Architecture
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchS390x = "s390x"
|
||||
// 32-bit x86
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeHostArchX86 = "x86"
|
||||
)
|
||||
|
||||
|
|
@ -481,6 +555,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-cluster'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SClusterName = "k8s.cluster.name"
|
||||
)
|
||||
|
||||
|
|
@ -492,6 +567,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'node-1'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SNodeName = "k8s.node.name"
|
||||
// The UID of the Node.
|
||||
//
|
||||
|
|
@ -499,6 +575,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '1eb3a0c6-0477-4080-a9cb-0cb7db65c6a2'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SNodeUID = "k8s.node.uid"
|
||||
)
|
||||
|
||||
|
|
@ -510,6 +587,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'default'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SNamespaceName = "k8s.namespace.name"
|
||||
)
|
||||
|
||||
|
|
@ -521,6 +599,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SPodUID = "k8s.pod.uid"
|
||||
// The name of the Pod.
|
||||
//
|
||||
|
|
@ -528,6 +607,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-pod-autoconf'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SPodName = "k8s.pod.name"
|
||||
)
|
||||
|
||||
|
|
@ -540,6 +620,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'redis'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SContainerName = "k8s.container.name"
|
||||
// Number of times the container was restarted. This attribute can be used to
|
||||
// identify a particular container (running or stopped) within a container spec.
|
||||
|
|
@ -548,6 +629,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 0, 2
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SContainerRestartCount = "k8s.container.restart_count"
|
||||
)
|
||||
|
||||
|
|
@ -559,6 +641,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SReplicaSetUID = "k8s.replicaset.uid"
|
||||
// The name of the ReplicaSet.
|
||||
//
|
||||
|
|
@ -566,6 +649,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SReplicaSetName = "k8s.replicaset.name"
|
||||
)
|
||||
|
||||
|
|
@ -577,6 +661,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SDeploymentUID = "k8s.deployment.uid"
|
||||
// The name of the Deployment.
|
||||
//
|
||||
|
|
@ -584,6 +669,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SDeploymentName = "k8s.deployment.name"
|
||||
)
|
||||
|
||||
|
|
@ -595,6 +681,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SStatefulSetUID = "k8s.statefulset.uid"
|
||||
// The name of the StatefulSet.
|
||||
//
|
||||
|
|
@ -602,6 +689,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SStatefulSetName = "k8s.statefulset.name"
|
||||
)
|
||||
|
||||
|
|
@ -613,6 +701,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SDaemonSetUID = "k8s.daemonset.uid"
|
||||
// The name of the DaemonSet.
|
||||
//
|
||||
|
|
@ -620,6 +709,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SDaemonSetName = "k8s.daemonset.name"
|
||||
)
|
||||
|
||||
|
|
@ -631,6 +721,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SJobUID = "k8s.job.uid"
|
||||
// The name of the Job.
|
||||
//
|
||||
|
|
@ -638,6 +729,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SJobName = "k8s.job.name"
|
||||
)
|
||||
|
||||
|
|
@ -649,6 +741,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SCronJobUID = "k8s.cronjob.uid"
|
||||
// The name of the CronJob.
|
||||
//
|
||||
|
|
@ -656,6 +749,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeK8SCronJobName = "k8s.cronjob.name"
|
||||
)
|
||||
|
||||
|
|
@ -666,6 +760,7 @@ const (
|
|||
// Type: Enum
|
||||
// Required: Always
|
||||
// Stability: stable
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSType = "os.type"
|
||||
// Human readable (not intended to be parsed) OS version information, like e.g.
|
||||
// reported by ver or lsb_release -a commands.
|
||||
|
|
@ -674,6 +769,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'Microsoft Windows [Version 10.0.18363.778]', 'Ubuntu 18.04.1 LTS'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSDescription = "os.description"
|
||||
// Human readable operating system name.
|
||||
//
|
||||
|
|
@ -681,6 +777,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'iOS', 'Android', 'Ubuntu'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSName = "os.name"
|
||||
// The version string of the operating system as defined in Version Attributes.
|
||||
//
|
||||
|
|
@ -688,31 +785,43 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '14.2.1', '18.04.1'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSVersion = "os.version"
|
||||
)
|
||||
|
||||
const (
|
||||
// Microsoft Windows
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeWindows = "windows"
|
||||
// Linux
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeLinux = "linux"
|
||||
// Apple Darwin
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeDarwin = "darwin"
|
||||
// FreeBSD
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeFreeBSD = "freebsd"
|
||||
// NetBSD
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeNetBSD = "netbsd"
|
||||
// OpenBSD
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeOpenBSD = "openbsd"
|
||||
// DragonFly BSD
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeDragonflyBSD = "dragonflybsd"
|
||||
// HP-UX (Hewlett Packard Unix)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeHPUX = "hpux"
|
||||
// AIX (Advanced Interactive eXecutive)
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeAIX = "aix"
|
||||
// Oracle Solaris
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeSolaris = "solaris"
|
||||
// IBM z/OS
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeOSTypeZOS = "z_os"
|
||||
)
|
||||
|
||||
|
|
@ -724,6 +833,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 1234
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessPID = "process.pid"
|
||||
// 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
|
||||
|
|
@ -733,6 +843,7 @@ const (
|
|||
// Required: See below
|
||||
// Stability: stable
|
||||
// Examples: 'otelcol'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessExecutableName = "process.executable.name"
|
||||
// The full path to the process executable. On Linux based systems, can be set to
|
||||
// the target of proc/[pid]/exe. On Windows, can be set to the result of
|
||||
|
|
@ -742,6 +853,7 @@ const (
|
|||
// Required: See below
|
||||
// Stability: stable
|
||||
// Examples: '/usr/bin/cmd/otelcol'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessExecutablePath = "process.executable.path"
|
||||
// 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
|
||||
|
|
@ -751,6 +863,7 @@ const (
|
|||
// Required: See below
|
||||
// Stability: stable
|
||||
// Examples: 'cmd/otelcol'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessCommand = "process.command"
|
||||
// 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
|
||||
|
|
@ -761,6 +874,7 @@ const (
|
|||
// Required: See below
|
||||
// Stability: stable
|
||||
// Examples: 'C:\\cmd\\otecol --config="my directory\\config.yaml"'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessCommandLine = "process.command_line"
|
||||
// All the command arguments (including the command/executable itself) as received
|
||||
// by the process. On Linux-based systems (and some other Unixoid systems
|
||||
|
|
@ -772,6 +886,7 @@ const (
|
|||
// Required: See below
|
||||
// Stability: stable
|
||||
// Examples: 'cmd/otecol', '--config=config.yaml'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessCommandArgs = "process.command_args"
|
||||
// The username of the user that owns the process.
|
||||
//
|
||||
|
|
@ -779,6 +894,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'root'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessOwner = "process.owner"
|
||||
)
|
||||
|
||||
|
|
@ -791,6 +907,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'OpenJDK Runtime Environment'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessRuntimeName = "process.runtime.name"
|
||||
// The version of the runtime of this process, as returned by the runtime without
|
||||
// modification.
|
||||
|
|
@ -799,6 +916,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '14.0.2'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessRuntimeVersion = "process.runtime.version"
|
||||
// An additional description about the runtime of the process, for example a
|
||||
// specific vendor customization of the runtime environment.
|
||||
|
|
@ -807,6 +925,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'Eclipse OpenJ9 Eclipse OpenJ9 VM openj9-0.21.0'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeProcessRuntimeDescription = "process.runtime.description"
|
||||
)
|
||||
|
||||
|
|
@ -823,6 +942,7 @@ const (
|
|||
// concatenated with process.executable.name, e.g. unknown_service:bash. If
|
||||
// process.executable.name is not available, the value MUST be set to
|
||||
// unknown_service.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeServiceName = "service.name"
|
||||
// A namespace for service.name.
|
||||
//
|
||||
|
|
@ -837,6 +957,7 @@ const (
|
|||
// services that have no explicit namespace defined (so the empty/unspecified
|
||||
// namespace is simply one more valid namespace). Zero-length namespace string is
|
||||
// assumed equal to unspecified namespace.
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeServiceNamespace = "service.namespace"
|
||||
// The string ID of the service instance.
|
||||
//
|
||||
|
|
@ -856,6 +977,7 @@ const (
|
|||
// value of this attribute it is recommended to generate a random Version 1 or
|
||||
// Version 4 RFC 4122 UUID (services aiming for reproducible UUIDs may also use
|
||||
// Version 5, see RFC 4122 for more recommendations).
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeServiceInstanceID = "service.instance.id"
|
||||
// The version string of the service API or implementation.
|
||||
//
|
||||
|
|
@ -863,6 +985,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '2.0.0'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeServiceVersion = "service.version"
|
||||
)
|
||||
|
||||
|
|
@ -874,12 +997,14 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKName = "telemetry.sdk.name"
|
||||
// The language of the telemetry SDK.
|
||||
//
|
||||
// Type: Enum
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguage = "telemetry.sdk.language"
|
||||
// The version string of the telemetry SDK.
|
||||
//
|
||||
|
|
@ -887,6 +1012,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '1.2.3'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKVersion = "telemetry.sdk.version"
|
||||
// The version string of the auto instrumentation agent, if used.
|
||||
//
|
||||
|
|
@ -894,31 +1020,43 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '1.2.3'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetryAutoVersion = "telemetry.auto.version"
|
||||
)
|
||||
|
||||
const (
|
||||
// cpp
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageCPP = "cpp"
|
||||
// dotnet
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageDotnet = "dotnet"
|
||||
// erlang
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageErlang = "erlang"
|
||||
// go
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageGo = "go"
|
||||
// java
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageJava = "java"
|
||||
// nodejs
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageNodejs = "nodejs"
|
||||
// php
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguagePHP = "php"
|
||||
// python
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguagePython = "python"
|
||||
// ruby
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageRuby = "ruby"
|
||||
// webjs
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageWebjs = "webjs"
|
||||
// swift
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeTelemetrySDKLanguageSwift = "swift"
|
||||
)
|
||||
|
||||
|
|
@ -930,6 +1068,7 @@ const (
|
|||
// Required: Always
|
||||
// Stability: stable
|
||||
// Examples: 'WildFly'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeWebEngineName = "webengine.name"
|
||||
// The version of the web engine.
|
||||
//
|
||||
|
|
@ -937,6 +1076,7 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '21.0.0'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeWebEngineVersion = "webengine.version"
|
||||
// Additional description of the web engine (e.g. detailed version and edition
|
||||
// information).
|
||||
|
|
@ -945,9 +1085,11 @@ const (
|
|||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'WildFly Full 21.0.0.Final (WildFly Core 13.0.1.Final) - 2.2.2.Final'
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
AttributeWebEngineDescription = "webengine.description"
|
||||
)
|
||||
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
func GetResourceSemanticConventionAttributeNames() []string {
|
||||
return []string{
|
||||
AttributeCloudProvider,
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -15,8 +15,12 @@
|
|||
package semconv // import "go.opentelemetry.io/collector/model/semconv/v1.9.0"
|
||||
|
||||
const (
|
||||
OtelLibraryName = "otel.library.name"
|
||||
OtelLibraryVersion = "otel.library.version"
|
||||
OtelStatusCode = "otel.status_code"
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
OtelLibraryName = "otel.library.name"
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
OtelLibraryVersion = "otel.library.version"
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
OtelStatusCode = "otel.status_code"
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
OtelStatusDescription = "otel.status_description"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -17,4 +17,5 @@ package semconv // import "go.opentelemetry.io/collector/model/semconv/v1.9.0"
|
|||
// SchemaURL is the schema URL that matches the version of the semantic conventions
|
||||
// that this package defines. Conventions packages starting from v1.4.0 must declare
|
||||
// non-empty schema URL in the form https://opentelemetry.io/schemas/<version>
|
||||
// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
|
||||
const SchemaURL = "https://opentelemetry.io/schemas/1.9.0"
|
||||
|
|
|
|||
|
|
@ -48,11 +48,11 @@ import (
|
|||
"go.opentelemetry.io/collector/internal/internalconsumertest"
|
||||
"go.opentelemetry.io/collector/internal/testdata"
|
||||
"go.opentelemetry.io/collector/internal/testutil"
|
||||
semconv "go.opentelemetry.io/collector/model/semconv/v1.5.0"
|
||||
"go.opentelemetry.io/collector/obsreport/obsreporttest"
|
||||
"go.opentelemetry.io/collector/pdata/pcommon"
|
||||
"go.opentelemetry.io/collector/pdata/ptrace"
|
||||
"go.opentelemetry.io/collector/pdata/ptrace/ptraceotlp"
|
||||
semconv "go.opentelemetry.io/collector/semconv/v1.5.0"
|
||||
)
|
||||
|
||||
const otlpReceiverName = "receiver_test"
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
include ../Makefile.Common
|
||||
|
|
@ -1,19 +1,19 @@
|
|||
# Semantic Convention Constants
|
||||
|
||||
This package contains constants representing the OpenTelemetry semantic conventions. They are automatically generated
|
||||
This package contains constants representing the OpenTelemetry semantic conventions. They are automatically generated
|
||||
from definitions in the specification.
|
||||
|
||||
## Generation
|
||||
|
||||
To generate the constants you can use the `gensemconv` make target. You must provide the path to the root of a clone
|
||||
of the `opentelemetry-specification` repository in the `SPECPATH` variable and the version of the conventions to
|
||||
generate in the `SPECTAG` variable.
|
||||
To generate the constants you can use the `gensemconv` make target. You must provide the path to the root of a clone of
|
||||
the `opentelemetry-specification` repository in the `SPECPATH` variable and the version of the conventions to generate
|
||||
in the `SPECTAG` variable.
|
||||
|
||||
```console
|
||||
$ make gensemconv SPECPATH=~/dev/opentelemetry-specification SPECTAG=v1.5.0
|
||||
Generating semantic convention constants from specification version v1.5.0 at ~/dev/opentelemetry-specification
|
||||
semconvgen -o model/semconv/v1.5.0 -t model/internal/semconv/template.j2 -s v1.5.0 -i ~/dev/opentelemetry-specification/semantic_conventions/resource -p conventionType=resource
|
||||
semconvgen -o model/semconv/v1.5.0 -t model/internal/semconv/template.j2 -s v1.5.0 -i ~/dev/opentelemetry-specification/semantic_conventions/trace -p conventionType=trace
|
||||
semconvgen -o semconv/v1.5.0 -t semconv/template.j2 -s v1.5.0 -i ~/dev/opentelemetry-specification/semantic_conventions/resource -p conventionType=resource
|
||||
semconvgen -o semconv/v1.5.0 -t semconv/template.j2 -s v1.5.0 -i ~/dev/opentelemetry-specification/semantic_conventions/trace -p conventionType=trace
|
||||
```
|
||||
|
||||
When generating the constants for a new version ot the specification it is important to note that only
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
module go.opentelemetry.io/collector/semconv
|
||||
|
||||
go 1.17
|
||||
|
||||
require github.com/stretchr/testify v1.7.1
|
||||
|
||||
require (
|
||||
github.com/davecgh/go-spew v1.1.0 // indirect
|
||||
github.com/pmezard/go-difflib v1.0.0 // indirect
|
||||
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect
|
||||
)
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
|
||||
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
|
||||
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
||||
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
|
||||
github.com/stretchr/testify v1.7.1 h1:5TQK59W5E3v0r2duFAb7P95B6hEeOyEnHRa8MjYSMTY=
|
||||
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
||||
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
|
||||
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
||||
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=
|
||||
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
||||
|
|
@ -0,0 +1,995 @@
|
|||
// Copyright The OpenTelemetry Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// Code generated from semantic convention specification. DO NOT EDIT.
|
||||
|
||||
package semconv // import "go.opentelemetry.io/collector/semconv/v1.5.0"
|
||||
|
||||
// A cloud environment (e.g. GCP, Azure, AWS)
|
||||
const (
|
||||
// Name of the cloud provider.
|
||||
//
|
||||
// Type: Enum
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
AttributeCloudProvider = "cloud.provider"
|
||||
// The cloud account ID the resource is assigned to.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '111111111111', 'opentelemetry'
|
||||
AttributeCloudAccountID = "cloud.account.id"
|
||||
// The geographical region the resource is running. Refer to your provider's docs
|
||||
// to see the available regions, for example AWS regions, Azure regions, or Google
|
||||
// Cloud regions.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'us-central1', 'us-east-1'
|
||||
AttributeCloudRegion = "cloud.region"
|
||||
// Cloud regions often have multiple, isolated locations known as zones to
|
||||
// increase availability. Availability zone represents the zone where the resource
|
||||
// is running.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'us-east-1c'
|
||||
// Note: Availability zones are called "zones" on Google Cloud.
|
||||
AttributeCloudAvailabilityZone = "cloud.availability_zone"
|
||||
// The cloud platform in use.
|
||||
//
|
||||
// Type: Enum
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Note: The prefix of the service SHOULD match the one specified in
|
||||
// cloud.provider.
|
||||
AttributeCloudPlatform = "cloud.platform"
|
||||
)
|
||||
|
||||
const (
|
||||
// Amazon Web Services
|
||||
AttributeCloudProviderAWS = "aws"
|
||||
// Microsoft Azure
|
||||
AttributeCloudProviderAzure = "azure"
|
||||
// Google Cloud Platform
|
||||
AttributeCloudProviderGCP = "gcp"
|
||||
)
|
||||
|
||||
const (
|
||||
// AWS Elastic Compute Cloud
|
||||
AttributeCloudPlatformAWSEC2 = "aws_ec2"
|
||||
// AWS Elastic Container Service
|
||||
AttributeCloudPlatformAWSECS = "aws_ecs"
|
||||
// AWS Elastic Kubernetes Service
|
||||
AttributeCloudPlatformAWSEKS = "aws_eks"
|
||||
// AWS Lambda
|
||||
AttributeCloudPlatformAWSLambda = "aws_lambda"
|
||||
// AWS Elastic Beanstalk
|
||||
AttributeCloudPlatformAWSElasticBeanstalk = "aws_elastic_beanstalk"
|
||||
// Azure Virtual Machines
|
||||
AttributeCloudPlatformAzureVM = "azure_vm"
|
||||
// Azure Container Instances
|
||||
AttributeCloudPlatformAzureContainerInstances = "azure_container_instances"
|
||||
// Azure Kubernetes Service
|
||||
AttributeCloudPlatformAzureAKS = "azure_aks"
|
||||
// Azure Functions
|
||||
AttributeCloudPlatformAzureFunctions = "azure_functions"
|
||||
// Azure App Service
|
||||
AttributeCloudPlatformAzureAppService = "azure_app_service"
|
||||
// Google Cloud Compute Engine (GCE)
|
||||
AttributeCloudPlatformGCPComputeEngine = "gcp_compute_engine"
|
||||
// Google Cloud Run
|
||||
AttributeCloudPlatformGCPCloudRun = "gcp_cloud_run"
|
||||
// Google Cloud Kubernetes Engine (GKE)
|
||||
AttributeCloudPlatformGCPKubernetesEngine = "gcp_kubernetes_engine"
|
||||
// Google Cloud Functions (GCF)
|
||||
AttributeCloudPlatformGCPCloudFunctions = "gcp_cloud_functions"
|
||||
// Google Cloud App Engine (GAE)
|
||||
AttributeCloudPlatformGCPAppEngine = "gcp_app_engine"
|
||||
)
|
||||
|
||||
// Resources used by AWS Elastic Container Service (ECS).
|
||||
const (
|
||||
// The Amazon Resource Name (ARN) of an ECS container instance.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'arn:aws:ecs:us-
|
||||
// west-1:123456789123:container/32624152-9086-4f0e-acae-1a75b14fe4d9'
|
||||
AttributeAWSECSContainerARN = "aws.ecs.container.arn"
|
||||
// The ARN of an ECS cluster.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster'
|
||||
AttributeAWSECSClusterARN = "aws.ecs.cluster.arn"
|
||||
// The launch type for an ECS task.
|
||||
//
|
||||
// Type: Enum
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
AttributeAWSECSLaunchtype = "aws.ecs.launchtype"
|
||||
// The ARN of an ECS task definition.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'arn:aws:ecs:us-
|
||||
// west-1:123456789123:task/10838bed-421f-43ef-870a-f43feacbbb5b'
|
||||
AttributeAWSECSTaskARN = "aws.ecs.task.arn"
|
||||
// The task definition family this task definition is a member of.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-family'
|
||||
AttributeAWSECSTaskFamily = "aws.ecs.task.family"
|
||||
// The revision for this task definition.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '8', '26'
|
||||
AttributeAWSECSTaskRevision = "aws.ecs.task.revision"
|
||||
)
|
||||
|
||||
const (
|
||||
// ec2
|
||||
AttributeAWSECSLaunchtypeEC2 = "ec2"
|
||||
// fargate
|
||||
AttributeAWSECSLaunchtypeFargate = "fargate"
|
||||
)
|
||||
|
||||
// Resources used by AWS Elastic Kubernetes Service (EKS).
|
||||
const (
|
||||
// The ARN of an EKS cluster.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster'
|
||||
AttributeAWSEKSClusterARN = "aws.eks.cluster.arn"
|
||||
)
|
||||
|
||||
// Resources specific to Amazon Web Services.
|
||||
const (
|
||||
// The name(s) of the AWS log group(s) an application is writing to.
|
||||
//
|
||||
// Type: string[]
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '/aws/lambda/my-function', 'opentelemetry-service'
|
||||
// Note: Multiple log groups must be supported for cases like multi-container
|
||||
// applications, where a single application has sidecar containers, and each write
|
||||
// to their own log group.
|
||||
AttributeAWSLogGroupNames = "aws.log.group.names"
|
||||
// The Amazon Resource Name(s) (ARN) of the AWS log group(s).
|
||||
//
|
||||
// Type: string[]
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'arn:aws:logs:us-west-1:123456789012:log-group:/aws/my/group:*'
|
||||
// Note: See the log group ARN format documentation.
|
||||
AttributeAWSLogGroupARNs = "aws.log.group.arns"
|
||||
// The name(s) of the AWS log stream(s) an application is writing to.
|
||||
//
|
||||
// Type: string[]
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'logs/main/10838bed-421f-43ef-870a-f43feacbbb5b'
|
||||
AttributeAWSLogStreamNames = "aws.log.stream.names"
|
||||
// The ARN(s) of the AWS log stream(s).
|
||||
//
|
||||
// Type: string[]
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'arn:aws:logs:us-west-1:123456789012:log-group:/aws/my/group:log-
|
||||
// stream:logs/main/10838bed-421f-43ef-870a-f43feacbbb5b'
|
||||
// Note: See the log stream ARN format documentation. One log group can contain
|
||||
// several log streams, so these ARNs necessarily identify both a log group and a
|
||||
// log stream.
|
||||
AttributeAWSLogStreamARNs = "aws.log.stream.arns"
|
||||
)
|
||||
|
||||
// A container instance.
|
||||
const (
|
||||
// Container name.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-autoconf'
|
||||
AttributeContainerName = "container.name"
|
||||
// Container ID. Usually a UUID, as for example used to identify Docker
|
||||
// containers. The UUID might be abbreviated.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'a3bf90e006b2'
|
||||
AttributeContainerID = "container.id"
|
||||
// The container runtime managing this container.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'docker', 'containerd', 'rkt'
|
||||
AttributeContainerRuntime = "container.runtime"
|
||||
// Name of the image the container was built on.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'gcr.io/opentelemetry/operator'
|
||||
AttributeContainerImageName = "container.image.name"
|
||||
// Container image tag.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '0.1'
|
||||
AttributeContainerImageTag = "container.image.tag"
|
||||
)
|
||||
|
||||
// The software deployment.
|
||||
const (
|
||||
// Name of the deployment environment (aka deployment tier).
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'staging', 'production'
|
||||
AttributeDeploymentEnvironment = "deployment.environment"
|
||||
)
|
||||
|
||||
// The device on which the process represented by this resource is running.
|
||||
const (
|
||||
// A unique identifier representing the device
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '2ab2916d-a51f-4ac8-80ee-45ac31a28092'
|
||||
// Note: The device identifier MUST only be defined using the values outlined
|
||||
// below. This value is not an advertising identifier and MUST NOT be used as
|
||||
// such. On iOS (Swift or Objective-C), this value MUST be equal to the vendor
|
||||
// identifier. On Android (Java or Kotlin), this value MUST be equal to the
|
||||
// Firebase Installation ID or a globally unique UUID which is persisted across
|
||||
// sessions in your application. More information can be found here on best
|
||||
// practices and exact implementation details. Caution should be taken when
|
||||
// storing personal data or anything which can identify a user. GDPR and data
|
||||
// protection laws may apply, ensure you do your own due diligence.
|
||||
AttributeDeviceID = "device.id"
|
||||
// The model identifier for the device
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'iPhone3,4', 'SM-G920F'
|
||||
// Note: It's recommended this value represents a machine readable version of the
|
||||
// model identifier rather than the market or consumer-friendly name of the
|
||||
// device.
|
||||
AttributeDeviceModelIdentifier = "device.model.identifier"
|
||||
// The marketing name for the device model
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'iPhone 6s Plus', 'Samsung Galaxy S6'
|
||||
// Note: It's recommended this value represents a human readable version of the
|
||||
// device model rather than a machine readable alternative.
|
||||
AttributeDeviceModelName = "device.model.name"
|
||||
)
|
||||
|
||||
// A serverless instance.
|
||||
const (
|
||||
// The name of the single function that this runtime instance executes.
|
||||
//
|
||||
// Type: string
|
||||
// Required: Always
|
||||
// Stability: stable
|
||||
// Examples: 'my-function'
|
||||
// Note: This is the name of the function as configured/deployed on the FaaS
|
||||
// platform and is usually different from the name of the callback function (which
|
||||
// may be stored in the code.namespace/code.function span attributes).
|
||||
AttributeFaaSName = "faas.name"
|
||||
// The unique ID of the single function that this runtime instance executes.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'arn:aws:lambda:us-west-2:123456789012:function:my-function'
|
||||
// Note: Depending on the cloud provider, use:<ul>
|
||||
// <li>AWS Lambda: The function ARN.</li>
|
||||
// </ul>
|
||||
// Take care not to use the "invoked ARN" directly but replace any
|
||||
// alias suffix with the resolved function version, as the same runtime instance
|
||||
// may be invokable with multiple
|
||||
// different aliases.<ul>
|
||||
// <li>GCP: The URI of the resource</li>
|
||||
// <li>Azure: The Fully Qualified Resource ID.</li>
|
||||
// </ul>
|
||||
// On some providers, it may not be possible to determine the full ID at startup,
|
||||
// which is why this field cannot be made required. For example, on AWS the
|
||||
// account ID
|
||||
// part of the ARN is not available without calling another AWS API
|
||||
// which may be deemed too slow for a short-running lambda function.
|
||||
// As an alternative, consider setting faas.id as a span attribute instead.
|
||||
AttributeFaaSID = "faas.id"
|
||||
// The immutable version of the function being executed.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '26', 'pinkfroid-00002'
|
||||
// Note: Depending on the cloud provider and platform, use:<ul>
|
||||
// <li>AWS Lambda: The function version
|
||||
// (an integer represented as a decimal string).</li>
|
||||
// <li>Google Cloud Run: The revision
|
||||
// (i.e., the function name plus the revision suffix).</li>
|
||||
// <li>Google Cloud Functions: The value of the
|
||||
// K_REVISION environment variable.</li>
|
||||
// <li>Azure Functions: Not applicable. Do not set this attribute.</li>
|
||||
// </ul>
|
||||
AttributeFaaSVersion = "faas.version"
|
||||
// The execution environment ID as a string, that will be potentially reused for
|
||||
// other invocations to the same function/function version.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '2021/06/28/[$LATEST]2f399eb14537447da05ab2a2e39309de'
|
||||
// Note: <ul>
|
||||
// <li>AWS Lambda: Use the (full) log stream name.</li>
|
||||
// </ul>
|
||||
AttributeFaaSInstance = "faas.instance"
|
||||
// The amount of memory available to the serverless function in MiB.
|
||||
//
|
||||
// Type: int
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 128
|
||||
// Note: It's recommended to set this attribute since e.g. too little memory can
|
||||
// easily stop a Java AWS Lambda function from working correctly. On AWS Lambda,
|
||||
// the environment variable AWS_LAMBDA_FUNCTION_MEMORY_SIZE provides this
|
||||
// information.
|
||||
AttributeFaaSMaxMemory = "faas.max_memory"
|
||||
)
|
||||
|
||||
// A host is defined as a general computing instance.
|
||||
const (
|
||||
// Unique host ID. For Cloud, this must be the instance_id assigned by the cloud
|
||||
// provider.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-test'
|
||||
AttributeHostID = "host.id"
|
||||
// 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.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-test'
|
||||
AttributeHostName = "host.name"
|
||||
// Type of host. For Cloud, this must be the machine type.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'n1-standard-1'
|
||||
AttributeHostType = "host.type"
|
||||
// The CPU architecture the host system is running on.
|
||||
//
|
||||
// Type: Enum
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
AttributeHostArch = "host.arch"
|
||||
// Name of the VM image or OS install the host was instantiated from.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'infra-ami-eks-worker-node-7d4ec78312', 'CentOS-8-x86_64-1905'
|
||||
AttributeHostImageName = "host.image.name"
|
||||
// VM image ID. For Cloud, this value is from the provider.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'ami-07b06b442921831e5'
|
||||
AttributeHostImageID = "host.image.id"
|
||||
// The version string of the VM image as defined in Version Attributes.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '0.1'
|
||||
AttributeHostImageVersion = "host.image.version"
|
||||
)
|
||||
|
||||
const (
|
||||
// AMD64
|
||||
AttributeHostArchAMD64 = "amd64"
|
||||
// ARM32
|
||||
AttributeHostArchARM32 = "arm32"
|
||||
// ARM64
|
||||
AttributeHostArchARM64 = "arm64"
|
||||
// Itanium
|
||||
AttributeHostArchIA64 = "ia64"
|
||||
// 32-bit PowerPC
|
||||
AttributeHostArchPPC32 = "ppc32"
|
||||
// 64-bit PowerPC
|
||||
AttributeHostArchPPC64 = "ppc64"
|
||||
// 32-bit x86
|
||||
AttributeHostArchX86 = "x86"
|
||||
)
|
||||
|
||||
// A Kubernetes Cluster.
|
||||
const (
|
||||
// The name of the cluster.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-cluster'
|
||||
AttributeK8SClusterName = "k8s.cluster.name"
|
||||
)
|
||||
|
||||
// A Kubernetes Node object.
|
||||
const (
|
||||
// The name of the Node.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'node-1'
|
||||
AttributeK8SNodeName = "k8s.node.name"
|
||||
// The UID of the Node.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '1eb3a0c6-0477-4080-a9cb-0cb7db65c6a2'
|
||||
AttributeK8SNodeUID = "k8s.node.uid"
|
||||
)
|
||||
|
||||
// A Kubernetes Namespace.
|
||||
const (
|
||||
// The name of the namespace that the pod is running in.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'default'
|
||||
AttributeK8SNamespaceName = "k8s.namespace.name"
|
||||
)
|
||||
|
||||
// A Kubernetes Pod object.
|
||||
const (
|
||||
// The UID of the Pod.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
AttributeK8SPodUID = "k8s.pod.uid"
|
||||
// The name of the Pod.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry-pod-autoconf'
|
||||
AttributeK8SPodName = "k8s.pod.name"
|
||||
)
|
||||
|
||||
// A container in a [PodTemplate](https://kubernetes.io/docs/concepts/workloads/pods/#pod-templates).
|
||||
const (
|
||||
// The name of the Container in a Pod template.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'redis'
|
||||
AttributeK8SContainerName = "k8s.container.name"
|
||||
)
|
||||
|
||||
// A Kubernetes ReplicaSet object.
|
||||
const (
|
||||
// The UID of the ReplicaSet.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
AttributeK8SReplicaSetUID = "k8s.replicaset.uid"
|
||||
// The name of the ReplicaSet.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
AttributeK8SReplicaSetName = "k8s.replicaset.name"
|
||||
)
|
||||
|
||||
// A Kubernetes Deployment object.
|
||||
const (
|
||||
// The UID of the Deployment.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
AttributeK8SDeploymentUID = "k8s.deployment.uid"
|
||||
// The name of the Deployment.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
AttributeK8SDeploymentName = "k8s.deployment.name"
|
||||
)
|
||||
|
||||
// A Kubernetes StatefulSet object.
|
||||
const (
|
||||
// The UID of the StatefulSet.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
AttributeK8SStatefulSetUID = "k8s.statefulset.uid"
|
||||
// The name of the StatefulSet.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
AttributeK8SStatefulSetName = "k8s.statefulset.name"
|
||||
)
|
||||
|
||||
// A Kubernetes DaemonSet object.
|
||||
const (
|
||||
// The UID of the DaemonSet.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
AttributeK8SDaemonSetUID = "k8s.daemonset.uid"
|
||||
// The name of the DaemonSet.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
AttributeK8SDaemonSetName = "k8s.daemonset.name"
|
||||
)
|
||||
|
||||
// A Kubernetes Job object.
|
||||
const (
|
||||
// The UID of the Job.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
AttributeK8SJobUID = "k8s.job.uid"
|
||||
// The name of the Job.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
AttributeK8SJobName = "k8s.job.name"
|
||||
)
|
||||
|
||||
// A Kubernetes CronJob object.
|
||||
const (
|
||||
// The UID of the CronJob.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
|
||||
AttributeK8SCronJobUID = "k8s.cronjob.uid"
|
||||
// The name of the CronJob.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
AttributeK8SCronJobName = "k8s.cronjob.name"
|
||||
)
|
||||
|
||||
// The operating system (OS) on which the process represented by this resource is running.
|
||||
const (
|
||||
// The operating system type.
|
||||
//
|
||||
// Type: Enum
|
||||
// Required: Always
|
||||
// Stability: stable
|
||||
AttributeOSType = "os.type"
|
||||
// Human readable (not intended to be parsed) OS version information, like e.g.
|
||||
// reported by ver or lsb_release -a commands.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'Microsoft Windows [Version 10.0.18363.778]', 'Ubuntu 18.04.1 LTS'
|
||||
AttributeOSDescription = "os.description"
|
||||
// Human readable operating system name.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'iOS', 'Android', 'Ubuntu'
|
||||
AttributeOSName = "os.name"
|
||||
// The version string of the operating system as defined in Version Attributes.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '14.2.1', '18.04.1'
|
||||
AttributeOSVersion = "os.version"
|
||||
)
|
||||
|
||||
const (
|
||||
// Microsoft Windows
|
||||
AttributeOSTypeWindows = "windows"
|
||||
// Linux
|
||||
AttributeOSTypeLinux = "linux"
|
||||
// Apple Darwin
|
||||
AttributeOSTypeDarwin = "darwin"
|
||||
// FreeBSD
|
||||
AttributeOSTypeFreeBSD = "freebsd"
|
||||
// NetBSD
|
||||
AttributeOSTypeNetBSD = "netbsd"
|
||||
// OpenBSD
|
||||
AttributeOSTypeOpenBSD = "openbsd"
|
||||
// DragonFly BSD
|
||||
AttributeOSTypeDragonflyBSD = "dragonflybsd"
|
||||
// HP-UX (Hewlett Packard Unix)
|
||||
AttributeOSTypeHPUX = "hpux"
|
||||
// AIX (Advanced Interactive eXecutive)
|
||||
AttributeOSTypeAIX = "aix"
|
||||
// Oracle Solaris
|
||||
AttributeOSTypeSolaris = "solaris"
|
||||
// IBM z/OS
|
||||
AttributeOSTypeZOS = "z_os"
|
||||
)
|
||||
|
||||
// An operating system process.
|
||||
const (
|
||||
// Process identifier (PID).
|
||||
//
|
||||
// Type: int
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 1234
|
||||
AttributeProcessPID = "process.pid"
|
||||
// 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.
|
||||
//
|
||||
// Type: string
|
||||
// Required: See below
|
||||
// Stability: stable
|
||||
// Examples: 'otelcol'
|
||||
AttributeProcessExecutableName = "process.executable.name"
|
||||
// The full path to the process executable. On Linux based systems, can be set to
|
||||
// the target of proc/[pid]/exe. On Windows, can be set to the result of
|
||||
// GetProcessImageFileNameW.
|
||||
//
|
||||
// Type: string
|
||||
// Required: See below
|
||||
// Stability: stable
|
||||
// Examples: '/usr/bin/cmd/otelcol'
|
||||
AttributeProcessExecutablePath = "process.executable.path"
|
||||
// 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.
|
||||
//
|
||||
// Type: string
|
||||
// Required: See below
|
||||
// Stability: stable
|
||||
// Examples: 'cmd/otelcol'
|
||||
AttributeProcessCommand = "process.command"
|
||||
// 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.
|
||||
//
|
||||
// Type: string
|
||||
// Required: See below
|
||||
// Stability: stable
|
||||
// Examples: 'C:\\cmd\\otecol --config="my directory\\config.yaml"'
|
||||
AttributeProcessCommandLine = "process.command_line"
|
||||
// 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.
|
||||
//
|
||||
// Type: string[]
|
||||
// Required: See below
|
||||
// Stability: stable
|
||||
// Examples: 'cmd/otecol', '--config=config.yaml'
|
||||
AttributeProcessCommandArgs = "process.command_args"
|
||||
// The username of the user that owns the process.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'root'
|
||||
AttributeProcessOwner = "process.owner"
|
||||
)
|
||||
|
||||
// The single (language) runtime instance which is monitored.
|
||||
const (
|
||||
// The name of the runtime of this process. For compiled native binaries, this
|
||||
// SHOULD be the name of the compiler.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'OpenJDK Runtime Environment'
|
||||
AttributeProcessRuntimeName = "process.runtime.name"
|
||||
// The version of the runtime of this process, as returned by the runtime without
|
||||
// modification.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '14.0.2'
|
||||
AttributeProcessRuntimeVersion = "process.runtime.version"
|
||||
// An additional description about the runtime of the process, for example a
|
||||
// specific vendor customization of the runtime environment.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'Eclipse OpenJ9 Eclipse OpenJ9 VM openj9-0.21.0'
|
||||
AttributeProcessRuntimeDescription = "process.runtime.description"
|
||||
)
|
||||
|
||||
// A service instance.
|
||||
const (
|
||||
// Logical name of the service.
|
||||
//
|
||||
// Type: string
|
||||
// Required: Always
|
||||
// Stability: stable
|
||||
// Examples: 'shoppingcart'
|
||||
// Note: MUST be the same for all instances of horizontally scaled services. If
|
||||
// the value was not specified, SDKs MUST fallback to unknown_service:
|
||||
// concatenated with process.executable.name, e.g. unknown_service:bash. If
|
||||
// process.executable.name is not available, the value MUST be set to
|
||||
// unknown_service.
|
||||
AttributeServiceName = "service.name"
|
||||
// A namespace for service.name.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'Shop'
|
||||
// Note: A string value having a meaning that helps to distinguish a group of
|
||||
// services, for example the team name that owns a group of services. service.name
|
||||
// is expected to be unique within the same namespace. If service.namespace is not
|
||||
// specified in the Resource then service.name is expected to be unique for all
|
||||
// services that have no explicit namespace defined (so the empty/unspecified
|
||||
// namespace is simply one more valid namespace). Zero-length namespace string is
|
||||
// assumed equal to unspecified namespace.
|
||||
AttributeServiceNamespace = "service.namespace"
|
||||
// The string ID of the service instance.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '627cc493-f310-47de-96bd-71410b7dec09'
|
||||
// Note: MUST be unique for each instance of the same
|
||||
// service.namespace,service.name pair (in other words
|
||||
// service.namespace,service.name,service.instance.id triplet MUST be globally
|
||||
// unique). The ID helps to distinguish instances of the same service that exist
|
||||
// at the same time (e.g. instances of a horizontally scaled service). It is
|
||||
// preferable for the ID to be persistent and stay the same for the lifetime of
|
||||
// the service instance, however it is acceptable that the ID is ephemeral and
|
||||
// changes during important lifetime events for the service (e.g. service
|
||||
// restarts). If the service has no inherent unique ID that can be used as the
|
||||
// value of this attribute it is recommended to generate a random Version 1 or
|
||||
// Version 4 RFC 4122 UUID (services aiming for reproducible UUIDs may also use
|
||||
// Version 5, see RFC 4122 for more recommendations).
|
||||
AttributeServiceInstanceID = "service.instance.id"
|
||||
// The version string of the service API or implementation.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '2.0.0'
|
||||
AttributeServiceVersion = "service.version"
|
||||
)
|
||||
|
||||
// The telemetry SDK used to capture data recorded by the instrumentation libraries.
|
||||
const (
|
||||
// The name of the telemetry SDK as defined above.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'opentelemetry'
|
||||
AttributeTelemetrySDKName = "telemetry.sdk.name"
|
||||
// The language of the telemetry SDK.
|
||||
//
|
||||
// Type: Enum
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
AttributeTelemetrySDKLanguage = "telemetry.sdk.language"
|
||||
// The version string of the telemetry SDK.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '1.2.3'
|
||||
AttributeTelemetrySDKVersion = "telemetry.sdk.version"
|
||||
// The version string of the auto instrumentation agent, if used.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '1.2.3'
|
||||
AttributeTelemetryAutoVersion = "telemetry.auto.version"
|
||||
)
|
||||
|
||||
const (
|
||||
// cpp
|
||||
AttributeTelemetrySDKLanguageCPP = "cpp"
|
||||
// dotnet
|
||||
AttributeTelemetrySDKLanguageDotnet = "dotnet"
|
||||
// erlang
|
||||
AttributeTelemetrySDKLanguageErlang = "erlang"
|
||||
// go
|
||||
AttributeTelemetrySDKLanguageGo = "go"
|
||||
// java
|
||||
AttributeTelemetrySDKLanguageJava = "java"
|
||||
// nodejs
|
||||
AttributeTelemetrySDKLanguageNodejs = "nodejs"
|
||||
// php
|
||||
AttributeTelemetrySDKLanguagePHP = "php"
|
||||
// python
|
||||
AttributeTelemetrySDKLanguagePython = "python"
|
||||
// ruby
|
||||
AttributeTelemetrySDKLanguageRuby = "ruby"
|
||||
// webjs
|
||||
AttributeTelemetrySDKLanguageWebjs = "webjs"
|
||||
)
|
||||
|
||||
// Resource describing the packaged software running the application code. Web engines are typically executed using process.runtime.
|
||||
const (
|
||||
// The name of the web engine.
|
||||
//
|
||||
// Type: string
|
||||
// Required: Always
|
||||
// Stability: stable
|
||||
// Examples: 'WildFly'
|
||||
AttributeWebEngineName = "webengine.name"
|
||||
// The version of the web engine.
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: '21.0.0'
|
||||
AttributeWebEngineVersion = "webengine.version"
|
||||
// Additional description of the web engine (e.g. detailed version and edition
|
||||
// information).
|
||||
//
|
||||
// Type: string
|
||||
// Required: No
|
||||
// Stability: stable
|
||||
// Examples: 'WildFly Full 21.0.0.Final (WildFly Core 13.0.1.Final) - 2.2.2.Final'
|
||||
AttributeWebEngineDescription = "webengine.description"
|
||||
)
|
||||
|
||||
func GetResourceSemanticConventionAttributeNames() []string {
|
||||
return []string{
|
||||
AttributeCloudProvider,
|
||||
AttributeCloudAccountID,
|
||||
AttributeCloudRegion,
|
||||
AttributeCloudAvailabilityZone,
|
||||
AttributeCloudPlatform,
|
||||
AttributeAWSECSContainerARN,
|
||||
AttributeAWSECSClusterARN,
|
||||
AttributeAWSECSLaunchtype,
|
||||
AttributeAWSECSTaskARN,
|
||||
AttributeAWSECSTaskFamily,
|
||||
AttributeAWSECSTaskRevision,
|
||||
AttributeAWSEKSClusterARN,
|
||||
AttributeAWSLogGroupNames,
|
||||
AttributeAWSLogGroupARNs,
|
||||
AttributeAWSLogStreamNames,
|
||||
AttributeAWSLogStreamARNs,
|
||||
AttributeContainerName,
|
||||
AttributeContainerID,
|
||||
AttributeContainerRuntime,
|
||||
AttributeContainerImageName,
|
||||
AttributeContainerImageTag,
|
||||
AttributeDeploymentEnvironment,
|
||||
AttributeDeviceID,
|
||||
AttributeDeviceModelIdentifier,
|
||||
AttributeDeviceModelName,
|
||||
AttributeFaaSName,
|
||||
AttributeFaaSID,
|
||||
AttributeFaaSVersion,
|
||||
AttributeFaaSInstance,
|
||||
AttributeFaaSMaxMemory,
|
||||
AttributeHostID,
|
||||
AttributeHostName,
|
||||
AttributeHostType,
|
||||
AttributeHostArch,
|
||||
AttributeHostImageName,
|
||||
AttributeHostImageID,
|
||||
AttributeHostImageVersion,
|
||||
AttributeK8SClusterName,
|
||||
AttributeK8SNodeName,
|
||||
AttributeK8SNodeUID,
|
||||
AttributeK8SNamespaceName,
|
||||
AttributeK8SPodUID,
|
||||
AttributeK8SPodName,
|
||||
AttributeK8SContainerName,
|
||||
AttributeK8SReplicaSetUID,
|
||||
AttributeK8SReplicaSetName,
|
||||
AttributeK8SDeploymentUID,
|
||||
AttributeK8SDeploymentName,
|
||||
AttributeK8SStatefulSetUID,
|
||||
AttributeK8SStatefulSetName,
|
||||
AttributeK8SDaemonSetUID,
|
||||
AttributeK8SDaemonSetName,
|
||||
AttributeK8SJobUID,
|
||||
AttributeK8SJobName,
|
||||
AttributeK8SCronJobUID,
|
||||
AttributeK8SCronJobName,
|
||||
AttributeOSType,
|
||||
AttributeOSDescription,
|
||||
AttributeOSName,
|
||||
AttributeOSVersion,
|
||||
AttributeProcessPID,
|
||||
AttributeProcessExecutableName,
|
||||
AttributeProcessExecutablePath,
|
||||
AttributeProcessCommand,
|
||||
AttributeProcessCommandLine,
|
||||
AttributeProcessCommandArgs,
|
||||
AttributeProcessOwner,
|
||||
AttributeProcessRuntimeName,
|
||||
AttributeProcessRuntimeVersion,
|
||||
AttributeProcessRuntimeDescription,
|
||||
AttributeServiceName,
|
||||
AttributeServiceNamespace,
|
||||
AttributeServiceInstanceID,
|
||||
AttributeServiceVersion,
|
||||
AttributeTelemetrySDKName,
|
||||
AttributeTelemetrySDKLanguage,
|
||||
AttributeTelemetrySDKVersion,
|
||||
AttributeTelemetryAutoVersion,
|
||||
AttributeWebEngineName,
|
||||
AttributeWebEngineVersion,
|
||||
AttributeWebEngineDescription,
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,25 @@
|
|||
// Copyright The OpenTelemetry Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package semconv // import "go.opentelemetry.io/collector/semconv/v1.5.0"
|
||||
|
||||
const (
|
||||
InstrumentationLibraryName = "otel.library.name"
|
||||
InstrumentationLibraryVersion = "otel.library.version"
|
||||
)
|
||||
|
||||
const (
|
||||
OtelStatusCode = "otel.status_code"
|
||||
OtelStatusDescription = "otel.status_description"
|
||||
)
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
// Copyright The OpenTelemetry Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package semconv // import "go.opentelemetry.io/collector/semconv/v1.5.0"
|
||||
|
||||
// SchemaURL is the schema URL that matches the version of the semantic conventions
|
||||
// that this package defines. Conventions packages starting from v1.4.0 must declare
|
||||
// non-empty schema URL in the form https://opentelemetry.io/schemas/<version>
|
||||
const SchemaURL = "https://opentelemetry.io/schemas/1.5.0"
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,22 @@
|
|||
// Copyright The OpenTelemetry Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package semconv // import "go.opentelemetry.io/collector/semconv/v1.6.1"
|
||||
|
||||
const (
|
||||
OtelLibraryName = "otel.library.name"
|
||||
OtelLibraryVersion = "otel.library.version"
|
||||
OtelStatusCode = "otel.status_code"
|
||||
OtelStatusDescription = "otel.status_description"
|
||||
)
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
// Copyright The OpenTelemetry Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package semconv // import "go.opentelemetry.io/collector/semconv/v1.6.1"
|
||||
|
||||
// SchemaURL is the schema URL that matches the version of the semantic conventions
|
||||
// that this package defines. Conventions packages starting from v1.4.0 must declare
|
||||
// non-empty schema URL in the form https://opentelemetry.io/schemas/<version>
|
||||
const SchemaURL = "https://opentelemetry.io/schemas/1.6.1"
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,22 @@
|
|||
// Copyright The OpenTelemetry Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package semconv // import "go.opentelemetry.io/collector/semconv/v1.7.0"
|
||||
|
||||
const (
|
||||
OtelLibraryName = "otel.library.name"
|
||||
OtelLibraryVersion = "otel.library.version"
|
||||
OtelStatusCode = "otel.status_code"
|
||||
OtelStatusDescription = "otel.status_description"
|
||||
)
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
// Copyright The OpenTelemetry Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package semconv // import "go.opentelemetry.io/collector/semconv/v1.7.0"
|
||||
|
||||
// SchemaURL is the schema URL that matches the version of the semantic conventions
|
||||
// that this package defines. Conventions packages starting from v1.4.0 must declare
|
||||
// non-empty schema URL in the form https://opentelemetry.io/schemas/<version>
|
||||
const SchemaURL = "https://opentelemetry.io/schemas/1.7.0"
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,22 @@
|
|||
// Copyright The OpenTelemetry Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package semconv // import "go.opentelemetry.io/collector/semconv/v1.8.0"
|
||||
|
||||
const (
|
||||
OtelLibraryName = "otel.library.name"
|
||||
OtelLibraryVersion = "otel.library.version"
|
||||
OtelStatusCode = "otel.status_code"
|
||||
OtelStatusDescription = "otel.status_description"
|
||||
)
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
// Copyright The OpenTelemetry Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package semconv // import "go.opentelemetry.io/collector/semconv/v1.8.0"
|
||||
|
||||
// SchemaURL is the schema URL that matches the version of the semantic conventions
|
||||
// that this package defines. Conventions packages starting from v1.4.0 must declare
|
||||
// non-empty schema URL in the form https://opentelemetry.io/schemas/<version>
|
||||
const SchemaURL = "https://opentelemetry.io/schemas/1.8.0"
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,22 @@
|
|||
// Copyright The OpenTelemetry Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package semconv // import "go.opentelemetry.io/collector/semconv/v1.9.0"
|
||||
|
||||
const (
|
||||
OtelLibraryName = "otel.library.name"
|
||||
OtelLibraryVersion = "otel.library.version"
|
||||
OtelStatusCode = "otel.status_code"
|
||||
OtelStatusDescription = "otel.status_description"
|
||||
)
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
// Copyright The OpenTelemetry Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package semconv // import "go.opentelemetry.io/collector/semconv/v1.9.0"
|
||||
|
||||
// SchemaURL is the schema URL that matches the version of the semantic conventions
|
||||
// that this package defines. Conventions packages starting from v1.4.0 must declare
|
||||
// non-empty schema URL in the form https://opentelemetry.io/schemas/<version>
|
||||
const SchemaURL = "https://opentelemetry.io/schemas/1.9.0"
|
||||
|
|
@ -35,8 +35,8 @@ import (
|
|||
"go.opentelemetry.io/collector/config/configtelemetry"
|
||||
"go.opentelemetry.io/collector/internal/obsreportconfig"
|
||||
"go.opentelemetry.io/collector/internal/version"
|
||||
semconv "go.opentelemetry.io/collector/model/semconv/v1.5.0"
|
||||
"go.opentelemetry.io/collector/processor/batchprocessor"
|
||||
semconv "go.opentelemetry.io/collector/semconv/v1.5.0"
|
||||
"go.opentelemetry.io/collector/service/featuregate"
|
||||
telemetry2 "go.opentelemetry.io/collector/service/internal/telemetry"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ module-sets:
|
|||
- go.opentelemetry.io/collector
|
||||
- go.opentelemetry.io/collector/cmd/builder
|
||||
- go.opentelemetry.io/collector/model
|
||||
- go.opentelemetry.io/collector/semconv
|
||||
- go.opentelemetry.io/collector/pdata
|
||||
excluded-modules:
|
||||
- go.opentelemetry.io/collector/cmd/otelcorecol
|
||||
|
|
|
|||
Loading…
Reference in New Issue