feat(trace-details): Add API endpoint & module for trace aggregations - #11452
Merged
Conversation
krsoninikhil
force-pushed
the
ns/waterfall-v3-memory-3
branch
from
May 26, 2026 09:23
11f4389 to
84bdf9f
Compare
krsoninikhil
marked this pull request as ready for review
May 26, 2026 09:49
krsoninikhil
force-pushed
the
ns/waterfall-v3-memory-3
branch
from
May 26, 2026 11:27
978c0f8 to
dd76af8
Compare
krsoninikhil
marked this pull request as draft
May 26, 2026 18:55
krsoninikhil
marked this pull request as ready for review
May 26, 2026 20:29
krsoninikhil
commented
May 27, 2026
krsoninikhil
force-pushed
the
ns/waterfall-v3-memory-3
branch
from
May 27, 2026 09:23
b0af9b3 to
534e042
Compare
Member
Author
|
Curl example: POST 'http://localhost:8080/api/v1/traces/fb83154a65378c5cef2bf64229d73b12/aggregations' \
--header 'Content-Type: application/json' \
--header 'SIGNOZ-API-KEY: <>' \
--body '{
"aggregations": [
{
"field": {"name": "service.name", "fieldContext": "resource", "fieldDataType": "string"},
"aggregation": "execution_time_percentage"
}
]
}' Response: {
"status": "success",
"data": {
"aggregations": [
{
"field": {
"name": "service.name",
"signal": "",
"fieldContext": "resource",
"fieldDataType": "string"
},
"aggregation": "execution_time_percentage",
"value": {
"go-bulk-40": 99
}
}
]
}
} |
therealpandey
requested changes
May 29, 2026
therealpandey
requested changes
Jun 1, 2026
Only supporting resource fields for now, since this is not user input but hard coded client experience
krsoninikhil
force-pushed
the
ns/waterfall-v3-memory-3
branch
from
June 1, 2026 09:35
26078d0 to
1f93993
Compare
therealpandey
previously approved these changes
Jun 1, 2026
Member
|
@krsoninikhil can we keep the aggregation response similar to QBV5? |
krsoninikhil
enabled auto-merge
June 1, 2026 12:30
therealpandey
previously approved these changes
Jun 1, 2026
therealpandey
approved these changes
Jun 1, 2026
AshwinBhatkal
approved these changes
Jun 1, 2026
9 tasks
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.
Part of https://github.com/SigNoz/engineering-pod/issues/4787
Add API endpoint & module for trace aggregations. Will raise a follow up for implementation of store methods.
Query used for calculating the non-overlapping span execution time:
Another possible option using
arrayFoldandarraySortsimpler but hard to understand (rejected):