Linkerd · Capability

Linkerd Viz Metrics API — Gateways

Linkerd Viz Metrics API — Gateways. 1 operations. Lead operation: Linkerd Get multicluster gateway metrics. Self-contained Naftiko capability covering one Linkerd business surface.

Run with Naftiko LinkerdGateways

What You Can Do

POST
Getgateways — Linkerd Get multicluster gateway metrics
/v1/api/v1/gateways

MCP Tools

linkerd-get-multicluster-gateway-metrics

Linkerd Get multicluster gateway metrics

read-only

Capability Spec

viz-metrics-gateways.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Linkerd Viz Metrics API — Gateways
  description: 'Linkerd Viz Metrics API — Gateways. 1 operations. Lead operation: Linkerd Get multicluster gateway metrics.
    Self-contained Naftiko capability covering one Linkerd business surface.'
  tags:
  - Linkerd
  - Gateways
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LINKERD_API_KEY: LINKERD_API_KEY
capability:
  consumes:
  - type: http
    namespace: viz-metrics-gateways
    baseUri: http://metrics-api.linkerd-viz.svc.cluster.local:8085
    description: Linkerd Viz Metrics API — Gateways business capability. Self-contained, no shared references.
    resources:
    - name: api-v1-gateways
      path: /api/v1/gateways
      operations:
      - name: getgateways
        method: POST
        description: Linkerd Get multicluster gateway metrics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: viz-metrics-gateways-rest
    port: 8080
    description: REST adapter for Linkerd Viz Metrics API — Gateways. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/v1/gateways
      name: api-v1-gateways
      description: REST surface for api-v1-gateways.
      operations:
      - method: POST
        name: getgateways
        description: Linkerd Get multicluster gateway metrics
        call: viz-metrics-gateways.getgateways
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: viz-metrics-gateways-mcp
    port: 9090
    transport: http
    description: MCP adapter for Linkerd Viz Metrics API — Gateways. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: linkerd-get-multicluster-gateway-metrics
      description: Linkerd Get multicluster gateway metrics
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: viz-metrics-gateways.getgateways
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.