weixiang1862 commented on code in PR #13543:
URL: https://github.com/apache/skywalking/pull/13543#discussion_r2435132953
##########
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/worker/MetricsPersistentWorker.java:
##########
@@ -292,6 +293,9 @@ private void prepareFlushDataToStorage(List<Metrics>
metricsList,
}
private void nextWorker(Metrics metrics) {
+ if (metrics instanceof Meter) {
+ ((Meter) metrics).initMeta(model.getName(), model.getScopeId());
+ }
Review Comment:
I added `newStreamDataInstance` method in RemoteHandleWorker to create
metric instance.
--
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]