From 29dc72257075103427e36bd8616ef7f33f6d8c52 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Wed, 1 Apr 2026 19:04:50 +0200 Subject: oexport: Add a file exporter option Write metrics as InfluxDB line protocol to a local file, enabling offline collection without a running InfluxDB instance. Repeatable --tag flag injects extra key=value tags into every point, useful for stamping metrics with for instance a test run and test name identifier Signed-off-by: Dimitri Staessens --- config.ini.example | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'config.ini.example') diff --git a/config.ini.example b/config.ini.example index f2656f7..056adce 100644 --- a/config.ini.example +++ b/config.ini.example @@ -3,4 +3,16 @@ url=http://localhost:8086 org= token= timeout=6000 -verify_ssl=False \ No newline at end of file +verify_ssl=False + +[exporter] +; Collection interval in milliseconds (default: 1000) +;interval = 1000 +; InfluxDB bucket name (default: ouroboros-metrics) +;bucket = ouroboros-metrics + +[output] +; Uncomment to write line protocol to file instead of InfluxDB +;file = /path/to/metrics.lp +; Extra tags added to every point (comma-separated key=value pairs) +;tags = test=mytest,run=12345 -- cgit v1.2.3