Anuraag Agrawal
cf5b582c5b
Replace AttributeConsumer with BiConsumer ( #2174 )
...
* Replace AttributeConsumer with BiConsumer
* Forgot to delete
2020-12-02 16:52:06 +09:00
Prashant Srivastava
6f5a9dc72a
Adding micro-benchmarks for inject and extract methods of AwsXRayPropagator ( #2173 )
2020-12-01 22:22:29 -08:00
Mateusz Rzeszutek
8bcfaa46bc
Add support for AWS Lambda resource attributes ( #2142 )
...
* Add support for AWS Lambda resource attributes
* Fix after rebase
* Minor refactor
* Minor refactor
* Minor refactor
2020-12-02 13:36:44 +09:00
John Watson
de76614974
Changelog updates from Nov 25 ( #2135 )
...
* Changelog updates
* add a note about the change to the aws extension module
* Add the ReadableSpan change.
* Add a couple more changelog entries.
* move things into the right release.
* update with several more pre-release items
* more updates to the changelog
* a few more updates
* Add Attributes to the list of changes
2020-12-01 18:28:58 -08:00
John Watson
4d73431a96
cleanup work ( #2172 )
...
* remove 3 classes that got left behind in a repackaging
* actually disable the stress test
2020-12-01 17:03:32 -08:00
Prashant Srivastava
6bbe8d47dc
Adding micro-benchmarks for traceId and spanId generation ( #2170 )
2020-12-02 09:41:47 +09:00
John Watson
e90a6a886b
Convert Attributes to an interface ( #2134 )
...
* Convert Attributes to an interface
* Add javadoc explaining Attributes implementation requirements.
* Convert the AttributesBuilder into an interface.
* update from upstream changes
* move the implementation class out of the interface
* clean up some javadoc that referenced non-public classes
2020-12-01 15:54:07 -08:00
John Watson
ed2cbf75f8
change the default timeouts for otlp and jaeger to 10s ( #2171 )
2020-12-01 15:45:58 -08:00
Mateusz Rzeszutek
dc91c95e63
Fix buildscripts/semantic-convention/generate.sh script ( #2144 )
...
* Fix buildscripts/semantic-convention/generate.sh script
Including:
* update spec version to latest commit
* regenerate SemanticAttributes
* Code review comments
* Reference spec date
2020-12-01 11:18:32 -08:00
Anuraag Agrawal
18355e9683
Remove Guava dependencies from SDK ( #2148 )
...
* Remove Guava from SDK
* Clean
2020-12-01 11:10:38 -08:00
Anuraag Agrawal
0163a8c121
Split SpanContext into interface / impl ( #1935 )
...
* Split SpanContext into interface / impl
* Remove javadoc from impl to reduce drift change.
* Add warning
* More
2020-12-01 11:06:48 -08:00
Anuraag Agrawal
d31995f75d
Add code coverage for OS resources. ( #2167 )
...
* Add code coverage for OS resources.
* Fix assertion
2020-12-01 11:04:01 -08:00
Anuraag Agrawal
2aeaf1a392
Increase test coverage of logging extension. ( #2166 )
...
* Increase test coverage of logging extension.
* More
* More
2020-12-01 11:01:33 -08:00
Anuraag Agrawal
b8a868f7db
Have Node itself implement Context to remove wrapper object. ( #2165 )
2020-12-01 11:00:01 -08:00
Anuraag Agrawal
ca3714053f
Replace SpanData.hasRemoteParent/getParentSpanId with getParentSpanContext ( #2146 )
...
* Remove SpanData.hasRemoteParent
* Replace parentSpanId with parentSpanContext
* Update sdk/trace/src/main/java/io/opentelemetry/sdk/trace/RecordEventsReadableSpan.java
Co-authored-by: Christian Neumüller <christian+github@neumueller.me>
* Keep parentId
Co-authored-by: Christian Neumüller <christian+github@neumueller.me>
2020-12-01 09:50:11 -08:00
John Watson
6be633701f
Convert Labels to be an interface. ( #2137 )
...
* Convert Labels to be an interface.
* Convert the LabelsBuilder into an interface.
2020-12-01 08:46:34 -08:00
John Watson
036f7f1477
Convert TraceState to be an interface ( #2138 )
...
* convert TraceState to an interface
* don't expose the impl
* Remove the un-needed TraceState Entry objects.
* Add additional javadoc documenting requirements for interface implementors.
* make the implementation non-public
* remove un-needed test docs
* Update api/src/main/java/io/opentelemetry/api/trace/TraceState.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Update api/src/main/java/io/opentelemetry/api/trace/TraceState.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* formatting fix
* Convert the TraceStateBuilder into an interface.
* Introduce an intermediate class to get around classloading cycles.
* extract a method to remove an entry from the builder
* add a comment about the possible inefficiency in the implementation
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2020-12-01 08:21:36 -08:00
Anuraag Agrawal
a0b3f33ef9
Remove coveralls plugin ( #2169 )
2020-12-01 18:45:03 +09:00
Sergei Malafeev
49b3e68b92
handle case insensitive logic for keys on context extraction in OpenTracing TracerShim ( #2133 )
...
* #2122 handle case insensitive logic for keys on context extraction in OpenTracing TracerShim
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* #2122 fix test
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* #2122 remove sort
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
2020-12-01 16:14:45 +09:00
Anuraag Agrawal
af77508af7
Remove Guava from zpages ( #2150 )
...
* Remove Guava from zpages
* Clean
2020-12-01 14:14:36 +09:00
Anuraag Agrawal
7ed6d8d4e4
Remove Status.value ( #2147 )
...
* Remove Status.value
* Deprecate for now
2020-12-01 13:46:26 +09:00
Anuraag Agrawal
052b17f9b1
Add asMap for Attributes. ( #2145 )
...
* Add asMap for Attributes.
* AttributesMap too
* Test empty too.
* checkstyle
2020-12-01 13:27:14 +09:00
Anuraag Agrawal
c3261b427e
Replace git submodules for protos with download of archive file. ( #2160 )
...
* Replace git submodules for protos with download of archive file.
* Add docs for proto and remove junk
2020-12-01 13:23:03 +09:00
Anuraag Agrawal
09d371ba09
Enable tooling for mrjar and use it to get epoch time in best way for Java 8 or 9+. ( #2154 )
2020-12-01 09:30:05 +09:00
Anuraag Agrawal
ed57751d00
Remove Guava from SDK extensions, except zpages ( #2149 )
...
* Remove Guava from SDK extensions, except zpages
* Fix
2020-12-01 09:12:58 +09:00
Chris Burns
e0989d75e7
Changes return type from List to Collection ( #2156 )
...
- changes the return type of the fields() method in TextMapPropagator from List<String> to Collection<String>
and updated all implementations for consistency
2020-11-30 14:26:24 -08:00
John Watson
73bad773dd
Move the AsynchronousInstrument callbacks to the builders. ( #2120 )
...
Deprecate the existing setCallback method.
Update the code in the SDK to use the new API.
2020-11-30 14:12:49 -08:00
Mateusz Rzeszutek
2130644667
Support process.runtime.* resource attributes ( #2143 )
...
* Support process.runtime.* resource attributes
* Code review comments
* Add process.runtime.* attributes to README.md
2020-11-30 10:12:15 -08:00
Vladimir Šor
ee0dac1a97
Add getKind to the ReadableSpan interface in SDK. ( #2162 )
2020-11-30 09:48:02 -08:00
Anuraag Agrawal
7d6a62b204
Migrate docker image mirroring to ghcr. ( #2161 )
2020-11-30 09:04:53 -08:00
Anuraag Agrawal
0da7eeca66
Remove Java 8 animalsniffer because we use -release flag ( #2153 )
2020-11-30 08:53:41 -08:00
Nikita Salnikov-Tarnovski
ebb68da04c
Update CONTRIBUTING.md ( #2157 )
...
Fixes #2155
2020-11-30 13:24:27 +09:00
Anuraag Agrawal
14d23dcd46
Some more test coverage for OpenTelemetrySDK. ( #2130 )
...
* Some more test coverage for OpenTelemetrySDK.
* Fix assertion
* Update OpenTelemetrySdk.java
2020-11-25 18:12:56 -08:00
Anuraag Agrawal
883267423e
Rename opentelemetry-sdk-extension-aws-v1-support to opentelemetry-sdk-extension-aws. ( #2129 )
2020-11-25 11:18:33 -08:00
Anuraag Agrawal
8b1c4c50d1
Shutdown BSP in benchmarks ( #2127 )
2020-11-25 11:13:17 -08:00
Anuraag Agrawal
c5af8b581f
Publish Gradle build scan. ( #2128 )
...
* Publish Gradle build scan.
* plugin, not management
2020-11-25 11:12:35 -08:00
Anuraag Agrawal
ebd35d0b14
Add some more coverage of context code paths. ( #2131 )
2020-11-25 10:42:40 -08:00
John Watson
abd5d642dd
Nov. 20-24 updates to the CHANGELOG ( #2109 )
...
* Nov. 20 updates to the CHANGELOG.md
* a couple more changelog updates
* add an entry for the OTLP port change
* add a couple more entries
2020-11-24 22:43:50 -08:00
Anuraag Agrawal
4af4d726c0
Move section on building to top of contributing.md since it has the important steps of initializing submodules. ( #2126 )
2020-11-24 21:57:54 -08:00
Anuraag Agrawal
0c4a0dff02
Add factory methods instead of builder for TraceMultiPropagator ( #2104 )
...
* Add factory methods instead of builder for TraceMultiPropagator
* spot
2020-11-25 10:38:09 +09:00
Christian Neumüller
bbe8702257
Rename HttpTraceContext to W3CTraceContextPropagator. ( #2116 )
...
* Rename HttpTraceContext to W3CTraceContextPropagator.
* Add javadoc.
2020-11-25 10:27:07 +09:00
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
John Watson
3782def5dd
Add a static builder method to the OpenTelemetry interface. ( #2118 )
2020-11-24 09:22:15 -08:00
John Watson
116238f001
Deprecate the runtime-metrics code. ( #2119 )
2020-11-24 09:10:03 -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
e119217b50
Update to Gradle 6.7.1 ( #2123 )
2020-11-24 09:02:47 -08:00
John Watson
e599d0e87b
Change the default port that the OTLP exporters point to. ( #2113 )
...
* Change the default port that the OTLP exporters point to.
* extract constants for the export metrics labels
2020-11-23 10:43:37 -08:00
John Watson
4897f4c320
rename tracing to trace for the module ( #2112 )
2020-11-23 10:14:33 -08:00
Anuraag Agrawal
ac672e56bf
Update dependencies ( #2115 )
2020-11-21 09:39:27 -08:00
John Watson
7f4396219e
add a couple of context tests around keys with colliding hashcodes ( #2114 )
...
* add a couple of context tests around keys with colliding hashcodes
* add a test for an empty context
2020-11-21 09:29:47 -08:00