Skip to contents

Hashes use ledgr's canonical JSON representation of the normalized metric context. Reserved provider fields that are NULL are omitted from the hash input.

Usage

ledgr_metric_context_hash(x)

Arguments

x

A metric-context shortcut accepted by ledgr_metric_context().

Value

A SHA-256 hash string.