-
Notifications
You must be signed in to change notification settings - Fork 96
Update examples to work with global stats instance #339
Update examples to work with global stats instance #339
Conversation
+@DazWilkin for review. |
Codecov Report
@@ Coverage Diff @@
## master #339 +/- ##
=======================================
Coverage 94.98% 94.98%
=======================================
Files 120 120
Lines 8332 8332
Branches 741 741
=======================================
Hits 7914 7914
Misses 418 418 Continue to review full report at Codecov.
|
export GOOGLE_APPLICATION_CREDENTIALS=path/to/your/credential.json | ||
``` | ||
|
||
Instance the exporter on your application. |
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.
Nit: did you mean "Install the exporter ..."?
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.
Copied from top example (Trace Exporter), amended both the sentence.
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, I did.
+@alexamies for review (especially |
5867924
to
371169a
Compare
371169a
to
23036b4
Compare
Looks good. Thanks for making the changes in the web_client_monitoring example. |
This PR contains updated examples based on CHAGELOG -> https://github.com/census-instrumentation/opencensus-node/blob/master/CHANGELOG.md#new-code
Also, added ReadMe for the Stackdriver Stats(Metrics) exporter.