Commit Graph

7965 Commits

Author SHA1 Message Date
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
Lauri Tulmin 3f3e94ddb6
Increase gradle daemon heap size for latest deps test (#6265)
* Increase gradle daemon heap size for latest deps test

* correct file name
2022-07-05 19:23:47 -07:00
Trask Stalnaker a141a21b01
Small gradle-build-action fixes (#6266) 2022-07-05 23:06:35 +03: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
dependabot[bot] 814985e620
Bump com.gradle.plugin-publish from 1.0.0-rc-3 to 1.0.0 (#6262)
Bumps com.gradle.plugin-publish from 1.0.0-rc-3 to 1.0.0.

---
updated-dependencies:
- dependency-name: com.gradle.plugin-publish
  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-05 11:03:23 +03: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 886665ade4
Remove commons-codec (not needed?) (#6249)
* remove commons-codec (not needed?)

* add commons-codec back and add note
2022-07-04 10:16:43 +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
Jean Bisutti b4a1a2387d
Enable logging in benchmark overhead (#6252) 2022-07-01 08:18:41 -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
Mateusz Rzeszutek 4c5ce632f5
Support metric view configuration file in the Javaagent (#6228) 2022-06-29 22:11:49 -07:00
Mateusz Rzeszutek 4cfdd8f0bc
Bump versions in examples (#6239) 2022-06-29 13:08:51 +03:00
Mateusz Rzeszutek c978ce22f5
Update (rewrite) the javaagent structure doc; document bootstrap modules (#6227) 2022-06-28 20:23:27 -07:00
Lauri Tulmin bb25a6c47c
Expunge stale entries on computeIfAbsent (#6235) 2022-06-28 20:21:05 -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
Mateusz Rzeszutek 72e0b26b2b
Always pass Context when recording HttpServerMetrics (#6223) 2022-06-27 10:23:36 -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 c1c108c870
Remove checkstyle CommentsIndentation (#6219) 2022-06-27 10:45:55 +03:00
Trask Stalnaker 65251c4e8a
Use addSamplerCustomizer in demo extension (#6204)
* Use addSamplerCustomizer in demo extension

* Switch to ConfigurableSamplerProvider
2022-06-26 14:45:38 -07:00
Trask Stalnaker b0eae3461c
Update spotless (#6218)
* Update spotless

* Update spotless
2022-06-26 14:44:29 -07:00
Trask Stalnaker c90f01094b
Update error prone (#6216) 2022-06-26 14:25:52 -07: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
Mateusz Rzeszutek dc6833afab
Fix GWT latestDepTest (#6213) 2022-06-24 11:57:35 +02:00
Trask Stalnaker e9bb03173b
Update azure-sdk instrumentation (#6194) 2022-06-23 12:29:56 -07:00
Trask Stalnaker c8a68155c7
Update releasing doc (#6205) 2022-06-23 12:29:26 -07:00
Mateusz Rzeszutek defa530c72
Remove deprecated TimeExtractor (#6196)
* Remove deprecated TimeExtractor

* forgot to add one more class
2022-06-22 16:42:50 -07:00
Trask Stalnaker 3dda14afc4
Extract reusable create-operator-pull-request workflow (#6193)
* Extract reusable create-operator-pull-request workflow

* Renames

* Fix

* Sync
2022-06-21 11:02:30 +03:00
Ago Allikmaa ba912bc382
Implement C3P0 connection pool metrics (#6174)
* C3P0 connection pool metrics

* Use PooledDataSource instead of specific implementation

* Add C3P0 readme

* RuntimeException in case of underlying SQLException

* Use ISE instead of RuntimeException
2022-06-20 14:21:54 +03:00