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: $.