Bogdan Drutu
ca661b8c40
Avoid using inner classes in SpanData ( #2495 )
...
* Avoid using inner classes in SpanData
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Javadoc cleanups
* Remove non-existent type param
Co-authored-by: Anuraag Agrawal <aanuraag@amazon.co.jp>
2021-01-12 19:12:00 -08:00
Bogdan Drutu
61eafc62eb
Avoid using inner classes in MetricData ( #2493 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-01-13 11:31:24 +09:00
John Watson
5daa50ffdc
Mark a few more modules as alpha release status ( #2436 )
...
* mark a few more modules as alpha release status
* alphacate a few more modules
* remove the copyright/license from gradle.properties
2021-01-07 20:30:53 -08:00
Bogdan Drutu
450db6c2b2
Change MetricData to expose the Point type that is expected for each data type ( #2413 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-01-03 08:32:52 -08:00
Anuraag Agrawal
f8f409bae5
Rename OpenTelemetrySdkBuilder.build to buildAndRegisterGlobal and ad… ( #2387 )
...
* Rename OpenTelemetrySdkBuilder.build to buildAndRegisterGlobal and add non-registering version.
* Some clean
2020-12-25 11:04:02 +09:00
Anuraag Agrawal
24ef29efea
Add SimpleSpanProcessor.create and deprecate SimpleSpanProcessorBuilder ( #2374 )
...
* Deprecate SimpleSpanProcessorBuilder
* Null test
2020-12-23 12:31:02 +09:00
Anuraag Agrawal
202d782f9c
Add some metric types to ocshim tests ( #2388 )
2020-12-23 11:10:45 +09:00
Anuraag Agrawal
68b939faab
Remove most addspanprocessor mutator invocations. ( #2373 )
...
* Remove more addSpanProcessor mutations
* Merge
* Cleanup
2020-12-22 11:28:19 +09:00
Anuraag Agrawal
70f665992e
Migrate assertThrows -> assertThatThrownBy ( #2375 )
2020-12-21 08:57:33 -08:00
Zoe
0c5be3a723
Alternative OpenCensus shim implementation ( #2060 )
...
* Add OpenCensus shim
* Fix dependencies
* Review changes
* Add interoperability test
* Add interoperability test
* Add interoperability test: all opencensus spans
* Fix license
* fix build.gradle
* fix build.gradle
* Pull upstream
* Review changes
* Formatting
* Merge branch 'master' of github.com:open-telemetry/opentelemetry-java into opencensus-migration
# Conflicts:
# all/build.gradle
* Alternative shim approach
* Fix formatting
* Review changes
* Fix formatting
* Small refactor
* Small refactor
* fix
* Add binary format converter
* Fix flaky test NPE
* Add propagators
* fix deprecation
* Add test for binary format
* Nits
* Nits
* Review changes
* Add tests for text format propagator
* Pull upstream & fix
* Fix
* Review changes
* Add tests
* Add test coverage
* Add test coverage
* Remove OC clock
* Add test coverage
* Add test coverage
* Remove unnecessary recordEvents field
* Merge branch 'master' of github.com:open-telemetry/opentelemetry-java into remove-otel-to-oc-cache
# Conflicts:
# opencensus-shim/src/main/java/io/opentelemetry/opencensusshim/SpanConverter.java
# opencensus-shim/src/test/java/io/opentelemetry/opencensusshim/TraceInteroperabilityTest.java
Co-authored-by: Anuraag Agrawal <aanuraag@amazon.co.jp>
2020-12-21 14:36:06 +09:00
Anuraag Agrawal
94422d9dc0
Remove dependency on metrics from sdk:all ( #2356 )
...
* Remove dependency on metrics from sdk:all
* Update sdk/all/build.gradle
Co-authored-by: Christian Neumüller <christian+github@neumueller.me>
Co-authored-by: Christian Neumüller <christian+github@neumueller.me>
2020-12-18 08:16:04 -08:00
Anuraag Agrawal
6954d1f624
Use normal filesystem-based Gradle paths. ( #2332 )
...
* Use normal filesystem-based Gradle paths.
* Update workflow by making agnostic to jacoco project name
* More merge
2020-12-18 12:07:33 +09:00
Anuraag Agrawal
17fa4e9c97
Only apply java-library to projects and configure reactively. ( #2319 )
...
* Use java-library
* Only apply java-library to projects and configure reactively.
* Consistency
* Cleanup
2020-12-17 09:11:44 +09:00
dengliming
718f512701
Make MetricExporter shutdown method returns CompletableResultCode. ( #2321 )
2020-12-16 09:11:50 -08:00
Bogdan Drutu
25bf879df7
Split global functionality into a separate class ( #2233 )
...
This ensure clear separation of functionality. This PR does not change any functionality, it just restructures the code to separate global functionality from
the Default implementation. Also helps to ensure that Global initialization does not happen by mistake when working only with the default implementation.
Also it helps with methods like `OpenTelemetry.get()` and `OpenTelemetry.set()` to understand they are interacting with global instance
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-12-15 10:27:35 -08:00
Bogdan Drutu
d4bddd1fdf
Change MetricData to be consistent with protos, move creation to the Aggregation ( #2274 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-12-11 11:04:12 -08:00
Bogdan Drutu
ae63b9fbe7
Update types to reflect the names in proto ( #2243 )
...
* Update types to reflect the names in proto
NON_MONOTONIC_SUM will be soon merged with SUM and offer the "isMonotonic" as a property.
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Update names to follow, type + aggregation pattern
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-12-09 13:13:32 -08:00
Zoe
b4784931ec
OpenCensus to OpenTelemetry metric exporter ( #2085 )
...
* OpenCensus to OpenTelemetry metric exporter
* Add export interval configuration and tests
* Review changes
* Review change
* Review changes & Add test for unsupported type
* Update README.md
* Fix test maybe?
* Review changes
2020-12-07 08:30:22 -08:00
Anuraag Agrawal
ac672e56bf
Update dependencies ( #2115 )
2020-11-21 09:39:27 -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
Zoe
ea9888b8b9
Add OpenCensus shim ( #1863 )
...
* Add OpenCensus shim
* Fix dependencies
* Review changes
* Add interoperability test
* Add interoperability test
* Add interoperability test: all opencensus spans
* Fix license
* fix build.gradle
* fix build.gradle
* Pull upstream
* Review changes
* Formatting
* Merge branch 'master' of github.com:open-telemetry/opentelemetry-java into opencensus-migration
# Conflicts:
# all/build.gradle
2020-11-04 17:17:43 -08:00
Bogdan Drutu
fb3af1a196
Remove ocshim. We will replace in the OpenCensus directly. ( #341 )
2019-05-23 18:45:45 +02:00
Pavol Loffay
e143bccfb6
Add tagger to global registry ( #299 )
...
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2019-05-14 16:04:32 +02:00
Bogdan Drutu
ca0ec9dfa8
Replace everywhere OpenConsensus with OpenTelemetry ( #244 )
...
* Replace everywhere OpenConsensus with OpenTelemetry
* Fix javadoc references.
* Update javadoc exclude in the api.
2019-05-02 13:46:04 -07:00
Bogdan Drutu
e286cf0811
Update to gradle 5.3 ( #137 )
2019-04-17 13:49:43 -07:00
Bogdan Drutu
067d03a563
Remove checker framework. ( #135 )
2019-04-17 09:37:05 -07:00
Yang Song
ed38ca9de3
Initial commit for OpenCensus Shim. ( #131 )
2019-04-16 14:18:45 -07:00