Discrepancy in Data Displayed in Different Metrics

TLDR Aditya noticed a discrepancy in data displayed in different metrics. Srikanth explained that it was due to the aggregation interval.

Photo of Aditya
Aditya
Thu, 24 Aug 2023 06:50:10 UTC

We're sending data from 4 pods of the same process. In NOOP, it's showing only 4 curves but in COUNT it's showing 8 and in SUM the value is coming double of what we are getting if we manually add the values from the 4 curves

Photo of Srikanth
Srikanth
Thu, 24 Aug 2023 07:49:22 UTC

> We’re sending data from 4 pods of the same process What is the type of this measurement? > In NOOP, it’s showing only 4 curves but in COUNT it’s showing 8 and in SUM the value is coming double of what we are getting if we manually add the values from the 4 curves When you say _8,_ are you saying 8 “curves” or the number 8 on y-axis? The SUM simply sums across the series. Please share the original data and the result.

Photo of Aditya
Aditya
Thu, 24 Aug 2023 07:51:06 UTC

This is NOOP

Photo of Aditya
Aditya
Thu, 24 Aug 2023 07:51:45 UTC

This is COUNT

Photo of Aditya
Aditya
Thu, 24 Aug 2023 07:52:24 UTC

This is Count Distinct

Photo of Aditya
Aditya
Thu, 24 Aug 2023 07:53:06 UTC

This is SUM

Photo of Aditya
Aditya
Thu, 24 Aug 2023 07:54:15 UTC

In NOOP, adding the values give 24K

Photo of Aditya
Aditya
Thu, 24 Aug 2023 07:54:25 UTC

In SUM its showing 48K

Photo of Srikanth
Srikanth
Thu, 24 Aug 2023 07:54:31 UTC

Please read this doc to understand what each of them do

Photo of Aditya
Aditya
Thu, 24 Aug 2023 07:55:02 UTC

It was working fine till yesterday. Since last night it's behaving like this

Photo of Aditya
Aditya
Fri, 25 Aug 2023 04:32:08 UTC

Srikanth I had pretty much followed that document to create the dashboards earlier and they worked fine. Only since yesterday this anomaly is happening. Please refer to the above screenshots for data.

Photo of Srikanth
Srikanth
Fri, 25 Aug 2023 11:27:31 UTC

There is nothing changed from SigNoz side. Please check what has changed from your end since last time.

Photo of Aditya
Aditya
Fri, 25 Aug 2023 11:31:00 UTC

Srikanth But it it possible that in NOOP it shows 4 data sets and in COUNT it shows value as 8. Can you explain how Distinct Count value is 4 and Count value is 8.

Photo of Srikanth
Srikanth
Fri, 25 Aug 2023 11:36:31 UTC

It means there are only 4 distinct values but 8 in total for the aggregation interval of 60 seconds.

Photo of Aditya
Aditya
Fri, 25 Aug 2023 11:38:25 UTC

So are you saying that during the aggregation interval the values are coming twice? But we have logs which prints whenever data is inserted into the gauge metrics and that's coming once only

Photo of Srikanth
Srikanth
Fri, 25 Aug 2023 11:40:07 UTC

Yes, they are reported twice which is why you are seeing 8