Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.
Nicola Strappazzon C edited this page Nov 1, 2023 · 1 revision

Configure

Basic configuration for MySQL.

---
general:
  hostname: sos
  interval: 10 # Seconds
  aws_region: ${AWS_REGION}
  aws_access_key_id: ${AWS_ACCESS_KEY_ID}
  aws_secret_access_key: ${AWS_SECRET_ACCESS_KEY}

inputs:
  mysql:
    - hostname: sos
      dsn: root:pass@tcp(127.0.0.1:3306)/?timeout=3s
      enable: true
      aurora: false
      innodb: false
      replica: false
      status: true
      variables: true
      overflow:
        enable: false
        interval: 900 # Seconds
      tables:
        enable: false
        interval: 900 # Seconds

outputs:
  influxdb:
    enable: true
    url: http://127.0.0.1:8086
    username: zenit
    password: zenit
    database: zenit
Clone this wiki locally