You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cvmfs-client-prometheus.sh
+25-3Lines changed: 25 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -237,6 +237,17 @@ get_cvmfs_repo_metrics() {
237
237
generate_metric 'cvmfs_cpu_user_total''counter''CPU time used in userspace by CVMFS mount in seconds.'"repo=\"${fqrn}\"""${cvmfs_user_seconds}"
238
238
generate_metric 'cvmfs_cpu_system_total''counter''CPU time used in the kernel system calls by CVMFS mount in seconds.'"repo=\"${fqrn}\"""${cvmfs_system_seconds}"
generate_metric 'cvmfs_maxfd''gauge''Shows the maximum number of file descriptors available to file system clients.'"repo=\"${fqrn}\"""${maxfd_value}"
273
+
generate_metric 'cvmfs_maxfd''gauge''Shows the maximum number of file descriptors available to file system clients.'"repo=\"${reponame}\"""${maxfd_value}"
274
+
275
+
# Extract PID from the metrics output and add memory usage metric
0 commit comments