Re: NiFi OpenTelemetry JavaAgent

2023-09-08 Thread Eric Secules
Hi Joe, Thanks for the fast response, I will circle back to this when I can (hopefully a week or 2) and update with what the root cause was if I can find it. There was no smoking gun in the app log as far as I can tell. In the meantime if anyone has success with this on their own I'd appreciate

Re: NiFi OpenTelemetry JavaAgent

2023-09-08 Thread Joe Witt
Eric Any sign anything in the nifi app log? Did it perhaps run out of mem and hang? In general such agents should be fine. Thanks On Fri, Sep 8, 2023 at 6:15 PM Eric Secules wrote: > Hello, > > I have tried adding opentelemetry to NiFi by running the OpenTelemetry > javaagent ( >

NiFi OpenTelemetry JavaAgent

2023-09-08 Thread Eric Secules
Hello, I have tried adding opentelemetry to NiFi by running the OpenTelemetry javaagent ( https://opentelemetry.io/docs/instrumentation/java/getting-started/#instrumentation) with NiFi and it mostly works. I am able to see spans created by jetty, reddison, etc. However NiFi also dies and gets

Re: [NIFI] ExecuteScript

2023-09-08 Thread Joe Witt
NiFi 2.0 should get you much further with its Python processor support. Are you able to build main or would you need help with that? We could put a dev build somewhere if needed. Thanks On Fri, Sep 8, 2023 at 4:28 PM Jeremy Dyer wrote: > Rafael is right. This isn’t reasonably possible today.

Re: [NIFI] ExecuteScript

2023-09-08 Thread Jeremy Dyer
Rafael is right. This isn’t reasonably possible today. You could hack around and make it work but not something I would recommend. I had made an Anaconda/VirtualEnv controller service for some python AI stuff we are doing at Nvidia like 3 years ago but I’m sure that isn’t compatible with the

Re: [NIFI] ExecuteScript

2023-09-08 Thread Rafael Fracasso
As far as I know, you cannot use any external library on executescript, only the native one on jython env. But you can call native python to execute your script using executestreamcommand On Fri, Sep 8, 2023 at 6:15 AM Quentin HORNEMAN GUTTON < qhornemangut...@gmail.com> wrote: > Hello

[NIFI] ExecuteScript

2023-09-08 Thread Quentin HORNEMAN GUTTON
Hello everyone, I would like to know if it is possible to use the Etree or ElementPath library in an ExecuteScript processor with the "Python" script engine (which is Jython), or if it is possible to install modules for the Jython environment ? I'm using NiFi 1.20.0 Best regards,