fgksgf commented on code in PR #8881:
URL: https://github.com/apache/skywalking/pull/8881#discussion_r852652442
##########
oap-server/server-receiver-plugin/skywalking-event-receiver-plugin/src/main/java/org/apache/skywalking/oap/server/receiver/event/rest/EventRestServiceHandler.java:
##########
@@ -41,27 +44,35 @@ public class EventRestServiceHandler {
public EventRestServiceHandler(final ModuleManager manager) {
final MetricsCreator metricsCreator =
manager.find(TelemetryModule.NAME)
- .provider()
-
.getService(MetricsCreator.class);
+ .provider()
+ .getService(MetricsCreator.class);
eventAnalyzerService = manager.find(EventAnalyzerModule.NAME)
- .provider()
- .getService(EventAnalyzerService.class);
+ .provider()
+ .getService(EventAnalyzerService.class);
histogram = metricsCreator.createHistogramMetric(
- "event_in_latency", "The process latency of event data",
- new MetricsTag.Keys("protocol"), new MetricsTag.Values("http")
+ "event_in_latency", "The process latency of event data",
+ new MetricsTag.Keys("protocol"), new MetricsTag.Values("http")
);
errorCounter = metricsCreator.createCounter(
- "event_error_count", "The error number of event analysis",
- new MetricsTag.Keys("protocol"), new MetricsTag.Values("http")
+ "event_error_count", "The error number of event analysis",
+ new MetricsTag.Keys("protocol"), new MetricsTag.Values("http")
);
Review Comment:
Ok, it seems IDEA formats it automatically.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]