apple / apple/foundationdb

Expose transaction sample statistics through special key-space

Open
#4,093 0 comments 0 reactions 1 assignee Claimed by @sfc-gh-mpilman View on GitHub
Dominant language
C++
Stars
16.7k
Forks
1.6k
Avg merge
1d 20h
Merged PRs (30d)
126

Description

The client transaction sample records a lot of interesting data about sampled transactions, but it does so in a binary format that I believe is undocumented and that isn't necessarily stable between versions. Additionally, any transformations of that data (say, to compute client latency percentiles) need to be implemented by all users of the data.

It's possible we could expose various interesting statistics based on this sample through the special key-space. I haven't thought about this extensively, but we could expose things like:

Latency percentiles
Error counts
Operation counts/rates

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.