elastic / elastic-agent-system-metrics

Apache License 2.0
0 stars 23 forks source link

Use pointer for processRootevent #153

Closed fearful-symmetry closed 6 months ago

fearful-symmetry commented 6 months 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