Skip to content

TraceQL Metrics: Diff streaming#3808

Merged
joe-elliott merged 10 commits intografana:mainfrom
joe-elliott:metric-diff-streaming
Jul 10, 2024
Merged

TraceQL Metrics: Diff streaming#3808
joe-elliott merged 10 commits intografana:mainfrom
joe-elliott:metric-diff-streaming

Conversation

@joe-elliott
Copy link
Copy Markdown
Collaborator

What this PR does:
Improves the query frontend to only return those streams and segments that have been updated instead of the entirety of the metric. This is my first foray into some of the metrics internals so I made some best guesses about implementation. Please steer me in the right direction if you disagree!

Also fixes a bug in the tempo cli where we were passing unix epoch seconds, but it only takes epoch nanoseconds.

Fixes #3765

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Copy link
Copy Markdown
Contributor

@zalegrala zalegrala left a comment

Choose a reason for hiding this comment

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

Nice.

@joe-elliott joe-elliott merged commit cfacd81 into grafana:main Jul 10, 2024
@mdisibio mdisibio mentioned this pull request Jul 12, 2024
3 tasks
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.

Streaming gRPC does not avoid 'message larger than max' error

2 participants