Skip to content

Should Metric define the Unit it measures? #18

@jboynes

Description

@jboynes

When recording a measurement, the caller has to specify the units of the measurement:

record(Metric label, Number value, Unit unit, Instant time)

This has the potential for different units to be used in different places for the same Metric. How about having the Metric define the canonical unit? That way, application code need not supply it, or if we allow it to, the recorder would then be able to convert it to the canonical unit for consistency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions