-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify Apache HttpAsyncClient instrumentation (open-telemetry#1894)
* Simplify Apache HttpAsyncClient instrumentation * Bump baseline version to 4.1 * Remove all the Intellij auto-formatting of README
- Loading branch information
Showing
18 changed files
with
25 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 0 additions & 14 deletions
14
...entation/apache-httpasyncclient-4.0/javaagent/apache-httpasyncclient-4.0-javaagent.gradle
This file was deleted.
Oops, something went wrong.
82 changes: 0 additions & 82 deletions
82
...aagent/instrumentation/apachehttpasyncclient/ApacheHttpClientRedirectInstrumentation.java
This file was deleted.
Oops, something went wrong.
16 changes: 16 additions & 0 deletions
16
...entation/apache-httpasyncclient-4.1/javaagent/apache-httpasyncclient-4.1-javaagent.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
apply from: "$rootDir/gradle/instrumentation.gradle" | ||
|
||
muzzle { | ||
pass { | ||
group = "org.apache.httpcomponents" | ||
module = "httpasyncclient" | ||
// 4.0 and 4.0.1 don't copy over the traceparent (etc) http headers on redirect | ||
versions = "[4.1,)" | ||
// TODO implement a muzzle check so that 4.0.x (at least 4.0 and 4.0.1) do not get applied | ||
// and then bring back assertInverse | ||
} | ||
} | ||
|
||
dependencies { | ||
library group: 'org.apache.httpcomponents', name: 'httpasyncclient', version: '4.1' | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters