GridGain · Capability

GridGain REST module — nodeMetric

GridGain REST module — nodeMetric. 4 operations. Lead operation: Disable metric source. Self-contained Naftiko capability covering one Gridgain business surface.

Run with Naftiko GridgainnodeMetric

What You Can Do

POST
Disablenodemetric — Disable metric source
/v1/management/v1/metric/node/disable
POST
Enablenodemetric — Enable metric source
/v1/management/v1/metric/node/enable
GET
Listnodemetricsets — List metric sets
/v1/management/v1/metric/node/set
GET
Listnodemetricsources — List metric sources
/v1/management/v1/metric/node/source

MCP Tools

disable-metric-source

Disable metric source

enable-metric-source

Enable metric source

list-metric-sets

List metric sets

read-only idempotent
list-metric-sources

List metric sources

read-only idempotent

Capability Spec

gridgain-nodemetric.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GridGain REST module — nodeMetric
  description: 'GridGain REST module — nodeMetric. 4 operations. Lead operation: Disable metric source. Self-contained Naftiko
    capability covering one Gridgain business surface.'
  tags:
  - Gridgain
  - nodeMetric
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GRIDGAIN_API_KEY: GRIDGAIN_API_KEY
capability:
  consumes:
  - type: http
    namespace: gridgain-nodemetric
    baseUri: http://localhost:10300
    description: GridGain REST module — nodeMetric business capability. Self-contained, no shared references.
    resources:
    - name: management-v1-metric-node-disable
      path: /management/v1/metric/node/disable
      operations:
      - name: disablenodemetric
        method: POST
        description: Disable metric source
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: management-v1-metric-node-enable
      path: /management/v1/metric/node/enable
      operations:
      - name: enablenodemetric
        method: POST
        description: Enable metric source
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: management-v1-metric-node-set
      path: /management/v1/metric/node/set
      operations:
      - name: listnodemetricsets
        method: GET
        description: List metric sets
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: management-v1-metric-node-source
      path: /management/v1/metric/node/source
      operations:
      - name: listnodemetricsources
        method: GET
        description: List metric sources
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.GRIDGAIN_API_KEY}}'
  exposes:
  - type: rest
    namespace: gridgain-nodemetric-rest
    port: 8080
    description: REST adapter for GridGain REST module — nodeMetric. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/management/v1/metric/node/disable
      name: management-v1-metric-node-disable
      description: REST surface for management-v1-metric-node-disable.
      operations:
      - method: POST
        name: disablenodemetric
        description: Disable metric source
        call: gridgain-nodemetric.disablenodemetric
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/management/v1/metric/node/enable
      name: management-v1-metric-node-enable
      description: REST surface for management-v1-metric-node-enable.
      operations:
      - method: POST
        name: enablenodemetric
        description: Enable metric source
        call: gridgain-nodemetric.enablenodemetric
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/management/v1/metric/node/set
      name: management-v1-metric-node-set
      description: REST surface for management-v1-metric-node-set.
      operations:
      - method: GET
        name: listnodemetricsets
        description: List metric sets
        call: gridgain-nodemetric.listnodemetricsets
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/management/v1/metric/node/source
      name: management-v1-metric-node-source
      description: REST surface for management-v1-metric-node-source.
      operations:
      - method: GET
        name: listnodemetricsources
        description: List metric sources
        call: gridgain-nodemetric.listnodemetricsources
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: gridgain-nodemetric-mcp
    port: 9090
    transport: http
    description: MCP adapter for GridGain REST module — nodeMetric. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: disable-metric-source
      description: Disable metric source
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: gridgain-nodemetric.disablenodemetric
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: enable-metric-source
      description: Enable metric source
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: gridgain-nodemetric.enablenodemetric
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-metric-sets
      description: List metric sets
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: gridgain-nodemetric.listnodemetricsets
      outputParameters:
      - type: object
        mapping: $.
    - name: list-metric-sources
      description: List metric sources
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: gridgain-nodemetric.listnodemetricsources
      outputParameters:
      - type: object
        mapping: $.