pg-yang commented on issue #9676: URL: https://github.com/apache/skywalking/issues/9676#issuecomment-1282069546
Don't OAL support labeled AVG metrics ? I'm analyzing MQ metrics , I think it's better to provide transmission latency metrics labeled by `queue` or `topic` , as following : ``` mq_transmission_latency = from(MessageQueueAccess.transmissionLatency).filter(operation == MessageQueueOperation.Consume).avgLabeled(MessageQueueAccess.queue); ``` But `AvgLabeledFunction` is in meter package , and annotated by `@MeterFunction`. `MetricsHolder` only initialize Class annotated by `@MetricsFunction` https://github.com/apache/skywalking/blob/5abe6ceb1ff0938be917f8b440c5eb3590cf31db/oap-server/oal-rt/src/main/java/org/apache/skywalking/oal/rt/parser/MetricsHolder.java#L41-L45 Could I implement labeled AVG metrics in OAL if It's not supported ? If the answer of the above question is Yes , Should I add a new Labeled AVG metrics class to `metrics ` package , instead of using `AvgLabeledFunction` class in `meter` package ? -- 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]
