|View source on GitHub|
Protocol for object that have measurement keys.
class SupportsMeasurementKey: An object that is a measurement and has a measurement key or keys.
is_measurement(...): Determines whether or not the given value is a measurement (or contains one).
measurement_key(...): Get the single measurement key for the given value.
measurement_keys(...): Gets the measurement keys of measurements within the given value.
with_key_path(...): Adds the path to the target's measurement keys.
with_measurement_key_mapping(...): Remaps the target's measurement keys according to the provided key_map.