open-telemetry / opentelemetry-collector-contrib

Contrib repository for the OpenTelemetry Collector
https://opentelemetry.io
Apache License 2.0
3.12k stars 2.39k forks source link

systemd unit state #34247

Open Poil opened 4 months ago

Poil commented 4 months ago

Component(s)

No response

Is your feature request related to a problem? Please describe.

Today it looks like we have no easy way to monitoring the state of the services like with a prometheus node exporter agent

Describe the solution you'd like

We should be able to collect systemd unit status

Describe alternatives you've considered

No response

Additional context

https://github.com/prometheus/node_exporter/blob/master/collector/systemd_linux.go

github-actions[bot] commented 2 months ago

This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.

atoulme commented 1 month ago

@Poil this might be a new component - how would you like to see systemd service status reported?

atoulme commented 1 month ago

See #33532 - might fix your issue.