Skip to content

Feature: Include OS release/version metric #1574

@BenB196

Description

@BenB196

Currently Node Exporter has a metric called: node_uname_info which of course exposes uname info. While this is nice, it does not help if you are running different OSes which could have similar uname info.

Therefore it would be nice to include a similar node_os_release_info metric which would provide information regarding the OS release/version of the node.

This information can be easily gotten from files like:
/etc/release
/etc/os-release
/etc/version

While this functionality could be added through a textfile collector script, I think it would make sense to add it to the base exporter as uname is already supported here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions