-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Ktor (Okhttp engine) #1175
Comments
We used to rely on
I saw that the Splunk SDK deprecated |
Hi @ber4444, For the first issue where ResourceAttributes class is not found:
The issue is with the version of |
Please share a code sample showing Ktor integration. Also please share what's offered to replace createRumOkHttpCallFactory |
Hi @ber4444, In the next release of the agent, we will introduce a new API and logic for the manual OkHttp instrumentation. It will no longer provide It will utilize the After the next release, your use case might look something like this: val builder = Retrofit.Builder()
...
httpClient.addNetworkInterceptor(SplunkOkHttpInterceptor())
builder.client(httpClient).build().create() Changes:
Sorry for any inconvenience. |
Would KtorClientTelemetry be also supported or we would be forced to use the Okhttp engine with Ktor and configure telemetry with the Okhttp interceptor like you described? That works for us, it's just not supportive of the KMP world. |
We are getting an exception when trying to use it with
ktorTelemetry = "io.opentelemetry.instrumentation:opentelemetry-ktor-3.0:2.13.0-alpha"
:Usage should be something like this?
The text was updated successfully, but these errors were encountered: