diff --git a/examples/distro/README.md b/examples/distro/README.md
index c35d49d88468..7ad6355590e4 100644
--- a/examples/distro/README.md
+++ b/examples/distro/README.md
@@ -44,7 +44,7 @@ The `InstrumenterCustomizerProvider` extension point allows you to customize ins
- Add custom attributes and metrics to existing instrumentations
- Customize context
- Transform span names to match your naming conventions
-- Apply customizations conditionally based on instrumentation name
+- Apply customizations conditionally based on instrumentation name or type (HTTP client, HTTP server, DB client, etc.)
### I don't want this span at all
diff --git a/examples/distro/custom/src/main/java/com/example/javaagent/DemoInstrumenterCustomizerProvider.java b/examples/distro/custom/src/main/java/com/example/javaagent/DemoInstrumenterCustomizerProvider.java
index f2669d9041b2..e57e8d5e146a 100644
--- a/examples/distro/custom/src/main/java/com/example/javaagent/DemoInstrumenterCustomizerProvider.java
+++ b/examples/distro/custom/src/main/java/com/example/javaagent/DemoInstrumenterCustomizerProvider.java
@@ -35,7 +35,7 @@
*
*
*
The customizer will be automatically applied to instrumenters that match the specified
- * instrumentation name and span kind.
+ * instrumentation name or type.
*
* @see InstrumenterCustomizerProvider
* @see InstrumenterCustomizer
@@ -48,6 +48,10 @@ public void customize(InstrumenterCustomizer customizer) {
if (isHttpServerInstrumentation(instrumentationName)) {
customizeHttpServer(customizer);
}
+
+ if (customizer.hasType(InstrumenterCustomizer.InstrumentationType.HTTP_CLIENT)) {
+ customizeHttpClient(customizer);
+ }
}
private boolean isHttpServerInstrumentation(String instrumentationName) {
@@ -66,6 +70,31 @@ private void customizeHttpServer(InstrumenterCustomizer customizer) {
unused -> (SpanNameExtractor