Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thread Pool metrics for DSE getting truncated #577

Closed
PeterGilroy opened this issue Nov 29, 2024 · 1 comment · Fixed by #623
Closed

Thread Pool metrics for DSE getting truncated #577

PeterGilroy opened this issue Nov 29, 2024 · 1 comment · Fixed by #623
Assignees

Comments

@PeterGilroy
Copy link

PeterGilroy commented Nov 29, 2024

Thread Pool metrics for DSE getting truncated.
Retrieving the metric from http://10.10.10.10:9000/metrics will show:

org_apache_cassandra_metrics_thread_pools_active_tasks{host="d92991be-3582-43c9-bef9-b2e9f1017c6d",instance="10.10.10.10",cluster="maac",datacenter="Cassandra",rack="rack1",pod_name="ip-10-10-10-10",pool_type="internal",pool_name="Repair",} 0.0
org_apache_cassandra_metrics_thread_pools_active_tasks{host="d92991be-3582-43c9-bef9-b2e9f1017c6d",instance="10.10.10.10",cluster="maac",datacenter="Cassandra",rack="rack1",pod_name="ip-10-10-10-10",pool_type="internal",pool_name="TPC",} 0.0

However this would be expected to be Repair-Task instead of Repair and instead of TPC be:

TPC/all/BATCH_REMOVE                               0                       0 (N/A)       N/A          24989       N/A                 0
TPC/all/EVENTLOOP_PROCESSED_TASKS                  0                     N/A (N/A)       N/A       15246816       N/A               N/A
TPC/all/EVENTLOOP_SCHEDULED_TASKS                  0                     N/A (N/A)       N/A       26137492       N/A               N/A
TPC/all/EVENTLOOP_SELECTOR_EVENTS                  0                     N/A (N/A)       N/A        6134785       N/A               N/A
TPC/all/EVENTLOOP_SELECT_CALLS                     1                     N/A (N/A)       N/A        8991407       N/A               N/A
TPC/all/EVENTLOOP_SELECT_NOW_CALLS                 0                     N/A (N/A)       N/A        9002688       N/A               N/A
TPC/all/EVENTLOOP_SPIN                             0                     N/A (N/A)       N/A       80922912       N/A               N/A
TPC/all/EXECUTE_STATEMENT                          0                     N/A (N/A)       N/A             56       N/A               N/A
TPC/all/NODESYNC_VALIDATION                        0                     N/A (N/A)       N/A           5194       N/A               N/A
TPC/all/READ_DISK_ASYNC                            0                     N/A (N/A)       N/A            129       N/A               N/A
TPC/all/READ_INTERNAL                              0                     N/A (N/A)       N/A        1010946       N/A               N/A
TPC/all/READ_RANGE_INTERNAL                        0                     N/A (N/A)       N/A           6984       N/A               N/A
TPC/all/READ_RANGE_LOCAL                           0                       0 (N/A)       N/A              1       N/A                 0
TPC/all/READ_RANGE_RESPONSE                        0                     N/A (N/A)       N/A            210       N/A               N/A
TPC/all/READ_SPECULATE                             0                     N/A (N/A)       N/A              6       N/A               N/A
TPC/all/READ_RESPONSE                              0                     N/A (N/A)       N/A        1062638       N/A               N/A
TPC/all/TIMED_TIMEOUT                              0                     N/A (N/A)       N/A        5218530       N/A               N/A
TPC/all/UNKNOWN                                    0                     N/A (N/A)       N/A              1       N/A               N/A
TPC/all/WRITE_INTERNAL                             0                     N/A (N/A)       N/A          23958       N/A               N/A
TPC/all/WRITE_LOCAL                                0                       0 (N/A)       N/A         262963       N/A                 0
TPC/all/WRITE_REMOTE                               0                       0 (N/A)       N/A          25052       N/A                 0
TPC/all/WRITE_MEMTABLE                             0                     N/A (N/A)       N/A          87315       N/A               N/A
TPC/all/WRITE_RESPONSE                             0                     N/A (N/A)       N/A         536269       N/A               N/A

as per https://docs.datastax.com/en/dse/6.8/managing/tools/nodetool/thread-pool-statistics.html

It appears that the '-' and '/' characters are not being handled correctly and truncating the metric names.

┆Issue is synchronized with this Jira Story by Unito
┆Issue Number: MAPI-87

Copy link

sync-by-unito bot commented Mar 26, 2025

emerkle826 added a commit that referenced this issue Mar 26, 2025
* [ENHANCEMENT] [#624](#624) Add Maven Enforcer plugin to keep dependency versions in sync
* [BUGFIX] [#577](#577) pool_name can include dashes and slashes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: No status
2 participants