def METHOD_NAME(
    self,
    metrics_data: MetricsData,
    timeout_millis: float = 10_000,
    **kwargs,
) -> MetricExportResult:
    self.f.write(metrics_data.to_json())
    self.f.write('\n')
    self.f.flush()
    return MetricExportResult.SUCCESS