jack-berg
2bc88f45c6
Deprecate multi argument InstrumentationScopeInfo create method ( #4710 )
...
* Deprecate multi argument InstrumentationScopeInfo create method
* PR feedback
2022-08-24 13:35:31 -05:00
jason plumb
8445642052
Update bucket hist defaults to match spec ( #4684 )
...
* udpate default histogram bucket boundaries
* spotless
2022-08-24 12:59:29 -05:00
jack-berg
198b2c2994
Serialize scope attributes in otlp marshalers ( #4712 )
2022-08-24 10:55:06 -05:00
jack-berg
c8e4fd4d9b
Fix log sdk module name ( #4716 )
2022-08-24 10:00:02 -05:00
jack-berg
926b57143a
Merge trace and metric incubator ( #4705 )
2022-08-24 09:59:42 -05:00
jason plumb
3a802305dc
return early if merging empty resource ( #4713 )
2022-08-23 12:38:25 -05:00
jack-berg
d0c6cd4480
Extend InstrumentationScopeInfo with scope attributes ( #4696 )
...
* Extend InstrumentationScopeInfo with scope attributes
* Add InstrumentationScopeInfoBuilder
2022-08-22 12:26:54 -05:00
Trask Stalnaker
c5bc5a0555
Add comment to generated PR ( #4692 )
2022-08-20 09:17:57 -05:00
jack-berg
7b70a9e55e
Bump otlp proto to 0.19.0 ( #4704 )
2022-08-19 12:58:34 -05:00
Bogdan Drutu
b5d0d08ad8
Fix HistogramScaleBenchmark, use the right ThreadState, clarify difference ( #4691 )
...
* Fix HistogramScaleBenchmark, use the right ThreadState, clarify difference
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Update sdk/metrics/src/jmh/java/io/opentelemetry/sdk/metrics/internal/aggregator/HistogramScaleBenchmark.java
Co-authored-by: jason plumb <75337021+breedx-splk@users.noreply.github.com>
* Update HistogramScaleBenchmark.java
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Co-authored-by: jason plumb <75337021+breedx-splk@users.noreply.github.com>
2022-08-19 09:14:20 -05:00
jason plumb
734b13e9c5
Improve single responsibility of ZipkinSpanExporter. ( #4675 )
...
* improve single responsibility of ZipkinSpanExporter by factoring out OtelToZipkinSpanTransformer.
* add javadoc
* make utility constructor private
* make new class final and jApiCmp
* add javadocs
* enhance javadoc
* make package private
* hide logger
* spotless
* jApiCmp
* create transformer with supplier
* jApiCmp
* rename all Function vars to "transformer"
* remove dead code
* remove Function interface from OtelToZipkinSpanTransformer
* create factory method and rename test util
* rename attributesMap -> attributes
* rebase after metrics merge
* add javadoc
* remove static shared ip address
* Hey look it's a period.
* allow the builder to control the ip address supplier, not the entire transformer.
* hide instance behind getter
* remove unused
* rebase
* hide OtelToZipkinSpanTransformer from public usage
* jApiCmp
* add default to javadocs
2022-08-17 18:11:20 -05:00
jack-berg
6eea0389af
Move :sdk-extensions:zpages to :sdk-extensions:tracing-incubator ( #4694 )
2022-08-17 15:41:07 -05:00
dependabot[bot]
80ee9f4bcb
Bump com.gradle.enterprise from 3.10.3 to 3.11.1 ( #4693 )
...
Bumps com.gradle.enterprise from 3.10.3 to 3.11.1.
---
updated-dependencies:
- dependency-name: com.gradle.enterprise
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2022-08-17 11:47:16 -05:00
Bogdan Drutu
bb57442cbf
Remove unnecessary code from metrics sdk ( #4688 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-08-17 11:09:15 -05:00
jack-berg
df65356cda
Post release 1.17.0 ( #4690 )
...
* Update version in docs
* japicmp
* Exclude opentelemetry-java-bot from contributors
2022-08-15 07:44:43 -05:00
OpenTelemetry Java Bot
90f84f6017
Update version to 1.18.0 ( #4687 )
...
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
2022-08-12 11:49:24 -05:00
Trask Stalnaker
955c40f4a9
Auto-update instrumentation repo on release ( #4673 )
...
* Auto-update instrumentation repo on release
* fix
2022-08-12 11:43:32 -05:00
jack-berg
d5bb47664b
Prepare changelog for 1.17.0 release ( #4683 )
...
* Prepare changelog for 1.17.0 release
* Add changelog entry for zipkinspanexporter metrics
* Add more details
2022-08-12 11:29:27 -05:00
Donnerbart
323174abae
Add metrics to ZipkinSpanExporter ( #4501 )
...
* Add metrics to the ZipkinSpanExporter
* Add distinct transport name for HTTP/JSON trace metrics
* Use :expoters:common
* Fix javadoc
Co-authored-by: Jack Berg <jberg@newrelic.com>
2022-08-12 10:57:46 -05:00
Bogdan Drutu
abbafb3627
Remove duplicate and unnecessary code in micrometer1shim ( #4682 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-08-11 17:05:09 -07:00
jack-berg
e11829778a
Use NoopLogEmitterBuilder when no log processors are registered ( #4672 )
2022-08-11 16:16:53 -05:00
jack-berg
b979ea1427
Allow logs to be mutated by LogProcessor ( #4643 )
...
* Allow logs to be mutated by LogProcessor
* wip
* Improve test coverage
2022-08-11 15:52:22 -05:00
dependabot[bot]
dcb9bbbe1b
Bump docker/build-push-action from 3.1.0 to 3.1.1 ( #4674 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v3.1.0...v3.1.1 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-08 10:13:15 -07:00
jack-berg
77be2e0136
Break out :exporters:common module ( #4575 )
...
* Break out :exporters:common module
* Comment out readme links
* spot
2022-08-08 08:28:24 -05:00
Mateusz Rzeszutek
91bd17e09b
Add AutoConfigurationCustomizer#addPropertiesCustomizer() extension p… ( #4608 )
...
* Add AutoConfigurationCustomizer#addPropertiesCustomizer() extension point
* jApiCmp
* Update sdk-extensions/autoconfigure/src/main/java/io/opentelemetry/sdk/autoconfigure/AutoConfiguredOpenTelemetrySdkBuilder.java
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
* since
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2022-08-07 15:57:33 -05:00
jack-berg
1d63b2accd
Mark :extensions:annotations as deprecated ( #4659 )
2022-08-07 15:56:45 -05:00
jack-berg
5def2f7fb2
Always pull ghrc.io/open-telemetry/opentelemetry-java/* images ( #4656 )
...
* Always pull ghrc.io/open-telemetry/opentelemetry-java/* images
* Unused import
* Add error logging to collector
* unused imports
* spot
* revert error logging
2022-08-07 15:56:07 -05:00
jack-berg
35680960cb
Fix autoconfigure documentation ( #4658 )
2022-08-07 15:55:36 -05:00
Trask Stalnaker
1c6fd1cceb
Sync errorprone conventions ( #4666 )
2022-08-05 16:35:31 -07:00
jack-berg
2ef0a58bf8
Fix OpenTelemetryMetricExporterTest flake ( #4657 )
...
* Fix OpenTelemetryMetricExporterTest flake
* unused imports
2022-08-05 16:26:31 -07:00
Trask Stalnaker
144eb5731f
Fix typo ( #4664 )
2022-08-05 16:24:35 -07:00
David Turner
cfbe5f9d20
Avoid unnecessary stack trace capture ( #4663 )
...
Constructing an `AssertionError` is rather expensive, and pointless in
cases that we're not even going to log it. With this commit we skip all
this unnecessary work.
Relates https://github.com/elastic/elasticsearch/issues/89107
2022-08-05 13:04:23 -05:00
Mateusz Rzeszutek
6be22eeaa5
Bump spotless version ( #4667 )
2022-08-05 11:18:54 -05:00
DJ Gregor
4bfe17fb76
Fix misspellings in log message envvar suggestions ( #4660 )
...
Fix some small mispellings where OTLP should be OTEL in these strings
in log messages that are emitted when gRPC unimplemented responses are
received when exporting:
- OTLP_TRACES_EXPORTER -> OTEL_TRACES_EXPORTER
- OTLP_METRICS_EXPORTER -> OTEL_METRICS_EXPORTER
- OTLP_LOGS_EXPORTER -> OTEL_LOGS_EXPORTER
This will match the environement variables listed here:
https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk-extensions/autoconfigure/README.md
2022-08-02 17:00:04 -05:00
Liudmila Molkova
f5dd63a738
jApiCmp: check if source is compatible ( #4642 )
...
* jApiCmp: check if source compatible
* Allow TestSpanData.getScopeInfo to be abstract in 1.17
* ignore abstract method incompatibility on autovalue
* Update buildSrc/src/main/kotlin/otel.japicmp-conventions.gradle.kts
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
* ignore abstract method incompatibility on autovalue
* formatting
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2022-08-02 15:05:41 -05:00
jack-berg
ca9837fa47
Disable compression in collector exporter ( #4655 )
2022-08-02 14:19:25 -05:00
sfriberg
1dc764684a
Simple OTLP HTTP authentication - otel internal api ( #4630 )
...
* Internal Authenticator
* clean up, add tests
* clean up, add tests
* Delete project.properties
* checkstyle
* extend test
* Update exporters/otlp/common/src/main/java/io/opentelemetry/exporter/internal/auth/Authenticator.java
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
* Update exporters/otlp/common/src/main/java/io/opentelemetry/exporter/internal/auth/Authenticator.java
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
* Update exporters/otlp/common/src/main/java/io/opentelemetry/exporter/internal/auth/Authenticator.java
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
* Update exporters/otlp/common/src/main/java/io/opentelemetry/exporter/internal/auth/Authenticator.java
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
* Update exporters/otlp/common/src/main/java/io/opentelemetry/exporter/internal/okhttp/OkHttpExporterBuilder.java
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
* PR comments
* PR comments
* PR comments
* Remove Consumer pattern
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2022-07-29 14:05:46 -05:00
jack-berg
21abfa2b57
Add ConfigurableLogExporterProvider ( #4636 )
2022-07-28 15:04:45 -05:00
Maksym Ochenashko
7d01751e01
Update example in `InMemorySpanExporter` ( #4644 )
...
The current example is out of date and does not compile.
2022-07-28 08:20:17 -07:00
jack-berg
facbf4fb9e
Add default implementations for getInstrumentationScopeInfo methods ( #4640 )
2022-07-27 17:54:29 -05:00
Mateusz Rzeszutek
467a275825
Add ordering to autoconfigure SPIs ( #4609 )
...
* Add ordering to autoconfigure SPIs
* jApiCmp
* comments
2022-07-27 17:37:02 -05:00
jack-berg
659a7930bd
Move AttributesMap to :sdk:common ( #4641 )
2022-07-27 17:08:40 -05:00
jack-berg
a8086498b1
Add TestLogData, remove public LogDataImpl and LogDataBuilder from log SDK ( #4635 )
...
* Add TestLogData, remove public LogDataImpl and LogDataBuilder from log sdk
* pr comment
2022-07-27 13:15:25 -05:00
jason plumb
aa355829cb
Clean up to sdk docs re: mutability ( #4628 )
...
* remove references to TracerSdkManagement and TraceConfig and bullet point mutability problems.
* restore removed sections and update topmost heading for clarity
* Update docs/sdk-configuration.md
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2022-07-27 10:51:27 -07:00
jack-berg
c72a01ef1b
Update to semconv 1.12.0, build tools 0.8.0 ( #4637 )
2022-07-27 09:03:13 -05:00
jack-berg
2ef73c83af
Support aggregation arguments for view file configuration ( #4588 )
...
* Support aggregation arguments for view file configuration
* Extract getBucketBoundaries function
2022-07-21 09:41:43 -05:00
Trask Stalnaker
01807f6b4f
chmod to make script executable ( #4621 )
2022-07-20 10:16:58 -05:00
Trask Stalnaker
65ab38b2d6
Fix release notes generation ( #4622 )
...
* Fix release notes generation
* Update .github/scripts/generate-release-contributors.sh
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2022-07-20 10:16:44 -05:00
jack-berg
7a2a5b379d
Update autoconfigure docs for multiple exporters ( #4619 )
2022-07-20 09:39:48 -05:00
jack-berg
31746e0821
Update dependencies ( #4620 )
...
* Update dependencies to latest versions
* Upgrade to gradle 7.5
* Fix checksum
2022-07-20 09:39:30 -05:00