Lauri Tulmin
0cb8c75df7
Fix tests for mongodb 4.8 ( #7183 )
...
Resolves
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/7170
2022-11-15 13:21:07 -08:00
jason plumb
b09fb67e6b
Support cgroup v2 ( #7167 )
...
This resolves #6694 .
We've been tracking the update to cgroup version support and want to get
ahead of the widespread usage. The surface of the existing
`ContainerResource` has not changed, but its internals have been
factored out to two "extractor" utilities -- one that understands cgroup
v1 and another for v2. v1 is attempted and, if successful, the result is
used. If v1 fails, then the `ContainerResource` will fall back to v2.
As mentioned in #6694 , the approach taken in this PR is borrowed from
[this SO
post](https://stackoverflow.com/questions/68816329/how-to-get-docker-container-id-from-within-the-container-with-cgroup-v2 )
combined with local experimentation on docker desktop on a Mac, which
already uses cgroup2 v2.
2022-11-15 12:12:11 -08:00
Lauri Tulmin
33b0b580f0
Fix latest deps tests for tomcat 10.1.2+ ( #7184 )
2022-11-15 11:09:47 -08:00
Trask Stalnaker
19ce0f87b9
GitHub action sync ( #7150 )
2022-11-15 09:35:30 -08:00
Trask Stalnaker
5a88cd7462
Fix sporadically failing uploads ( #7173 )
...
I've seen CI fail several times lately on something like
```
An error was encountered when uploading deadlock-detector-test-19-hotspot
```
e.g.
https://github.com/open-telemetry/opentelemetry-java-instrumentation/actions/runs/3466878562/jobs/5791191014
when otherwise the job would have succeeded.
2022-11-15 16:23:48 +01:00
Aaron Ai
b3cd45685d
Implement consumer part of rocketmq new client instrumentation ( #7019 )
...
Fixes #6764 , This PR is about the consumer part.
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-11-15 13:21:14 +01:00
Trask Stalnaker
87c7147a25
Remove wildcard + dependency ( #7172 )
...
Should help with maven central sporadic failure:
```
Could not determine the dependencies of task ':instrumentation:hibernate:hibernate-3.3:javaagent:test'.
> Could not resolve all task dependencies for configuration ':instrumentation:hibernate:hibernate-3.3:javaagent:testRuntimeClasspath'.
> Could not resolve javassist:javassist:+.
```
2022-11-15 08:57:15 +01:00
Trask Stalnaker
3ae840bd15
Consolidate dependabot updates ( #7176 )
...
I did some testing, and it looks like dependabot understands this kind
of variable usage, and will update the variable, which should save us
several updates (and resulting conflicting merges).
2022-11-15 08:56:49 +01:00
Trask Stalnaker
feb29ec309
Bump plugin versions ( #7165 )
2022-11-15 08:56:37 +01:00
Arik Sher
deebf6d06c
Enhancement/add additionalServerExtractors ( #7155 )
...
fixes issue #7153
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-11-15 08:52:43 +01:00
jason plumb
d4b29cf521
Migrate some SQL sanitizer tests to java ( #7148 )
2022-11-15 06:15:32 +00:00
dependabot[bot]
c6bbf28eac
Bump junit-pioneer from 1.8.0 to 1.9.0 in /dependencyManagement ( #7158 )
2022-11-15 05:11:00 +00:00
dependabot[bot]
5e0a775c84
Bump jmh-core from 1.35 to 1.36 in /dependencyManagement ( #7156 )
2022-11-14 19:51:50 -08:00
dependabot[bot]
1385d5ecb5
Bump jmh-generator-bytecode from 1.35 to 1.36 in /dependencyManagement ( #7161 )
2022-11-14 19:26:05 -08:00
Trask Stalnaker
32995ab0c4
Try to reduce CI failures due to maven central flakiness ( #7164 )
...
Worth trying, the failures have really picked up lately...
2022-11-14 18:55:53 -08:00
Trask Stalnaker
4e36285b6c
Temporary fix for testLatestDeps failure ( #7169 )
...
Tracking issues to fix for real: #7170 , #7171
2022-11-14 18:20:46 -08:00
Trask Stalnaker
a4938a70e0
Add comment ( #7135 )
2022-11-12 08:53:12 -08:00
dependabot[bot]
653291c116
Bump com.gradle.plugin-publish from 1.0.0 to 1.1.0 ( #7147 )
2022-11-11 17:33:57 -08:00
dependabot[bot]
629e5c2aae
Bump junit-pioneer from 1.7.2 to 1.8.0 in /dependencyManagement ( #7141 )
2022-11-12 00:23:00 +00:00
Trask Stalnaker
6bc43450df
Add shell check ( #7125 )
...
Motivated by @mateuszrzeszutek's
https://github.com/signalfx/splunk-otel-java/pull/992
2022-11-11 14:58:05 -08:00
dependabot[bot]
4c98a72ee5
Bump versions.opentelemetry from 1.19.0 to 1.20.0 in /examples/extension ( #7142 )
2022-11-11 14:57:28 -08:00
dependabot[bot]
354e5c2a1c
Bump opentelemetry-api from 1.19.0 to 1.20.0 in /examples/distro ( #7144 )
2022-11-11 14:56:58 -08:00
dependabot[bot]
0c6bfad412
Bump versions.opentelemetry from 1.19.0 to 1.20.0 in /examples/distro ( #7143 )
2022-11-11 14:56:29 -08:00
dependabot[bot]
160480421e
Bump com.gradle.plugin-publish from 1.0.0 to 1.1.0 in /conventions ( #7140 )
2022-11-11 14:51:54 -08:00
Trask Stalnaker
a9e7eb1264
Fix CI ( #7138 )
...
Resolves #7139
2022-11-11 13:42:19 -08:00
Lauri Tulmin
2107109d0d
Avoid NPE when DirectWithAttributesChannel class is not available ( #7133 )
...
Resolves
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/7123
2022-11-11 10:46:34 -08:00
David Boreham
c009c79237
Ignore Nashorn's class loader for performance reasons ( #7116 )
...
See this discussion thread for background:
https://github.com/open-telemetry/opentelemetry-java-instrumentation/discussions/6985
2022-11-11 08:16:39 -08:00
Trask Stalnaker
597b2a5321
More spotless ( #7126 )
2022-11-11 05:01:21 +00:00
Trask Stalnaker
c45e7578c1
Add a release step ( #7128 )
2022-11-10 13:37:12 +02:00
Trask Stalnaker
5345c87680
End groovy files with newline ( #7127 )
2022-11-10 12:21:55 +01:00
sharp-pixel
31f4d12d31
Add support for OpenSearch 1.x and 2.x auto-instrumentation ( #6998 )
...
This PR adds support for OpenSearch 1.x and 2.x Java clients
auto-instrumentation.
This is made possible by OpenTelemetry specification v1.14.0 and
OpenTelemetry Java SDK v1.19.0.
Testing is being done using
org.opensearch:opensearch-testcontainers:2.0.0
(https://github.com/opensearch-project/opensearch-testcontainers )
Resolves #7007
Signed-off-by: Cédric Pelvet <cedric.pelvet@gmail.com>
Signed-off-by: Cédric Pelvet <cedric.pelvet@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-11-09 20:44:14 -08:00
dependabot[bot]
b9b3feadc0
Bump junit-pioneer from 1.7.1 to 1.7.2 in /dependencyManagement ( #7122 )
2022-11-09 15:30:51 -08:00
dependabot[bot]
779613a8ed
Bump logback-classic from 1.2.11 to 1.4.4 in /examples/distro ( #7081 )
2022-11-09 08:15:41 -08:00
dependabot[bot]
e293fe2ec1
Bump logback-classic from 1.2.11 to 1.4.4 in /examples/extension ( #7056 )
2022-11-09 08:14:45 -08:00
Trask Stalnaker
09f3a51efa
Update kotlin plugin version ( #7111 )
2022-11-09 08:13:25 -08:00
Trask Stalnaker
d88d8cc24e
Update couchbase instrumentation shading ( #7023 )
...
for consistency with other instrumentations
2022-11-09 08:10:25 -08:00
Mateusz Rzeszutek
c1eea368ac
Disable reactor 3.5 latest dep tests ( #7119 )
...
Continuation of
https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7106
2022-11-09 13:49:42 +01:00
jason plumb
d6010b2976
Ignore trino shaded okhttp pool ( #7114 )
2022-11-09 06:36:18 +01:00
dependabot[bot]
2152feaabf
Bump jetty-servlet from 8.0.0.v20110901 to 8.2.0.v20160908 in /examples/distro ( #7113 )
2022-11-08 23:20:27 +00:00
dependabot[bot]
4ef01a6fb2
Bump com.gradle.enterprise from 3.11.3 to 3.11.4 ( #7103 )
2022-11-08 23:05:18 +00:00
dependabot[bot]
afe2a832c1
Bump jetty-server from 8.0.0.v20110901 to 8.2.0.v20160908 in /examples/distro ( #7112 )
2022-11-08 14:53:43 -08:00
jack-berg
177d9cd531
Record memory usage after garbage collection ( #6963 )
...
Per conversation in #6362 .
2022-11-08 22:44:48 +00:00
Trask Stalnaker
2e66e207cd
More dependabot ignores ( #7110 )
2022-11-08 22:27:35 +00:00
dependabot[bot]
2e7c526d52
Bump grpc-bom from 1.33.1 to 1.50.2 in /smoke-tests ( #7100 )
2022-11-08 21:58:36 +00:00
dependabot[bot]
df0da0b0bf
Bump dockerJavaVersion from 3.2.5 to 3.2.13 in /smoke-tests ( #7101 )
2022-11-08 13:46:17 -08:00
dependabot[bot]
ac76347558
Bump protobuf-java-util from 3.12.4 to 3.21.9 in /smoke-tests ( #7102 )
2022-11-08 13:45:58 -08:00
Trask Stalnaker
7071bc2bd0
Add some dependabot ignores ( #7108 )
2022-11-08 21:45:29 +00:00
Trask Stalnaker
d40377bbd7
Add muzzle limits to fix CI ( #7106 )
...
~I'll create a tracking issue to remove these and support new versions.~
Tracking issue added to support latest project reactor 3.5.0 and revert
these limits: #7107
2022-11-08 13:05:57 -08:00
Trask Stalnaker
9dc9135814
Add smoke-tests to dependabot ( #7072 )
...
We need more dependabot!!!!
2022-11-08 11:08:54 -08:00
Trask Stalnaker
d9c4784952
Stabilize annotations ( #7046 )
...
Resolves #6494
2022-11-08 08:46:11 -08:00