# 📡 Important: OTLP Metric Dimensions Changes

**URL:** <https://community.dynatrace.com/t/important-otlp-metric-dimensions-changes/54637>\
**Category:** Product News\
**Tags:** dynatrace-managed, opentelemetry, services\
**Created:** [January 14, 2026, 5:11pm UTC](https://community.dynatrace.com/t/important-otlp-metric-dimensions-changes/54637 "2026-01-14T17:11:10Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![mreider](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mreider/32/14971_2.png) [@mreider](https://community.dynatrace.com/u/mreider)\
**Post date:** [January 14, 2026, 5:11pm UTC](https://community.dynatrace.com/t/important-otlp-metric-dimensions-changes/54637/1 "2026-01-14T17:11:10Z")

</div>

Starting January 2026, we’re making two changes to how OTLP metrics are processed:

We are introducing an opt-in setting for **“advanced OTLP metric dimensions”** ([docs](https://docs.dynatrace.com/docs/shortlink/otel-getstarted-metrics-configure#advanced-otlp-metric-dimensions)).

**The upside 🙂** after enabling it, OTLP metrics will support extended dimension capabilities, including Primary Grail Fields, higher cardinality limits, faster queries, and relaxed requirements for dimension names (including uppercase, or special characters like slashes).

**The downside 😥** after enabling this setting:

- **OTLP metrics will no longer be automatically enriched with `dt.entity.service`.** If you use this dimension in SLOs, alerts, or dashboards, you’ll need to update your queries.
- **Mixed-case dimension keys are no longer normalized to lowercase.** Previously, Metrics Classic required dimension names to be lowercase, so they were normalized on ingest (e.g. from `myCustomDimension` to `mycustomdimension`). With the toggle on, dimensions are stored exactly as your instrumentation sends them. DQL is case-sensitive, so existing queries that reference the lowercased form will return no data until updated.

## Migrating Your Queries

### 1. Replace `dt.entity.service` filters

Current pattern:

```auto
timeseries sum(request_counter, rate: 1m),
  filter: { dt.entity.service == "SERVICE-4E5FC455D32B2912" }

```

New pattern:

Since `dt.entity.service` was calculated from SDv2 service detection rules, you can filter using the same underlying attributes. For Kubernetes workloads:

```auto
timeseries sum(request_counter, rate: 1m),
  filter: {
    k8s.workload.name == "productcatalogservice"
    and k8s.namespace.name == "astroshop"
    and k8s.cluster.uid == "28d34e2d-2420-4ca7-9d3a-4fc69cac077b"
  }

```

For non-Kubernetes deployments, use `service.name`:

```auto
timeseries sum(request_counter, rate: 1m),
  filter: { service.name == "productcatalogservice" }

```

These attributes must already be present as resource attributes on your OTLP metrics. Dynatrace does not automatically add them. OpenTelemetry instrumentation must send them. If you’ve customized your SDv2 detection rules, use the same custom attributes in your queries.

### 2. Update mixed-case dimension references

If your instrumentation emits camelCase or PascalCase dimension keys, update queries to match the original casing.

Before (Metrics Classic forced lowercase):

```auto
timeseries sum(http_requests),
  filter: { httpmethod == "GET" and customertier == "gold" }

```

After (toggle on, original casing preserved):

```auto
timeseries sum(http_requests),
  filter: { httpMethod == "GET" and customerTier == "gold" }

```

Audit notebooks, dashboards, SLOs, and alerts for any dimension keys that your instrumentation sends in mixed case. If you’d rather keep lowercase queries, normalize at the source: in your instrumentation, in an OpenTelemetry Collector processing pipeline, or via an OpenPipeline rule.

## What You Gain

Once enabled, OTLP metrics support:

- **Primary Grail Fields as dimensions:** Use fields like `k8s.namespace.name`, `aws.account.id`, `azure.subscription`, `gcp.project.id` for filtering, grouping, and correlation.
- **Higher cardinality limits:** Significantly increased limits compared to the previous protocol.
- **Faster query performance:** Optimized for Grail.
- **Special characters in dimensions:** Slashes and other characters now supported.
- **Original dimension casing preserved:** Mixed-case keys (e.g., `myCustomDimension`) are stored as sent, instead of being force-lowercased to match Metrics Classic rules. See migration note above.

These dimensions enable downstream capabilities like pipeline routing, bucket assignment, security context, cost allocation, and segment-based alerting, provided your instrumentation sends the relevant resource attributes.

## Supported Primary Grail Fields

- `aws.account.id`
- `aws.region`
- `azure.location`
- `azure.resource.group`
- `azure.subscription`
- `gcp.project.id`
- `gcp.region`
- `k8s.cluster.name`
- `k8s.namespace.name`
- `dt.host_group.id`

## Timeline

**February 2026: Opt-in available**

- A toggle appears in **Settings: Enable advanced OTLP metric dimensions**
- Enabling the toggle removes `dt.entity.service` from OTLP metrics
- Enabling the toggle preserves original dimension key casing (no more forced lowercase)
- Test in lower environments before enabling in production

**Ongoing rollout**

- New tenants get the toggle enabled by default
- Existing tenants get it enabled when they opt into Phase 3, or at any time via the toggle
- No forced migration for existing tenants; you stay on the previous behavior until you opt in
- Update your queries, SLOs, alerts, and dashboards before enabling

### Need Help?

If you have questions or need assistance migrating your queries, contact your Dynatrace support team or reply to this post.

---

_[View the full topic](https://community.dynatrace.com/t/important-otlp-metric-dimensions-changes/54637)._
