Skip to content

Known issue - timestamp.us as float for APM Server when non-Elasticsearch output is used#20508

Merged
endorama merged 4 commits intoelastic:mainfrom
lucabelluccini:patch-1
Feb 27, 2026
Merged

Known issue - timestamp.us as float for APM Server when non-Elasticsearch output is used#20508
endorama merged 4 commits intoelastic:mainfrom
lucabelluccini:patch-1

Conversation

@lucabelluccini
Copy link
Copy Markdown
Contributor

Add known issue for elastic/elasticsearch#143173 and #20496

@lucabelluccini lucabelluccini requested a review from a team as a code owner February 26, 2026 19:14
@github-actions
Copy link
Copy Markdown
Contributor

🤖 GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 26, 2026

🔍 Preview links for changed docs

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Feb 26, 2026

This pull request does not have a backport label. Could you fix it @lucabelluccini? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-8.19 is the label to automatically backport to the 8.19 branch.
  • backport-9./d is the label to automatically backport to the 9./d branch. /d is the digit.
  • backport-active-all is the label that automatically backports to all active branches.
  • backport-active-9 is the label that automatically backports to all active minor branches for the 9 major.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 26, 2026

✅ Vale Linting Results

No issues found on modified lines!


The Vale linter checks documentation changes against the Elastic Docs style guide.

To use Vale locally or report issues, refer to Elastic style guide for Vale.

@lucabelluccini
Copy link
Copy Markdown
Contributor Author

The runtime field trick to avoid reindexing should be validated.

@endorama
Copy link
Copy Markdown
Contributor

@lucabelluccini I tested the runtime field workardound.

Without it:

❯ curl -s 'http://localhost:9200/_field_caps?fields=timestamp.us&index=.ds-traces-apm-default-2026.02.27-000001'
{"indices":[".ds-traces-apm-default-2026.02.27-000001"],"fields":{"timestamp.us":{"float":{"type":"float","metadata_field":false,"searchable":true,"aggregatable":true}},"timestamp":{"object":{"type":"object","metadata_field":false,"searchable":false,"aggregatable":false}}}}

The issue in traces view is there:
image

We apply the runtime field mapping:

❯ curl -X PUT -s 'http://localhost:9200/.ds-traces-apm-default-2026.02.27-000001/_mapping' \
    -H "Content-Type: application/json" -d '
{
  "runtime": {
    "timestamp.us": {
      "type": "long"
    }
  }
}'

And now:

❯ curl -s 'http://localhost:9200/_field_caps?fields=timestamp.us&index=.ds-traces-apm-default-2026.02.27-000001'
{"indices":[".ds-traces-apm-default-2026.02.27-000001"],"fields":{"timestamp.us":{"long":{"type":"long","metadata_field":false,"searchable":true,"aggregatable":true}},"timestamp":{"object":{"type":"object","metadata_field":false,"searchable":false,"aggregatable":false}}}}`

Issue in traces view gone:
image

@lucabelluccini
Copy link
Copy Markdown
Contributor Author

Thank you @endorama for testing the workaround - Hugely appreciated (I didn't have a repro on my hands).

@endorama
Copy link
Copy Markdown
Contributor

Merging! Thanks @lucabelluccini 🚀

@endorama endorama added this pull request to the merge queue Feb 27, 2026
Merged via the queue into elastic:main with commit b94217b Feb 27, 2026
13 checks passed
@lucabelluccini lucabelluccini deleted the patch-1 branch February 27, 2026 14:27
@aelnahas aelnahas mentioned this pull request Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants