Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for .(hlog) histogram log output #5

Open
filipecosta90 opened this issue Sep 16, 2020 · 0 comments
Open

Support for .(hlog) histogram log output #5

filipecosta90 opened this issue Sep 16, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@filipecosta90
Copy link
Owner

cc @giltene

As per Java documentation:

Histogram log format:
A histogram log file consists of text lines. Lines beginning with the "#" character are optional and treated as comments. Lines containing the legend (starting with "Timestamp") are also optional and ignored in parsing the histogram log. All other lines must be valid interval description lines. Text fields are delimited by commas, spaces.

A valid interval description line contains an optional Tag=tagString text field, followed by an interval description.

A valid interval description must contain exactly four text fields:

    StartTimestamp: The first field must contain a number parse-able as a Double value, representing the start timestamp of the interval in seconds.
    intervalLength: The second field must contain a number parse-able as a Double value, representing the length of the interval in seconds.
    Interval_Max: The third field must contain a number parse-able as a Double value, which generally represents the maximum value of the interval histogram.
    Interval_Compressed_Histogram: The fourth field must contain a text field parse-able as a Base64 text representation of a compressed HdrHistogram.

The log file may contain an optional indication of a starting time. Starting time is indicated using a special comments starting with "#[StartTime: " and followed by a number parse-able as a double, representing the start time (in seconds) that may be added to timestamps in the file to determine an absolute timestamp (e.g. since the epoch) for each interval.
@filipecosta90 filipecosta90 added the enhancement New feature or request label Sep 16, 2020
@filipecosta90 filipecosta90 self-assigned this Sep 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant