---
title: "Prometheus Metrics"
method: GET
path: "/api/otel/metrics"
tags: ["Observability"]
---

# Prometheus Metrics

`GET /api/otel/metrics`

## Request

- Base URL: `https://api.fiber.ac` (the document declares no server; this is the origin it was published from)
- URL: `https://api.fiber.ac/api/otel/metrics`
- Auth: none declared

Returns optical telemetry metrics in Prometheus exposition format. No authentication required — designed for Prometheus scraping. Includes per-port (risk>=30) gauges fiber_port_rx_power_dbm, fiber_port_temperature_celsius, fiber_port_risk_score, fiber_port_fec_uncorrectable and fiber_port_snr_db (coherent only), plus the cluster-level fiber_cluster_* gauges (total/critical/warning ports, average risk score). The same ports are additionally exported under the OpenTelemetry hardware semantic conventions (semconv v1.44.0): hw_status with hw_state one of ok|degraded|failed|predicted_failure, plus hw_optical_* gauges (rx/tx power, temperature, bias current, FEC) carrying hw_id/hw_type/hw_parent attributes. The fiber_port_* / fiber_cluster_* families are unchanged; set FIBER_OTEL_HW_SEMCONV=0 to opt out of the hw.* duplicates. See docs/OTEL_SEMCONV.md.

## Response `200`

Prometheus exposition format (text/plain; version=0.0.4) with optical telemetry metrics

- unknown

---

[API](https://skmtc.dev/fiber-ac/apis/fiber-api.md) · [All operations](https://skmtc.dev/fiber-ac/apis/fiber-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fiber-ac/apis/fiber-api/revisions/58267250d793?raw)
