Skip to content

Latest commit

 

History

History
537 lines (367 loc) · 20.7 KB

stats-service.rst

File metadata and controls

537 lines (367 loc) · 20.7 KB

Statistics Service

The statistic service (or stats service) is implemented in buildbot.statistics.stats_service. Please see :bbstats-service for more information.

Here is a diagram demonstrating the working of the stats service:

image

Stats Service

Storage backends

Storage backends are responsible for storing any statistics/data sent to them. A storage backend will generally be some sort of a database-server running on a machine. .. note:: This machine may be different from the one running BuildMaster

Data is captured according to the master config file and then, is sent to each of the storage backends provided by the master configuration (see :bbstats-service).

Each storage backend has a Python client defined as part of buildbot.statistics.storage_backends to aid in posting data by StatsService.

Currently, only InfluxDB is supported as a storage backend.

Capture Classes

Capture classes are used for declaring which data needs to captured and sent to storage backends for storage.