Anuraag Agrawal
80aea4d0b4
Exclude new location of semattrs from coverage ( #2448 )
2021-01-07 10:41:42 -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
John Watson
bf0db4d06b
CHANGELOG updates Jan 6, 2021 ( #2438 )
...
* Changelog updates for Dec 22, 2020
* Add additional items from the past few weeks.
* add a note about the cert support
* add item about the NPE bugfix
2021-01-06 20:20:29 -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
aa8433d87f
Add a test for the RECORD_ONLY span ( #2440 )
...
And remove the old TODOs from the BSP test.
2021-01-06 18:23:08 -08:00
John Watson
e1cf785475
Have a default span name in case instrumentation sends in a blank/empty/null name ( #2433 )
...
* Have a default span name in case instrumentation sends in a blank/empty/null name.
* add a test for the null name
2021-01-07 09:01:05 +09:00
Anuraag Agrawal
045dd0c1a3
Allow setting trusted certs for OTLP Trace exporter ( #2429 )
2021-01-07 08:53:20 +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
John Watson
3b3f1ae540
Change the SdkTracerManagement shutdown method to return CompletableResultCode ( #2422 )
...
* Change the SdkTracerManagement shutdown method to return CompletableResultCode
* protect against a possible NPE due to a race condition
* cleanup from PR feedback
* move the mock to where it's used.
2021-01-06 08:23:49 -08:00
Anuraag Agrawal
764a387096
Replace max-workers in favor of priority setting, enable local build caching, and remove unnecessary XmX ( #2431 )
2021-01-06 08:19:58 -08:00
Anuraag Agrawal
4121cdc693
Remove sampling probability attribute when was not accepted to spec. ( #2432 )
...
* Remove sampling probability attribute when was not accepted to spec.
* Remove unused
* Remove unused
2021-01-06 08:03:29 -08:00
Anuraag Agrawal
6cf8f934b1
Update dependencies ( #2427 )
...
* Update dependencies
* Brave
2021-01-06 16:32:18 +09:00
Anuraag Agrawal
fe78126aed
Use logunit instead of tedious jul handler modifications for testing ( #2425 )
2021-01-06 09:30:35 +09:00
Anuraag Agrawal
4916931740
Use health port for jaeger container startup check. ( #2426 )
2021-01-05 09:49:48 -08:00
Anuraag Agrawal
3eda37ad7f
Have projects set their release state to alpha instead of recognizing word metrics ( #2428 )
2021-01-05 09:07:18 -08:00
Anuraag Agrawal
4dbbe807c9
Deprecate addSpanProcessor mutator ( #2385 )
2021-01-04 08:43:52 -08:00
Anuraag Agrawal
13b9ed3928
Remove gitter link from README ( #2415 )
...
* Remove gitter link from README
* Update README.md
Co-authored-by: John Watson <jkwatson@gmail.com>
2021-01-04 08:35:01 -08:00
shalk(xiao kun)
9b088a8859
prevent workflow 'Publish snapshots to JFrog' in fork repo ( #2421 )
2021-01-04 08:21:21 -08:00
Anuraag Agrawal
be42c3d011
Remove formatting checks from checkstyle ( #2418 )
2021-01-04 07:57:58 -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
70876ed4ad
Add SdkMeterProviderBuilder.buildAndRegisterGlobal ( #2407 )
2021-01-01 13:45:15 -08:00
Aman Brar
c0ff74879c
Add CodeQL security scans ( #2416 )
...
* added codeql scanning
* run codeql with custom build
* try code build again
* clean up build
* try autobuild with java 11 preinstalled
* remove commented manual build command
* only run daily cron and manual trigger
* removed excess comments
2020-12-31 11:55:14 +09:00
Bogdan Drutu
838be8ef8e
Move accumulations to a different package ( #2412 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-12-28 17:52:20 -08:00
shalk(xiao kun)
de1df0a22b
fix gradle version to 6.7.1 ( #2410 )
2020-12-28 21:51:31 +09:00
Kacper Fronc
051c5609e5
Fix README tracing and baggage api links ( #2409 )
2020-12-28 14:23:06 +09:00
Anuraag Agrawal
bf77ea76d5
Add some test coverage to api module ( #2408 )
2020-12-26 12:48:27 -08:00
Anuraag Agrawal
66d08f4f00
Deprecate updateActiveTraceConfig ( #2405 )
...
* Deprecate updateActiveTraceConfig
* Spot
* Foo
* Spot++
2020-12-25 11:11:54 +09: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
Bogdan Drutu
b1a22e03a6
Rename Aggregator -> AggregatorHandle; AggregatorFactory -> Aggregator ( #2395 )
...
* Rename Aggregator -> AggregatorHandle; AggregatorFactory -> Aggregator
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Update comments for Aggregator and AggregatorHandle
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-12-24 08:11:18 -08:00
Anuraag Agrawal
018d1d81eb
Rename AwsXRayPropagator to AwsXrayPropagator ( #2406 )
...
* Rename AwsXRayPropagator to AwsXrayPropagator
* Fix doc
2020-12-24 08:06:35 -08:00
Anuraag Agrawal
2d1bdaff73
Merge non-metrics API into API artifact. ( #2369 )
...
* Merge non-metrics API into API artifact.
* Revert kotlin newline
2020-12-24 14:13:54 +09:00
dengliming
0801e39cf6
Fix parsing the exporter headers via environment variables ( #2404 )
...
Signed-off-by: dengliming <liming.d.pro@gmail.com>
2020-12-24 13:46:03 +09:00
Bogdan Drutu
241ae28a44
Make the toMetricsData to use generic map of labels to accumulations ( #2397 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-12-24 08:49:28 +09:00
Anuraag Agrawal
6d1bcd9c02
Add a OTLP JSON span exporter to logs. ( #2295 )
...
* Add a OTLP logging span exporter.
* Add file to git
* Move
* OTLPJSON
* Cleanups
2020-12-23 13:33:39 -08:00
Anuraag Agrawal
e3a9a66291
Add point to contributor document about preserving semantic versioning. ( #1965 )
...
* Add point to contributor document about preserving semantic versioning.
* Add link to semver.org
2020-12-23 13:28:37 -08:00
jason plumb
8ef80f0db2
Deprecate trace mutli propagator ( #2342 )
...
* add deprecation
* backfill tests
* remove invalid tests
* add @
* Update extensions/trace-propagators/src/main/java/io/opentelemetry/extension/trace/propagation/TraceMultiPropagator.java
Co-authored-by: John Watson <jkwatson@gmail.com>
* Update api/context/src/test/java/io/opentelemetry/context/propagation/MultiTextMapPropagatorTest.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Update extensions/trace-propagators/src/main/java/io/opentelemetry/extension/trace/propagation/TraceMultiPropagator.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Update api/context/src/test/java/io/opentelemetry/context/propagation/MultiTextMapPropagatorTest.java
* suppress warnings
* get spotless
Co-authored-by: John Watson <jkwatson@gmail.com>
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2020-12-23 10:23:50 -08:00
Anuraag Agrawal
9f675da85a
Remove usage of updateTraceConfig in tests. ( #2402 )
...
* Remove usage of updateTraceConfig in tests.
* Clean
2020-12-23 08:15:50 -08:00
Anuraag Agrawal
bf3c50cd02
Make prometheus client API dependency of exporter. ( #2400 )
2020-12-23 08:04:25 -08:00
Anuraag Agrawal
24ef29efea
Add SimpleSpanProcessor.create and deprecate SimpleSpanProcessorBuilder ( #2374 )
...
* Deprecate SimpleSpanProcessorBuilder
* Null test
2020-12-23 12:31:02 +09:00
Bogdan Drutu
fa507d4e7c
Make Aggregation generic, so we can ensure type safety between compon… ( #2394 )
...
* Make Aggregation generic, so we can ensure type safety between components
This ensures that we pass the correct type of Accumulation between components inside the SDK.
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Adress feedback
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-12-22 19:13:29 -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
202d782f9c
Add some metric types to ocshim tests ( #2388 )
2020-12-23 11:10:45 +09:00
Anuraag Agrawal
8fc4e627ca
Reduce usage of GlobalOpenTelemetry ( #2386 )
...
* Reduce usage of GlobalOpenTelemetry
* Cleanup
2020-12-23 10:17:46 +09:00
Bogdan Drutu
a77a5f0b7b
Add ability to create accumulation to the Aggregator ( #2392 )
...
This way the Accumulator will produce the right accumulations, for example in case of count. Added tests for all instrument types.
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-12-22 16:22:41 -08:00
Bogdan Drutu
296723b9f7
Change aggregator to use generics for Accumulation ( #2382 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-12-22 11:40:20 -08:00
Bogdan Drutu
a49ee16159
Add aggregation factory and remove specialized only the aggregator by value type ( #2391 )
...
This will allow to specialize merge arguments and other methods in the Aggregation by the type of the value recorded.
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-12-22 11:17:46 -08:00
Bogdan Drutu
1c937c4f4e
Remove AbstractBoundInstrument, move mapping logic to Aggregator ( #2384 )
...
* Remove AbstractBoundInstrument, move mapping logic to Aggregator
Remove one allocation when calling instruments without bounds.
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Fix review comments
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-12-22 10:38:25 -08:00