llnl / llnl/Caliper

Limiting annotation depth in CalQL

Open
#201 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
420
Forks
80
Avg merge
1d 12h
Merged PRs (30d)
9

Description

This is more of a question than issue report. Is there a way to limit the depth of annotations in CalQL? So for instance if I have:
```
annotation mpi.rank time.offset time.inclusive.duration
main
main/foo
main/foo/bar
main/foo
main/foo/baz
main/foo
main
...
```

And I want to print out only sum total time for main and main/foo, is there some magic argument to achieve this? I guess one way to express this is to limit the depth, but another way would be to explicitly specify annotation prefixes I'm interested in.

If not, perhaps this is a feature request after all.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the CalQL entry point and review how annotation records are selected and aggregated. Determine whether depth limits or annotation-prefix filters are supported, then define the expected output for the example so the requested behavior can be tested.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.