I have a question re: <metrics>. Does `query/faile...
# general
w
I have a question re: metrics. Does
query/failed/count
include timeout queries that are also included in
query/timeout/count
?
k
Nope they are seperate :
Copy code
Map<String, Long> diff = <http://keyedDiff.to|keyedDiff.to>(
        "queryCountStats",
        ImmutableMap.of(
            "query/count", successfulQueryCount + failedQueryCount + interruptedQueryCount + timedOutQueryCount,
            "query/success/count", successfulQueryCount,
            "query/failed/count", failedQueryCount,
            "query/interrupted/count", interruptedQueryCount,
            "query/timeout/count", timedOutQueryCount
        )
    );
https://github.com/implydata/druid/blob/678a1f1c3751a779cb8b2d1c46a58e7c99195d4a/s[…]ava/org/apache/druid/server/metrics/QueryCountStatsMonitor.java
👍 1
w
Thanks for your response @Karan Kumar. I think I was seeing them double counted as a result of the bug that was fixed in this MR: https://github.com/apache/druid/pull/17454.
🙌 1