* Upgrade to Gradle 6.7 and use toolchains feature to build on 11 and test on 11/8.
* Debug (probably first JDK download taking some time)
* Remove now unnecessary java toolchain workarounds
* Remove debug
* Remove windows build for now
* bin
* Raise no_output_timeout since this change seems to eliminate cache and build doesn't finish.
* Add .gitattributes.
This fixes spotlessCheck when checking out on windows with git core.eol=crlf and core.autocrlf=true.
Note that for git itself, the eol=lf next to the text=auto changes nothing, but spotless tries
enforce the core.eol line endings anyway.
* Adjust .gitattributes towards instrumentation's
* 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>
* Use spotless for formatting / license check
* Apply formatting
* README
* Apply to example
* google-java-format 1.8 for now
* google-java-format 1.7 for now (last supporting Java 8)
* 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>
* added prometheus exporter example
* tidying up
* Update examples/prometheus/README.md
Co-authored-by: Giovanni Liva <giovanni.liva@dynatrace.com>
* Update examples/prometheus/README.md
Co-authored-by: Giovanni Liva <giovanni.liva@dynatrace.com>
* added port arg check as per code review suggestion
Co-authored-by: Giovanni Liva <giovanni.liva@dynatrace.com>
* Call initTracer just once at beginning of main.
This fixes a bug where each time a new HttpClient is instantiated, it adds a new SpanExporter to the
global OpenTelemetry SDK instance.
* s/InitTracer/InitTracerSdk/
* Add example module for Zipkin
* Updated to include Zipkin example module
* Changed to use shutdown() on TracerSdkProvider
* Changed zipkin example module to use shutdown() on TracerSdkProvider
* Introduce an Attributes interface and have ImmutableAttributes and the AttributesMap implement it.
* make the attribute limiting a little clearer.
* tiny javadoc fix
* Rework to restore the Attributes class, and introduce a ReadableAttributes interface
* polish the javadoc a bit
* fix some broken javadoc
* revert example change; revert test name change
* javadoc de-escalation
* fix bad merge
* Remove SpanID from sampling parameters
* Generate SpanId only for sampled spans
* Revert "Generate SpanId only for sampled spans"
This reverts commit 5b51eaed88.
* Move the span operations inside the scope, to show better idiomatic usage of the API.
* rename parameter
* update to start the span before it is added to the scope
* properly parent the newly created span.
* 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
* Add build scripts for HTTP example
Add HTTP example
Improved naming and formatting
Add Semantic Convention to traces
Fix semantic convention
* Add Examples as OpenTelementry project
* Changed the build configuration - Examples are compiled with the main project
* Addressing comment of @carlosalberto
* Addressed the feedback of @bogdandrutu
* Removed InMemory exporter. Example as standalone project.
* Remove examples from main build
* Making the exporter private and static
Change visibility of attributes
* Update HTTP example README
* Apply java format
Co-authored-by: Inseo Kim <sano307@naver.com>