java-buildpack icon indicating copy to clipboard operation
java-buildpack copied to clipboard

Support for Splunk OpenTelemetry Java Instrumentation

Open mateuszrzeszutek opened this issue 5 years ago • 5 comments

Hi,

I want to add a new framework that adds Splunk OTel instrumentation agent support. The agent collects telemetry sends it usually to either OpenTelemetry collector or the SignalFX Smart Agent.

The new framework will only be added when it's explicitly enabled (similar to how it's done in e.g. YourKit profiler). It'll download a jar with the Java agent and pass its path to the JVM through -javaagent together with some system properties (in case the user wants to change the default configuration of the agent).

Please let me know if it's OK to add this here -- I assumed that this repo would be a good place because there already are some Java agents here (AppD, NewRelic etc).

mateuszrzeszutek avatar Sep 28 '20 16:09 mateuszrzeszutek

Hey there @mateuszrzeszutek. We would be happy to accept such a contribution, although unlike YourKit it should be enabled via a service binding which contains connection information such as the destination to stream data to. Most of the other agents behave like this, but YourKit and a small number of others are manually enabled because they accept inbound connections (no obvious connection information) instead of making outbound connections.

nebhale avatar Oct 26 '20 21:10 nebhale

@mateuszrzeszutek are there any updates on this support?

metacubed avatar Sep 17 '21 02:09 metacubed

Hey @metacubed, For simplicity (and faster development) we've ended up building our separate buildpack just for the agent, you can find it here. Unfortunately we don't have time & resources right now to work on adding our agent to the java-buildpack.

mateuszrzeszutek avatar Sep 17 '21 07:09 mateuszrzeszutek

Just an update -- we are come back around on this and hope to contribute a service binding in the near future. Thanks for your patience.

breedx-splk avatar Aug 24 '22 21:08 breedx-splk

Just wanted to gently nudge this in hopes of getting some eyes on #968. Thanks.

breedx-splk avatar Sep 28 '22 18:09 breedx-splk