seismometer.data.telemetry.RealOpenTelemetryRecorder

class seismometer.data.telemetry.RealOpenTelemetryRecorder(metric_names, name='Seismo-meter')
Parameters:
  • metric_names (List[str])

  • name (str)

__init__(metric_names, name='Seismo-meter')

Set up a list of instruments according to the metrics we are logging.

Parameters:
  • metric_names (List[str]) – These are the kinds of metrics we want to be collecting. E.g. fairness, accuracy.

  • name (str)

Methods

__init__(metric_names[, name])

Set up a list of instruments according to the metrics we are logging.

get_metric_creator(metric_name)

Takes in the name of a metric and determines the OTel function which creates the corresponding instrument.

populate_metrics(attributes, metrics)

Populate the OpenTelemetry instruments with data from the model.