What is `/var/metrics` used for?

As the title says. It doesn't seem to be part of FHS, and I could not find much in google. I'm wondering which applications write there, on which occasions, and for what purposes.

edit: In response to the comments: I am seeing it on a fresh install of Kubutnu 20.04, while inspecting it from another Linux. I haven't booted it yet. It is listed as drwxrwsrwt 2 root avahi-autoipd and is empty at the moment.

I'll run the diagnostics when I boot it, and will update.

Update:

  • From inside the system, it's listed as drwxrwsrwt 2 root whoopsie.
  • sudo dpkg -S /var/metrics doesn't find anything.
  • sudo lsof +D /var/metrics returns empty.
  • sudo find /var/metrics -print0 | xargs -0 --no-run-if-empty file returns /var/metrics: setgid, sticky, directory and nothing else. The folder is empty.

Doesn't look like it's being used yet on my system. It's just there.

6 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like