Skip to content

Conversation

@jpds
Copy link
Contributor

@jpds jpds commented Jul 1, 2022

Adds metrics for SELinux's Access Vector Cache.

@jpds jpds force-pushed the selinux-avcstats branch 2 times, most recently from da02952 to 87196d2 Compare July 1, 2022 14:14
Signed-off-by: Jonathan Davies <jpds@protonmail.com>
@jpds jpds force-pushed the selinux-avcstats branch from 87196d2 to 03d9c9f Compare July 1, 2022 21:46
@discordianfish
Copy link
Member

discordianfish commented Jul 6, 2022

Thanks but the implementation of the sysfs parsing should go into https://github.com/prometheus/procfs - Can you create a PR there?

Copy link
Member

@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.

File parsing needs to be implemented in https://github.com/prometheus/procfs.

Copy link
Member

@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.

File parsing needs to be implemented in https://github.com/prometheus/procfs.

cgzones added a commit to cgzones/procfs that referenced this pull request Dec 18, 2023
Add interfaces to read the SELinux AVC runtime statistics from
/sys/fs/selinux/avc/cache_stats and /sys/fs/selinux/avc/hash_stats.

Refactored from prometheus/node_exporter#2418

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
cgzones added a commit to cgzones/procfs that referenced this pull request Dec 18, 2023
Add interfaces to read the SELinux AVC runtime statistics from
/sys/fs/selinux/avc/cache_stats and /sys/fs/selinux/avc/hash_stats.

Refactored from prometheus/node_exporter#2418

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
cgzones added a commit to cgzones/procfs that referenced this pull request Dec 18, 2023
Add interfaces to read the SELinux AVC runtime statistics from
/sys/fs/selinux/avc/cache_stats and /sys/fs/selinux/avc/hash_stats.

Refactored from prometheus/node_exporter#2418

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
cgzones added a commit to cgzones/procfs that referenced this pull request Feb 15, 2024
Add interfaces to read the SELinux AVC runtime statistics from
/sys/fs/selinux/avc/cache_stats and /sys/fs/selinux/avc/hash_stats.

Refactored from prometheus/node_exporter#2418

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
cgzones added a commit to cgzones/procfs that referenced this pull request Feb 15, 2024
Add interfaces to read the SELinux AVC runtime statistics from
/sys/fs/selinux/avc/cache_stats and /sys/fs/selinux/avc/hash_stats.

Refactored from prometheus/node_exporter#2418

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
cgzones added a commit to cgzones/procfs that referenced this pull request Mar 10, 2024
Add interfaces to read the SELinux AVC runtime statistics from
/sys/fs/selinux/avc/cache_stats and /sys/fs/selinux/avc/hash_stats.

Refactored from prometheus/node_exporter#2418

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
SuperQ pushed a commit to prometheus/procfs that referenced this pull request Jun 3, 2024
Add interfaces to read the SELinux AVC runtime statistics from
/sys/fs/selinux/avc/cache_stats and /sys/fs/selinux/avc/hash_stats.

Refactored from prometheus/node_exporter#2418

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
jritter pushed a commit to jritter/procfs that referenced this pull request Jul 15, 2024
Add interfaces to read the SELinux AVC runtime statistics from
/sys/fs/selinux/avc/cache_stats and /sys/fs/selinux/avc/hash_stats.

Refactored from prometheus/node_exporter#2418

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
fs185143 pushed a commit to fs185143/procfs that referenced this pull request Oct 2, 2024
Add interfaces to read the SELinux AVC runtime statistics from
/sys/fs/selinux/avc/cache_stats and /sys/fs/selinux/avc/hash_stats.

Refactored from prometheus/node_exporter#2418

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Signed-off-by: fs185143 <fs185143@ncr.com>
fs185143 pushed a commit to fs185143/procfs that referenced this pull request Oct 2, 2024
Add interfaces to read the SELinux AVC runtime statistics from
/sys/fs/selinux/avc/cache_stats and /sys/fs/selinux/avc/hash_stats.

Refactored from prometheus/node_exporter#2418

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Signed-off-by: fs185143 <fs185143@ncr.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants