opentelemetry-java-contrib/cloudfoundry-resources
renovate[bot] 5a3c5f6cd1
fix(deps): update dependency io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha to v2.16.0-alpha (#1886)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2025-05-16 14:36:50 +00:00
..
src Add CloudFoundry Resource Provider (#1613) 2025-02-21 21:17:14 +00:00
README.md fix(deps): update dependency io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha to v2.16.0-alpha (#1886) 2025-05-16 14:36:50 +00:00
build.gradle.kts Add CloudFoundry Resource Provider (#1613) 2025-02-21 21:17:14 +00:00

README.md

OpenTelemetry CloudFoundry Resource Support

This module contains CloudFoundry resource detectors for OpenTelemetry.

The module detects environment variable VCAP_APPLICATION, which is present for applications deployed in CloudFoundry. This variable contains a JSON structure, which is parsed to fill the following attributes.

Resource attribute VCAP_APPLICATION field
cloudfoundry.app.id application_id
cloudfoundry.app.name application_name
cloudfoundry.app.instance.id instance_index
cloudfoundry.org.id organization_id
cloudfoundry.org.name organization_name
cloudfoundry.process.id process_id
cloudfoundry.process.type process_type
cloudfoundry.space.id space_id
cloudfoundry.space.name space_name

The resource attributes follow the CloudFoundry semantic convention.. A description of VCAP_APPLICATION is available in the CloudFoundry documentation.

Component owners

Learn more about component owners in component_owners.yml.