Tempo · Capability

Grafana Tempo HTTP API — Health

Grafana Tempo HTTP API — Health. 2 operations. Lead operation: Get Prometheus Metrics. Self-contained Naftiko capability covering one Tempo business surface.

Run with Naftiko TempoHealth

What You Can Do

GET
Getprometheusmetrics — Get Prometheus Metrics
/v1/metrics
GET
Checkready — Check Readiness
/v1/ready

MCP Tools

get-prometheus-metrics

Get Prometheus Metrics

read-only idempotent
check-readiness

Check Readiness

read-only idempotent

Capability Spec

tempo-health.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Grafana Tempo HTTP API — Health
  description: 'Grafana Tempo HTTP API — Health. 2 operations. Lead operation: Get Prometheus Metrics. Self-contained Naftiko
    capability covering one Tempo business surface.'
  tags:
  - Tempo
  - Health
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TEMPO_API_KEY: TEMPO_API_KEY
capability:
  consumes:
  - type: http
    namespace: tempo-health
    baseUri: http://localhost:3200
    description: Grafana Tempo HTTP API — Health business capability. Self-contained, no shared references.
    resources:
    - name: metrics
      path: /metrics
      operations:
      - name: getprometheusmetrics
        method: GET
        description: Get Prometheus Metrics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: ready
      path: /ready
      operations:
      - name: checkready
        method: GET
        description: Check Readiness
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: tempo-health-rest
    port: 8080
    description: REST adapter for Grafana Tempo HTTP API — Health. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/metrics
      name: metrics
      description: REST surface for metrics.
      operations:
      - method: GET
        name: getprometheusmetrics
        description: Get Prometheus Metrics
        call: tempo-health.getprometheusmetrics
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/ready
      name: ready
      description: REST surface for ready.
      operations:
      - method: GET
        name: checkready
        description: Check Readiness
        call: tempo-health.checkready
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: tempo-health-mcp
    port: 9090
    transport: http
    description: MCP adapter for Grafana Tempo HTTP API — Health. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: get-prometheus-metrics
      description: Get Prometheus Metrics
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: tempo-health.getprometheusmetrics
      outputParameters:
      - type: object
        mapping: $.
    - name: check-readiness
      description: Check Readiness
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: tempo-health.checkready
      outputParameters:
      - type: object
        mapping: $.