Commit Graph

31 Commits

Author SHA1 Message Date
John Watson d92844a5b6
Update READMEs to be more helpful (#3007)
* Update READMEs to be more helpful

* update the main title

* upper case for Jason

* lower case link titles

* typo fix
2021-03-10 19:51:28 -08:00
John Watson e59d983283
Update readme and examples for 1.0.0 (#2949)
* update versions in the README

* update the examples for 1.0.0
2021-02-26 14:18:16 -08:00
John Watson 04fbc2e6c5
update the example code for the 0.17.0 release. (#2886)
* update the example code for the 0.17.0 release.

* update the otlp example to get the resource properly populated

* clean up the build.gradle files
2021-02-18 15:01:44 -08:00
Bogdan Drutu 3f45fe0e95
Mark all public classes as final in the examples (#2846)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-17 12:27:17 -08:00
John Watson 964996f538
update the examples for 0.16.0 (#2780) 2021-02-09 12:09:00 -08:00
Anuraag Agrawal 393420dd1c
Use shadow plugin to generate bundled jars. (#2641)
* Use shadow plugin to generate bundled jars.

* Update workflow

* Fix workflow command
2021-02-02 12:04:54 +09:00
John Watson 68ee47108a
Example updates for 0.15.0 (#2611)
* WIP on updating examples for 0.15.0

* final updates to 0.15.0

* make the getter static
2021-02-01 09:24:02 -08:00
John Watson 13f9d3169e
Update the grpc example to more carefully match our best practices (#2538) 2021-01-15 10:35:26 -08:00
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 596b4ba894
Update the examples for the 0.12.0 release. (#2198) 2020-12-04 12:28:35 -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 6e05d059ba
Add github action to build examples when changes are identified in example directory (#1962)
Update grpc version to generate one change in examples.

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-02 06:41:31 -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 ef7796a962
Clean up and update the examples for the latest API changes. (#1593) 2020-08-27 11:28:52 -07:00
John Watson 4680c3a327
Fix examples from the latest updates. (#1495) 2020-08-03 19:31:16 +02:00
Bogdan Drutu 32810f04b9
Upgrade deps and fix examples (#1357)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-06-18 12:00:24 -07:00
ET f8c7e0d3c3
Fix examples to use [Batch|Simple]SpanProcessor (#1280)
https://github.com/open-telemetry/opentelemetry-java/pull/1241 changed the names of
[Batch|Simple]SpansProcessor to [Batch|Simple]SpanProcessor but did not change the examples to
match. This fixes the examples so that they now build correctly.
2020-05-27 20:35:30 +02:00
John Watson 586793f405
Update the examples for the latest changes (#1242)
* fix the examples for the latest

* pick up formatting changes
2020-05-18 15:29:28 -07:00
John Watson 450d4a8f80
Update the examples to work with 0.5.0-SNAPSHOT (#1206) 2020-05-12 14:01:08 -07:00
Gregor Zeitlinger ebcd508a88
add shortcut methods to get tracers and meters (#1159)
* add shortcut methods to get tracers and meters

* add shortcut methods to get tracers and meters

* add shortcut methods to get tracers and meters

* add shortcut methods to get tracers and meters
2020-05-06 11:30:33 -07:00
Giovanni Liva 1396200627
Examples share a common gradle build script (#1123)
* Examples in a single separate project. Bump version to 0.4.0-SNAPSHOT

* Formatting

* Gradle 6.3. Remove local wrappers
2020-04-22 07:53:19 -07:00
Bogdan Drutu 63b9b5f505
Update to use gradle 6.3 in all projects (#1103)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-04-11 16:27:37 -07:00
Giovanni Liva 498e101bdf
Add grpc example (#696)
* Add build files for gRPC example
2020-04-01 17:14:46 +02:00