'integer', 'tx_bytes' => 'integer', 'last_netin' => 'integer', 'last_netout' => 'integer', 'notified_percent' => 'integer', 'throttled' => 'boolean', 'sampled_at' => 'datetime', 'throttled_at' => 'datetime', ]; } public function instance(): BelongsTo { return $this->belongsTo(Instance::class); } public static function currentPeriod(): string { return now()->format('Y-m'); } }