-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
otel: capture whether process was invoked from a terminal #4978
Conversation
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.
LGTM
0cf08e0
to
eab0d85
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #4978 +/- ##
==========================================
+ Coverage 60.99% 61.05% +0.05%
==========================================
Files 295 295
Lines 20621 20645 +24
==========================================
+ Hits 12578 12605 +27
+ Misses 7149 7144 -5
- Partials 894 896 +2 |
This commit adds a "terminal" attribute to `BaseMetricAttributes` that allows us to discern whether an invocation was from an interactive terminal or not. Signed-off-by: Laura Brehm <[email protected]>
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.
LGTM
- What I did
Added a "terminal" attribute to
BaseMetricAttributes
that allows us to discern whether an invocation was from an interactive terminal or not.- How I did it
- How to verify it
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)