Skip to content

Conversation

@aduffeck
Copy link

@aduffeck aduffeck commented Apr 2, 2025

Example log:

2025-04-02T09:56:16+02:00 INF Inotify usage stats duration=126.907156ms instances="87/128 (67.97%)" line=/home/andre/src/opencloud/reva/pkg/storage/fs/posix/tree/inotifywatcher.go:237 pkg=rgrpc service=storage-users watches="27727/504714 (5.49%)"
2025-04-02T10:01:16+02:00 INF Inotify usage stats duration=82.352794ms instances="88/128 (68.75%)" line=/home/andre/src/opencloud/reva/pkg/storage/fs/posix/tree/inotifywatcher.go:237 pkg=rgrpc service=storage-users watches="27746/504714 (5.50%)"

@butonic
Copy link

butonic commented Apr 3, 2025

hm .... should this just be a metric that we expose?

@aduffeck
Copy link
Author

aduffeck commented Apr 3, 2025

As discussed in person, we'll log the stats for now but it would definitely be nice to have proper metrics for this in the future.

@aduffeck aduffeck merged commit 15dee2a into opencloud-eu:main Apr 3, 2025
14 checks passed
@openclouders openclouders mentioned this pull request Apr 3, 2025
1 task
@aduffeck aduffeck deleted the log-inotify-stats branch April 3, 2025 08:44
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.

2 participants