braket.jobs.metrics module

braket.jobs.metrics.log_metric(metric_name: str, value: float, timestamp: float | None = None, iteration_number: int | None = None) None[source]

Records Braket Hybrid Job metrics.

Parameters:
  • metric_name (str) – The name of the metric.

  • value (float) – The value of the metric.

  • timestamp (float | None) – The time the metric data was received, expressed as the number of seconds since the epoch. Default: Current system time.

  • iteration_number (int | None) – The iteration number of the metric.