Skip to content
Discussion options

You must be logged in to vote

@leeleahulkcs, I think here's the issue:

metrics:
  - metric_name: TRANSACTION_MEMORY
    type: counter
    help: 'Memory allocated for transactions on this data node. This can be controlled using the TransactionMemory configuration parameter.'
    static_labels:
      counter: TRANSACTION_MEMORY
    value_label: resource_name <--
    values:
      - node_id 
      - resource_name <--
      - reserved
      - used
      - max
      - spare
    query: |
      select node_id, resource_name, reserved, used, max, spare
      from ndbinfo.resources
      where resource_name = 'TRANSACTION_MEMORY'

resource_name is most likely the string. values columns must be numbers (as of the Prometheus met…

Replies: 11 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by leeleahulkcs
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #820 on October 12, 2025 09:03.