Support metric reader config
MODIFY
agent-tooling/src/main/java/io/opentelemetry/auto/tooling/TracerInstaller.java
agent-tooling/src/main/java/io/opentelemetry/auto/tooling/TracerInstaller.java
@@ -118,6 +118,8 @@ public class TracerInstaller {
MetricExporterFactory metricExporterFactory, DefaultExporterConfig config) {
final MetricExporter metricExporter = metricExporterFactory.fromConfig(config);
IntervalMetricReader.builder()
+ .readEnvironmentVariables()
+ .readSystemProperties()
.setMetricExporter(metricExporter)
.setMetricProducers(
Collections.singleton(OpenTelemetrySdk.getMeterProvider().getMetricProducer()))

Support metric reader config (#576)