Open alin-simionoiuDE opened 8 months ago
@alin-simionoiuDE Hi! Thanks for reporting this. I can confirm the we are able to reproduce the issue.
Just to double check, is it the first time that you are instrumenting your code with our tracer? I've been reviewing old Vault API versions and it seems that the type cast that panics in your example has been always present. Our integration library sets a custom Roundtripper value, while Vault expects a Transport value.
We'll investigate how to allow using TLS with our custom tracing roundtripper from vault's contrib.
Yes, I am instrumenting my code using DataDog tracer.
If you don't mind me asking, what do you mean by "...old Vault API versions..."? does that imply there is a newer version of the vault API which won't panic?
@alin-simionoiuDE No, all versions will panic. I checked previous released versions for Vault API to verify if the cause of the panic was an internal implementation detail that changed at some point.
I have updated my code as specified in the documentation.
We do use TLS when calling vault (copy/paste here how we setup TLS)
code panics on
clientConfig.ConfigureTLS
Version of dd-trace-go v1.60.0
Describe what happened: see above
Describe what you expected: that I can use the vault trace http client when configuring TLS
Steps to reproduce the issue: See above
Additional environment details (Version of Go, Operating System, etc.): go version 1.22.0 operating system: I can repro the problem on MacOs 14.3 and on AWS ec2 (linux)