John Watson
3a176de814
Update the docs and the examples for v1.9.1 ( #3934 )
...
* Update the docs for the 1.9.1 patch release
* update the website docs & example versions
2021-11-25 10:20:14 +09:00
John Watson
eae13d74b5
Update the examples to v1.9.0 ( #3879 )
...
* Update the examples to v1.9.0
* small comment tweak
2021-11-15 10:55:33 -08:00
John Watson
4a84547af5
update the docs for 1.7.1 ( #3824 )
...
* update the docs for 1.7.1
* tweak the message
2021-11-04 08:58:37 +09:00
John Watson
49ab3be937
remove a todo from an example ( #3797 )
2021-10-27 09:21:13 -07:00
John Watson
efbdb55601
Update the examples for the 1.7.0 release ( #3719 )
...
* WIP on example updates
* update prometheus version and add more cycles to the otlp example
* no spots here
2021-10-11 11:23:59 +09:00
John Watson
741743e037
Update the otlp examples for the latest collector build ( #3701 )
...
* Update the otlp examples for the latest collector build
* gradle.properties
* Update gradle plugins
Co-authored-by: Anuraag Agrawal <aanuraag@amazon.co.jp>
2021-10-07 12:39:40 +09:00
John Watson
0a309d61a1
Update examples for the 1.6.0 release ( #3623 )
2021-09-16 10:01:00 +09:00
Christian Neumüller
7bbf19a22b
Upgrade Gradle of examples to 7.2., fix println using non-existent property ( #3600 )
...
* Upgrade Gradle of examples to 7.2.
* Fix println of non-existent property.
2021-09-10 07:52:51 -07:00
Trask Stalnaker
3207367820
Use default spotless googleJavaFormat version ( #3560 )
2021-08-27 13:58:09 -07:00
John Watson
803de6b8b9
Example updates for 1.5.0 ( #3487 )
...
* update examples for 1.5.0 API changes
* fix to non-snapshot version
2021-08-14 10:37:19 +09:00
John Watson
543b5eee45
update the examples to point at 1.4.0 ( #3400 )
2021-07-15 08:52:30 +09:00
John Watson
f563f4494d
v1.3.0 doc updates ( #3305 )
...
* Add CHANGELOG item for metrics autoconfiguration enhancement
* update for 1.3.0 release
* Documentation updates for the 1.3.0 release
* update the website docs for 1.3.0
2021-06-09 16:33:24 -07:00
John Watson
5729dc14d5
Update example dependencies to 1.2.0 ( #3229 )
...
Also, remove example build vs. snapshots
Resolves #3122
2021-05-13 09:59:06 +09:00
Hangzhi
db39b9a9bf
Remove credential info from url in example ( #3121 )
...
* Update HttpClient.java
http.url must not contain credentials in url
* Update HttpClient.java
* spotless check
* Update HttpClient.java
* Update HttpClient.java
* test original example
* fix symbol not found in logging example
* update for format
* update url extraction
* Update HttpClient.java
* Update HttpClient.java
* Update HttpClient.java
* Update HttpClient.java
2021-04-16 08:03:29 -07:00
John Watson
1dbb9b4426
Add a ValueRecorder to the otlp example and properly start the IntervalMetricReader ( #3143 )
...
* Add a ValueRecorder to the otlp example and properly start the IntervalMetricReader
Also, fix a broken collector config for the latest dev version.
* formatting
2021-04-12 15:59:26 -07:00
John Watson
8e51b03ed1
Update the example code for the 1.1.0 release ( #3127 )
...
also, exclude generated files from spotless
2021-04-07 19:57:44 -07:00
Anuraag Agrawal
66be330d7d
Remove jcenter and google repositories from build. ( #3031 )
2021-03-16 09:19:31 -07:00
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
Mateusz Rzeszutek
2eb0409908
Add an example that uses auto-configuration ( #3003 )
...
* Add an example that uses auto-configuration
* Don't use GlobalOpenTelemetry
* Remove metrics
* Remove no longer necessary metrics dependency
* Add a TODO for 1.1.0 release
2021-03-10 08:13:51 -08:00
John Watson
a4717d6a97
point examples at the snapshot version of stable modules ( #2993 )
...
* point examples at the snapshot version of stable modules, to highlight any breaking changes before they are released.
* parameterize the version that the examples are built against.
2021-03-09 18:24:49 -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
Reginald McDonald
faf99ae104
2508: Logging Exporter Example for Trace and Metrics ( #2789 )
...
* Added example for logging exporter
* Used global otel for tracing
* Revert "Used global otel for tracing"
This reverts commit 8f267731ef .
* Register the trace provider as global
2021-02-10 11:14:33 -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
Anuraag Agrawal
9ac3629416
Publish artifacts directly to sonatype. ( #2596 )
2021-01-28 08:05:54 -08:00
Anuraag Agrawal
fd327e657b
Update to Gradle 6.8.1 ( #2576 )
2021-01-25 08:12:26 -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
8e0d7fbf07
Update the http example to show better SDK/API separation. ( #2532 )
2021-01-15 08:44:59 -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
1a149a6292
Clean up the OTLP example ( #2530 )
...
* Clean up the OTLP example
* formatting
2021-01-14 15:02:54 -08:00
John Watson
f719555254
Update the PrometheusExample to use more recommended patterns ( #2521 )
2021-01-14 09:36:51 -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
shalk(xiao kun)
de1df0a22b
fix gradle version to 6.7.1 ( #2410 )
2020-12-28 21:51:31 +09: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
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
596b4ba894
Update the examples for the 0.12.0 release. ( #2198 )
2020-12-04 12:28:35 -08:00
John Watson
ec7884fbf0
Update the docs for the 0.11.0 release ( #2097 )
...
* update the docs for the 0.11.0 release
* also update the examples dependency, since no changes are necessary
2020-11-19 12:20:08 -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
f975dfe616
Update to use google java format 1.9 in the examples ( #1954 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-10-31 13:25:15 -07: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