# Propagating OpenTelemetry Resource Attributes to Process Group and Host in Application-Only Monitoring

**URL:** <https://community.dynatrace.com/t/propagating-opentelemetry-resource-attributes-to-process-group-and-host-in-application-only-monitoring/57188>\
**Category:** Container platforms\
**Tags:** opentelemetry, process-groups, docker\
**Created:** [October 20, 2026, 7:37am UTC](https://community.dynatrace.com/t/propagating-opentelemetry-resource-attributes-to-process-group-and-host-in-application-only-monitoring/57188 "2026-10-20T07:37:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Max\_part](https://avatars.discourse-cdn.com/v4/letter/m/e47774/32.png) [@Max\_part](https://community.dynatrace.com/u/Max_part)\
**Post date:** [October 20, 2026, 7:37am UTC](https://community.dynatrace.com/t/propagating-opentelemetry-resource-attributes-to-process-group-and-host-in-application-only-monitoring/57188/1 "2026-10-20T07:37:46Z")

</div>

Hello,

We are using Dynatrace in **Application-Only Monitoring mode** to monitor a Dockerized application.

Our deployment follows the official Dynatrace documentation:

> **[Set up OneAgent on containers for application-only monitoring](https://docs.dynatrace.com/docs/ingest-from/setup-on-container-platforms/docker/set-up-oneagent-on-containers-for-application-only-monitoring)**
>
> Install, update, and uninstall OneAgent on containers for application-only monitoring.

### 1. Current configuration

The application is deployed using Docker Compose, with the following environment variable:

```auto
environment:
  - OTEL_RESOURCE_ATTRIBUTES=primary_tags.host=1,primary_tags.env=RECETTE

```

The application is instrumented using the Dynatrace Application-Only Monitoring approach.

With this configuration, the primary\_tags.host=1 and primary\_tags.env=RECETTE attributes are correctly applied to the corresponding service in Dynatrace.

However, these tags are not available on the associated Process Group and Host entities.

### 2. Expected behavior

We would like to propagate the same tag values consistently across the related Dynatrace entities:

- **Service:** primary\_tags.env=RECETTE
- **Process Group:** primary\_tags.env=RECETTE
- **Host / container entity:** primary\_tags.env=RECETTE

Our objective is to maintain consistent tagging across the application and its associated entities, enabling consistent filtering, segmentation, and analysis throughout Dynatrace.

The same requirement applies to primary\_tags.host=1.

### 3. Questions&nbsp;

Could you please advise on the recommended and officially supported approach for this use case?

In particular:

1. **Ingest Rule Enrichment / Grail enrichment:** Can an ingest enrichment rule be configured to propagate or derive the primary\_tags.env value from OpenTelemetry resource attributes to the associated Process Group and Host entities? If so, which data source, matching conditions, and target attributes should be used?
2. **Primary Grail Tags:** Can Primary Grail Tags be used to achieve consistent tagging across services, Process Groups, and Hosts in this Application-Only Monitoring setup? If not, what are their limitations in this context?
3. **Application-Only Monitoring limitations:** Does this deployment mode support tagging the Process Group and the container/Host entity using OpenTelemetry resource attributes, or are these attributes limited to application-level entities and telemetry?
4. **Alternative recommended solution:** If ingest enrichment is not suitable, would you recommend another supported approach, such as process-level tags, container metadata, a dedicated enrichment rule, or a different configuration?
5. **Configuration example:** Could you provide a concrete configuration example for our Docker Compose deployment, including any required prerequisites or version constraints?

We would prefer a centralized, maintainable solution that avoids having to define the same tag values independently at multiple levels, if this is supported.

Regards
