public function record(float|int $value, AttributesInterface $attributes, ContextInterface $context, int $timestamp) : void;