Skip to content

otel fork: jdbc and headers#1645

Merged
trask merged 25 commits into
otel-forkfrom
trask/otel-fork-jdbc-and-headers
Apr 22, 2021
Merged

otel fork: jdbc and headers#1645
trask merged 25 commits into
otel-forkfrom
trask/otel-fork-jdbc-and-headers

Conversation

@trask

@trask trask commented Apr 22, 2021

Copy link
Copy Markdown
Member

Two fixes:

  • Captures net.peer attributes for jdbc spans
  • Prevents duplicate headers in http client instrumentation

Anuraag Agrawal and others added 25 commits April 22, 2021 11:26
* Instrumenter

* Spotless

* More instrumenter

* More

* Instrumenter API

* New Instrumenter API - InstrumenterBuilder (#20)

* New Instrumenter API - InstrumenterBuilder

* New Instrumenter API - InstrumenterBuilder - code review comments

* Start doccing

* Docs

* Most tests

* Last test

* Stick with current hostName lookup for now

* Update testing-common/src/main/groovy/io/opentelemetry/instrumentation/test/base/HttpClientTest.groovy

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

* New Instrumenter API - code review comments (#21)

* Doc

* Checkstyle

* Cleanups

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Record internal metric for SQL cache misses

And use `SupportabilityMetrics` in `Instrumenter`

* Fix broken shouldStart() logic

* Code review comments
* Use Instrumenter in JDBC instrumentation

Except jdbc-datasource, that one is going to be in a separate PR

* Use Instrumenter in JDBC instrumentation - code review comments
@trask trask force-pushed the trask/otel-fork-jdbc-and-headers branch from 4563a2e to 958cbe9 Compare April 22, 2021 18:27
@trask trask marked this pull request as ready for review April 22, 2021 18:27
@trask trask merged commit b684727 into otel-fork Apr 22, 2021
@trask trask deleted the trask/otel-fork-jdbc-and-headers branch April 22, 2021 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant