Git Product home page Git Product logo

Comments (4)

michael-doubez avatar michael-doubez commented on June 5, 2024

Metrics are currently only generated for files but metrics per directory seems to be a popular demand

I ll schedule the feature

from filestat_exporter.

Mesmerizzle avatar Mesmerizzle commented on June 5, 2024

I see we can now enable/disable file_content_line_number and file_content_hash_crc32 via the config file. This looks exactly like what i'm looking for.

Any chance you can also add this for file_stat_size_bytes and file_stat_modif_time_seconds.

something like:

    - patterns: ["archives/*.tar.gz"]
      enable_size_bytes_metric: false
      enable_modif_time_metric: false

from filestat_exporter.

michael-doubez avatar michael-doubez commented on June 5, 2024

There are options for crc32 and nbline because they don't always make sense but others are cheap.
For other metrics, you can filter them out in prometheus config at ingestion time.

from filestat_exporter.

michael-doubez avatar michael-doubez commented on June 5, 2024

Please reopen if you think you have a valid use case

from filestat_exporter.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.