* 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.
* Allow explicit Timestamp values for Span start/end.
* Update the code after merging master.
* Set end/start options only for the API.
* Add a clarification on setStartTimestamp().
* Make EndSpanOptions.getDefault() package private for now.
* SpanData Export refactoring
* getting our span data exporter work to use the new SpanData implementation
* getting up to date with the moved Timestamp
* Update post rebase
* A few cleanups from PR comments
* A few more cleanups.
* Per spec change, allow start digit. Fixes#562
* reject multiple at signs
* reformat
* remove redundant check
rename method to match its usage
* return to a negatively named method that is more clear
* add a todo to benchmark the key validation code
* formatting
* add ReadableSpanAdapter as the next step toward leveraging SpanData.
* move the conversion into a method on the ReadableSpan interface.
* replace the tests that use protobuf spans to use SpanData
* remove unused method
* get rid of an un-needed interface method
* Update sdk/src/main/java/io/opentelemetry/sdk/trace/RecordEventsReadableSpan.java
Co-Authored-By: Yang Song <songy23@users.noreply.github.com>
* Add the SpanData class, for future use in export
* address code review comments
* add missing javadocs
* reformat
* Let's see how this feels with the context removed and the 4 fields added instead.
* add missing javadocs
* Get the default values in place for collections and parentSpanId.
Write a test for the SpanData
* add junit runwith
* move spandata up to the trace package
* Update sdk/src/main/java/io/opentelemetry/sdk/trace/SpanData.java
Co-Authored-By: Yang Song <songy23@users.noreply.github.com>
* Add builders for gauge, counter and observer metrics
* Update sdk/src/test/java/io/opentelemetry/sdk/metrics/AbstractCounterBuilderTest.java
Co-Authored-By: Yang Song <songy23@users.noreply.github.com>
* Add tests for observer and all uncovered methods.
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* More tests and update names
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Add metrics data and metric descriptor, to avoid using proto
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Fix review comments.
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Remove Add from Gauges, based on specs only Set.
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Update GagueDouble handle name in the example.
* Update handle name in GaugeLong example.