seismometer.data.otel.get_metric_creator¶
- seismometer.data.otel.get_metric_creator(metric_name, meter)¶
- Takes in the name of a metric and determines the OTel function which creates the corresponding instrument. - Parameters:
- metric_name (str) – Which metric, like “Accuracy”. 
- meter (Meter) – Which meter is providing these instruments. 
 
- Returns:
- The function creating the right metric instrument. 
- Return type:
- Callable