LogoLogo
  • About
  • Installation
  • Update & migration
  • Configuration
    • Hostname
    • TLS / HTTPS
    • Database
    • Logging
    • API Security
    • Storage
      • Disk
      • In-memory
      • S3
    • RTMP
    • SRT
    • FFmpeg
    • Sessions
    • Metrics
    • Router
    • Debug
  • API Swagger-Documentation
  • API Clients
  • Web-Interface
  • Guides
    • Beginner
    • RTMP
    • SRT
    • Filesystems
  • General
    • Prometheus metrics
  • API
    • Login
    • Config
    • Log
    • Filesystem
      • Disk
      • In-memory
      • S3
    • Metrics
    • Sessions
    • Profiling
    • Ping
  • API / FFmpeg
    • Process
      • Command
      • Metadata
      • State
      • Probe
      • Report
    • Skills
    • Widget (Website)
  • API / RTMP
    • RTMP
  • API / SRT
    • SRT
  • Development
    • Architecture
    • Coding
    • Custom Docker images
    • Benchmark
    • Support
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. General

Prometheus metrics

PreviousFilesystemsNextLogin

Last updated 2 years ago

Was this helpful?

Metrics for the processes and other aspects are provided for a Prometheus scraper on /metrics.

You have to set and to true in the settings

Currently, available metrics are:

Metric
Type
Dimensions
Description

ffmpeg_process

gauge

core, process, name

General stats per process.

ffmpeg_process_io

gauge

core, process, type, id, index, media, name

Stats per input and output of a process.

mem_limit_bytes

gauge

core

Total available memory in bytes.

mem_free_bytes

gauge

core

Free memory in bytes.

net_rx_bytes

gauge

core, interface

Number of received bytes by interface.

net_tx_bytes

gauge

core, interface

Number of sent bytes by interface.

cpus_system_time_secs

gauge

core, cpu

System time per CPU in seconds.

cpus_user_time_secs

gauge

core, cpu

User time per CPU in seconds.

cpus_idle_time_secs

gauge

core, cpu

Idle time per CPU in seconds.

session_total

counter

core, collector

Total number of sessions by collector.

session_active

gauge

core, collector

Current number of active sessions by collector.

session_rx_bytes

counter

core, collector

Total received bytes by collector.

session_tx_bytes

counter

core, collector

Total sent bytes by collector.

metrics.enable
metrics.enable_prometheus