Logz.io · Capability

Logz.io Metrics Prometheus

Logz.io Metrics Prometheus business capability. Self-contained Naftiko capability covering one Logz.io API surface on the api.logz.io control plane.

Logz.io Metrics Prometheus is a Naftiko capability published by Logz.io, one of 29 capabilities the APIs.io network indexes for this provider. It bundles 1 operation across the GET method rooted at /v1/metrics/prometheus/api/v1/query.

The capability includes 1 read-only operation. Lead operation: Retrieve Logz.io Metrics Prometheus resources. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Logz.io, Observability, and Metrics.

Run with Naftiko Logz.ioObservabilityMetrics

What You Can Do

GET
Get — Retrieve Metrics Prometheus resources.
/v1/metrics/prometheus/api/v1/query

MCP Tools

logzio-metrics-prometheus-get

Retrieve Logz.io Metrics Prometheus resources.

read-only idempotent

Capability Spec

metrics-prometheus.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Logz.io Metrics Prometheus
  description: 'Logz.io Metrics Prometheus business capability. Self-contained Naftiko capability covering one Logz.io API surface
    on the api.logz.io control plane.'
  tags:
  - Logz.io
  - Observability
  - Metrics
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    LOGZIO_API_TOKEN: LOGZIO_API_TOKEN
    LOGZIO_API_BASE: LOGZIO_API_BASE
capability:
  consumes:
  - type: http
    namespace: metrics-prometheus
    baseUri: '{{env.LOGZIO_API_BASE}}'
    description: Run Prometheus-style queries against Logz.io metrics.
    resources:
    - name: metrics-prometheus-resource
      path: /v1/metrics/prometheus/api/v1/query
      operations:
      - name: get
        method: GET
        description: Retrieve Metrics Prometheus resources.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: X-API-TOKEN
      value: '{{env.LOGZIO_API_TOKEN}}'
      placement: header
  exposes:
  - type: rest
    namespace: metrics-prometheus-rest
    port: 8080
    description: REST adapter for Logz.io Metrics Prometheus.
    resources:
    - path: /v1/metrics/prometheus/api/v1/query
      name: metrics-prometheus-resource
      description: REST surface for Logz.io Metrics Prometheus.
      operations:
      - method: GET
        name: get
        description: Retrieve Metrics Prometheus resources.
        call: metrics-prometheus.get
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: metrics-prometheus-mcp
    port: 9090
    transport: http
    description: MCP adapter for Logz.io Metrics Prometheus.
    tools:
    - name: logzio-metrics-prometheus-get
      description: Retrieve Logz.io Metrics Prometheus resources.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: metrics-prometheus.get
      outputParameters:
      - type: object
        mapping: $.