viva_telemetry
viva_telemetry - Professional Observability Suite for Gleam
Part of the VIVA ecosystem - for the Gleam community
Modules
viva_telemetry/log- Structured logging with handlersviva_telemetry/metrics- Counters, gauges, histograms (coming soon)viva_telemetry/bench- Statistical benchmarking (coming soon)
Quick Start
import viva_telemetry/log
pub fn main() {
log.info("Hello from VIVA!", [#("version", "0.1.0")])
}
Values
pub const alert: level.Level
pub const critical: level.Level
pub const debug_level: level.Level
pub const error_level: level.Level
pub fn info(msg: String, fields: List(#(String, String))) -> Nil
Quick logging functions (re-exports)
pub const info_level: level.Level
pub const notice: level.Level
pub const trace_level: level.Level
pub const warning_level: level.Level