Skip to content

Conversation

@jpds
Copy link
Contributor

@jpds jpds commented Nov 13, 2023

No description provided.

Copy link
Contributor

@SuperQ SuperQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple questions, otherwise looks good.

}

func (c *Collector) collectBootStageTimestamps(conn *dbus.Conn, ch chan<- prometheus.Metric) error {
stages := []string{"Finish", "Firmware", "Loader", "Kernel", "InitRD",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, there's no way to get the stage list dynamically is there?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not without embedding some of the C code - I doubt the list will change much going forward.

@jpds jpds force-pushed the boot-timestamps branch 2 times, most recently from c97631e to f72a2b0 Compare November 13, 2023 20:56
@SuperQ SuperQ merged commit 0811cc2 into prometheus-community:main Jan 11, 2024
SuperQ added a commit that referenced this pull request Mar 14, 2025
* [CHANGE] Used TrimLeft instead of regex for boot times metrics #124
* [CHANGE] Switch logging to slog #142
* [FEATURE] Add boot stage timestamp collector #110
* [FEATURE] Add watchdog metrics #111
* [FEATURE] Add systemd-resolved metrics collector #119

Signed-off-by: SuperQ <[email protected]>
@SuperQ SuperQ mentioned this pull request Mar 14, 2025
SuperQ added a commit that referenced this pull request Mar 14, 2025
* [CHANGE] Used TrimLeft instead of regex for boot times metrics #124
* [CHANGE] Switch logging to slog #142
* [FEATURE] Add boot stage timestamp collector #110
* [FEATURE] Add watchdog metrics #111
* [FEATURE] Add systemd-resolved metrics collector #119

Signed-off-by: SuperQ <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants