* WIP on cleaning up the testing-only accessors.
* more WIP on cleanup of the RERSpan
* re-add the 3 attributes and put them onto the SpanData
* reformat
* re-add and clean up the clock inheritance tests
* WIP on a double counter shell
* tests for the double counter
* actually add the double counter code
* rename to just `Builder` for the two counter builders
* switch to varargs
* update the sdk to handle the varargs option
* format
* rename a variable to make more sense
* add back a test with 2 key/value pairs
* replace the emptyLabelSet method with the empty varargs call
* Implement a timeout on batch exports.
* fix an out-of-date comment
* verify that the export actually got the interrupt signal
* move the timeout into the latch await
* Initial dev of XRay ids generator
* Initial dev of EC2 resource labels retrieval and population
* renamed module to emphasize it uses v1 of AWS SDK
* fix code review issues
* fix test code review issues
* Add RunWith annotation
* add a method to create a labelset with an arbitrary number of labels.
* add notnull annotations
* rebase for SDK implementation
* remove Nonnull annotations
* Implement the very first pass at a LongCounter in the default SDK
* introduce a base class for sdk instruments
* simplify label set creation process
* separate out the implementations of the bound and non-bound counters. gut the implementations so they can be plumbed with an aggregator/accumulator
* return the empty label set rather than creating a new one every time.
* tighten up access modifiers and move the bound counter impl into the counter
* remove the parameterized type on the BaseBoundInstrument
* replace the var-args labelset creator with a map
* a few more cleanups, as requested.
* change tests to use google's Truth library
* convert test to use Truth
* Simplify span end time.
The only reason to have now() returned in getEndEpochNanos seems to be
that it kinda makes sense for getLatencyMs, but that method is
package-private and never used.
See also
https://github.com/open-telemetry/opentelemetry-specification/issues/373#issuecomment-564939980.
* Add back getLatencyNs, add it to ReadableSpan.
* Rename getLatencyNs to getLatencyNanos.
* Provide a builder for the TracerSdkFactory, for ultimate configurability.
* Update for factory/registry rename and write builder tests.
* rebase and update from upstream
* 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
SpanContextShim objects are created on demand,
as it's an expensive operation because of a global
write lock, hence we need to handle the case
of starting a Span whose parent has no SpanContextShim
yet.
* 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