Apache BookKeeper · Capability

Apache BookKeeper Admin API — Monitoring

Apache BookKeeper Admin API — Monitoring. 2 operations. Lead operation: Apache BookKeeper Get Heartbeat Status. Self-contained Naftiko capability covering one Apache Bookkeeper business surface.

Run with Naftiko Apache BookkeeperMonitoring

What You Can Do

GET
Getheartbeat — Apache BookKeeper Get Heartbeat Status
/v1/heartbeat
GET
Getmetrics — Apache BookKeeper Get Metrics
/v1/metrics

MCP Tools

apache-bookkeeper-get-heartbeat-status

Apache BookKeeper Get Heartbeat Status

read-only idempotent
apache-bookkeeper-get-metrics

Apache BookKeeper Get Metrics

read-only idempotent

Capability Spec

admin-monitoring.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Apache BookKeeper Admin API — Monitoring
  description: 'Apache BookKeeper Admin API — Monitoring. 2 operations. Lead operation: Apache BookKeeper Get Heartbeat Status.
    Self-contained Naftiko capability covering one Apache Bookkeeper business surface.'
  tags:
  - Apache Bookkeeper
  - Monitoring
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APACHE_BOOKKEEPER_API_KEY: APACHE_BOOKKEEPER_API_KEY
capability:
  consumes:
  - type: http
    namespace: admin-monitoring
    baseUri: http://localhost:8080
    description: Apache BookKeeper Admin API — Monitoring business capability. Self-contained, no shared references.
    resources:
    - name: heartbeat
      path: /heartbeat
      operations:
      - name: getheartbeat
        method: GET
        description: Apache BookKeeper Get Heartbeat Status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: metrics
      path: /metrics
      operations:
      - name: getmetrics
        method: GET
        description: Apache BookKeeper Get Metrics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: admin-monitoring-rest
    port: 8080
    description: REST adapter for Apache BookKeeper Admin API — Monitoring. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/heartbeat
      name: heartbeat
      description: REST surface for heartbeat.
      operations:
      - method: GET
        name: getheartbeat
        description: Apache BookKeeper Get Heartbeat Status
        call: admin-monitoring.getheartbeat
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/metrics
      name: metrics
      description: REST surface for metrics.
      operations:
      - method: GET
        name: getmetrics
        description: Apache BookKeeper Get Metrics
        call: admin-monitoring.getmetrics
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: admin-monitoring-mcp
    port: 9090
    transport: http
    description: MCP adapter for Apache BookKeeper Admin API — Monitoring. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: apache-bookkeeper-get-heartbeat-status
      description: Apache BookKeeper Get Heartbeat Status
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: admin-monitoring.getheartbeat
      outputParameters:
      - type: object
        mapping: $.
    - name: apache-bookkeeper-get-metrics
      description: Apache BookKeeper Get Metrics
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: admin-monitoring.getmetrics
      outputParameters:
      - type: object
        mapping: $.