Open files calculation for an application/pod on kubernetes

Grafana version:
OS : RHEL V7

Trying to get open files count for the app’s/pods running on kubernetes platform.

using a metric “Process_files_open_files”

The above metric provides a count but the count is not matching when we do “lsof -p ”

Both should ideally match.