Skip to content

Feature - duration string var type #30

@cklenetsky

Description

@cklenetsky

I have a number of stats that export as a duration string, such as:

"uptime": "32m48.4137762s"
or
"averagerequesttime": "67.6394ms"

These don't generate spark lines, nor are their max really valid. How about an additional var type, durationstr, that parses the duration back into an int64 for comparison/sparkline, but still displays with the duration string representation for labeling?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions