Implement getValues() on HdrSnapshot.

Description

In spring actuator metrics when exposing Timer we need to expose TOTAL_TIME of timers, for example (cql-requests) metric:

We could gather all values and sum using this function:

But the getSnapshot() method is not implemented on our HdrSnapshot:

The purpose of this ticket will be to implement getValues() method on HdrReservoir.

Environment

None

Pull Requests

None

Status

Assignee

Unassigned

Reporter

Tomasz Lelek

Labels

None

PM Priority

None

Affects versions

None

Fix versions

Pull Request

None

Doc Impact

None

Size

None

External issue ID

None

External issue ID

None

Priority

Major
Configure