Search in sources :

Example 1 with MetricConvert

use of org.apache.skywalking.oap.meter.analyzer.MetricConvert in project incubator-skywalking by apache.

the class MeterProcessService method start.

public void start(List<MeterConfig> configs) {
    final MeterSystem meterSystem = manager.find(CoreModule.NAME).provider().getService(MeterSystem.class);
    this.metricConverts = configs.stream().map(c -> new MetricConvert(c, meterSystem)).collect(Collectors.toList());
}
Also used : MetricConvert(org.apache.skywalking.oap.meter.analyzer.MetricConvert) MeterSystem(org.apache.skywalking.oap.server.core.analysis.meter.MeterSystem)

Example 2 with MetricConvert

use of org.apache.skywalking.oap.meter.analyzer.MetricConvert in project skywalking by apache.

the class MeterProcessService method start.

public void start(List<MeterConfig> configs) {
    final MeterSystem meterSystem = manager.find(CoreModule.NAME).provider().getService(MeterSystem.class);
    this.metricConverts = configs.stream().map(c -> new MetricConvert(c, meterSystem)).collect(Collectors.toList());
}
Also used : MetricConvert(org.apache.skywalking.oap.meter.analyzer.MetricConvert) MeterSystem(org.apache.skywalking.oap.server.core.analysis.meter.MeterSystem)

Aggregations

MetricConvert (org.apache.skywalking.oap.meter.analyzer.MetricConvert)2 MeterSystem (org.apache.skywalking.oap.server.core.analysis.meter.MeterSystem)2