Semconv 1.32.0 (#1577)
* update semconv to 1.32.0 * don't generate semconv for android, cpython, ios
This commit is contained in:
parent
351aa18abe
commit
91e05d9f1f
|
@ -17,10 +17,10 @@ SPEC_DIR="${ROOT_DIR}/var/semantic-conventions"
|
|||
CODE_DIR="${ROOT_DIR}/src/SemConv"
|
||||
|
||||
# freeze the spec & generator tools versions to make SemanticAttributes generation reproducible
|
||||
SEMCONV_VERSION=1.30.0
|
||||
SEMCONV_VERSION=1.32.0
|
||||
SPEC_VERSION=v$SEMCONV_VERSION
|
||||
SCHEMA_URL=https://opentelemetry.io/schemas/$SEMCONV_VERSION
|
||||
OTEL_WEAVER_IMG_VERSION=v0.12.0
|
||||
OTEL_WEAVER_IMG_VERSION=v0.14.0
|
||||
|
||||
rm -rf "${SPEC_DIR}"
|
||||
mkdir "${SPEC_DIR}"
|
||||
|
|
|
@ -11,7 +11,7 @@ interface ResourceAttributeValues
|
|||
/**
|
||||
* The URL of the OpenTelemetry schema for these values.
|
||||
*/
|
||||
public const SCHEMA_URL = 'https://opentelemetry.io/schemas/1.30.0';
|
||||
public const SCHEMA_URL = 'https://opentelemetry.io/schemas/1.32.0';
|
||||
|
||||
/**
|
||||
* ec2
|
||||
|
@ -293,6 +293,118 @@ interface ResourceAttributeValues
|
|||
*/
|
||||
public const CLOUD_PROVIDER_TENCENT_CLOUD = 'tencent_cloud';
|
||||
|
||||
/**
|
||||
* Mission critical service.
|
||||
*
|
||||
* @see ResourceAttributes::GCP_APPHUB_SERVICE_CRITICALITY_TYPE
|
||||
*/
|
||||
public const GCP_APPHUB_SERVICE_CRITICALITY_TYPE_MISSION_CRITICAL = 'MISSION_CRITICAL';
|
||||
|
||||
/**
|
||||
* High impact.
|
||||
*
|
||||
* @see ResourceAttributes::GCP_APPHUB_SERVICE_CRITICALITY_TYPE
|
||||
*/
|
||||
public const GCP_APPHUB_SERVICE_CRITICALITY_TYPE_HIGH = 'HIGH';
|
||||
|
||||
/**
|
||||
* Medium impact.
|
||||
*
|
||||
* @see ResourceAttributes::GCP_APPHUB_SERVICE_CRITICALITY_TYPE
|
||||
*/
|
||||
public const GCP_APPHUB_SERVICE_CRITICALITY_TYPE_MEDIUM = 'MEDIUM';
|
||||
|
||||
/**
|
||||
* Low impact.
|
||||
*
|
||||
* @see ResourceAttributes::GCP_APPHUB_SERVICE_CRITICALITY_TYPE
|
||||
*/
|
||||
public const GCP_APPHUB_SERVICE_CRITICALITY_TYPE_LOW = 'LOW';
|
||||
|
||||
/**
|
||||
* Production environment.
|
||||
*
|
||||
* @see ResourceAttributes::GCP_APPHUB_SERVICE_ENVIRONMENT_TYPE
|
||||
*/
|
||||
public const GCP_APPHUB_SERVICE_ENVIRONMENT_TYPE_PRODUCTION = 'PRODUCTION';
|
||||
|
||||
/**
|
||||
* Staging environment.
|
||||
*
|
||||
* @see ResourceAttributes::GCP_APPHUB_SERVICE_ENVIRONMENT_TYPE
|
||||
*/
|
||||
public const GCP_APPHUB_SERVICE_ENVIRONMENT_TYPE_STAGING = 'STAGING';
|
||||
|
||||
/**
|
||||
* Test environment.
|
||||
*
|
||||
* @see ResourceAttributes::GCP_APPHUB_SERVICE_ENVIRONMENT_TYPE
|
||||
*/
|
||||
public const GCP_APPHUB_SERVICE_ENVIRONMENT_TYPE_TEST = 'TEST';
|
||||
|
||||
/**
|
||||
* Development environment.
|
||||
*
|
||||
* @see ResourceAttributes::GCP_APPHUB_SERVICE_ENVIRONMENT_TYPE
|
||||
*/
|
||||
public const GCP_APPHUB_SERVICE_ENVIRONMENT_TYPE_DEVELOPMENT = 'DEVELOPMENT';
|
||||
|
||||
/**
|
||||
* Mission critical service.
|
||||
*
|
||||
* @see ResourceAttributes::GCP_APPHUB_WORKLOAD_CRITICALITY_TYPE
|
||||
*/
|
||||
public const GCP_APPHUB_WORKLOAD_CRITICALITY_TYPE_MISSION_CRITICAL = 'MISSION_CRITICAL';
|
||||
|
||||
/**
|
||||
* High impact.
|
||||
*
|
||||
* @see ResourceAttributes::GCP_APPHUB_WORKLOAD_CRITICALITY_TYPE
|
||||
*/
|
||||
public const GCP_APPHUB_WORKLOAD_CRITICALITY_TYPE_HIGH = 'HIGH';
|
||||
|
||||
/**
|
||||
* Medium impact.
|
||||
*
|
||||
* @see ResourceAttributes::GCP_APPHUB_WORKLOAD_CRITICALITY_TYPE
|
||||
*/
|
||||
public const GCP_APPHUB_WORKLOAD_CRITICALITY_TYPE_MEDIUM = 'MEDIUM';
|
||||
|
||||
/**
|
||||
* Low impact.
|
||||
*
|
||||
* @see ResourceAttributes::GCP_APPHUB_WORKLOAD_CRITICALITY_TYPE
|
||||
*/
|
||||
public const GCP_APPHUB_WORKLOAD_CRITICALITY_TYPE_LOW = 'LOW';
|
||||
|
||||
/**
|
||||
* Production environment.
|
||||
*
|
||||
* @see ResourceAttributes::GCP_APPHUB_WORKLOAD_ENVIRONMENT_TYPE
|
||||
*/
|
||||
public const GCP_APPHUB_WORKLOAD_ENVIRONMENT_TYPE_PRODUCTION = 'PRODUCTION';
|
||||
|
||||
/**
|
||||
* Staging environment.
|
||||
*
|
||||
* @see ResourceAttributes::GCP_APPHUB_WORKLOAD_ENVIRONMENT_TYPE
|
||||
*/
|
||||
public const GCP_APPHUB_WORKLOAD_ENVIRONMENT_TYPE_STAGING = 'STAGING';
|
||||
|
||||
/**
|
||||
* Test environment.
|
||||
*
|
||||
* @see ResourceAttributes::GCP_APPHUB_WORKLOAD_ENVIRONMENT_TYPE
|
||||
*/
|
||||
public const GCP_APPHUB_WORKLOAD_ENVIRONMENT_TYPE_TEST = 'TEST';
|
||||
|
||||
/**
|
||||
* Development environment.
|
||||
*
|
||||
* @see ResourceAttributes::GCP_APPHUB_WORKLOAD_ENVIRONMENT_TYPE
|
||||
*/
|
||||
public const GCP_APPHUB_WORKLOAD_ENVIRONMENT_TYPE_DEVELOPMENT = 'DEVELOPMENT';
|
||||
|
||||
/**
|
||||
* AMD64
|
||||
*
|
||||
|
|
|
@ -11,13 +11,36 @@ interface ResourceAttributes
|
|||
/**
|
||||
* The URL of the OpenTelemetry schema for these keys and values.
|
||||
*/
|
||||
public const SCHEMA_URL = 'https://opentelemetry.io/schemas/1.30.0';
|
||||
public const SCHEMA_URL = 'https://opentelemetry.io/schemas/1.32.0';
|
||||
|
||||
/**
|
||||
* Uniquely identifies the framework API revision offered by a version (`os.version`) of the android operating system. More information can be found [here](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels).
|
||||
*/
|
||||
public const ANDROID_OS_API_LEVEL = 'android.os.api_level';
|
||||
|
||||
/**
|
||||
* A unique identifier representing the installation of an application on a specific device
|
||||
*
|
||||
* Its value SHOULD persist across launches of the same application installation, including through application upgrades.
|
||||
* It SHOULD change if the application is uninstalled or if all applications of the vendor are uninstalled.
|
||||
* Additionally, users might be able to reset this value (e.g. by clearing application data).
|
||||
* If an app is installed multiple times on the same device (e.g. in different accounts on Android), each `app.installation.id` SHOULD have a different value.
|
||||
* If multiple OpenTelemetry SDKs are used within the same application, they SHOULD use the same value for `app.installation.id`.
|
||||
* Hardware IDs (e.g. serial number, IMEI, MAC address) MUST NOT be used as the `app.installation.id`.
|
||||
*
|
||||
* For iOS, this value SHOULD be equal to the [vendor identifier](https://developer.apple.com/documentation/uikit/uidevice/identifierforvendor).
|
||||
*
|
||||
* For Android, examples of `app.installation.id` implementations include:
|
||||
*
|
||||
* - [Firebase Installation ID](https://firebase.google.com/docs/projects/manage-installations).
|
||||
* - A globally unique UUID which is persisted across sessions in your application.
|
||||
* - [App set ID](https://developer.android.com/identity/app-set-id).
|
||||
* - [`Settings.getString(Settings.Secure.ANDROID_ID)`](https://developer.android.com/reference/android/provider/Settings.Secure#ANDROID_ID).
|
||||
*
|
||||
* More information about Android identifier best practices can be found [here](https://developer.android.com/training/articles/user-data-ids).
|
||||
*/
|
||||
public const APP_INSTALLATION_ID = 'app.installation.id';
|
||||
|
||||
/**
|
||||
* The ARN of an [ECS cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html).
|
||||
*/
|
||||
|
@ -141,7 +164,7 @@ interface ResourceAttributes
|
|||
public const CLOUD_REGION = 'cloud.region';
|
||||
|
||||
/**
|
||||
* Cloud provider-specific native identifier of the monitored cloud resource (e.g. an [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) on AWS, a [fully qualified resource ID](https://learn.microsoft.com/rest/api/resources/resources/get-by-id) on Azure, a [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name) on GCP)
|
||||
* Cloud provider-specific native identifier of the monitored cloud resource (e.g. an [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) on AWS, a [fully qualified resource ID](https://learn.microsoft.com/rest/api/resources/resources/get-by-id) on Azure, a [full resource name](https://google.aip.dev/122#full-resource-names) on GCP)
|
||||
*
|
||||
* On some cloud providers, it may not be possible to determine the full ID at startup,
|
||||
* so it may be necessary to set `cloud.resource_id` as a span attribute instead.
|
||||
|
@ -314,6 +337,8 @@ interface ResourceAttributes
|
|||
|
||||
/**
|
||||
* Container labels, `<key>` being the label name, the value being the label value.
|
||||
*
|
||||
* For example, a docker container label `app` with value `nginx` SHOULD be recorded as the `container.label.app` attribute with value `"nginx"`.
|
||||
*/
|
||||
public const CONTAINER_LABEL = 'container.label';
|
||||
|
||||
|
@ -343,7 +368,16 @@ interface ResourceAttributes
|
|||
/**
|
||||
* A unique identifier representing the device
|
||||
*
|
||||
* 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](https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor). 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](https://developer.android.com/training/articles/user-data-ids) 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.
|
||||
* Its value SHOULD be identical for all apps on a device and it SHOULD NOT change if an app is uninstalled and re-installed.
|
||||
* However, it might be resettable by the user for all apps on a device.
|
||||
* Hardware IDs (e.g. vendor-specific serial number, IMEI or MAC address) MAY be used as values.
|
||||
*
|
||||
* More information about Android identifier best practices can be found [here](https://developer.android.com/training/articles/user-data-ids).
|
||||
*
|
||||
* > [!WARNING]> This attribute may contain sensitive (PII) information. 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.> Due to these reasons, this identifier is not recommended for consumer applications and will likely result in rejection from both Google Play and App Store.
|
||||
* > However, it may be appropriate for specific enterprise scenarios, such as kiosk devices or enterprise-managed devices, with appropriate compliance clearance.
|
||||
* > Any instrumentation providing this identifier MUST implement it as an opt-in feature.> See [`app.installation.id`](/docs/attributes-registry/app.md#app-installation-id)> for a more privacy-preserving alternative.
|
||||
*/
|
||||
public const DEVICE_ID = 'device.id';
|
||||
|
||||
|
@ -418,6 +452,59 @@ interface ResourceAttributes
|
|||
*/
|
||||
public const FAAS_VERSION = 'faas.version';
|
||||
|
||||
/**
|
||||
* The container within GCP where the AppHub application is defined.
|
||||
*/
|
||||
public const GCP_APPHUB_APPLICATION_CONTAINER = 'gcp.apphub.application.container';
|
||||
|
||||
/**
|
||||
* The name of the application as configured in AppHub.
|
||||
*/
|
||||
public const GCP_APPHUB_APPLICATION_ID = 'gcp.apphub.application.id';
|
||||
|
||||
/**
|
||||
* The GCP zone or region where the application is defined.
|
||||
*/
|
||||
public const GCP_APPHUB_APPLICATION_LOCATION = 'gcp.apphub.application.location';
|
||||
|
||||
/**
|
||||
* Criticality of a service indicates its importance to the business.
|
||||
*
|
||||
* [See AppHub type enum](https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type)
|
||||
*/
|
||||
public const GCP_APPHUB_SERVICE_CRITICALITY_TYPE = 'gcp.apphub.service.criticality_type';
|
||||
|
||||
/**
|
||||
* Environment of a service is the stage of a software lifecycle.
|
||||
*
|
||||
* [See AppHub environment type](https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type_1)
|
||||
*/
|
||||
public const GCP_APPHUB_SERVICE_ENVIRONMENT_TYPE = 'gcp.apphub.service.environment_type';
|
||||
|
||||
/**
|
||||
* The name of the service as configured in AppHub.
|
||||
*/
|
||||
public const GCP_APPHUB_SERVICE_ID = 'gcp.apphub.service.id';
|
||||
|
||||
/**
|
||||
* Criticality of a workload indicates its importance to the business.
|
||||
*
|
||||
* [See AppHub type enum](https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type)
|
||||
*/
|
||||
public const GCP_APPHUB_WORKLOAD_CRITICALITY_TYPE = 'gcp.apphub.workload.criticality_type';
|
||||
|
||||
/**
|
||||
* Environment of a workload is the stage of a software lifecycle.
|
||||
*
|
||||
* [See AppHub environment type](https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type_1)
|
||||
*/
|
||||
public const GCP_APPHUB_WORKLOAD_ENVIRONMENT_TYPE = 'gcp.apphub.workload.environment_type';
|
||||
|
||||
/**
|
||||
* The name of the workload as configured in AppHub.
|
||||
*/
|
||||
public const GCP_APPHUB_WORKLOAD_ID = 'gcp.apphub.workload.id';
|
||||
|
||||
/**
|
||||
* The name of the Cloud Run [execution](https://cloud.google.com/run/docs/managing/job-executions) being run for the Job, as set by the [`CLOUD_RUN_EXECUTION`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars) environment variable.
|
||||
*/
|
||||
|
@ -608,6 +695,30 @@ interface ResourceAttributes
|
|||
*/
|
||||
public const K8S_CONTAINER_STATUS_LAST_TERMINATED_REASON = 'k8s.container.status.last_terminated_reason';
|
||||
|
||||
/**
|
||||
* The cronjob annotation placed on the CronJob, the `<key>` being the annotation name, the value being the annotation value.
|
||||
*
|
||||
* Examples:
|
||||
*
|
||||
* - An annotation `retries` with value `4` SHOULD be recorded as the
|
||||
* `k8s.cronjob.annotation.retries` attribute with value `"4"`.
|
||||
* - An annotation `data` with empty string value SHOULD be recorded as
|
||||
* the `k8s.cronjob.annotation.data` attribute with value `""`.
|
||||
*/
|
||||
public const K8S_CRONJOB_ANNOTATION = 'k8s.cronjob.annotation';
|
||||
|
||||
/**
|
||||
* The label placed on the CronJob, the `<key>` being the label name, the value being the label value.
|
||||
*
|
||||
* Examples:
|
||||
*
|
||||
* - A label `type` with value `weekly` SHOULD be recorded as the
|
||||
* `k8s.cronjob.label.type` attribute with value `"weekly"`.
|
||||
* - A label `automated` with empty string value SHOULD be recorded as
|
||||
* the `k8s.cronjob.label.automated` attribute with value `""`.
|
||||
*/
|
||||
public const K8S_CRONJOB_LABEL = 'k8s.cronjob.label';
|
||||
|
||||
/**
|
||||
* The name of the CronJob.
|
||||
*/
|
||||
|
@ -618,6 +729,20 @@ interface ResourceAttributes
|
|||
*/
|
||||
public const K8S_CRONJOB_UID = 'k8s.cronjob.uid';
|
||||
|
||||
/**
|
||||
* The annotation key-value pairs placed on the DaemonSet.
|
||||
*
|
||||
* The `<key>` being the annotation name, the value being the annotation value, even if the value is empty.
|
||||
*/
|
||||
public const K8S_DAEMONSET_ANNOTATION = 'k8s.daemonset.annotation';
|
||||
|
||||
/**
|
||||
* The label key-value pairs placed on the DaemonSet.
|
||||
*
|
||||
* The `<key>` being the label name, the value being the label value, even if the value is empty.
|
||||
*/
|
||||
public const K8S_DAEMONSET_LABEL = 'k8s.daemonset.label';
|
||||
|
||||
/**
|
||||
* The name of the DaemonSet.
|
||||
*/
|
||||
|
@ -628,6 +753,20 @@ interface ResourceAttributes
|
|||
*/
|
||||
public const K8S_DAEMONSET_UID = 'k8s.daemonset.uid';
|
||||
|
||||
/**
|
||||
* The annotation key-value pairs placed on the Deployment.
|
||||
*
|
||||
* The `<key>` being the annotation name, the value being the annotation value, even if the value is empty.
|
||||
*/
|
||||
public const K8S_DEPLOYMENT_ANNOTATION = 'k8s.deployment.annotation';
|
||||
|
||||
/**
|
||||
* The label key-value pairs placed on the Deployment.
|
||||
*
|
||||
* The `<key>` being the label name, the value being the label value, even if the value is empty.
|
||||
*/
|
||||
public const K8S_DEPLOYMENT_LABEL = 'k8s.deployment.label';
|
||||
|
||||
/**
|
||||
* The name of the Deployment.
|
||||
*/
|
||||
|
@ -648,6 +787,20 @@ interface ResourceAttributes
|
|||
*/
|
||||
public const K8S_HPA_UID = 'k8s.hpa.uid';
|
||||
|
||||
/**
|
||||
* The annotation key-value pairs placed on the Job.
|
||||
*
|
||||
* The `<key>` being the annotation name, the value being the annotation value, even if the value is empty.
|
||||
*/
|
||||
public const K8S_JOB_ANNOTATION = 'k8s.job.annotation';
|
||||
|
||||
/**
|
||||
* The label key-value pairs placed on the Job.
|
||||
*
|
||||
* The `<key>` being the label name, the value being the label value, even if the value is empty.
|
||||
*/
|
||||
public const K8S_JOB_LABEL = 'k8s.job.label';
|
||||
|
||||
/**
|
||||
* The name of the Job.
|
||||
*/
|
||||
|
@ -658,11 +811,49 @@ interface ResourceAttributes
|
|||
*/
|
||||
public const K8S_JOB_UID = 'k8s.job.uid';
|
||||
|
||||
/**
|
||||
* The annotation key-value pairs placed on the Namespace.
|
||||
*
|
||||
* The `<key>` being the annotation name, the value being the annotation value, even if the value is empty.
|
||||
*/
|
||||
public const K8S_NAMESPACE_ANNOTATION = 'k8s.namespace.annotation';
|
||||
|
||||
/**
|
||||
* The label key-value pairs placed on the Namespace.
|
||||
*
|
||||
* The `<key>` being the label name, the value being the label value, even if the value is empty.
|
||||
*/
|
||||
public const K8S_NAMESPACE_LABEL = 'k8s.namespace.label';
|
||||
|
||||
/**
|
||||
* The name of the namespace that the pod is running in.
|
||||
*/
|
||||
public const K8S_NAMESPACE_NAME = 'k8s.namespace.name';
|
||||
|
||||
/**
|
||||
* The annotation placed on the Node, the `<key>` being the annotation name, the value being the annotation value, even if the value is empty.
|
||||
*
|
||||
* Examples:
|
||||
*
|
||||
* - An annotation `node.alpha.kubernetes.io/ttl` with value `0` SHOULD be recorded as
|
||||
* the `k8s.node.annotation.node.alpha.kubernetes.io/ttl` attribute with value `"0"`.
|
||||
* - An annotation `data` with empty string value SHOULD be recorded as
|
||||
* the `k8s.node.annotation.data` attribute with value `""`.
|
||||
*/
|
||||
public const K8S_NODE_ANNOTATION = 'k8s.node.annotation';
|
||||
|
||||
/**
|
||||
* The label placed on the Node, the `<key>` being the label name, the value being the label value, even if the value is empty.
|
||||
*
|
||||
* Examples:
|
||||
*
|
||||
* - A label `kubernetes.io/arch` with value `arm64` SHOULD be recorded
|
||||
* as the `k8s.node.label.kubernetes.io/arch` attribute with value `"arm64"`.
|
||||
* - A label `data` with empty string value SHOULD be recorded as
|
||||
* the `k8s.node.label.data` attribute with value `""`.
|
||||
*/
|
||||
public const K8S_NODE_LABEL = 'k8s.node.label';
|
||||
|
||||
/**
|
||||
* The name of the Node.
|
||||
*/
|
||||
|
@ -674,12 +865,30 @@ interface ResourceAttributes
|
|||
public const K8S_NODE_UID = 'k8s.node.uid';
|
||||
|
||||
/**
|
||||
* The annotation key-value pairs placed on the Pod, the `<key>` being the annotation name, the value being the annotation value.
|
||||
* The annotation placed on the Pod, the `<key>` being the annotation name, the value being the annotation value.
|
||||
*
|
||||
* Examples:
|
||||
*
|
||||
* - An annotation `kubernetes.io/enforce-mountable-secrets` with value `true` SHOULD be recorded as
|
||||
* the `k8s.pod.annotation.kubernetes.io/enforce-mountable-secrets` attribute with value `"true"`.
|
||||
* - An annotation `mycompany.io/arch` with value `x64` SHOULD be recorded as
|
||||
* the `k8s.pod.annotation.mycompany.io/arch` attribute with value `"x64"`.
|
||||
* - An annotation `data` with empty string value SHOULD be recorded as
|
||||
* the `k8s.pod.annotation.data` attribute with value `""`.
|
||||
*/
|
||||
public const K8S_POD_ANNOTATION = 'k8s.pod.annotation';
|
||||
|
||||
/**
|
||||
* The label key-value pairs placed on the Pod, the `<key>` being the label name, the value being the label value.
|
||||
* The label placed on the Pod, the `<key>` being the label name, the value being the label value.
|
||||
*
|
||||
* Examples:
|
||||
*
|
||||
* - A label `app` with value `my-app` SHOULD be recorded as
|
||||
* the `k8s.pod.label.app` attribute with value `"my-app"`.
|
||||
* - A label `mycompany.io/arch` with value `x64` SHOULD be recorded as
|
||||
* the `k8s.pod.label.mycompany.io/arch` attribute with value `"x64"`.
|
||||
* - A label `data` with empty string value SHOULD be recorded as
|
||||
* the `k8s.pod.label.data` attribute with value `""`.
|
||||
*/
|
||||
public const K8S_POD_LABEL = 'k8s.pod.label';
|
||||
|
||||
|
@ -693,6 +902,20 @@ interface ResourceAttributes
|
|||
*/
|
||||
public const K8S_POD_UID = 'k8s.pod.uid';
|
||||
|
||||
/**
|
||||
* The annotation key-value pairs placed on the ReplicaSet.
|
||||
*
|
||||
* The `<key>` being the annotation name, the value being the annotation value, even if the value is empty.
|
||||
*/
|
||||
public const K8S_REPLICASET_ANNOTATION = 'k8s.replicaset.annotation';
|
||||
|
||||
/**
|
||||
* The label key-value pairs placed on the ReplicaSet.
|
||||
*
|
||||
* The `<key>` being the label name, the value being the label value, even if the value is empty.
|
||||
*/
|
||||
public const K8S_REPLICASET_LABEL = 'k8s.replicaset.label';
|
||||
|
||||
/**
|
||||
* The name of the ReplicaSet.
|
||||
*/
|
||||
|
@ -723,6 +946,20 @@ interface ResourceAttributes
|
|||
*/
|
||||
public const K8S_RESOURCEQUOTA_UID = 'k8s.resourcequota.uid';
|
||||
|
||||
/**
|
||||
* The annotation key-value pairs placed on the StatefulSet.
|
||||
*
|
||||
* The `<key>` being the annotation name, the value being the annotation value, even if the value is empty.
|
||||
*/
|
||||
public const K8S_STATEFULSET_ANNOTATION = 'k8s.statefulset.annotation';
|
||||
|
||||
/**
|
||||
* The label key-value pairs placed on the StatefulSet.
|
||||
*
|
||||
* The `<key>` being the label name, the value being the label value, even if the value is empty.
|
||||
*/
|
||||
public const K8S_STATEFULSET_LABEL = 'k8s.statefulset.label';
|
||||
|
||||
/**
|
||||
* The name of the StatefulSet.
|
||||
*/
|
||||
|
@ -737,7 +974,7 @@ interface ResourceAttributes
|
|||
* The digest of the OCI image manifest. For container images specifically is the digest by which the container image is known.
|
||||
*
|
||||
* Follows [OCI Image Manifest Specification](https://github.com/opencontainers/image-spec/blob/main/manifest.md), and specifically the [Digest property](https://github.com/opencontainers/image-spec/blob/main/descriptor.md#digests).
|
||||
* An example can be found in [Example Image Manifest](https://docs.docker.com/registry/spec/manifest-v2-2/#example-image-manifest).
|
||||
* An example can be found in [Example Image Manifest](https://github.com/opencontainers/image-spec/blob/main/manifest.md#example-image-manifest).
|
||||
*/
|
||||
public const OCI_MANIFEST_DIGEST = 'oci.manifest.digest';
|
||||
|
||||
|
@ -799,7 +1036,7 @@ interface ResourceAttributes
|
|||
public const PROCESS_COMMAND_LINE = 'process.command_line';
|
||||
|
||||
/**
|
||||
* 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`.
|
||||
* The name of the process executable. On Linux based systems, this SHOULD be set to the base name of the target of `/proc/[pid]/exe`. On Windows, this SHOULD be set to the base name of `GetProcessImageFileNameW`.
|
||||
*/
|
||||
public const PROCESS_EXECUTABLE_NAME = 'process.executable.name';
|
||||
|
||||
|
|
|
@ -11,28 +11,7 @@ interface TraceAttributeValues
|
|||
/**
|
||||
* The URL of the OpenTelemetry schema for these values.
|
||||
*/
|
||||
public const SCHEMA_URL = 'https://opentelemetry.io/schemas/1.30.0';
|
||||
/**
|
||||
* Any time before Activity.onResume() or, if the app has no Activity, Context.startService() has been called in the app for the first time.
|
||||
*
|
||||
* @see TraceAttributes::ANDROID_STATE
|
||||
*/
|
||||
public const ANDROID_STATE_CREATED = 'created';
|
||||
|
||||
/**
|
||||
* Any time after Activity.onPause() or, if the app has no Activity, Context.stopService() has been called when the app was in the foreground state.
|
||||
*
|
||||
* @see TraceAttributes::ANDROID_STATE
|
||||
*/
|
||||
public const ANDROID_STATE_BACKGROUND = 'background';
|
||||
|
||||
/**
|
||||
* Any time after Activity.onResume() or, if the app has no Activity, Context.startService() has been called when the app was in either the created or background states.
|
||||
*
|
||||
* @see TraceAttributes::ANDROID_STATE
|
||||
*/
|
||||
public const ANDROID_STATE_FOREGROUND = 'foreground';
|
||||
|
||||
public const SCHEMA_URL = 'https://opentelemetry.io/schemas/1.32.0';
|
||||
/**
|
||||
* Exception was handled by the exception handling middleware.
|
||||
*
|
||||
|
@ -1172,7 +1151,7 @@ interface TraceAttributeValues
|
|||
public const DB_SYSTEM_INTERBASE = 'interbase';
|
||||
|
||||
/**
|
||||
* MariaDB (This value has stability level RELEASE CANDIDATE)
|
||||
* MariaDB
|
||||
*
|
||||
* @see TraceAttributes::DB_SYSTEM
|
||||
*/
|
||||
|
@ -1200,7 +1179,7 @@ interface TraceAttributeValues
|
|||
public const DB_SYSTEM_MONGODB = 'mongodb';
|
||||
|
||||
/**
|
||||
* Microsoft SQL Server (This value has stability level RELEASE CANDIDATE)
|
||||
* Microsoft SQL Server
|
||||
*
|
||||
* @see TraceAttributes::DB_SYSTEM
|
||||
*/
|
||||
|
@ -1215,7 +1194,7 @@ interface TraceAttributeValues
|
|||
public const DB_SYSTEM_MSSQLCOMPACT = 'mssqlcompact';
|
||||
|
||||
/**
|
||||
* MySQL (This value has stability level RELEASE CANDIDATE)
|
||||
* MySQL
|
||||
*
|
||||
* @see TraceAttributes::DB_SYSTEM
|
||||
*/
|
||||
|
@ -1264,7 +1243,7 @@ interface TraceAttributeValues
|
|||
public const DB_SYSTEM_POINTBASE = 'pointbase';
|
||||
|
||||
/**
|
||||
* PostgreSQL (This value has stability level RELEASE CANDIDATE)
|
||||
* PostgreSQL
|
||||
*
|
||||
* @see TraceAttributes::DB_SYSTEM
|
||||
*/
|
||||
|
@ -1809,6 +1788,181 @@ interface TraceAttributeValues
|
|||
*/
|
||||
public const FEATURE_FLAG_EVALUATION_REASON_ERROR = 'error';
|
||||
|
||||
/**
|
||||
* The resolved value is static (no dynamic evaluation).
|
||||
*
|
||||
* @see TraceAttributes::FEATURE_FLAG_RESULT_REASON
|
||||
*/
|
||||
public const FEATURE_FLAG_RESULT_REASON_STATIC = 'static';
|
||||
|
||||
/**
|
||||
* The resolved value fell back to a pre-configured value (no dynamic evaluation occurred or dynamic evaluation yielded no result).
|
||||
*
|
||||
* @see TraceAttributes::FEATURE_FLAG_RESULT_REASON
|
||||
*/
|
||||
public const FEATURE_FLAG_RESULT_REASON_DEFAULT = 'default';
|
||||
|
||||
/**
|
||||
* The resolved value was the result of a dynamic evaluation, such as a rule or specific user-targeting.
|
||||
*
|
||||
* @see TraceAttributes::FEATURE_FLAG_RESULT_REASON
|
||||
*/
|
||||
public const FEATURE_FLAG_RESULT_REASON_TARGETING_MATCH = 'targeting_match';
|
||||
|
||||
/**
|
||||
* The resolved value was the result of pseudorandom assignment.
|
||||
*
|
||||
* @see TraceAttributes::FEATURE_FLAG_RESULT_REASON
|
||||
*/
|
||||
public const FEATURE_FLAG_RESULT_REASON_SPLIT = 'split';
|
||||
|
||||
/**
|
||||
* The resolved value was retrieved from cache.
|
||||
*
|
||||
* @see TraceAttributes::FEATURE_FLAG_RESULT_REASON
|
||||
*/
|
||||
public const FEATURE_FLAG_RESULT_REASON_CACHED = 'cached';
|
||||
|
||||
/**
|
||||
* The resolved value was the result of the flag being disabled in the management system.
|
||||
*
|
||||
* @see TraceAttributes::FEATURE_FLAG_RESULT_REASON
|
||||
*/
|
||||
public const FEATURE_FLAG_RESULT_REASON_DISABLED = 'disabled';
|
||||
|
||||
/**
|
||||
* The reason for the resolved value could not be determined.
|
||||
*
|
||||
* @see TraceAttributes::FEATURE_FLAG_RESULT_REASON
|
||||
*/
|
||||
public const FEATURE_FLAG_RESULT_REASON_UNKNOWN = 'unknown';
|
||||
|
||||
/**
|
||||
* The resolved value is non-authoritative or possibly out of date
|
||||
*
|
||||
* @see TraceAttributes::FEATURE_FLAG_RESULT_REASON
|
||||
*/
|
||||
public const FEATURE_FLAG_RESULT_REASON_STALE = 'stale';
|
||||
|
||||
/**
|
||||
* The resolved value was the result of an error.
|
||||
*
|
||||
* @see TraceAttributes::FEATURE_FLAG_RESULT_REASON
|
||||
*/
|
||||
public const FEATURE_FLAG_RESULT_REASON_ERROR = 'error';
|
||||
|
||||
/**
|
||||
* Mission critical service.
|
||||
*
|
||||
* @see TraceAttributes::GCP_APPHUB_SERVICE_CRITICALITY_TYPE
|
||||
*/
|
||||
public const GCP_APPHUB_SERVICE_CRITICALITY_TYPE_MISSION_CRITICAL = 'MISSION_CRITICAL';
|
||||
|
||||
/**
|
||||
* High impact.
|
||||
*
|
||||
* @see TraceAttributes::GCP_APPHUB_SERVICE_CRITICALITY_TYPE
|
||||
*/
|
||||
public const GCP_APPHUB_SERVICE_CRITICALITY_TYPE_HIGH = 'HIGH';
|
||||
|
||||
/**
|
||||
* Medium impact.
|
||||
*
|
||||
* @see TraceAttributes::GCP_APPHUB_SERVICE_CRITICALITY_TYPE
|
||||
*/
|
||||
public const GCP_APPHUB_SERVICE_CRITICALITY_TYPE_MEDIUM = 'MEDIUM';
|
||||
|
||||
/**
|
||||
* Low impact.
|
||||
*
|
||||
* @see TraceAttributes::GCP_APPHUB_SERVICE_CRITICALITY_TYPE
|
||||
*/
|
||||
public const GCP_APPHUB_SERVICE_CRITICALITY_TYPE_LOW = 'LOW';
|
||||
|
||||
/**
|
||||
* Production environment.
|
||||
*
|
||||
* @see TraceAttributes::GCP_APPHUB_SERVICE_ENVIRONMENT_TYPE
|
||||
*/
|
||||
public const GCP_APPHUB_SERVICE_ENVIRONMENT_TYPE_PRODUCTION = 'PRODUCTION';
|
||||
|
||||
/**
|
||||
* Staging environment.
|
||||
*
|
||||
* @see TraceAttributes::GCP_APPHUB_SERVICE_ENVIRONMENT_TYPE
|
||||
*/
|
||||
public const GCP_APPHUB_SERVICE_ENVIRONMENT_TYPE_STAGING = 'STAGING';
|
||||
|
||||
/**
|
||||
* Test environment.
|
||||
*
|
||||
* @see TraceAttributes::GCP_APPHUB_SERVICE_ENVIRONMENT_TYPE
|
||||
*/
|
||||
public const GCP_APPHUB_SERVICE_ENVIRONMENT_TYPE_TEST = 'TEST';
|
||||
|
||||
/**
|
||||
* Development environment.
|
||||
*
|
||||
* @see TraceAttributes::GCP_APPHUB_SERVICE_ENVIRONMENT_TYPE
|
||||
*/
|
||||
public const GCP_APPHUB_SERVICE_ENVIRONMENT_TYPE_DEVELOPMENT = 'DEVELOPMENT';
|
||||
|
||||
/**
|
||||
* Mission critical service.
|
||||
*
|
||||
* @see TraceAttributes::GCP_APPHUB_WORKLOAD_CRITICALITY_TYPE
|
||||
*/
|
||||
public const GCP_APPHUB_WORKLOAD_CRITICALITY_TYPE_MISSION_CRITICAL = 'MISSION_CRITICAL';
|
||||
|
||||
/**
|
||||
* High impact.
|
||||
*
|
||||
* @see TraceAttributes::GCP_APPHUB_WORKLOAD_CRITICALITY_TYPE
|
||||
*/
|
||||
public const GCP_APPHUB_WORKLOAD_CRITICALITY_TYPE_HIGH = 'HIGH';
|
||||
|
||||
/**
|
||||
* Medium impact.
|
||||
*
|
||||
* @see TraceAttributes::GCP_APPHUB_WORKLOAD_CRITICALITY_TYPE
|
||||
*/
|
||||
public const GCP_APPHUB_WORKLOAD_CRITICALITY_TYPE_MEDIUM = 'MEDIUM';
|
||||
|
||||
/**
|
||||
* Low impact.
|
||||
*
|
||||
* @see TraceAttributes::GCP_APPHUB_WORKLOAD_CRITICALITY_TYPE
|
||||
*/
|
||||
public const GCP_APPHUB_WORKLOAD_CRITICALITY_TYPE_LOW = 'LOW';
|
||||
|
||||
/**
|
||||
* Production environment.
|
||||
*
|
||||
* @see TraceAttributes::GCP_APPHUB_WORKLOAD_ENVIRONMENT_TYPE
|
||||
*/
|
||||
public const GCP_APPHUB_WORKLOAD_ENVIRONMENT_TYPE_PRODUCTION = 'PRODUCTION';
|
||||
|
||||
/**
|
||||
* Staging environment.
|
||||
*
|
||||
* @see TraceAttributes::GCP_APPHUB_WORKLOAD_ENVIRONMENT_TYPE
|
||||
*/
|
||||
public const GCP_APPHUB_WORKLOAD_ENVIRONMENT_TYPE_STAGING = 'STAGING';
|
||||
|
||||
/**
|
||||
* Test environment.
|
||||
*
|
||||
* @see TraceAttributes::GCP_APPHUB_WORKLOAD_ENVIRONMENT_TYPE
|
||||
*/
|
||||
public const GCP_APPHUB_WORKLOAD_ENVIRONMENT_TYPE_TEST = 'TEST';
|
||||
|
||||
/**
|
||||
* Development environment.
|
||||
*
|
||||
* @see TraceAttributes::GCP_APPHUB_WORKLOAD_ENVIRONMENT_TYPE
|
||||
*/
|
||||
public const GCP_APPHUB_WORKLOAD_ENVIRONMENT_TYPE_DEVELOPMENT = 'DEVELOPMENT';
|
||||
|
||||
/**
|
||||
* Text response format
|
||||
*
|
||||
|
@ -1851,6 +2005,13 @@ interface TraceAttributeValues
|
|||
*/
|
||||
public const GEN_AI_OPERATION_NAME_CHAT = 'chat';
|
||||
|
||||
/**
|
||||
* Multimodal content generation operation such as [Gemini Generate Content](https://ai.google.dev/api/generate-content)
|
||||
*
|
||||
* @see TraceAttributes::GEN_AI_OPERATION_NAME
|
||||
*/
|
||||
public const GEN_AI_OPERATION_NAME_GENERATE_CONTENT = 'generate_content';
|
||||
|
||||
/**
|
||||
* Text completions operation such as [OpenAI Completions API (Legacy)](https://platform.openai.com/docs/api-reference/completions)
|
||||
*
|
||||
|
@ -1865,6 +2026,55 @@ interface TraceAttributeValues
|
|||
*/
|
||||
public const GEN_AI_OPERATION_NAME_EMBEDDINGS = 'embeddings';
|
||||
|
||||
/**
|
||||
* Create GenAI agent
|
||||
*
|
||||
* @see TraceAttributes::GEN_AI_OPERATION_NAME
|
||||
*/
|
||||
public const GEN_AI_OPERATION_NAME_CREATE_AGENT = 'create_agent';
|
||||
|
||||
/**
|
||||
* Invoke GenAI agent
|
||||
*
|
||||
* @see TraceAttributes::GEN_AI_OPERATION_NAME
|
||||
*/
|
||||
public const GEN_AI_OPERATION_NAME_INVOKE_AGENT = 'invoke_agent';
|
||||
|
||||
/**
|
||||
* Execute a tool
|
||||
*
|
||||
* @see TraceAttributes::GEN_AI_OPERATION_NAME
|
||||
*/
|
||||
public const GEN_AI_OPERATION_NAME_EXECUTE_TOOL = 'execute_tool';
|
||||
|
||||
/**
|
||||
* Plain text
|
||||
*
|
||||
* @see TraceAttributes::GEN_AI_OUTPUT_TYPE
|
||||
*/
|
||||
public const GEN_AI_OUTPUT_TYPE_TEXT = 'text';
|
||||
|
||||
/**
|
||||
* JSON object with known or unknown schema
|
||||
*
|
||||
* @see TraceAttributes::GEN_AI_OUTPUT_TYPE
|
||||
*/
|
||||
public const GEN_AI_OUTPUT_TYPE_JSON = 'json';
|
||||
|
||||
/**
|
||||
* Image
|
||||
*
|
||||
* @see TraceAttributes::GEN_AI_OUTPUT_TYPE
|
||||
*/
|
||||
public const GEN_AI_OUTPUT_TYPE_IMAGE = 'image';
|
||||
|
||||
/**
|
||||
* Speech
|
||||
*
|
||||
* @see TraceAttributes::GEN_AI_OUTPUT_TYPE
|
||||
*/
|
||||
public const GEN_AI_OUTPUT_TYPE_SPEECH = 'speech';
|
||||
|
||||
/**
|
||||
* OpenAI
|
||||
*
|
||||
|
@ -1872,17 +2082,40 @@ interface TraceAttributeValues
|
|||
*/
|
||||
public const GEN_AI_SYSTEM_OPENAI = 'openai';
|
||||
|
||||
/**
|
||||
* Any Google generative AI endpoint
|
||||
*
|
||||
* @see TraceAttributes::GEN_AI_SYSTEM
|
||||
*/
|
||||
public const GEN_AI_SYSTEM_GCP_GEN_AI = 'gcp.gen_ai';
|
||||
|
||||
/**
|
||||
* Vertex AI
|
||||
*
|
||||
* @see TraceAttributes::GEN_AI_SYSTEM
|
||||
*/
|
||||
public const GEN_AI_SYSTEM_GCP_VERTEX_AI = 'gcp.vertex_ai';
|
||||
|
||||
/**
|
||||
* Gemini
|
||||
*
|
||||
* @see TraceAttributes::GEN_AI_SYSTEM
|
||||
*/
|
||||
public const GEN_AI_SYSTEM_GCP_GEMINI = 'gcp.gemini';
|
||||
|
||||
/**
|
||||
* Vertex AI
|
||||
*
|
||||
* @see TraceAttributes::GEN_AI_SYSTEM
|
||||
* @deprecated Use 'gcp.vertex_ai' instead.
|
||||
*/
|
||||
public const GEN_AI_SYSTEM_VERTEX_AI = 'vertex_ai';
|
||||
|
||||
/**
|
||||
* Gemini
|
||||
*
|
||||
* @see TraceAttributes::GEN_AI_SYSTEM
|
||||
* @deprecated Use 'gcp.gemini' instead.
|
||||
*/
|
||||
public const GEN_AI_SYSTEM_GEMINI = 'gemini';
|
||||
|
||||
|
@ -1974,9 +2207,17 @@ interface TraceAttributeValues
|
|||
* Output tokens (completion, response, etc.)
|
||||
*
|
||||
* @see TraceAttributes::GEN_AI_TOKEN_TYPE
|
||||
* @deprecated Replaced by `output`.
|
||||
*/
|
||||
public const GEN_AI_TOKEN_TYPE_COMPLETION = 'output';
|
||||
|
||||
/**
|
||||
* Output tokens (completion, response, etc.)
|
||||
*
|
||||
* @see TraceAttributes::GEN_AI_TOKEN_TYPE
|
||||
*/
|
||||
public const GEN_AI_TOKEN_TYPE_OUTPUT = 'output';
|
||||
|
||||
/**
|
||||
* Africa
|
||||
*
|
||||
|
@ -2243,41 +2484,6 @@ interface TraceAttributeValues
|
|||
*/
|
||||
public const HTTP_REQUEST_METHOD_OTHER = '_OTHER';
|
||||
|
||||
/**
|
||||
* The app has become `active`. Associated with UIKit notification `applicationDidBecomeActive`.
|
||||
*
|
||||
* @see TraceAttributes::IOS_STATE
|
||||
*/
|
||||
public const IOS_STATE_ACTIVE = 'active';
|
||||
|
||||
/**
|
||||
* The app is now `inactive`. Associated with UIKit notification `applicationWillResignActive`.
|
||||
*
|
||||
* @see TraceAttributes::IOS_STATE
|
||||
*/
|
||||
public const IOS_STATE_INACTIVE = 'inactive';
|
||||
|
||||
/**
|
||||
* The app is now in the background. This value is associated with UIKit notification `applicationDidEnterBackground`.
|
||||
*
|
||||
* @see TraceAttributes::IOS_STATE
|
||||
*/
|
||||
public const IOS_STATE_BACKGROUND = 'background';
|
||||
|
||||
/**
|
||||
* The app is now in the foreground. This value is associated with UIKit notification `applicationWillEnterForeground`.
|
||||
*
|
||||
* @see TraceAttributes::IOS_STATE
|
||||
*/
|
||||
public const IOS_STATE_FOREGROUND = 'foreground';
|
||||
|
||||
/**
|
||||
* The app is about to terminate. Associated with UIKit notification `applicationWillTerminate`.
|
||||
*
|
||||
* @see TraceAttributes::IOS_STATE
|
||||
*/
|
||||
public const IOS_STATE_TERMINATE = 'terminate';
|
||||
|
||||
/**
|
||||
* Heap memory.
|
||||
*
|
||||
|
@ -3099,6 +3305,125 @@ interface TraceAttributeValues
|
|||
*/
|
||||
public const OS_TYPE_Z_OS = 'z_os';
|
||||
|
||||
/**
|
||||
* The builtin SDK batching span processor
|
||||
*
|
||||
* @see TraceAttributes::OTEL_COMPONENT_TYPE
|
||||
*/
|
||||
public const OTEL_COMPONENT_TYPE_BATCHING_SPAN_PROCESSOR = 'batching_span_processor';
|
||||
|
||||
/**
|
||||
* The builtin SDK simple span processor
|
||||
*
|
||||
* @see TraceAttributes::OTEL_COMPONENT_TYPE
|
||||
*/
|
||||
public const OTEL_COMPONENT_TYPE_SIMPLE_SPAN_PROCESSOR = 'simple_span_processor';
|
||||
|
||||
/**
|
||||
* The builtin SDK batching log record processor
|
||||
*
|
||||
* @see TraceAttributes::OTEL_COMPONENT_TYPE
|
||||
*/
|
||||
public const OTEL_COMPONENT_TYPE_BATCHING_LOG_PROCESSOR = 'batching_log_processor';
|
||||
|
||||
/**
|
||||
* The builtin SDK simple log record processor
|
||||
*
|
||||
* @see TraceAttributes::OTEL_COMPONENT_TYPE
|
||||
*/
|
||||
public const OTEL_COMPONENT_TYPE_SIMPLE_LOG_PROCESSOR = 'simple_log_processor';
|
||||
|
||||
/**
|
||||
* OTLP span exporter over gRPC with protobuf serialization
|
||||
*
|
||||
* @see TraceAttributes::OTEL_COMPONENT_TYPE
|
||||
*/
|
||||
public const OTEL_COMPONENT_TYPE_OTLP_GRPC_SPAN_EXPORTER = 'otlp_grpc_span_exporter';
|
||||
|
||||
/**
|
||||
* OTLP span exporter over HTTP with protobuf serialization
|
||||
*
|
||||
* @see TraceAttributes::OTEL_COMPONENT_TYPE
|
||||
*/
|
||||
public const OTEL_COMPONENT_TYPE_OTLP_HTTP_SPAN_EXPORTER = 'otlp_http_span_exporter';
|
||||
|
||||
/**
|
||||
* OTLP span exporter over HTTP with JSON serialization
|
||||
*
|
||||
* @see TraceAttributes::OTEL_COMPONENT_TYPE
|
||||
*/
|
||||
public const OTEL_COMPONENT_TYPE_OTLP_HTTP_JSON_SPAN_EXPORTER = 'otlp_http_json_span_exporter';
|
||||
|
||||
/**
|
||||
* OTLP log record exporter over gRPC with protobuf serialization
|
||||
*
|
||||
* @see TraceAttributes::OTEL_COMPONENT_TYPE
|
||||
*/
|
||||
public const OTEL_COMPONENT_TYPE_OTLP_GRPC_LOG_EXPORTER = 'otlp_grpc_log_exporter';
|
||||
|
||||
/**
|
||||
* OTLP log record exporter over HTTP with protobuf serialization
|
||||
*
|
||||
* @see TraceAttributes::OTEL_COMPONENT_TYPE
|
||||
*/
|
||||
public const OTEL_COMPONENT_TYPE_OTLP_HTTP_LOG_EXPORTER = 'otlp_http_log_exporter';
|
||||
|
||||
/**
|
||||
* OTLP log record exporter over HTTP with JSON serialization
|
||||
*
|
||||
* @see TraceAttributes::OTEL_COMPONENT_TYPE
|
||||
*/
|
||||
public const OTEL_COMPONENT_TYPE_OTLP_HTTP_JSON_LOG_EXPORTER = 'otlp_http_json_log_exporter';
|
||||
|
||||
/**
|
||||
* The builtin SDK periodically exporting metric reader
|
||||
*
|
||||
* @see TraceAttributes::OTEL_COMPONENT_TYPE
|
||||
*/
|
||||
public const OTEL_COMPONENT_TYPE_PERIODIC_METRIC_READER = 'periodic_metric_reader';
|
||||
|
||||
/**
|
||||
* OTLP metric exporter over gRPC with protobuf serialization
|
||||
*
|
||||
* @see TraceAttributes::OTEL_COMPONENT_TYPE
|
||||
*/
|
||||
public const OTEL_COMPONENT_TYPE_OTLP_GRPC_METRIC_EXPORTER = 'otlp_grpc_metric_exporter';
|
||||
|
||||
/**
|
||||
* OTLP metric exporter over HTTP with protobuf serialization
|
||||
*
|
||||
* @see TraceAttributes::OTEL_COMPONENT_TYPE
|
||||
*/
|
||||
public const OTEL_COMPONENT_TYPE_OTLP_HTTP_METRIC_EXPORTER = 'otlp_http_metric_exporter';
|
||||
|
||||
/**
|
||||
* OTLP metric exporter over HTTP with JSON serialization
|
||||
*
|
||||
* @see TraceAttributes::OTEL_COMPONENT_TYPE
|
||||
*/
|
||||
public const OTEL_COMPONENT_TYPE_OTLP_HTTP_JSON_METRIC_EXPORTER = 'otlp_http_json_metric_exporter';
|
||||
|
||||
/**
|
||||
* The span is not sampled and not recording
|
||||
*
|
||||
* @see TraceAttributes::OTEL_SPAN_SAMPLING_RESULT
|
||||
*/
|
||||
public const OTEL_SPAN_SAMPLING_RESULT_DROP = 'DROP';
|
||||
|
||||
/**
|
||||
* The span is not sampled, but recording
|
||||
*
|
||||
* @see TraceAttributes::OTEL_SPAN_SAMPLING_RESULT
|
||||
*/
|
||||
public const OTEL_SPAN_SAMPLING_RESULT_RECORD_ONLY = 'RECORD_ONLY';
|
||||
|
||||
/**
|
||||
* The span is sampled and recording
|
||||
*
|
||||
* @see TraceAttributes::OTEL_SPAN_SAMPLING_RESULT
|
||||
*/
|
||||
public const OTEL_SPAN_SAMPLING_RESULT_RECORD_AND_SAMPLE = 'RECORD_AND_SAMPLE';
|
||||
|
||||
/**
|
||||
* The operation has been validated by an Application developer or Operator to have completed successfully.
|
||||
*
|
||||
|
@ -4101,6 +4426,42 @@ interface TraceAttributeValues
|
|||
*/
|
||||
public const VCS_LINE_CHANGE_TYPE_REMOVED = 'removed';
|
||||
|
||||
/**
|
||||
* [GitHub](https://github.com)
|
||||
*
|
||||
* @see TraceAttributes::VCS_PROVIDER_NAME
|
||||
*/
|
||||
public const VCS_PROVIDER_NAME_GITHUB = 'github';
|
||||
|
||||
/**
|
||||
* [GitLab](https://gitlab.com)
|
||||
*
|
||||
* @see TraceAttributes::VCS_PROVIDER_NAME
|
||||
*/
|
||||
public const VCS_PROVIDER_NAME_GITLAB = 'gitlab';
|
||||
|
||||
/**
|
||||
* Deprecated, use `gitea` instead.
|
||||
*
|
||||
* @see TraceAttributes::VCS_PROVIDER_NAME
|
||||
* @deprecated Replaced by `gitea`.
|
||||
*/
|
||||
public const VCS_PROVIDER_NAME_GITTEA = 'gittea';
|
||||
|
||||
/**
|
||||
* [Gitea](https://gitea.io)
|
||||
*
|
||||
* @see TraceAttributes::VCS_PROVIDER_NAME
|
||||
*/
|
||||
public const VCS_PROVIDER_NAME_GITEA = 'gitea';
|
||||
|
||||
/**
|
||||
* [Bitbucket](https://bitbucket.org)
|
||||
*
|
||||
* @see TraceAttributes::VCS_PROVIDER_NAME
|
||||
*/
|
||||
public const VCS_PROVIDER_NAME_BITBUCKET = 'bitbucket';
|
||||
|
||||
/**
|
||||
* [branch](https://git-scm.com/docs/gitglossary#Documentation/gitglossary.txt-aiddefbranchabranch)
|
||||
*
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -6,6 +6,7 @@ namespace OpenTelemetry\SemConv;
|
|||
|
||||
enum Version: string
|
||||
{
|
||||
case VERSION_1_32_0 = '1.32.0';
|
||||
case VERSION_1_30_0 = '1.30.0';
|
||||
case VERSION_1_28_0 = '1.28.0';
|
||||
case VERSION_1_27_0 = '1.27.0';
|
||||
|
|
|
@ -695,7 +695,7 @@ resource:
|
|||
- process.command_args
|
||||
# Configure resource schema URL.
|
||||
# If omitted or null, no schema URL is used.
|
||||
schema_url: https://opentelemetry.io/schemas/1.30.0
|
||||
schema_url: https://opentelemetry.io/schemas/1.32.0
|
||||
# Configure instrumentation.
|
||||
instrumentation:
|
||||
# Configure general SemConv options that may apply to multiple languages and instrumentations.
|
||||
|
|
Loading…
Reference in New Issue