Search in sources :

Example 1 with SegmentStandardization

use of org.apache.skywalking.apm.collector.analysis.segment.parser.provider.parser.standardization.SegmentStandardization in project incubator-skywalking by apache.

the class SegmentParse method writeToBufferFile.

@GraphComputingMetric(name = "/segment/parse/bufferFile/write")
private void writeToBufferFile(String id, UpstreamSegment upstreamSegment) {
    logger.debug("push to segment buffer write worker, id: {}", id);
    SegmentStandardization standardization = new SegmentStandardization(id);
    standardization.setUpstreamSegment(upstreamSegment);
    Graph<SegmentStandardization> graph = GraphManager.INSTANCE.findGraph(GraphIdDefine.SEGMENT_STANDARDIZATION_GRAPH_ID, SegmentStandardization.class);
    graph.start(standardization);
}
Also used : SegmentStandardization(org.apache.skywalking.apm.collector.analysis.segment.parser.provider.parser.standardization.SegmentStandardization) GraphComputingMetric(org.apache.skywalking.apm.collector.core.annotations.trace.GraphComputingMetric)

Aggregations

SegmentStandardization (org.apache.skywalking.apm.collector.analysis.segment.parser.provider.parser.standardization.SegmentStandardization)1 GraphComputingMetric (org.apache.skywalking.apm.collector.core.annotations.trace.GraphComputingMetric)1