Anuraag Agrawal
86cd56441c
Deprecate StatusData.isUnset ( #2500 )
...
* Deprecate StatusData.isUnset
* Cleanup
* option 2
2021-01-13 13:58:30 +09:00
Anuraag Agrawal
efd559f1e0
Update exporter environment variable to latest spec's singular forms. ( #2499 )
...
* Update exporter environment variable to latest spec's singular forms.
* Fix!
* Use check per test-sets recommendation
* Missed one more
2021-01-13 13:46:26 +09:00
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
Anuraag Agrawal
bdba132399
Use bogus endpoint for initialSampler test to prevent flakiness. ( #2497 )
2021-01-13 11:46:57 +09: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
Bogdan Drutu
a6d2047b23
Implement MetricProducer directly by the SdkMeterProvider ( #2489 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-01-12 14:51:05 -08:00
Anuraag Agrawal
b73762af85
Deprecate TraceProtoUtils ( #2480 )
...
* Deprecate TraceProtoUtils
* Update jaeger
2021-01-12 09:41:02 -08:00
Anuraag Agrawal
1fc179e546
Add a PropagatorProvider for custom propagators with autoconfiguration. ( #2475 )
...
* Add a PropagatorProvider for custom propagators with autoconfiguration.
* Dedupe / comment
* ConfigurablePropagatorProvider
* Comment
* doc
2021-01-12 15:06:29 +09:00
John Watson
fc28ee5696
Update the README ( #2479 )
...
* Update the README to use the bom for dependencies
* allow auto-alpha updating of docs
* update the metrics to show the most recent alpha
* make the zpages docs update with the alpha tag
* Update README.md
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* update the gradle snapshot example
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-01-12 14:06:54 +09:00
John Watson
f1f9cbccc1
Set the default traceidratio to 1.0 when it is not specified ( #2476 )
2021-01-11 12:30:45 -08:00
Anuraag Agrawal
620969556f
Cleanup OTLP exporter timeout settings. ( #2446 )
...
* Cleanup OTLP exporter timeout settings.
* error prone
2021-01-09 15:32:20 +09:00
Bogdan Drutu
72dd37b757
Extract Builder as a top-level class ( #2469 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-01-08 15:39:50 -08:00
Anuraag Agrawal
62251dd3d2
Accept TimeUnit and Duration for BSP values instead of forcing millis. ( #2444 )
...
* Accept TimeUnit and Duration for BSP values instead of forcing millis.
* Test invalid
* Clean
2021-01-08 11:44:51 -08:00
Anuraag Agrawal
fe061e90bf
Publish jfr-events module ( #2461 )
...
* Publish jfr-events module
* Fix jacoco config error
* testJava8
2021-01-08 09:22:31 -08:00
Anuraag Agrawal
1d8c0d9229
Use ParentBased for jaeger remote sampler results ( #2451 )
...
* Use ParentBased for jaeger remote sampler results
* Merge
* Cleanup name
* Remove extra method
2021-01-08 14:47:06 +09:00
Anuraag Agrawal
340ce9f27e
Make JaegerRemoteSamplerBuilder consistent with other builders. ( #2443 )
...
* Make JaegerRemoteSamplerBuilder consistent with other builders.
* unset
* Return generic type
* Cleanup
2021-01-08 14:20:48 +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
Anuraag Agrawal
d8c4c86790
Return singleton xray id generator ( #2447 )
2021-01-07 10:36:57 -08:00
Anuraag Agrawal
4b8a0c8591
Add TraceConfig.builder() ( #2445 )
2021-01-07 10:02:53 -08:00
Anuraag Agrawal
bdbab03332
Deprecate ConfigBuilder. ( #2442 )
2021-01-07 08:52:39 -08:00
Anuraag Agrawal
e749f2b262
Add autoconfiguration wrapper artifact ( #2401 )
...
* Add autoconfiguration wrapper artifact
* WIP
* WIP
* WIP
* WIP
* WIP
* Mostly done
* Propagator classpath
* Finish
* Cleanup
* Cleanup
* Not visible
* Update sdk-extensions/autoconfigure/src/main/java/io/opentelemetry/sdk/autoconfigure/ConfigProperties.java
Co-authored-by: John Watson <jkwatson@gmail.com>
* More merge
Co-authored-by: John Watson <jkwatson@gmail.com>
2021-01-07 12:02:09 +09:00
Anuraag Agrawal
0dac3f6157
Set archiveBaseName pattern for sdk-extensions too ( #2441 )
2021-01-07 11:31:27 +09:00
John Watson
015708b7a7
Move the semantic conventions generated code into its own module ( #2423 )
...
* Move the semantic conventions generated code into its own module
* remove un-needed dependencies
* move the semconv module to the top level, out of the API namespace
* Update README.md
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* move SemanticAttributes to a more appropriate package and deprecate the old ones in the api package.
* Apply suggestions from code review
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-01-06 08:25:17 -08:00
Anuraag Agrawal
4916931740
Use health port for jaeger container startup check. ( #2426 )
2021-01-05 09:49:48 -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
d48eab6aa9
Allow registering TraceConfigSupplier and use it from zpages. ( #2390 )
...
* Allow registering TraceConfigSupplier and use it from zpages.
* Finish
* Remove unnecessary method
* Same method name
2020-12-23 11:52:17 +09:00
Anuraag Agrawal
8fc4e627ca
Reduce usage of GlobalOpenTelemetry ( #2386 )
...
* Reduce usage of GlobalOpenTelemetry
* Cleanup
2020-12-23 10:17:46 +09:00
Anuraag Agrawal
94d469b71d
Avoid spying the class under test. ( #2368 )
...
* Avoid spying the class under test.
* Less methods
2020-12-22 09:58:27 -08:00
Anuraag Agrawal
f1fa6ba44d
Return SpanProcessor from zpages instead of automatically mutating global ( #2376 )
2020-12-21 13:00:27 -08:00
Bogdan Drutu
95163d71fb
Avoid using mutable addSpanProcessor when trivial to change ( #2365 )
...
* Run go mod tidy on the master
* Fixes
Co-authored-by: Anuraag Agrawal <aanuraag@amazon.co.jp>
2020-12-21 12:22:36 +09:00
Anuraag Agrawal
8dfdce3fe9
Use http helper class in EC2 Resource. ( #2355 )
...
* Use http helper class in EC2 Resource.
* No more todo
2020-12-21 12:01:57 +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
4de9c43ac0
Use public readProperties instead of protected fromConfigMap to avoid annoying pattern of initializing a subclass for testing. ( #2357 )
2020-12-18 08:10:50 -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
John Watson
d2a012ac33
update the docs for the 0.13.1 patch release. ( #2351 )
2020-12-18 08:51:36 +09:00
John Watson
b01afaac46
CHANGELOG and documentation updates for the 0.13.0 release ( #2338 )
...
* CHANGELOG updates for Dec 17, 2020
* update docs for 0.13.0 release
* point to github discussions
2020-12-17 12:28:17 -08: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
Anuraag Agrawal
3abf8262d0
Remove protobuf_util where not used. ( #2317 )
...
* Remove protobuf_util where not used.
* Revert unintended
2020-12-16 15:27:56 +09:00
Anuraag Agrawal
05a2049095
Test AWS HttpClient TLS connection ( #2308 )
2020-12-16 14:38:29 +09:00
Anuraag Agrawal
099b5620da
Move OTLP adapters to otproto module for use outside of gRPC exporters. ( #2306 )
2020-12-16 13:14:01 +09:00
Anuraag Agrawal
8a369e3695
Make public src/main classes final where possible. ( #2309 )
...
* Make public src/main classes final where possible.
* methods
* Spot
2020-12-16 13:13:04 +09:00
Bogdan Drutu
dbb1ae91f9
Deprecate metrics from opentelemetry-api, add a global version in metrics api ( #2279 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-12-15 15:14: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
Anuraag Agrawal
3701a8bdf6
Move DaemonThreadFactory to internal package. ( #2288 )
2020-12-14 21:06:00 -08:00
Anuraag Agrawal
91dc119181
Move Sdk to be prefix of implementation classes instead of suffix/midfix. ( #2292 )
2020-12-14 11:59:28 -08:00
Anuraag Agrawal
4403923bed
Migrate AWS mock server tests to junit5. ( #2287 )
2020-12-14 10:20:19 -08:00
Prashant Srivastava
f88e207f09
Adding instructions to run benchmarks ( #2271 )
...
* benchmark readme for opentelemetry-sdk
* benchmark instructions for all the modules
* Fixing typo
2020-12-11 14:40:16 +09:00
Anuraag Agrawal
56235a1114
Move TraceConfig.Builder to the top level ( #2241 )
...
* Move TraceConfig.Builder to the top level
* Remove builder
2020-12-09 19:54:07 -08:00
Anuraag Agrawal
e4e3dfbdb0
Rename Link.getContext -> Link.getSpanContext ( #2224 )
2020-12-08 10:43:26 -08:00
John Watson
a3615b9d91
have the zpages README reference a released version ( #2201 )
2020-12-05 14:52:03 +09:00