Class CloudfoundryIncubatingAttributes
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.opentelemetry.api.common.AttributeKey<String>The guid of the application.static final io.opentelemetry.api.common.AttributeKey<String>The index of the application instance. 0 when just one instance is active.static final io.opentelemetry.api.common.AttributeKey<String>The name of the application.static final io.opentelemetry.api.common.AttributeKey<String>The guid of the CloudFoundry org the application is running in.static final io.opentelemetry.api.common.AttributeKey<String>The name of the CloudFoundry organization the app is running in.static final io.opentelemetry.api.common.AttributeKey<String>The UID identifying the process.static final io.opentelemetry.api.common.AttributeKey<String>The type of process.static final io.opentelemetry.api.common.AttributeKey<String>The guid of the CloudFoundry space the application is running in.static final io.opentelemetry.api.common.AttributeKey<String>The name of the CloudFoundry space the application is running in.static final io.opentelemetry.api.common.AttributeKey<String>A guid or another name describing the event source.static final io.opentelemetry.api.common.AttributeKey<String>A guid describing the concrete instance of the event source. -
Method Summary
-
Field Details
-
CLOUDFOUNDRY_APP_ID
The guid of the application.Notes:
Application instrumentation should use the value from environment variable
VCAP_APPLICATION.application_id. This is the same value as reported bycf app <app-name> --guid. -
CLOUDFOUNDRY_APP_INSTANCE_ID
The index of the application instance. 0 when just one instance is active.Notes:
CloudFoundry defines the
instance_idin the Loggregator v2 envelope. It is used for logs and metrics emitted by CloudFoundry. It is supposed to contain the application instance index for applications deployed on the runtime.Application instrumentation should use the value from environment variable
CF_INSTANCE_INDEX. -
CLOUDFOUNDRY_APP_NAME
The name of the application.Notes:
Application instrumentation should use the value from environment variable
VCAP_APPLICATION.application_name. This is the same value as reported bycf apps. -
CLOUDFOUNDRY_ORG_ID
The guid of the CloudFoundry org the application is running in.Notes:
Application instrumentation should use the value from environment variable
VCAP_APPLICATION.org_id. This is the same value as reported bycf org <org-name> --guid. -
CLOUDFOUNDRY_ORG_NAME
The name of the CloudFoundry organization the app is running in.Notes:
Application instrumentation should use the value from environment variable
VCAP_APPLICATION.org_name. This is the same value as reported bycf orgs. -
CLOUDFOUNDRY_PROCESS_ID
The UID identifying the process.Notes:
Application instrumentation should use the value from environment variable
VCAP_APPLICATION.process_id. It is supposed to be equal toVCAP_APPLICATION.app_idfor applications deployed to the runtime. For system components, this could be the actual PID. -
CLOUDFOUNDRY_PROCESS_TYPE
The type of process.Notes:
CloudFoundry applications can consist of multiple jobs. Usually the main process will be of type
web. There can be additional background tasks or side-cars with different process types. -
CLOUDFOUNDRY_SPACE_ID
The guid of the CloudFoundry space the application is running in.Notes:
Application instrumentation should use the value from environment variable
VCAP_APPLICATION.space_id. This is the same value as reported bycf space <space-name> --guid. -
CLOUDFOUNDRY_SPACE_NAME
The name of the CloudFoundry space the application is running in.Notes:
Application instrumentation should use the value from environment variable
VCAP_APPLICATION.space_name. This is the same value as reported bycf spaces. -
CLOUDFOUNDRY_SYSTEM_ID
A guid or another name describing the event source.Notes:
CloudFoundry defines the
source_idin the Loggregator v2 envelope. It is used for logs and metrics emitted by CloudFoundry. It is supposed to contain the component name, e.g. "gorouter", for CloudFoundry components.When system components are instrumented, values from the Bosh spec should be used. The
system.idshould be set tospec.deployment/spec.name. -
CLOUDFOUNDRY_SYSTEM_INSTANCE_ID
public static final io.opentelemetry.api.common.AttributeKey<String> CLOUDFOUNDRY_SYSTEM_INSTANCE_IDA guid describing the concrete instance of the event source.Notes:
CloudFoundry defines the
instance_idin the Loggregator v2 envelope. It is used for logs and metrics emitted by CloudFoundry. It is supposed to contain the vm id for CloudFoundry components.When system components are instrumented, values from the Bosh spec should be used. The
system.instance.idshould be set tospec.id.
-