-
Notifications
You must be signed in to change notification settings - Fork 534
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
Host Metrics #227
Host Metrics #227
Conversation
Codecov Report
@@ Coverage Diff @@
## master #227 +/- ##
==========================================
- Coverage 95.23% 95.21% -0.02%
==========================================
Files 92 100 +8
Lines 4767 4979 +212
Branches 492 517 +25
==========================================
+ Hits 4540 4741 +201
- Misses 227 238 +11
|
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.
First pass nothing looks bad. The structure of the RCAMetrics class is a little confusing to me, but after a little reading it seems fine.
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.
Seems fine to me. The implementation of metric.ts
seems more complicated than I would expect and I would be worried implementing something this complex on top of our current metrics implementation because the sdk is so incomplete and the spec is changing so much. But in general nothing seems wrong.
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. One question about the split between host and runtime metrics. Will it be possible to collect runtime metrics without collecting host metrics? I think this is use case that we'd like to support. The reason is that the OTel collector can generate host metrics, so some people will only want to generate runtime metrics from their applications.
@@ -0,0 +1,61 @@ | |||
#OpenTelemetry RCA Metrics for Node.js |
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.
#OpenTelemetry RCA Metrics for Node.js | |
#OpenTelemetry Host Metrics for Node.js |
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.
yes the runtime metrics do not generate host metrics.
Runtime Metrics are added on top of Host Metrics so PR is here to be able to see the differences easily:
obecny#1