You can send metrics from anywhere as long as you can reach the Prometheus endpoint.
You can find some examples to configure available metric sources with Prometheus.
This repository provides a basic example of how to configure FluentBit to send metrics to the IONOS Monitoring Service.
Provision a monitoring pipeline using REST API https://monitoring.de-txl.ionos.com/pipelines
.
Grab the key from the above response or provision a new key using REST API https://monitoring.de-txl.ionos.com/pipelines/<PIPELINE_ID>/key
.
Install FluentBit
package, appropriate for your distribution.
Update the HTTP endpoint and the APIKEY in the fluentbit.conf file.
Configure FluentBit to your desired state.
Run FluentBit and Profit.
This example shows how to configure Grafana Agent to send metrics to the monitoring pipeline.
Provision a monitoring pipeline using REST API https://monitoring.de-txl.ionos.com/pipelines
.
Grab the key from the above response or provision a new key using REST API https://monitoring.de-txl.ionos.com/pipelines/<PIPELINE_ID>/key
.
Install Grafana Agent
package, appropriate for your distribution. (https://grafana.com/docs/agent/latest/about/)
Update the HTTP endpoint and the APIKEY in the config file.
Prometheus is a monitoring and alerting toolkit that is designed for reliability and scalability. It is a pull-based system that scrapes metrics from instrumented jobs, either directly or via an intermediary push gateway for short-lived jobs. It stores all scraped samples locally and runs rules over this data to either aggregate and record new time series from existing data or generate alerts.
Provision a monitoring pipeline using REST API https://monitoring.de-txl.ionos.com/pipelines
.
Grab the key from the above response or provision a new key using REST API https://monitoring.de-txl.ionos.com/pipelines/<PIPELINE_ID>/key
.
Install Prometheus
package, appropriate for your distribution.
Update the HTTP endpoint and the APIKEY in the prometheus config file.
OpenTelemetry is a set of APIs, libraries, agents, and instrumentation to provide observability for cloud-native software. It is a CNCF project.
Provision a monitoring pipeline using REST API https://monitoring.de-txl.ionos.com/pipelines
.
Grab the key from the above response or provision a new key using REST API https://monitoring.de-txl.ionos.com/pipelines/<PIPELINE_ID>/key
.
Update the HTTP endpoint and the APIKEY in the config file.