systemd_exporter
                                
                                 systemd_exporter copied to clipboard
                                
                                    systemd_exporter copied to clipboard
                            
                            
                            
                        Exporter for systemd unit metrics
It would be good for this exporter to reach feature parity with the node_exporter's systemd collector. Once this issue is complete, we can remove systemd support from the node_exporter and...
I get the following errors: ``` Dec 05 10:27:42 hyper01 systemd_exporter[24848]: time="2020-12-05T10:27:42+01:00" level=warning msg="couldn't get unit's metrics: got 'no cgroup' from systemd for active unit (state=active subtype=xfs slice=system.slice)" source="systemd.go:352" unit=mnt-temp.mount...
I'm currently using node_exporter and have this issue, so raising it here as well. Metrics like `unit_state` are quite costly due to cardinality. In my case with node_exporter it's consuming...
I am running a system using cgroups v2 unified hierarchy using the kernel boot param `systemd.unified_cgroup_hierarchy`. When trying to read the cpu usage metrics systemd exporter returns the following error:...
## The Context As described in #12, substates are often more describing. For example, we're using cloud-init, which has a unit of `Type=oneshot`. Those run a single time, and afterwards...
Document migration from node_exporter Most of it is describe in the issue: Ref: https://github.com/povilasv/systemd_exporter/issues/6
REF https://github.com/povilasv/systemd_exporter/issues/6 Example from node_exporter: ``` node_systemd_version 244 ```
REF: https://github.com/povilasv/systemd_exporter/issues/new Example from node exporter: ``` node_systemd_units{state="activating"} 1 node_systemd_units{state="active"} 221 node_systemd_units{state="deactivating"} 0 node_systemd_units{state="failed"} 0 node_systemd_units{state="inactive"} 67 ```
Ref https://github.com/povilasv/systemd_exporter/issues/6 For example node exporter right now gives flags: ``` --collector.systemd.enable-start-time-metrics --collector.systemd.enable-task-metrics ``` Right now we enable them by default. We should also consider adding them.
We currently export unit states, but we do not export the unit substate. Substates often include much more actionable information than states, such as why a unit is inactive (e.g....