openobserve / openobserve

πŸš€ 10x easier, πŸš€ 140x lower storage cost, πŸš€ high performance, πŸš€ petabyte scale - Elasticsearch/Splunk/Datadog alternative for πŸš€ (logs, metrics, traces, RUM, Error tracking, Session replay).

Home Page:https://openobserve.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage report for query should add cached_ratio field

hengfeiyang opened this issue Β· comments

Which OpenObserve functionalities are relevant/related to the feature request?

No response

Description

We add cached_ratio in the search response:

{
    "took": 497,
    "took_detail": {
        "total": 497,
        "wait_queue": 0,
        "cluster_total": 497,
        "cluster_wait_queue": 0
    },
    "hits": [],
    "total": 3145975,
    "from": 0,
    "size": 250,
    "cached_ratio": 65,
    "scan_size": 4182,
    "scan_records": 3503559,
    "trace_id": "e5882dfaecfbfbaa1d03d4a51b6f4dd4"
}

We should also add cached_ratio to usage report, then we can analyze cache ratio for queries in the dashboard.

Proposed solution

Alternatives considered