1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-14 10:13:10 +02:00
Commit Graph

9 Commits

Author SHA1 Message Date
David C Wang
ce49579d66 Fixed OTLP example's accidental early close of exporter
* The exp.Stop() as argument to handleErr is getting executed
  immediately.  Wrap this with an anonymous func so that this
  argument is executed when the defer statement is activated.
* From the "Tour of Go" docs on Defer: "The deferred call's arguments
  are evaluated immediately, but the function call is not executed
  until the surrounding function returns."
2020-06-09 20:36:17 +00:00
Tyler Yahn
9318a73297
Run precommit 2020-06-04 08:29:10 -07:00
wtong98
f86491e1ec Add replace directive to example go.mod 2020-06-02 14:31:30 -05:00
wtong98
4ac30219ae Fix go.mod dependencies 2020-06-02 14:11:23 -05:00
wtong98
70d737b128 Split OTLP README to own directory 2020-06-01 13:27:23 -05:00
wtong98
de094be4fc Touch up details 2020-06-01 08:41:57 -05:00
wtong98
80d1eb98ed Finish OTLP example 2020-05-27 10:06:33 -05:00
wtong98
a4cf6e1d69 Add OTLP metrics 2020-05-26 15:24:16 -05:00
wtong98
69ddc81a81 Add OTLP trace 2020-05-26 11:17:14 -05:00