Commit Graph

21 Commits

Author SHA1 Message Date
sfriberg 82cac7a7ec
Prototype for JFR events using Context interceptor (#963)
* Rewritten for new context implementation

Signed-off-by: Staffan Friberg <sfriberg@kth.se>

* remove nb file

* animalsniffer

* spotless

* rewrite

* Use new ContextStorageWrapper capabilities

* work-around JDK bug

* update junit

* update readme

* Update build script

* PR comments

* Update sdk-extensions/jfr-events/src/main/java/io/opentelemetry/sdk/extension/jfr/JfrSpanProcessor.java

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>

* Update JfrSpanProcessor.java

* Update comment

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2020-11-24 14:49:02 -08:00
Anuraag Agrawal 96c7f404b4
Don't repeat Java 8 support among all the subproject READMEs and at top level, clarify that published artifacts are Java 8, but building requires additional instructions. (#2124) 2020-11-24 09:04:40 -08:00
Anuraag Agrawal ac672e56bf
Update dependencies (#2115) 2020-11-21 09:39:27 -08:00
Anuraag Agrawal d940947e53
Hide implementation of MultiSpanExporter/Processor behind interface. (#2091)
* Hide implementation of MultiSpanExporter behind interface.

* spanprocessor too

* composite

* composite

* Optimize composites based on number of items.

* Spotless

* IntelliJ + spotless race condition

* Fix test
2020-11-20 10:54:35 +09: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
Anuraag Agrawal bd652270dd
Remove usages of beta Guava APIs. (#2095) 2020-11-19 12:18:34 -08:00
John Watson 1fe334ff12
Some cleanup in span land. (#2062)
CHANGELOG:  Deprecated the `getCanonicalCode` method on `SpanBuilder` ; replaced with `getStatusCode`

* Some cleanup in span land.
* Clean up the SpanBuilder javadoc to match the current APIs
* Scrub mentions of canonical status code
* Deprecate the getCanonicalCode method on SpanBuilder and replace with getStatusCode

* rename an internal method to make more sense

* Update api/src/main/java/io/opentelemetry/api/trace/SpanBuilder.java

Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>

* Update api/src/main/java/io/opentelemetry/api/trace/SpanBuilder.java

Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>

* Update api/src/main/java/io/opentelemetry/api/trace/SpanBuilder.java

Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>

* add tests for the deprecated method

Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
2020-11-11 18:34:07 -08:00
Anuraag Agrawal b5efbcf187
Move builders to top level. (#1958)
* Move builders (and TraceStateEntry) to top level.

* Revert Entry

* Fix and more revert

* Drift
2020-11-10 14:50:37 +09:00
Anuraag Agrawal 1883c578bd
Add unit to start, end and event timestamp accepting methods in Span. (#1969)
* Add unit to timestamp accepting methods in Span.

* end timestamp

* Merge

* Merge

* Add Instant versions too
2020-11-09 16:19:52 -08:00
Marius Volkhart 3e31fd91aa
Replace all assertions with AssetJ's assertThat (#2042)
* Replace all assertions with AssetJ's assertThat

Remove uses of JUnit 4 and JUnit 5 assert* where a functional equivalent exists in AssertJ. JUnit 5's assertThrows remains.

Fixes #1994

* fixup! Replace all assertions with AssetJ's assertThat
2020-11-07 14:48:00 -08:00
Anuraag Agrawal 9c4c52dfee
Switch animal sniffer signature to gummy bears. (#2015) 2020-11-06 08:56:26 +09:00
Carlos Alberto Cortez 4aba70877c
Push README updates. (#2024) 2020-11-05 16:03:42 +01:00
Bogdan Drutu 2dfc417e2d
Rename package name for sdk extensions to singular extension (#2002)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-04 12:26:43 -08:00
Bogdan Drutu 381133ab26
Remove testbed artifact, add testbed tests to trace sdk (#1999)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-04 09:00:33 -08:00
Anuraag Agrawal 5be613a3f0
Replace EndSpanOptions.Builder with factory. (#1934)
* Replace EndSpanOptions.Builder with factory.

* create

* Remove class completely
2020-11-04 13:33:10 +09:00
Bogdan Drutu 139fcf261d
Fix proto generated files package for jaeger extension (#1993)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-03 17:09:50 -08:00
Bogdan Drutu faf6b9f15e
Change testbed to use the junit5 extension (#1988)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-03 15:22:11 -08:00
Anuraag Agrawal db93a841ed
Rename exporter artifacts to singular (#1984)
Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-03 14:24:00 -08:00
Bogdan Drutu 2046ec050e
Move testing-internal artifact to sdk-testing (#1987)
* Move testing-internal artifact to sdk-testing

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

* Fix missed usage of TestSpanData

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-03 13:54:43 -08:00
Anuraag Agrawal 23392d9052
Make Attribute/LabelConsumer consistent with Java 8 BiConsumer (#1983)
* Make Attribute/LabelConsumer consistent with Java 8 BiConsumer

* more

* Spot
2020-11-03 10:03:52 -08:00
Anuraag Agrawal 390d92e49a
Rename folder names from underscore to hyphen (#1968) 2020-11-03 14:46:40 +09:00