OpenTelemetry Support
...
Service Integration Guides
MongoDB Telemetry Data to Klou...
MongoDB Telemetry Data to KloudMate Using Fluentbit
7min
This document provides a guide on how to send MongoDB telemetry data to KloudMate using Fluentbit.
In the described setup, the latest MongoDB instance is running on an EC2 server. An exporter is required to export metrics to a monitoring backend. In this process, the metrics will be exported by the MongoDB exporter and Fluentbit will be responsible for sending the metrics data to KloudMate backend.
Step 1: Prerequisites:
Step 2: Install and configure MongoDB exporter:
- Add user and group for exporter
- Download and extract MongoDB Exporter
- Enable MongoDB authentication
- Create a system file for the MongoDB exporter and run it as a service.
[Unit]
Description=MongoDB Exporter
[Service]
User=<mongodbuser>
Type=simple
Restart=always
ExecStart=/usr/local/bin/mongodb_exporter --mongodb.uri=mongodb://USER:[email protected]:27017 --collect-all --compatible-mode
[Install]
WantedBy=multi-user.target
Step 3: Test the available metrics.
Step 4: Configure fluentbit to send telemetry data to KloudMate.
After restarting the fluentbit service, the logs and metrics of MongoDB will be successfully delivered to KloudMate.