Skip to content
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

Unable to populate destination.* for custom span #1801

Closed
tobiasstadler opened this issue May 4, 2021 · 1 comment
Closed

Unable to populate destination.* for custom span #1801

tobiasstadler opened this issue May 4, 2021 · 1 comment

Comments

@tobiasstadler
Copy link
Contributor

Is your feature request related to a problem?

We are using a hardware security module (hsm) for doing some crypto stuff. The communication is done via java.net.Socket. Currently I use ElasticApm.currentSpan().startSpan("external", ...) to create a span for the communication. But the hsm is not listed in the dependencies section of the services overview page in the APM app in Kibana.

Describe the solution you'd like

I would like to set destination ip/port and destination service name/resource/type for my custom span.

Describe alternatives you've considered

I could use reflection or write a plugin and use co.elastic.apm.agent.impl.transaction.Span#getContext to set the fields, but this looks too over engineered to me.

@felixbarny
Copy link
Member

Closing as duplicate of #1699
This is currently blocked on a pending spec change: elastic/apm#436

Feel free to chime in on the discussions there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants