* Rename MeasureBatchRecorder to BatchRecorder to allow other types to be recorded.
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* ./gradlew goJF
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Add named meters with factory provider
* Fix documentation to instantiate a meter from a meter factory
* Fix documentation incorrectly referencing meter not meter factory
* Fix MeterFactor not Meter
Co-Authored-By: Armin Ruech <armin.ruech@gmail.com>
* Fix MeterFactor not Meter
Co-Authored-By: Armin Ruech <armin.ruech@gmail.com>
* Fix MeterFactory not Meter
Co-Authored-By: Armin Ruech <armin.ruech@gmail.com>
* Fix over 100 characters in line
* Refactor meter example names to my_library_example
* Set the type of the tags within the Jaeger exporter
Signed-off-by: Gary Brown <gary@brownuk.com>
* Address comment
Signed-off-by: Gary Brown <gary@brownuk.com>
* Address comments
Signed-off-by: Gary Brown <gary@brownuk.com>
* create span context from remote parent on valid parent context
* checking if parent type remote parent
* add hasRemoteParent to SpanData
* make hasRemoteParent primitive boolean
* update @since tag
* formatting correction
* Add instrumentation library resource to named tracers
* Introduce constants for library resource label keys
* Introduce InstrumentationLibraryInfo class to replace library resource
* Leverage a ReentrantReadWriteLock instead of synchronizing on this.
* remove lazy init of events
* just use a basic synchronized block
* appease checkstyle
* small tweaks, post-rebase
* fix synchronized after rebase
* Extract trace id generator in an interface to allow different implementations
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Fix typos in IdsGenerator.
* Use a weak, synchronized map to store the OT SpanContext.
This is a correct, albeit slow, implementation of OT SpanContext,
which requires SpanContext to contain baggage
(DistributedContext/TagMap under OTel), and have it replaced
upon any change.
* A rough idea of how named tracers might look in the API.
* update to require at least a name for the tracer
* Introduce another layer of factory for the provider
* remove convenience tracer methods from the OpenTelemetry class.
* Update api/src/main/java/io/opentelemetry/trace/spi/TracerFactoryProvider.java
Co-Authored-By: Armin Ruech <armin.ruech@gmail.com>
* Update api/src/main/java/io/opentelemetry/trace/TracerFactory.java
Co-Authored-By: Armin Ruech <armin.ruech@gmail.com>
* Add clarifying javadoc, per PR review
* reverse who calls whom
* Add tests for TraceShim/TracerShim.
Although we have the extensive testbed section,
we need some basic tests for non-exotic scenarios,
and this is part of that intention.