The process’s command-line arguments need to be displayed in the problem

I’m using a Metric event to monitor processes via the metric selector builtin:pgi.availability.state.
My question is whether it’s possible to somehow add the “Command line args” value to the created problem. This value appears in the process details, but it cannot be added as a dimension.

Is there a way to use a tag or something else, or is this simply not possible and I would need to build log monitoring from scratch in order to get this detail into the problem?

Hi,

You can using oneagentctl to ingest custom metadata.

Best regards

hi,
thanks, but I think this is for a static value, right? I need to capture the command-line arguments for processes like java.exe. There are multiple processes running, their command-line arguments differ, and they change over time.

Br,

Michal

Hi,

You have a dynamic value placeholder, but value is taken from process group, not process groups instance:

Best regards