diff --git a/core/src/main/kotlin/org/dreamexposure/discal/core/config/BeanConfig.kt b/core/src/main/kotlin/org/dreamexposure/discal/core/config/BeanConfig.kt index 4e4b14db..87f12583 100644 --- a/core/src/main/kotlin/org/dreamexposure/discal/core/config/BeanConfig.kt +++ b/core/src/main/kotlin/org/dreamexposure/discal/core/config/BeanConfig.kt @@ -36,7 +36,7 @@ class BeanConfig { fun httpClient(registry: ObservationRegistry): OkHttpClient { val interceptor = OkHttpObservationInterceptor.builder(registry, "okhttp.requests") // This can lead to tag cardinality explosion as it doesn't use uri patterns, should investigate options for that one day - .uriMapper { it.url.encodedPath } + .uriMapper { "${it.method} ${it.url.host}${it.url.encodedPath}" } .build() return OkHttpClient.Builder()