Skip to content

Support serializing and deserializing metrics_util::Summary #410

Open
@seekstar

Description

@seekstar

I use metrics_util::Summary to measure quantiles of latencies. The latency files are too large, so I usually only save the calculated quantiles (0.1, 0.2, ..., 0.9, 0.99, 0.999, etc). However, the problem is that sometimes I want to know latencies at other quantiles (e.g., 0.91, 0.92, ..., 0.98), but the original latency files are not saved. This problem can be solved perfectly if metrics_util::Summary can be serialized and deserialized, so that I can save the metrics_util::Summary instead of large latency files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-utilComponent: utility classes and helpers.E-simpleEffort: simple.T-enhancementType: enhancement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions