Commit Graph

30 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 931ad5b723
Properly shutdown tracer providers synchronously via close() (#2828)
* Properly shutdown tracer providers synchronously via close()
Resolves #2825

* formatting
2021-02-17 10:39:19 +09: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 e9c71e590a
update the Jaeger example to cleanly separate SDK and API usage (#2531)
* update the Jaeger example to cleanly separate SDK and API usage

* formatting
2021-01-14 19:42:17 -08:00
John Watson 9a0ff546a5
Update the zipkin example to better match best practices, and update all to work with 0.14.1 (#2484)
* update the zipkin example to more closely match our recommended approaches.

* split out the SDK config/management into its own class

* update for 0.14.1

* formatting

* get the examples up to date for 0.14.1
2021-01-13 20:16:44 -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
Bogdan Drutu 57d68f228a
Fix Jaeger example to use the artifacts from the bom (#2237)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-12-08 17:06:20 -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 f5c1971a96
Make the jaeger example send more spans to make sure that they get properly exported. (#1847) 2020-10-22 10:25:03 +09: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
Sergei Malafeev 86005245a5
Merge pull request #1545
* #1382 instead of waiting use TracerSdkProvider.shutdown() in examples
2020-08-17 09:58:01 -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
Carlos Alberto Cortez fb59147d96
Update our examples to use 0.3.0 (#1054)
* Update our examples to use 0.3.0

* Version tuning.
2020-03-30 13:36:03 -07:00
Uladzislau Kiva cefa2ab5d5
feat: update example for OT 0.2.4 (#1039) 2020-03-21 07:55:25 -07:00
Bogdan Drutu b20edbe043
Update the gradle distro for the jaeger example. (#959)
And, make sure the gradlew is executable.
2020-03-04 10:20:08 -08:00
Giovanni Liva 03f340258f Fix jaeger example (#776) 2020-01-18 18:48:47 -06:00
Giovanni Liva 8faa99ee1f Add jaeger example (#694)
* Add build scripts for Jaeger example

* Add example how to use Jaeger as exporter

* Improve naming and formatting

* Fix libraries version

* Address @arminru feedback

* Separate exporter from instrumentation

* Addressed the feedback of @bogdandrutu

* Add instruction to run Jaeger

* Addressed the feedback of @bogdandrutu
2019-12-25 07:28:19 -08:00