Skip to content

Observing Final Query Latency #1869

Open
@max-melentyev

Description

@max-melentyev

Hi,

Current implementation of query observer observes only individual attempts and does not provide final latency values considering retries and speculative retries. For example:

  • if query has 1st attempt for 10ms, then regular retry, and another attempt for 20ms, then both attempts are reported separately, and total 30ms latency isn't be reported;
  • if query has 1st attempt for 150ms, and another speculative attempt for 10ms that kicked after 10ms, then 150ms and 10ms attempts are both reported, while non of them represent real 20ms latency.

Is this an expected behaviour and applications are expected to observe real latency?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions