feat(metrics): add window-seconds and cross-org timeseries query#548
Merged
platinummonkey merged 1 commit intoMay 30, 2026
Merged
Conversation
- pup metrics tags list --window-seconds: lookback window param (SDK #1593) - pup metrics query-timeseries --file: v2 timeseries formula query, supporting cross_org_uuids per-query for cross-organisation reads (SDK #1564) Co-Authored-By: Claude <noreply@anthropic.com>
4069fb3
into
chore/upgrade-dd-sdk-to-master
7 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Surfaces new metrics query parameters picked up in the SDK upgrade (base
chore/upgrade-dd-sdk-to-master, PR #539).Changes
src/commands/metrics.rstags_listgains an optional--window-secondslookback param (SDK #1593)query_timeseries(query-timeseries --file) wrapping the v2 timeseries formula query;cross_org_uuidscan be set per-query in the request body for cross-organisation reads (SDK #1564)src/main.rs—--window-secondsflag onpup metrics tags listand a newpup metrics query-timeseriessubcommand + dispatchdocs/COMMANDS.md— documented the new flag/subcommandNew / changed commands
Testing
test_metrics_tags_list_no_window/_with_window,test_metrics_query_timeseries/_bad_filecargo testgreen,cargo fmt --checkclean,cargo clippyclean (no warnings in pup code).🤖 Generated with Claude Code
Generated by Claude Code