Coder Social home page Coder Social logo

Comments (4)

zwopir avatar zwopir commented on September 3, 2024 1

Hi Manabu,

sorry for the late reply. We currently support ES down to version 1.7.6. So removing
elasticsearch_indices_filter_cache_evictions and elasticsearch_indices_filter_cache_memory_size_bytes would break 1.7.6.

Please refer to the json included inline in the files ./collector/cluster_health_test.goand ./collector/nodes_test.go for further details.

We happily accept PRs for missing metrics. For the proposed metrics I suggest some changes:

  • elasticsearch_indices_query_cache_hit_rate (hit_count / total_count * 100)

please don't include it, it can be calculated via promQL. Also the word 'rate' is misleading as it is usually used in the sense of 'change per time'

For the cache metrics elasticsearch_indices_query_cache_total_count, elasticsearch_indices_query_cache_hit_count and elasticsearch_indices_query_cache_miss_count (and the similar ones)

I suggest the following metrics instead

  • elasticsearch_indices_query_cache_total: type counter
  • elasticsearch_indices_query_cache_count: type countervec with a label cache beeing hit or miss.

Feel free to find a better label name, as 'cache' is quite generic

from elasticsearch_exporter.

matsumana avatar matsumana commented on September 3, 2024

Hello, Would you tell me what you think?

from elasticsearch_exporter.

matsumana avatar matsumana commented on September 3, 2024

Thank you for the comment.

We currently support ES down to version 1.7.6.

I got it.

We happily accept PRs for missing metrics. For the proposed metrics I suggest some changes:

I agree with you. I would like to implement like that and send PR.

from elasticsearch_exporter.

zwopir avatar zwopir commented on September 3, 2024

#88 resolves one part of the issue, the renaming stays untouched as we support both versions

from elasticsearch_exporter.

Related Issues (20)

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.