yugabyte-db icon indicating copy to clipboard operation
yugabyte-db copied to clipboard

[DocDB] The statistic threads_running_thread_pool for YCQL shows incorrect value

Open fritshoogland-yugabyte opened this issue 2 years ago • 3 comments

Jira Link: DB-3154

Description

When querying the metrics for the YCQL (12000) endpoint, I get the following values:

  • metrics endpoint: 18446744073709551609
  • prometheus-metrics endpoint: -7

These do not seem like realistic numbers to me, and therefore give the impression this statistic is broken. I now find this value with version 2.15.2.0-b83, but witnessed this value for quite some time.

fritshoogland-yugabyte avatar Aug 11 '22 13:08 fritshoogland-yugabyte

@rthallamko3 , something to add to the tooling bucket. I'm also intrigued this shows up now, but didn't before, perhaps some components were moved around, leading to some reporting on the YCQL webserver?

bmatican avatar Aug 11 '22 14:08 bmatican

I noticed this for a very long time, but forgotten about it. When I created yb_stats, I had a hard time dealing with it, and was glad I found a way to ignore this. I guess this is showing these values as long as I know...

Frits Hoogland | Developer Advocate Mobile: +31-6-14180860 https://www.yugabyte.com

On 11 Aug 2022, at 16:17, Bogdan Matican @.***> wrote:

@rthallamko3 https://www.google.com/url?q=https://github.com/rthallamko3&source=gmail-imap&ust=1660832261000000&usg=AOvVaw2T8kprH7wObYmwCZKyYp26 , something to add to the tooling bucket. I'm also intrigued this shows up now, but didn't before, perhaps some components were moved around, leading to some reporting on the YCQL webserver?

— Reply to this email directly, view it on GitHub https://www.google.com/url?q=https://github.com/yugabyte/yugabyte-db/issues/13575%23issuecomment-1212050804&source=gmail-imap&ust=1660832261000000&usg=AOvVaw31tAWsr7F1IvC7lu-_jpTf, or unsubscribe https://www.google.com/url?q=https://github.com/notifications/unsubscribe-auth/ATP5QQWTODAS4S6BJPZHA4DVYUDQJANCNFSM56IISUGA&source=gmail-imap&ust=1660832261000000&usg=AOvVaw2zKRgJ0tlPmK9J7Ip7qHtq. You are receiving this because you authored the thread.

fritshoogland-yugabyte avatar Aug 11 '22 14:08 fritshoogland-yugabyte

@yusong-yan , This is a good ramp up item about metrics.

rthallamko3 avatar Aug 11 '22 19:08 rthallamko3

This seems to have gone silent?

fritshoogland-yugabyte avatar Oct 13 '22 13:10 fritshoogland-yugabyte

This seems to have gone silent?

I already have the fix, and it is in the process of reviewing. Sorry for the delay!

yusong-yan avatar Oct 13 '22 15:10 yusong-yan

Sorry! Is there a way I could have found this out myself?

fritshoogland-yugabyte avatar Oct 13 '22 15:10 fritshoogland-yugabyte

@fritshoogland-yugabyte For work in progress, you'd have to check Phabricator, or be explicitly added on those diffs as a subscriber. See https://phabricator.dev.yugabyte.com/D19359

bmatican avatar Oct 13 '22 16:10 bmatican