meterProviders static method

List<APIMeterProvider> meterProviders()

returns a list of APIMeterProviders including the the global default and any named providers added.

Implementation

static List<APIMeterProvider> meterProviders() {
  return OTelFactory.otelFactory?.getMeterProviders() ?? [];
}