Zum Inhalt springen

Monitoring and Logging

Zuletzt aktualisiert am

Configure your VM to send metrics to our STACKIT Observability and use Grafana for visualization.

  1. Create an Observability instance.

  2. Install and configure a monitoring agent (e.g. Telegraf) to a VM and push the metrics. Here is an example for a basic configration of Telegraf Agent in /etc/telegraf/telegraf.d/:

    [[outputs.http]]
    ## URL is the address to send metrics to
    url = "[Observability Instance Receive URL]"
    username = "[Observability Instance Username]"
    password = "[Observability Instance Password]"
    ## Data format to output.
    data_format = "prometheusremotewrite"
    [outputs.http.headers]
    Content-Type = "application/x-protobuf"
    Content-Encoding = "snappy"
    X-Prometheus-Remote-Write-Version = "0.1.0"
  3. Access your Grafana instance to set your Dashboards.

  4. Creating Alerts is also available with your Observability instance.

  1. Configure your VM to send Logs to a centralized store.

  2. Create a STACKIT Logs instance and install a collector (e.g. Grafana Alloy) to your VM.

Basic client configuration can be found here.