openapi: 3.0.3
info:
title: Fluent Bit Monitoring HTTP Build Uptime API
description: Fluent Bit exposes an embedded HTTP server for runtime monitoring, internal metrics, storage statistics, health checks, and hot reloading. Endpoints are available under v1 (legacy) and v2 (current) paths and respond in JSON, Prometheus 0.0.4, or cmetrics text format.
version: 2.0.0
contact:
name: Fluent Bit
url: https://docs.fluentbit.io/manual/administration/monitoring
servers:
- url: http://127.0.0.1:2020
description: Default HTTP server (configurable via http_listen and http_port)
tags:
- name: Uptime
paths:
/api/v1/uptime:
get:
tags:
- Uptime
summary: Uptime information
responses:
'200':
description: Uptime in seconds and human form
content:
application/json:
schema:
type: object
properties:
uptime_sec:
type: integer
uptime_hr:
type: string