Trask Stalnaker
11a057594e
Fix db.system for SAP Hana and remove unnecessary code ( #6401 )
...
* Remove unnecessary code
* Remove unnecessary code
* Fix tests
2022-08-02 11:16:38 -07:00
Mateusz Rzeszutek
faa367395f
Fix @WithSpan in spring autoconfigure ( #6398 )
2022-08-02 09:37:40 +02:00
Mateusz Rzeszutek
61aef2e413
Clean up spring-boot-autoconfigure exporter logic ( #6374 )
2022-08-02 09:35:19 +02:00
Trask Stalnaker
c3c4fb7101
Finish annotation move ( #6386 )
...
* Update tests with new annotation
* more
* Fix build
* More
2022-08-01 09:19:58 -07:00
Trask Stalnaker
9e460e28ef
Fix build ( #6389 )
2022-07-31 10:50:42 +03:00
Mateusz Rzeszutek
cf313eb361
Bump Spring Boot version for autoconfigure and starters ( #6379 )
2022-07-29 13:25:57 +02:00
Mateusz Rzeszutek
5a152cd289
Deprecate uncompressed content length HTTP attributes ( #6383 )
2022-07-29 06:17:38 +02:00
Mateusz Rzeszutek
54b8b6af89
Add Kafka instrumentation to the Spring Boot starter ( #6371 )
2022-07-28 12:44:53 +02:00
Mateusz Rzeszutek
561ce5e3cc
Support new @WithSpan annotation in spring-boot-autoconfigure ( #6378 )
2022-07-28 11:48:59 +02:00
Mateusz Rzeszutek
6a24080fe9
Add code attributes to several instrumentations ( #6365 )
...
* Add code attributes to several instrumentations
* fix servlet tests
* fix tests
* fix elasticsearch tests
* fix context bridge test
* fix rxjava tests
* fix spring webmvc tests
2022-07-27 09:37:01 +02:00
Mateusz Rzeszutek
8a3d283941
Move buffer pool metrics out of the experimental block ( #6370 )
2022-07-26 07:54:59 +02:00
Mateusz Rzeszutek
82b39b1012
Rename `newInstrumenter()` into `buildInstrumenter()` ( #6363 )
...
* Rename newInstrumenter() into buildInstrumenter()
* spotless
2022-07-25 12:02:46 -07: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
Lauri Tulmin
8be51b3dde
Fix spring kafka latest dep tests ( #6339 )
2022-07-19 08:04:08 -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
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
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
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
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
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
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
Mateusz Rzeszutek
afee828846
Use metrics batch API in connection pool instrumentations ( #6231 )
...
* Use metrics batch API in connection pool instrumentations
* Fix vibur muzzle
* Fix vibur muzzle
2022-07-05 13:47:15 +02:00
jason plumb
f3f2e61542
Add api dep on "io.opentelemetry:opentelemetry-sdk-extension-autoconfigure-spi" ( #6254 )
2022-07-04 10:21:39 +02:00
jason plumb
f38939134c
Correct spelling of opentelemetry-exporter-logging ( #6253 )
2022-07-01 21:09:04 +03:00
Lauri Tulmin
6534dd4d51
Aws sdk2 sqs context propagation ( #6199 )
2022-07-01 09:24:45 -07:00
Lauri Tulmin
ae2a908256
Run tests with dubbo3 ( #6247 )
...
* Run tests with dubbo3
* remove muzzle limit
* fill peer name on dubbo 3
2022-07-01 08:14:23 -07:00
Trask Stalnaker
701ed54311
Use "class loader" instead of "classloader" consistently in docs and comments ( #6236 )
...
* Use "class loader" consistently instead of classloader
* Java comments too
* Fix bad merge
2022-06-30 14:57:07 -07:00
Will Li
661af204d9
add runtime metrics for buffer pool ( #6177 )
...
* add runtime metrics for buffer pool
Signed-off-by: Cuichen Li <cuichli@cisco.com>
* update based on comments
Signed-off-by: Cuichen Li <cuichli@cisco.com>
* update based on comment
Signed-off-by: Cuichen Li <cuichli@cisco.com>
* add missing unit test
Signed-off-by: Cuichen Li <cuichli@cisco.com>
2022-06-28 13:31:54 +03:00
Lauri Tulmin
30248684d1
Capture enduser.id in servlet instrumentation ( #6225 )
...
* Capture enduser.id in servlet instrumentation
* delete TomcatAdditionalAttributesExtractor
* spotless
* spotless
2022-06-27 21:03:54 -07:00
Trask Stalnaker
4f7c2416fd
Fix deprecated gradle warnings ( #6221 )
2022-06-27 10:22:58 -07:00
Trask Stalnaker
8fac01e736
Enable error prone's UnusedVariable check ( #6217 )
...
* Enable error prone's UnusedVariable check
* Spotless
2022-06-27 10:55:27 +02:00
Trask Stalnaker
ca3664613f
Fix gwt groupId ( #6215 )
2022-06-25 06:09:15 +02:00
Mateusz Rzeszutek
8a83844245
Log a warning when GlobalOpenTelemetry#resetForTest() is called ( #6212 )
2022-06-24 13:38:38 -07:00