Commit Graph

7947 Commits

Author SHA1 Message Date
Mateusz Rzeszutek 976ab9411c
Deprecate Config (#6360)
* Deprecate Config

* suppress deprecation on ConfigTest
2022-07-25 12:10:11 -07:00
Mateusz Rzeszutek 82b39b1012
Rename `newInstrumenter()` into `buildInstrumenter()` (#6363)
* Rename newInstrumenter() into buildInstrumenter()

* spotless
2022-07-25 12:02:46 -07:00
Will Li c0cacb8544
add missing jboss-logmanager to supported libraries list (#6369)
* add missing jboss-logmanager to supported libraries list

Signed-off-by: Cuichen Li <cuichli@cisco.com>

* Update docs/supported-libraries.md

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2022-07-25 11:38:13 -07:00
Trask Stalnaker 9bf5a04d1f
Auto-update contrib on release (#6351) 2022-07-22 11:09:07 +02:00
Sam Xie fcda760ad5
Add shouldStart() call to gRPC instrumentation (#6356) 2022-07-22 10:38:53 +02:00
Mateusz Rzeszutek 11e46f5694
Fix gRPC latestDepTest failures (#6357) 2022-07-22 01:31:44 +03:00
Mateusz Rzeszutek 83a9b03c4b
Fix IgnoredTypesConfigurer extension example (#6358) 2022-07-21 17:14:14 +02:00
Sam Xie 2e1d683d16
Fix build error on M1 Mac (#6355) 2022-07-21 12:57:18 +03:00
Trask Stalnaker 2cdaa01650
Fix operator script (#6347) 2022-07-20 08:35:59 -07:00
OpenTelemetry Bot 5ed0551537
Update version to 1.17.0-SNAPSHOT (#6343) 2022-07-19 11:02:30 -07:00
Trask Stalnaker 5d4cf1af8f
chmod (#6341) 2022-07-19 09:13:28 -07:00
Trask Stalnaker 9633115a32
Update change log (#6335)
* Update change log

* Updates
2022-07-19 09:00:09 -07:00
Lauri Tulmin 8be51b3dde
Fix spring kafka latest dep tests (#6339) 2022-07-19 08:04:08 -07:00
Lauri Tulmin 57c9072df3
Instrumenting classes with missing method return or parameter types (#6286)
* Allow instrumenting classes with missing method return or parameter types

* add test
2022-07-18 19:13:10 -07:00
Mateusz Rzeszutek b917b3bf9c
Use ConfigProperties instead of Config in the agent code (#6322)
* Use ConfigProperties instead of Config in the agent code

* Fix merge conflict

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-07-18 19:04:48 -07:00
Mateusz Rzeszutek 5bc7abf178
Spring Kafka library instrumentation (#6283)
* Spring Kafka library instrumentation

* Merge and fix prior merge

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-07-18 14:38:44 -07:00
Mateusz Rzeszutek 257009f944
InstrumentationConfig part 5: library logging appenders (#6321)
* InstrumentationConfig part 5: library logging appenders

* Logback

* remove log4j hackery

* fix tests

* Remove unused

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-07-18 14:28:26 -07:00
Lauri Tulmin 96cac8184c
Fix dropwizard metrics latest deps test (#6329) 2022-07-16 10:12:40 -07:00
Mateusz Rzeszutek 8d1ba17d29
InstrumentationConfig part 4: DB sanitization (#6317)
* InstrumentationConfig part 4: DB sanitization

* fix couchbase unit tests

* code review comments

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-07-15 21:47:33 -07:00
Mateusz Rzeszutek 3af56e7d22
InstrumentationConfig part 3: HTTP headers and peer service mappings (#6302) 2022-07-15 14:52:52 -07:00
Mateusz Rzeszutek db1250d8c9
Add a dropwizard-metrics -> OTel metrics bridge (#6259)
* Add a dropwizard-metrics -> OTel metrics bridge

* disable by default

* enable metrics for test
2022-07-15 14:48:52 -07:00
Lauri Tulmin b3e543d2df
Hikaricp: Avoid registering duplicate metrics (#6325)
* Hikaricp: Avoid registering duplicate metrics

* Update instrumentation/hikaricp-3.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/hikaricp/HikariPoolInstrumentation.java

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

* spotless

* Trigger build

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-07-15 09:59:28 +03:00
Lauri Tulmin 07f787693c
Fix build failure on M1 mac (#6324) 2022-07-14 08:58:45 -07:00
Trask Stalnaker 2a59d0faee
Add (more) Spring JMS support (#6308)
* Add (more) Spring JMS support

* Remove duplication

* Better advice matcher
2022-07-13 15:37:26 -07:00
Mateusz Rzeszutek a559effa01
Remove config property name normalization (#6320)
* Remove config property name normalization

* fix test
2022-07-13 15:33:04 -07:00
Lauri Tulmin 8de4030df6
Update to OpenTelemetry SDK 1.16.0 (#6318) 2022-07-13 13:01:41 +03:00
Anuraag Agrawal e5febf6bae
Remove anuraaga from maintainers list (#6301)
Not at AWS anymore nor OTel org
2022-07-12 20:58:35 -07:00
Lauri Tulmin 11bc28f044
Add a label for running windows smoke tests (#6314)
* Add a label for running windows smoke tests

* Trigger build
2022-07-12 10:44:24 -07:00
Mateusz Rzeszutek 35c63a4184
Remove the 'noop API' feature (#6313)
* Remove the 'noop API' feature

* remove noop api dep

* fix tooling tests
2022-07-12 10:36:19 -07:00
Lauri Tulmin 4d9bf3bf24
Align instrumentation name with module name (#6316) 2022-07-12 18:16:34 +03:00
Jean Bisutti 7f051d36ce
Add test on work stealing pool (#6315) 2022-07-12 12:29:01 +03:00
Trask Stalnaker 580a40eaf4
Fix build (#6311) 2022-07-12 10:08:22 +03:00
Mateusz Rzeszutek b23db97a28
Use ConfigProperties in javaagent SPIs (#6285)
* Use ConfigProperties in javaagent SPIs

* remove deprecated

* errorprone

* fix javaagent build

* fix javaagent-tooling tests

* spotless
2022-07-12 08:41:01 +02:00
dependabot[bot] 9aaec2930e
Bump com.gradle.enterprise from 3.10.2 to 3.10.3 (#6307)
Bumps com.gradle.enterprise from 3.10.2 to 3.10.3.

---
updated-dependencies:
- dependency-name: com.gradle.enterprise
  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-07-11 17:01:26 -07:00
Trask Stalnaker fb784aa877
Support new annotations (and change of instrumentation name for opentelemetry-annotations) (#6296)
* Support new annotations

* Consistency

* Simplify

* Annotation

* oops
2022-07-11 14:34:26 -07:00
Trask Stalnaker 8adebaadca
Run github actions on windows-latest (#6295) 2022-07-11 14:31:39 -07:00
jason plumb 6836d73efa
use the pinned petclinic version in overhead tests. (#6306) 2022-07-11 14:30:31 -07:00
jason plumb f6ba3cf9e3
fix silly path mess-up (#6305) 2022-07-11 13:18:41 -07:00
jason plumb 392181a44b
Fix petclinic docker image (#6303)
* pin petclinic revision

* don't tag docker image with latest.
2022-07-11 12:40:05 -07:00
Trask Stalnaker df4eeefdb8
Switch from opentelemetry-java-bot to opentelemetrybot (#6294) 2022-07-11 08:48:11 -07:00
Mateusz Rzeszutek 7bbe918008
InstrumentationConfig part 2 (#6292) 2022-07-11 09:47:19 +02:00
Trask Stalnaker 177f0aec7c
Rename instrumentation-api-annotation-support (#6288) 2022-07-08 17:07:41 -07:00
Trask Stalnaker ab724e13b4
Fix liberty net.peer.port (#6274) 2022-07-08 10:34:13 -07:00
Mateusz Rzeszutek e7887ac929
Idea: deprecate `Config`, add agent-only `InstrumentationConfig` (#6264)
* Idea: deprecate Config, add agent-only InstrumentationConfig

* fix

* fix camel test

* fix external-annotation tests
2022-07-08 16:20:49 +02:00
Trask Stalnaker c699a6c508
Move instrumentation annotations to this repo (#6248) 2022-07-07 14:31:27 -07:00
Mateusz Rzeszutek 9058ad6f40
Add metrics & micrometer support to spring-boot-autoconfigure (#6270)
* Add metrics & micrometer support to spring-boot-autoconfigure

* Apply suggestions from code review

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

* code review comments

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-07-07 07:51:25 -07:00
Lauri Tulmin 646a724a38
Fix kafka metrics latest dep test failure (#6282) 2022-07-07 07:46:12 -07:00
Mateusz Rzeszutek 198dad00d6
Prefer using ConfigProperties over Config in AgentListener (#6202)
* Prefer using ConfigProperties over Config in AgentListener

* normalize property name

* add TODOs
2022-07-07 15:44:32 +02:00
Lauri Tulmin 81de0d8906
Don't wait for netty to shut down (#6271) 2022-07-06 13:00:27 -07:00
jack-berg 3e08f36cfa
Add kafka client metrics (#6138)
* Add kafka client metrics

* Spotless

* Refactor to general purpose bridge between kafka client metrics and opentelemetry metrics

* Include kafka prefix, fix typo

* Spotless, update readme with latest metric names

* PR feedback

* Map rate measureables to gauges instead of up down counters

* Spotless, quote attributes, log placeholder

* Move metric table printing to test, only retain most granular attribute set

* PR feedback

* Remove synchornization from metricChange

* remove kafka dependency

* PR feedback

* Fix reset

* Adjust configuration pattern to not rely on GlobalOpenTelemetry

* Merge into KafkaTelemetry

* Relocate readme and fix typo
2022-07-06 09:34:14 -07:00