Amazon EC2 Metrics to KloudMate Using OpenTelemetry Collector
This document provides a guide on how to send Amazon EC2 metrics to KloudMate using Fluentbit.
In the described setup, the Node Exporter is responsible for exposing a diverse range of metrics related to hardware and the kernel. Its role involves exporting these metrics, which can then be collected and sent to the KloudMate backend through the OpenTelemetry collector.
Step 1: Prerequisites:
- Ensure that port 9100 is open and accessible for the successful export of metrics.
- Verify if there are any additional layers of security, such as an application layer firewall, in place.
Step 2: Configure Node Exporter for Linux Distributions
- Use the following command to download and extract the Node Exporter.
Recommendation: Use the latest node exporter.
- Add user as node-exporter and create a service to run.
- Enable and start the exporter to send node metrics to the backend.
- Verify whether the metrics are being successfully exported.
Step 1: Prerequisites:
- Ensure that port 9182 is open and accessible for the successful export of metrics.
Step 2: Download the latest release of Windows Exporter from GitHub
- Install the downloaded file on your Windows server by double-clicking on it and following the installation prompts.
- Once the installation is complete, the Windows node exporter will be automatically added and started as a service.
- To test the Windows node exporter, open a web browser and enter <public IP>:9182in the address bar. Replace <public IP>with the actual public IP address of your Windows server. This will browse the exposed metrics on port 9182.
Please note that the instructions assume that the installation process is straightforward and does not require any additional configuration steps.
After the metrics are successfully exported, the OpenTelemetry collector is responsible for gathering the metrics and transmitting them to KloudMate for further analysis and processing.
Step 3: Configure the OpenTelemetry to send metrics to KloudMate:
- Add the node exporter path as target under Prometheus receiver
- Configure the exporter of OpenTelemetry collector to connect to KloudMate.