Anuraag Agrawal
3f8eb2330a
Update Gradle and build dependencies ( #3970 )
2021-12-09 01:16:00 +09:00
Anuraag Agrawal
e195b92df3
Fix Logs SDK dependency ( #3969 )
2021-12-08 08:04:55 -08:00
Anuraag Agrawal
1bc45b5674
Update dependencies ( #3971 )
2021-12-08 08:04:01 -08:00
jack-berg
5e39e5958d
Enable animal sniffer on metrics ( #3945 )
...
* Enable animal sniffer on metrics
* Use LongAdder/DoubleAdder if available
* Exclude implementation classes instead of used fields.
* keySet
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-12-08 07:52:24 -08:00
jack-berg
60b2afec33
Drop unused CountAggregator ( #3966 )
2021-12-08 17:30:52 +09:00
Trask Stalnaker
de49ff0d06
Partial sync of gradle conventions with instrumentation repo ( #3968 )
...
* Sync gradle conventions
* Newline
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-12-08 15:25:40 +09:00
jack-berg
53030b7266
Configurable temporality ( #3960 )
...
* Allow configuration of preferred temporality in LoggingMetricExporter and OtlpJsonLoggingMetricExporter
* Make InMemoryMetricReader preferred temporality configurable
* Add create() methods to LoggingSpanExporter, LoggingMetricExporter, and SystemOutLogExporter, deprecate public constructors
2021-12-08 13:58:59 +09:00
elevenzhan
76ae8d21d1
Fix logs exporter module name ( #3951 )
...
* fix logs exporter module name
* fix description
* fix javadoc
* fix spotlessJavaCheck
* revert MarshalerLogsServiceGrpc
2021-12-07 08:13:03 -08:00
Josh Suereth
34218da395
Fix up cumulatives to be preserved in more scenarios. ( #3957 )
...
* Fix up cumulatives to be preserved in more scenarios. Expand testing/expectations to match cumulative user expecations.
* Fixes from review.
2021-12-07 13:34:42 +09:00
Anuraag Agrawal
8e04fbf0b8
Migrate most testsets to test suites. ( #3953 )
2021-12-07 08:37:15 +09:00
jack-berg
d059dcd8f3
Add SdkLogEmitterProvider#get(String) ( #3954 )
2021-12-06 11:46:57 +09:00
Anuraag Agrawal
e56e8ef018
Use PrimitiveLongList in ExponentialHistogramBuckets ( #3947 )
...
* Use PrimitiveLongList in ExponentialHistogramData
* Missing test
2021-12-03 18:12:10 -08:00
jason plumb
04239495ac
Let LogDataBuilder take a SpanContext directly. ( #3942 )
...
* Let LogDataBuilder take a SpanContext directly.
* rename to setContext() based on PR review, and simplify test code.
* Update sdk/logs/src/main/java/io/opentelemetry/sdk/logs/data/LogDataBuilder.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-12-03 17:57:22 -08:00
Anuraag Agrawal
74fb36b6cb
Update to OkHttp 4 and use daemon threads in dispatcher. ( #3946 )
2021-12-03 12:17:24 +09:00
Anuraag Agrawal
737a5e2b26
Deprecate GlobalMeterProvider ( #3948 )
2021-12-03 08:43:49 +09:00
Anuraag Agrawal
b1651a18cf
Rename .observe to .record ( #3949 )
...
* Rename .observe to .record
* Apply deprecation
2021-12-03 08:37:22 +09:00
Anuraag Agrawal
56e1b90afa
Remove unused dependency ( #3950 )
2021-12-02 06:10:56 -08:00
jason plumb
51556cd67a
Move key/value validation from ImmutableBaggage to the W3CBaggagePropagator ( #3871 )
...
* move key/value validation from ImmutableBaggage to the W3CBaggagePropagator
* remove import
* enforcement parade
* let baggageToString() return String
* Nits
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-12-02 09:47:31 +09:00
jack-berg
37d08f5bf9
Change EmptyAggregator to Drop Aggregator, remove @Nullable ( #3887 )
...
* Change EmptyAggregator to Drop Aggregator, remove @Nullable
* Add SdkMeterProvider unit test for drop aggregator
* Move EmptyMetricData to internal package
* Fix merge issue
* Add unit test for EmptyMetricData
2021-12-01 14:19:18 +09:00
jack-berg
3aac6c47d4
Fix metric descriptor compatibility check ( #3941 )
2021-11-30 18:55:54 -08:00
Anuraag Agrawal
ae3fe66031
Implement retry for OkHttpGrpcExporter ( #3936 )
...
* Implement retry for OkHttpGrpcExporter
* Fix merge
* Smallest is millis
* Cleanup
* More retryable
2021-12-01 09:34:43 +09:00
jack-berg
ec45e9476f
Remove supported temporality ( #3939 )
...
* Remove supported temporality
* Switch to ternary
2021-11-30 11:43:51 +09:00
Anuraag Agrawal
42e72fe47a
Move gRPC TLS exporter tests into base class and use in grpc-classpath test sets. ( #3935 )
2021-11-29 11:33:13 +09:00
John Watson
3a176de814
Update the docs and the examples for v1.9.1 ( #3934 )
...
* Update the docs for the 1.9.1 patch release
* update the website docs & example versions
2021-11-25 10:20:14 +09:00
jack-berg
947406d149
Drop MinMaxSumCount aggregation ( #3929 )
2021-11-24 07:57:35 -08:00
Anuraag Agrawal
e3f57ff679
Slow down per export test ( #3931 )
2021-11-24 22:29:26 +09:00
jack-berg
201934aef5
Catch throwable in async callbacks, and propagate if fatal ( #3922 )
...
* Catch throwable in async callbacks, and propogate if fatal
* Add unit tests, adjust propagate ordering
* Create util function for propagateIfFatal
* PR feedback
2021-11-24 14:39:18 +09:00
jack-berg
12a54710b7
Remove bound instrument from metric API, move to internal package of metric SDK ( #3928 )
2021-11-24 13:23:31 +09:00
Anuraag Agrawal
55ff1dc533
Promote metrics API to stable ( #3919 )
...
* Add MeterProvider to OpenTelemetry API
* Spot
* Set
* Move NoopMeter to package private
* Merge metrics API code into API package
* Finish
* Fix / clean
* Drift
* Update extensions/noop-api/src/main/java/io/opentelemetry/extension/noopapi/NoopOpenTelemetry.java
Co-authored-by: John Watson <jkwatson@gmail.com>
* Spot
Co-authored-by: John Watson <jkwatson@gmail.com>
2021-11-24 08:39:55 +09:00
Anuraag Agrawal
a6b55be229
Add adapters for builders in tests to share config tests. ( #3909 )
2021-11-23 14:15:26 +09:00
Sarunas Valaskevicius
576b1d2564
evict okhttp connections on shutdown ( #3921 )
...
* evict okhttp connections on shutdown
* Evict in HTTP exporter as well
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-11-23 11:26:04 +09:00
Patrice Chalin
b2ee3e1d71
[website_docs] Use console code-block style, and spellcheck ( #3920 )
2021-11-21 09:05:03 -08:00
Anuraag Agrawal
25d98bb8a5
Don't use GlobalMeterProvider for logs. ( #3912 )
2021-11-20 11:31:58 +09:00
Anuraag Agrawal
e5c373b0f1
Fix marshaling of Exemplar oneof ( #3911 )
2021-11-20 11:28:10 +09:00
Anuraag Agrawal
24dc0b15bb
Lower codecov patch target. ( #3917 )
2021-11-19 17:24:48 -08:00
Anuraag Agrawal
a034a72258
Make method private ( #3910 )
2021-11-19 17:22:53 -08:00
Anuraag Agrawal
38d0826843
Remove accidentally leftover grpc-api dependency ( #3918 )
2021-11-19 20:48:27 +09:00
Anuraag Agrawal
7627c8b372
Fix flaky ThrottlingLogger test ( #3916 )
2021-11-19 20:47:52 +09:00
Anuraag Agrawal
6933de18e5
Don't use global meter provider for trace export ( #3901 )
2021-11-19 15:06:22 +09:00
Anuraag Agrawal
b9b8105da7
Extract gRPC exporter test into shared base class. ( #3903 )
...
* Extract gRPC exporter test into shared base class.
* Split out config test
2021-11-19 12:06:33 +09:00
Anuraag Agrawal
1c1d26483b
Populate cloud.platform in aws resources ( #3902 )
2021-11-19 11:43:40 +09:00
John Watson
47ccd6076b
update semconv to v1.8.0 ( #3890 )
...
* update semconv to v1.8.0
* add back 2 items that were removed from the spec
* tweak the deprecated items javadoc
2021-11-18 16:25:16 -08:00
jack-berg
31d8840bf9
Fix typos in metrics-testing package ( #3907 )
2021-11-19 09:20:50 +09:00
Josh Suereth
e80350980e
OTLP exporter - oneof primtives must have their default values serialized. ( #3897 )
...
* Fix #3889 - oneof primtives must have their default values serialized.
* Add oneof support to sizeof utilities.
* Fixes from review.
2021-11-19 09:20:01 +09:00
Josh Suereth
3a13403f8e
Remove exemplars from Gauge/Sums. Fixes #3884 . ( #3894 )
2021-11-18 11:37:57 +09:00
jack-berg
bc4f8f75a2
Make InstrumentSelect#getInstrumentType() nullable ( #3893 )
2021-11-17 18:02:53 -08:00
jack-berg
300c4963d8
Wrap async callbacks in try catch ( #3895 )
2021-11-17 18:01:39 -08:00
jack-berg
efbc87b4df
Fix minor javadoc issues with the trace SDK ( #3896 )
2021-11-17 12:57:20 -08:00
Josh Suereth
19f6fa79f0
Take a pass at fixing metrics API javadoc issues/missing information. ( #3874 )
...
* Take a pass at fixing metrics API javadoc issues/missing information.
* Spotless fix.
2021-11-17 12:53:46 -08:00
Eugene R
95ada8edd2
Refactor `MeterSharedState` ( #3867 )
...
* refactor `MeterSharedState`
* fix format violations
* annotate the register method as Nullable
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-11-17 17:31:53 +09:00