opensearch-project / OpenSearch

🔎 Open source distributed and RESTful search engine.
https://opensearch.org/docs/latest/opensearch/index/
Apache License 2.0
9.51k stars 1.74k forks source link

[Observability] Expose the FileCache stats & metrics #11791

Open ankitkala opened 8 months ago

ankitkala commented 8 months ago

Is your feature request related to a problem? Please describe

Coming from https://github.com/opensearch-project/OpenSearch/issues/9987, we need to build visibility into various metrics related to FileCache.

Describe the solution you'd like

Emit the necessary metrics for observability (e.g. cache usage, ttl/overflow based eviction rate, thrashing detection, etc).

Related component

Storage:Remote

Describe alternatives you've considered

No response

Additional context

No response

peternied commented 8 months ago

[Triage - attendees 1 2 3 4] Thanks for filing this issue, please feel free to submit a pull request.