-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add support for metrics #27
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.
While this is nice, we currently focusing on getting on track with OpenTelemetry and few thing can change till then.
stat: [ | ||
export_interval: 100, | ||
exporters: [ | ||
{Opencensus.TestSupport.MetricsCaptureExporter, []} |
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.
I would dynamically attach exporter in tests as it will allow to make test async.
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.
Hmm, I don't think attaching it dynamically makes any difference. I think it's fine to just make tests async (which I just did)
Codecov Report
@@ Coverage Diff @@
## master #27 +/- ##
=========================================
+ Coverage 98.24% 98.64% +0.4%
=========================================
Files 5 7 +2
Lines 57 74 +17
=========================================
+ Hits 56 73 +17
Misses 1 1
Continue to review full report at Codecov.
|
fixes #24