elastic / elastic-agent-system-metrics

Apache License 2.0
0 stars 22 forks source link

Use pointer for processRootevent #153

Closed fearful-symmetry closed 1 month ago

fearful-symmetry commented 1 month ago

What does this PR do?

This fixes a small bug introduced in #150, where we weren't setting the ProcState object while creating the root event.

This is needed for https://github.com/elastic/beats/pull/39620

Why is it important?

The previous PR adds fields that weren't in events before, this fixes that.

Checklist