I put a preview copy of two Java services next to the originals on EKS, flipped one flag on the copy, and opened Splunk Observability Cloud to see what my dashboards will meet when the OpenTelemetry Java agent 3.0 becomes the default.
Every connection pool metric moved to its new name, and the same pool timing was stored about 1,000 times smaller: the old values times 0.001 matched the new ones within 1.1% in all three rounds. That's the conversion your charts and thresholds will need.
The flag is OTEL_INSTRUMENTATION_COMMON_V3_PREVIEW=true, on the same jar, image and load, and you can run the same check before any upgrade.
TL;DR
- One environment variable on a copy of each service shows 3.0's database names in Splunk, while the originals keep feeding your charts.
- Pool metrics moved to
db.client.connection.*(65 series per service, 0 under the old names), and the same pool timing was stored about 1,000 times smaller in all three rounds.db.client.operation.durationappeared with the preview: 0 series before, 112 after.- Span names move from
UPDATE postgres.stocktoupdate stock, and the agent sendsdb.query.textanddb.system.nameinstead ofdb.statementanddb.system.
Why I looked before upgrading
The OpenTelemetry project shipped 2.32.0 as the 3.0 release candidate and asks users to preview it now. With the default agent, Splunk held this for two Spring Boot services on Postgres:
default run, orders: pool series under db.client.connections.* 65, under db.client.connection.* 0
default run, inventory: pool series under db.client.connections.* 65, under db.client.connection.* 0
default run: db.client.operation.duration series 0
One flag, on a copy rather than the live service
The preview turns off dual emission for these names, as the blog explains, so switching a live service would move its charts at once. fix.sh copies the running pair to orders-v3 and inventory-v3 on the same node, with two changes to the environment:
env:
- name: OTEL_INSTRUMENTATION_COMMON_V3_PREVIEW
value: "true"
- name: JAVA_TOOL_OPTIONS # same options, with a -v3 environment label
value: "-javaagent:/lab/opentelemetry-javaagent.jar ... -Dotel.resource.attributes=deployment.environment=YOUR_ENV-v3 ..."
For your own service, copy its Deployment under a new name with the same two changes.
Run it in your own account in 3 steps
Step 1: Create the cluster (the EKS cluster took 6m34s in my run)
git clone https://github.com/Abhimanyu9988/showmerit.git
cd showmerit/labs/preview-otel-java-agent-3-0-in-splunk-with-one-flag
export AWS_REGION=eu-central-1 TF_VAR_region=eu-central-1 LAB_NAME=agent3-preview TF_VAR_lab_name=agent3-preview
export SPLUNK_REALM=us1 SPLUNK_ACCESS_TOKEN=your-ingest-token SPLUNK_API_TOKEN=your-api-token
terraform init && terraform apply -auto-approve
Step 2: Record what the default agent sends (about 7 minutes)
Run ./reproduce.sh. It installs the Splunk OTel Collector (chart 0.163.1), starts orders, inventory and Postgres with agent 2.33.1 on its defaults, runs a load and reads Splunk back.
Step 3: Start the preview copy and compare (about 12 minutes)
Run ./fix.sh. It starts the copy, warms it up, and runs three 90-second rounds against both pairs at once: 19.89 requests a second each, 0 failed.
Four things that changed in Splunk
1. Pool metric names. 05-fix.log lists 19 pool metric names for each mode (lines 32 to 50 and 52 to 70), counting histogram parts separately. Grouped by base metric, as Splunk stored them:
| Default agent | 3.0 preview | Unit, from the free check |
|---|---|---|
db.client.connections.usage |
db.client.connection.count |
|
db.client.connections.max |
db.client.connection.limit |
|
db.client.connections.idle.min |
db.client.connection.idle.min |
|
db.client.connections.pending_requests |
db.client.connection.pending_requests |
|
db.client.connections.use_time (5 parts) |
db.client.connection.use_time (5 parts) |
ms, then s |
db.client.connections.wait_time (5 parts) |
db.client.connection.wait_time (5 parts) |
not read |
db.client.connections.create_time (5 parts) |
db.client.connection.create_time (5 parts) |
not read |
The five parts are _bucket, _count, _max, _min and _sum. Each service had 65 series under the new names and 0 under the old.
2. Stored pool timings. Same work, same minutes. Splunk stored values as sent: the default mean in milliseconds, the preview mean in seconds:
| Round | Default use_time mean |
Preview use_time mean |
Ratio |
|---|---|---|---|
| 1 | 3.073044 | 0.003106 | 989.4 |
| 2 | 2.829065 | 0.002802 | 1009.7 |
| 3 | 2.837665 | 0.002859 | 992.5 |
Scaled by 0.001, the default means read 0.003073, 0.002829 and 0.002838 seconds, within 1.1% of the preview's values in each round. That's the conversion to apply to any chart or threshold built on the old use_time.
3. Span names and keys. One span from each pair's trace, as Splunk APM returned them (05-fix.log lines 164 and 168). Splunk also lists normalized keys such as db.query.text on the default span; the agent's own keys are in the next section:
inventory UPDATE postgres.stock: db.collection.name=stock db.connection_string=postgresql://postgres:5432 db.name=postgres db.namespace=postgres db.operation=UPDATE db.operation.name=UPDATE db.query.text=update stock set qty = qty where id = ? db.sql.table=stock db.statement=update stock set qty = qty where id = ? db.system=postgresql db.system.name=postgresql db.user=postgres
inventory update stock: db.namespace=postgres|postgres db.query.summary=update stock db.query.text=update stock set qty = qty where id = ? db.system.name=postgresql
These Splunk APM screenshots come from the first EKS run of this same lab (workflow run 43319570384, 12 November 2026), which stopped on one Splunk read. Its traces show the same span names and keys:

