Skip to content

RUM-17613: timeseries [2/5] Using updated timeseries schema from rum_event_schema - #3712

Open
satween wants to merge 1 commit into
feature/timeseriesfrom
tvaleev/feature/RUM-17613-2-timeseries-schema
Open

RUM-17613: timeseries [2/5] Using updated timeseries schema from rum_event_schema#3712
satween wants to merge 1 commit into
feature/timeseriesfrom
tvaleev/feature/RUM-17613-2-timeseries-schema

Conversation

@satween

@satween satween commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Uses latest rum-schema for the timeseries

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Make sure you discussed the feature or bugfix with the maintaining team in an Issue
  • Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Ref: RUM-17613

satween commented Aug 14, 2026

Copy link
Copy Markdown
Contributor Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@datadog-datadog-us1-prod

datadog-datadog-us1-prod Bot commented Aug 14, 2026

Copy link
Copy Markdown

Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

🔄 Datadog retried 1 test - 1 passed on retry View in Datadog

🔄 Datadog auto-retried 1 job - 1 passed on retry View in Datadog

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 72.82% (+0.00%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 40fa7af | Docs | Datadog PR Page | Give us feedback!

@codecov-commenter

codecov-commenter commented Aug 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.23%. Comparing base (4ce57a5) to head (4ce57a5).

⚠️ Current head 4ce57a5 differs from pull request most recent head 40fa7af

Please upload reports for the commit 40fa7af to get more accurate results.

Additional details and impacted files
@@                              Coverage Diff                              @@
##           tvaleev/feature/RUM-17613-1-collector-rename    #3712   +/-   ##
=============================================================================
  Coverage                                         73.23%   73.23%           
=============================================================================
  Files                                              1011     1011           
  Lines                                             36866    36866           
  Branches                                           6366     6366           
=============================================================================
  Hits                                              26997    26997           
  Misses                                             8049     8049           
  Partials                                           1820     1820           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@satween
satween force-pushed the tvaleev/feature/RUM-17613-2-timeseries-schema branch from c932d24 to e6e92e4 Compare August 14, 2026 13:00
@satween
satween force-pushed the tvaleev/feature/RUM-17613-1-collector-rename branch from 212abc3 to a90a51b Compare August 14, 2026 13:00
@satween
satween changed the base branch from tvaleev/feature/RUM-17613-1-collector-rename to graphite-base/3712 August 14, 2026 13:41
@satween
satween force-pushed the tvaleev/feature/RUM-17613-2-timeseries-schema branch from e6e92e4 to 1c35566 Compare August 14, 2026 13:41
@satween
satween changed the base branch from graphite-base/3712 to tvaleev/feature/RUM-17613-1b-background-flush August 14, 2026 13:41
@satween
satween force-pushed the tvaleev/feature/RUM-17613-2-timeseries-schema branch from 1c35566 to a2fbff9 Compare August 14, 2026 14:32
@satween satween changed the title RUM-17613 Build timeseries events from the shared RUM schema RUM-17613: Build timeseries events from the shared RUM schema Aug 14, 2026
@satween
satween changed the base branch from tvaleev/feature/RUM-17613-1b-background-flush to tvaleev/feature/RUM-17613-1-collector-rename August 14, 2026 14:33
@satween
satween force-pushed the tvaleev/feature/RUM-17613-1-collector-rename branch from 71b5db2 to 412744d Compare August 14, 2026 15:04
@satween
satween force-pushed the tvaleev/feature/RUM-17613-2-timeseries-schema branch from a2fbff9 to 27abec6 Compare August 14, 2026 15:04
@satween satween changed the title RUM-17613: Build timeseries events from the shared RUM schema RUM-17613: Using updated timeseries schema from rum_event_schema Aug 14, 2026
@satween
satween marked this pull request as ready for review August 14, 2026 15:15
@satween
satween requested review from a team as code owners August 14, 2026 15:15
@satween satween changed the title RUM-17613: Using updated timeseries schema from rum_event_schema RUM-17613: timeseries [2/4] Using updated timeseries schema from rum_event_schema Aug 14, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 27abec6bff

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

datadogContext: DatadogContext,
rumContext: RumContext,
dataPoints: List<DataPoint<Double>>,
customAttributes: Map<String, Any?>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve custom attributes in timeseries events

When an app sets global RUM attributes, Pipeline snapshots them and passes them here, but this factory never uses customAttributes when constructing the event, so every CPU timeseries event silently loses its user-provided context; MemoryEventFactory has the same omission. Populate the generated event's context from this map instead of discarding it.

Useful? React with 👍 / 👎.

Derive the CPU and memory timeseries schemas from _common-schema.json and
replace the hand-written JSON serializers with typed event factories that
populate the full common event shape (os, device, dd, ddtags).
Restrict collection through TimeseriesConfiguration.collectOnly.

Ref: RUM-17613
@satween
satween force-pushed the tvaleev/feature/RUM-17613-1-collector-rename branch from de0ab41 to 4ce57a5 Compare August 14, 2026 16:12
@satween
satween force-pushed the tvaleev/feature/RUM-17613-2-timeseries-schema branch from 27abec6 to 40fa7af Compare August 14, 2026 16:12
@satween satween changed the title RUM-17613: timeseries [2/4] Using updated timeseries schema from rum_event_schema RUM-17613: timeseries [2/5] Using updated timeseries schema from rum_event_schema Aug 14, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 40fa7af15b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread features/dd-sdk-android-rum/src/main/json/rum/_common-schema.json
Comment thread features/dd-sdk-android-rum/src/main/json/rum/_common-schema.json
Base automatically changed from tvaleev/feature/RUM-17613-1-collector-rename to feature/timeseries August 14, 2026 17:31
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