wu-sheng commented on issue #10341:
URL: https://github.com/apache/skywalking/issues/10341#issuecomment-1435930019
> > Do you mean delta is increasement from last report period? Could you
explain a little more?
>
>
>
> Yes, delta means increasement from last report period.
>
> About skywalking how to process counter(sum) data:
>
> ```java
>
> if (metric.hasSum()) {
>
> final Sum sum = metric.getSum();
>
> if (sum
>
> .getAggregationTemporality() !=
AGGREGATION_TEMPORALITY_CUMULATIVE) {
>
> return Stream.empty();
>
> }
>
> ```
>
> Counter Data from airflow, the AggregationTemporality is Delta:
>
> ```
>
> Descriptor:
>
> -> Name: airflow_job_start
>
> -> Description:
>
> -> Unit:
>
> -> DataType: Sum
>
> -> IsMonotonic: false
>
> -> AggregationTemporality: Delta
>
> ```
>
>
What is the issue? If the source(from otel) is delta, then use SUM to build
data per min/hour/day is correct. The recent AWS s3 monitoring is using this
way.
--
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]