elastic / elastic-agent-system-metrics

Apache License 2.0
0 stars 22 forks source link

Add user data to monitoring setup #80

Closed fearful-symmetry closed 1 year ago

fearful-symmetry commented 1 year ago

What does this PR do?

This is a simple PR that migrates the code that adds user data to the monitoring registry from beats to here. The original code is in libbeat/cmd/instance/beat.go, and needs to be used in the shipper in order to bring the shipper up to feature parity with the beats in terms of monitoring. Just copy-and-pasting the user metrics is a bit ugly, so I figured I'd be better off migrating the metrics.

Why is it important?

We want to reduce code duplication across beats.

Checklist

elasticmachine commented 1 year ago

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

#### Build stats * Start Time: 2023-03-27T18:21:22.998+0000 * Duration: 10 min 47 sec #### Test stats :test_tube: | Test | Results | | ------------ | :-----------------------------: | | Failed | 0 | | Passed | 188 | | Skipped | 7 | | Total | 195 |

:robot: GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with: - `/test` : Re-trigger the build.