The preview's db.namespace reads postgres|postgres. The OpenTelemetry blog's example of the new format is orders|public; I didn't record this lab's schema settings, so check your own value.
4. A new metric. db.client.operation.duration went from 0 series to 112 with the preview.
What the agent itself sends
The agent itself sends only the old keys by default. The lab's free check (evidence/00-free-check.log) prints the agent's own console output, before any Collector or Splunk is involved:
-- default run: database span keys: db.connection_string db.name db.operation db.sql.table db.statement db.system db.user
-- preview run: database span keys: db.namespace db.query.summary db.query.text db.system.name
use_time unit: default ms, preview s
So the change to plan for is the agent's: db.statement, db.system, db.name, db.operation and db.sql.table give way to db.query.text, db.system.name, db.namespace and db.query.summary. The last line shows the agent declaring the pool timing unit as ms by default and s with the preview.

Before you upgrade: a short checklist
- Pool charts during the move: for means from
_sumand_count, plot both names with the olduse_timescaled by 0.001, as in the table above. Histogram bucket edges are in different units in each mode, so percentile charts can't be matched by scaling; I didn't test those. Rememberusagebecomescountandmaxbecomeslimit. - Thresholds on
use_time: the stored value is about 1,000 times smaller, so check every number written on it. I didn't readwait_timeorcreate_timein both units, so check those on your own data. - Span searches and filters: anything on
db.statement,db.system,db.name,db.operationordb.sql.tableneeds the agent's new keys, and Splunk APM's own normalized keys are worth checking on your data. - Filters on
db.namespace: an exact match onpostgreswon't matchpostgres|postgres.
Clean up (the cluster costs money while it runs)
./cleanup.sh
terraform destroy -auto-approve
What I didn't test
- Code and messaging renames, which the OpenTelemetry blog lists.
- Dual emission, which the blog says the preview turns off. I didn't measure it.
- The final 3.0. The preview can still change before 3.0, as the project says.
- Other databases, pools or agent versions.
Sources
Disclosure: I work at Splunk, part of Cisco, and contribute to OpenTelemetry. This is my personal writing; the post isn't sponsored or reviewed by my employer.
I built this in a disposable AWS lab. The lab code and raw output are public. Drafted with AI assistance and reviewed by me.