No, I don't need two agents, just asking in case of the OpenTelemetry Java agent, what is the better solution? 1. Use an OpenTelemetry agent for direct connection to SkyWalking with the protocol : a. -Dotel.exporter.otlp.protocol=http/protobuf b. -Dotel.exporter.otlp.protocol=grpc 2. Use an OpenTelemetry agent to send data to OpenTelemetry collector and try to export it to Skywalking AOP
On Thu, May 29, 2025 at 1:52 PM Sheng Wu <wu.sheng.841...@gmail.com> wrote: > Those two agents can't work together. > If you need those analysis, you need to write a plugin. > OTEL format is not friendly for this kind of topo analysis. Two systems are > designed differently from beginning. > > Writing plugins are not hard actually. > > Sheng Wu 吴晟 > > Apache SkyWalking > Twitter, wusheng1108 > > > Alex Lernerman <alex...@gmail.com>于2025年5月29日 周四18:44写道: > > > Unfortunately, you do not have an RMI plugin. I am looking for a classic > > Java JVM solution (RESTful APIs, RMI ) . We tried your agent, it is > > working perfectly in k8s, but for the classic application, no traces in > > UI. One of the options is to use OpenTelemetry agent that should send > > traces to the Collector and export it from OT to SkyWalking with your > > exporter, or use grpc protocol and send directly to Skywalking . What is > > the better solution ? > > > > On Thu, May 29, 2025 at 12:12 PM Sheng Wu <wu.sheng.841...@gmail.com> > > wrote: > > > > > If you want to pure trace and see that on the bundled Zipkin lens > > > UI(in the skywalking UI), it is OK. > > > But if you need topology and metrics with 100% sampling, you have to > > > rely on skywalking native agent. > > > The native skywalking agent has a different protocol compared with > OTEL. > > > > > > Sheng Wu 吴晟 > > > Twitter, wusheng1108 > > > > > > On Thu, 29 May 2025 at 17:08, Alex Lernerman <alex...@gmail.com> > wrote: > > > > > > > > Thanks for your answer, can i use OpenTelemetry Java Agent to > collect > > > > data, and after that send it to SkyWalking > > > > > > > > On Thu, May 29, 2025 at 11:25 AM Sheng Wu <wu.sheng.841...@gmail.com > > > > > wrote: > > > > > > > > > > > > > > > > > > > > https://skywalking.apache.org/docs/skywalking-java/latest/en/setup/service-agent/java-agent/java-plugin-development-guide/ > > > > > > > > > > Sheng Wu 吴晟 > > > > > Twitter, wusheng1108 > > > > > > > > > > On Thu, 29 May 2025 at 15:50, Alex Lernerman <alex...@gmail.com> > > > wrote: > > > > > > > > > > > > Hello, > > > > > > Can you send me the link to document > > > > > > > > > > > > On Wed, May 28, 2025 at 4:22 PM Sheng Wu < > > wu.sheng.841...@gmail.com> > > > > > wrote: > > > > > > > > > > > > > Yes, we have provided plugin dev doc. You need to learn that > and > > > > > > > understand the RMI codes or WebLogic codes. > > > > > > > > > > > > > > Sheng Wu 吴晟 > > > > > > > Twitter, wusheng1108 > > > > > > > > > > > > > > On Wed, 28 May 2025 at 21:17, Alex Lernerman < > alex...@gmail.com> > > > > > wrote: > > > > > > > > > > > > > > > > Can we use a third-party plugin or create our own? > > > > > > > > > > > > > > > > On Wed, May 28, 2025 at 4:14 PM Sheng Wu < > > > wu.sheng.841...@gmail.com> > > > > > > > wrote: > > > > > > > > > > > > > > > > > We don't have RMI plugin. That could explain why you don't > > see > > > the > > > > > > > trace. > > > > > > > > > > > > > > > > > > Sheng Wu 吴晟 > > > > > > > > > Twitter, wusheng1108 > > > > > > > > > > > > > > > > > > On Wed, 28 May 2025 at 21:10, Alex Lernerman < > > > alex...@gmail.com> > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > > it is java RMI > > > > > > > > > > > > > > > > > > > > On Wed, May 28, 2025 at 4:06 PM Sheng Wu < > > > > > wu.sheng.841...@gmail.com> > > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > > > It seems the agent is up and running. > > > > > > > > > > > About the trace, I think the key is, which RPC > framework > > > are > > > > > you > > > > > > > > > > > using? Is that in our support list? > > > > > > > > > > > > > > > > > > > > > > Sheng Wu 吴晟 > > > > > > > > > > > Twitter, wusheng1108 > > > > > > > > > > > > > > > > > > > > > > On Wed, 28 May 2025 at 20:45, Alex Lernerman < > > > > > alex...@gmail.com> > > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > > > > > > Hello , > > > > > > > > > > > > Trying to use Agent in a WebLogic environment, I can > > see > > > all > > > > > JVM > > > > > > > > > > > parameters > > > > > > > > > > > > in the UI, but no traces are shown. Is it a plugin > > issue? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >