()
| 83 | var unitStatesName = []string{"active", "activating", "deactivating", "inactive", "failed"} |
| 84 | |
| 85 | func init() { |
| 86 | registerCollector("systemd", defaultDisabled, NewSystemdCollector) |
| 87 | } |
| 88 | |
| 89 | // NewSystemdCollector returns a new Collector exposing systemd statistics. |
| 90 | func NewSystemdCollector(logger *slog.Logger) (Collector, error) { |
nothing calls this directly
no test coverage detected