18
18
@ SuppressWarnings ("unused" )
19
19
public final class ResourceAttributes {
20
20
/** The URL of the OpenTelemetry schema for these keys and values. */
21
- public static final String SCHEMA_URL = "https://opentelemetry.io/schemas/1.15 .0" ;
21
+ public static final String SCHEMA_URL = "https://opentelemetry.io/schemas/1.16 .0" ;
22
22
23
23
/**
24
24
* Array of brand name and version separated by a space
@@ -404,7 +404,11 @@ public final class ResourceAttributes {
404
404
*/
405
405
public static final AttributeKey <Long > FAAS_MAX_MEMORY = longKey ("faas.max_memory" );
406
406
407
- /** Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider. */
407
+ /**
408
+ * Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider. For
409
+ * non-containerized Linux systems, the {@code machine-id} located in {@code /etc/machine-id} or
410
+ * {@code /var/lib/dbus/machine-id} may be used.
411
+ */
408
412
public static final AttributeKey <String > HOST_ID = stringKey ("host.id" );
409
413
410
414
/**
@@ -672,6 +676,8 @@ public static final class CloudProviderValues {
672
676
public static final String AZURE = "azure" ;
673
677
/** Google Cloud Platform. */
674
678
public static final String GCP = "gcp" ;
679
+ /** IBM Cloud. */
680
+ public static final String IBM_CLOUD = "ibm_cloud" ;
675
681
/** Tencent Cloud. */
676
682
public static final String TENCENT_CLOUD = "tencent_cloud" ;
677
683
@@ -683,6 +689,8 @@ public static final class CloudPlatformValues {
683
689
public static final String ALIBABA_CLOUD_ECS = "alibaba_cloud_ecs" ;
684
690
/** Alibaba Cloud Function Compute. */
685
691
public static final String ALIBABA_CLOUD_FC = "alibaba_cloud_fc" ;
692
+ /** Red Hat OpenShift on Alibaba Cloud. */
693
+ public static final String ALIBABA_CLOUD_OPENSHIFT = "alibaba_cloud_openshift" ;
686
694
/** AWS Elastic Compute Cloud. */
687
695
public static final String AWS_EC2 = "aws_ec2" ;
688
696
/** AWS Elastic Container Service. */
@@ -695,6 +703,8 @@ public static final class CloudPlatformValues {
695
703
public static final String AWS_ELASTIC_BEANSTALK = "aws_elastic_beanstalk" ;
696
704
/** AWS App Runner. */
697
705
public static final String AWS_APP_RUNNER = "aws_app_runner" ;
706
+ /** Red Hat OpenShift on AWS (ROSA). */
707
+ public static final String AWS_OPENSHIFT = "aws_openshift" ;
698
708
/** Azure Virtual Machines. */
699
709
public static final String AZURE_VM = "azure_vm" ;
700
710
/** Azure Container Instances. */
@@ -705,6 +715,8 @@ public static final class CloudPlatformValues {
705
715
public static final String AZURE_FUNCTIONS = "azure_functions" ;
706
716
/** Azure App Service. */
707
717
public static final String AZURE_APP_SERVICE = "azure_app_service" ;
718
+ /** Azure Red Hat OpenShift. */
719
+ public static final String AZURE_OPENSHIFT = "azure_openshift" ;
708
720
/** Google Cloud Compute Engine (GCE). */
709
721
public static final String GCP_COMPUTE_ENGINE = "gcp_compute_engine" ;
710
722
/** Google Cloud Run. */
@@ -715,6 +727,10 @@ public static final class CloudPlatformValues {
715
727
public static final String GCP_CLOUD_FUNCTIONS = "gcp_cloud_functions" ;
716
728
/** Google Cloud App Engine (GAE). */
717
729
public static final String GCP_APP_ENGINE = "gcp_app_engine" ;
730
+ /** Red Hat OpenShift on Google Cloud. */
731
+ public static final String GOOGLE_CLOUD_OPENSHIFT = "google_cloud_openshift" ;
732
+ /** Red Hat OpenShift on IBM Cloud. */
733
+ public static final String IBM_CLOUD_OPENSHIFT = "ibm_cloud_openshift" ;
718
734
/** Tencent Cloud Cloud Virtual Machine (CVM). */
719
735
public static final String TENCENT_CLOUD_CVM = "tencent_cloud_cvm" ;
720
736
/** Tencent Cloud Elastic Kubernetes Service (EKS). */
0 commit comments