Skip to content

Speculative Execution Metrics #1041

Open
@fee-mendes

Description

@fee-mendes

Currently, Speculative Execution can be observed in two ways:

  • Query Tracing,
  • speculative execution fibers via Query History

It would be nice to also have Speculative Execution numbers also exposed in Metrics. For example, the CPP driver increments a counter each time a new fiber is started, and from there allows one to infer the percentage of total queries which triggered speculative execution.

For each Speculative Execution, it would also be nice to keep track of their latencies in a separate histogram, similarly as what CPP does in Histogram speculative_request_latencies;

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions