Gorbag
Gorbag

Reputation: 263

Export custom probes graphs from offline run in JProfiler

I'm using offline profiling in JProfiler (in a remote machine) and I was trying to export the graphs from the snapshot using the jpexport command. However, from some reason, I can't get the ones from my custom probes, even if when I use the JProfiler GUI to open the snapshot, I have access to those graphs.

Note that I'm collecting data through the Profiling API, using Java classes which implements the 'TelemetryProbe', for example. In the documentation, there is also the possiblity of using the Custom Probe Wizard, and I wonder if I have to do by this method to get what I want, after exporting the session files to the profiling machine.

For the jpexport, I tried to export the graphs from 'ProbeTelemetry', following the instructions for the custom probes, giving the ID 1 to get my first probe, with no success. I even tried 0, but still, it returned saying there was no probe with such ID.

Still, I repeat, when uploading the snapshot with the GUI, the graphs are there, so JProfiler is collecting the information, I just can't figure out how to access it.

Any suggestions? Thank you.

Upvotes: 1

Views: 319

Answers (1)

Ingo Kegel
Ingo Kegel

Reputation: 48090

As probe names for the export, use

-probeid=1

where n is the 1-based index of the custom probe.

Upvotes: 0

Related Questions