OpenTelemetry Support
...
Service Integration Guides
Server Metrics to KloudMate

Server Metrics to KloudMate Using Prometheus Node Exporter

11min
this document provides a guide on how to send metrics from amazon ec2 instances/ azure vms / on premise servers to kloudmate using prometheus node exporter and opentelemetry collector 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 node exporter configuration for linux distributions 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 wget https //github com/prometheus/node exporter/releases/download/v /node exporter amd64 tar gz tar xvfz node exporter amd64 tar gz cd node exporter amd64 add user as node exporter and create a service to run sudo mv node exporter /usr/local/bin/ sudo useradd rs /bin/false node exporter sudo nano /etc/systemd/system/node exporter service \[unit] description=node exporter service after=network target \[service] user=node exporter group=node exporter type=simple execstart=/usr/local/bin/node exporter \[install] wantedby=multi user target enable and start the exporter to send node metrics to the backend sudo systemctl daemon reload sudo systemctl enable node exporter sudo systemctl start node exporter&#x9; sudo systemctl status node exporter verify whether that the metrics are being successfully exported curl localhost 9100 node exporter for windows server 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 https //github com/prometheus community/windows exporter/releases/download/v /windows exporter msi 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> 9182 in 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 opentelemetry configuration to send metrics to kloudmate step 1 add the node exporter path as target under prometheus receiver receivers prometheus config scrape configs \ job name 'node exporter' scrape interval 30s static configs \ targets \['localhost 9100'] processors batch send batch size 5000 timeout 10s step 2 configure the exporter of the opentelemetry collector to connect to kloudmate exporters otlphttp endpoint 'https //otel kloudmate com 4318' headers authorization xxxxxxxxxxxxxxxxxx pipelines metrics receivers \[prometheus] processors \[batch] exporters \[otlphttp] step 3 execute the provided command to restart and verify the status of the opentelemetry (otel) collector subsequently, monitor metrics on the kloudmate dashboard additionally, configure an alarm in kloudmate to receive notifications when cpu utilization for a specific application rises sudo systemctl restart otelcol contrib sudo systemctl status otelcol contrib