-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Success markers telemetry #10065
Merged
Merged
Success markers telemetry #10065
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
2d32b83
Markers telemetry
alwx 56fb74f
Everything without tests
alwx 2d8b79e
Specified events.json
alwx 4f7a6ff
Test added
alwx 15c1c6d
Changelog entry
alwx fd1d7e0
Naming fixes
alwx c95dcde
Fix lint, fix CLI bug
usc-m 7359438
Add markers parsed telemetry
usc-m 1b4535a
Document telemetry functions
usc-m 015cf4d
always add ANY_MARKER; add test
ka-bu bef34e8
Add complexity telemetry
usc-m 58174e6
Skip root marker to avoid double reporting total marker count
usc-m 4c98d1a
Unfix erroneous CLI fix, fix typos
usc-m 1df9776
Fix event schema test
usc-m 059be98
Fix mock count in telemetry test
ka-bu c617ebd
trigger test re-run
ka-bu b25b422
Make sure seed is converted to bool correctly
usc-m 979ecd1
Fix telemetry test
usc-m 442f2bf
Merge branch 'main' into markers-telemetry
usc-m c030770
Merge branch 'main' into markers-telemetry
aeshky File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Unfix erroneous CLI fix, fix typos
- Loading branch information
commit 4c98d1ac10576de550ae9013a985645db1ef1864
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is the total number of all conditions and operators used in all marker configurations that were evaluated -- to get the number of user-defined markers we should
... My bad, iter gives us all conditions and operators but len is just the sub-markers all good 👍 - but because of 1. there might not be sub-markers if there is a single user defined markerlen(markers.sub_markers)
instead oflen(markers)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@usc-m , I could help and add that while you work on other comments if you like?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we could also track something like
max( len(sub_marker) for sub_marker in markers)
, i.e. the maximum number of conditions and operators used in a single user defined marker, to get a glimpse of how complex the queries areThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I suggested that too, also the branching factor (maximum number of children under any marker)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh yeah, that's also a nice idea -- will definitely tell us if people miss begin able to re-use a marker definition