Single Instance
When BindPlane OP server's default architecture is monolithic. In this mode, BindPlane is not reliant upon external services. All components are included in the installation.
BindPlane manages several sub-processes:
- Prometheus: For recording agent throughput metrics
- Transform Agent: For Live Preview
The Prometheus and Transform Agent software are included with the BindPlane server installation and do not require configuration by the user.
Installing BindPlane on Linux is as simple as running the installation script and following the initialization prompts.
Read more by checking out the Quick Start Guide.
Event Bus
Local
The Local event bus is the default event bus used by BindPlane. Unless operating BindPlane in high availability mode, the Local event bus is sufficient.
The configuration will look like this by default:
Store
Bolt Store
Bolt Store (bbolt) is the recommended storage backend when operating BindPlane in single instance mode. It stores information in a file on the local filesystem. Because the database is local to the server, it is very fast and does not incur latency that can be observed with other network-based systems.
The configuration is very simple. Default installations of BindPlane will look like this:
The file bindplane.db
is owned by the bindplane
user and group, with 0640
permissions.
Prometheus
All BindPlane OP installations include a bundled version of Prometheus. BindPlane will use the bundled Prometheus as its default measurement metrics storage backend.
It is unnecessary to configure Prometheus when using the bundled option. This documentation can be used as a reference for the default Prometheus installation.
Configuration
The configuration file at /etc/bindplane/config.yaml
will contain the following prometheus
block after the installation is configured.
Directory Structure
Once BindPlane OP is started, the /var/lib/bindplane/prometheus
directory structure will look like this:
Prometheus's configuration and storage are located at /var/lib/bindplane/prometheus
.
Process
BindPlane OP manages the Prometheus process directly as a subprocess. When viewing the process list
with ps
, you will notice the following:
The Prometheus process is executed with the following flags:
--config.file prometheus.yml
: The main Prometheus configuration file, managed by BindPlane.--web.config.file web.yml
: The Prometheus web configuration file, managed by BindPlane.--storage.tsdb.retention.time 2d
: The retention time, managed by BindPlane. BindPlane uses rollup metrics for tracking agent measurements over time and does not require Prometheus to store data for longer than two days.--web.listen-address localhost:9090
: Listen address, managed by BindPlane. Prometheus is not reachable outside of the BindPlane system.--web.enable-remote-write-receiver
: BindPlane uses remote write to push metrics to Prometheus.