[FEATURE] add trace heatmap chart plugin#724
Draft
shahrokni wants to merge 1 commit into
Draft
Conversation
shahrokni
force-pushed
the
feat/tracheheatmapchart2
branch
3 times, most recently
from
July 16, 2026 12:35
c40e966 to
139f2ea
Compare
shahrokni
force-pushed
the
feat/tracheheatmapchart2
branch
4 times, most recently
from
July 21, 2026 10:35
34c1130 to
b33097f
Compare
Signed-off-by: Mahmoud Shahrokni <seyedmahmoud.shahrokni@amadeus.com> Signed-off-by: Mahmoud Shahrokni <seyedmahmoud.shahrokni@amadeus.com> Signed-off-by: Mahmoud Shahrokni <seyedmahmoud.shahrokni@amadeus.com> all bucket generators Signed-off-by: Mahmoud Shahrokni <seyedmahmoud.shahrokni@amadeus.com> Signed-off-by: Mahmoud Shahrokni <seyedmahmoud.shahrokni@amadeus.com> Signed-off-by: Mahmoud Shahrokni <seyedmahmoud.shahrokni@amadeus.com> Signed-off-by: Mahmoud Shahrokni <seyedmahmoud.shahrokni@amadeus.com> Signed-off-by: Mahmoud Shahrokni <seyedmahmoud.shahrokni@amadeus.com> Signed-off-by: Mahmoud Shahrokni <seyedmahmoud.shahrokni@amadeus.com> Signed-off-by: Mahmoud Shahrokni <seyedmahmoud.shahrokni@amadeus.com> Signed-off-by: Seyed Mahmoud Shahrokni <39291137+shahrokni@users.noreply.github.com> Signed-off-by: Seyed Mahmoud Shahrokni <39291137+shahrokni@users.noreply.github.com>
shahrokni
force-pushed
the
feat/tracheheatmapchart2
branch
from
July 21, 2026 12:18
b33097f to
cad2d04
Compare
shahrokni
commented
Jul 21, 2026
Comment on lines
+2
to
+20
| "kind": "Traceheatmapchart", | ||
| "spec": { | ||
| "legend": { | ||
| "position": "bottom" | ||
| }, | ||
| "thresholds": { | ||
| "steps": [ | ||
| { | ||
| "value": 0.6, | ||
| "name": "Alert: Warning condition example" | ||
| }, | ||
| { | ||
| "value": 0.8, | ||
| "name": "Alert: Critical condition example" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } |
Contributor
Author
There was a problem hiding this comment.
I am not sure what this might be or should be kept. It was added automatically by the percli
shahrokni
commented
Jul 21, 2026
Comment on lines
+21
to
+22
| traces: Array<{ id: string; durationMs: number }>; | ||
| } |
Contributor
Author
There was a problem hiding this comment.
Did I use the id?
shahrokni
commented
Jul 21, 2026
Comment on lines
+51
to
+52
| * Therefore, months with less than 31 days simply fall under the weekly scaling and produce weekly buckets | ||
| */ |
shahrokni
commented
Jul 21, 2026
Comment on lines
+82
to
+83
| } | ||
| return scale; |
Contributor
Author
There was a problem hiding this comment.
Less than one minute and up to 60 seconds is not covered
Contributor
Author
|
|
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.
Relates to perses/perses#3942
This is the
trace heat map chartThe x-axis and y-axis represent the time and duration buckets respectively. Both buckets are generated dynamically.
The following picture shows a base 2 bucketing of the duration which happened in less than an hour.
It also supports base 10.
Demo
Same queries and traces, different bases
Checklist
[<catalog_entry>] <commit message>naming convention using one of thefollowing
catalog_entryvalues:FEATURE,ENHANCEMENT,BUGFIX,BREAKINGCHANGE,DOC,IGNORE.UI Changes