Skip to main content

Reporting overview

This document will help you learn about NBomber reports (HTML, MarkDown, CSV, TXT) and real-time metrics which can be persisted and visualized. NBomber provides a concept of ReportingSink that you should use to start sending metrics into your metrics data store. Usually, metrics persisted in time series database (InfluxDB, TimeScale, Prometheus) and visualized by Grafana.

Here is Grafana dashboard that you can import.

Here is a list of existing reporting sinks that you can use in your projects.

Reporting sink development

NBomber provides an interface that you should implement to develop your custom ReportingSink.

type IReportingSink =
inherit IDisposable
abstract SinkName: string
abstract Init: context:IBaseContext * infraConfig:IConfiguration -> Task
abstract Start: unit -> Task
abstract SaveRealtimeStats: stats:ScenarioStats[] -> Task
abstract SaveFinalStats: stats:NodeStats[] -> Task
abstract Stop: unit -> Task