Commit Graph

15 Commits

Author SHA1 Message Date
John Watson 2ac3ff6e83
Convert the examples to not use the GlobalOpenTelemetry instance. (#2364)
* update the grpc example to remove global usage

* update the http example to remove global usage

* update the jaeger example to get rid of the global usage

* update the metrics example to get rid of the global OpenTelemetry usage

* update the otlp exporter example to get rid of the global OpenTelemetry usage

* update the sdk-usage example to get rid of the global OpenTelemetry usage

* update the zipkin example to get rid of the global OpenTelemetry usage

* run the formatter

* update method names and details based on feedback
2020-12-18 16:21:51 -08:00
John Watson ba90083780
update the examples for 0.13.1 (#2360) 2020-12-18 10:03:27 -08:00
John Watson a5f7286e5c
Update the examples for v0.10.0 (#2030)
* Update the examples for v0.10.0

* make sure to install the propagator for the client/server examples

* rename method to be more consistent
2020-11-05 16:32:58 -08:00
Bogdan Drutu 698e9f4ad6
Use boms for grpc and opentelemetry in the examples (#1953)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-01 08:07:47 -08:00
Bogdan Drutu d00d50c906
Rename all packages to follow the module name definition (#1952)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-10-31 10:59:11 -07:00
Anuraag Agrawal fc14e3f0c2
Revert package rename in examples. (#1902) 2020-10-27 19:21:18 -07:00
Anuraag Agrawal 7ebbe7979d
Move API packages to .api. package (#1892)
* Move API packages to .api. package

* Cleanup
2020-10-28 08:39:41 +09:00
John Watson c01112b973
fix examples broken by an errant script (#1814) 2020-10-16 17:59:16 +02:00
Bogdan Drutu b73a063901
Remove getCurrentContext and withSpan from Tracer (#1809)
* Remove getCurrentContext and withSpan from Tracer

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

* Remove old java7 example

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-10-15 10:58:41 -07:00
John Watson 246b402769
update the examples for 0.9.1 (#1779)
* update the examples for 0.9.1

* update the examples for 0.9.1
2020-10-11 20:50:22 -07:00
dengliming 71ba8e1b87
Use the concise license header without the year (#1623)
* Use the concise license header without the year

* Use the concise license header without the year
2020-10-02 22:42:53 +09:00
John Watson c0969d4680
Remove an unused import from the examples. (#1708) 2020-09-26 15:04:20 +09:00
Bogdan Drutu 2d146bbbb9
Remove constant labels from instruments and MetricData (#1692)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-09-24 15:14:04 +09:00
John Watson 909beb0e3d
Fix example code for 0.8.0, non-snapshot dependency (#1681)
* Update the examples for the 0.9.0-SNAPSHOT changes

* revert back to 0.8.0, non-snapshot
2020-09-23 15:12:48 +09:00
John Watson 721a7cdf2e
Create a simple example of using the OTLP exporters (#1616)
* Create a simple otlp example, with a docker-compose collector setup.

* Add metrics into the example

* formatting

* remove the go metrics load generator

* remove unneeded pieces of the docker config; switch to using the BSP in the example code.

* Update examples/otlp/docker/otel-collector-config-demo.yaml

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2020-09-02 20:17:24 -07:00