github.com/0xPolygon/supernets2-node@v0.0.0-20230711153321-2fe574524eaa/test/config/telegraf.conf (about)

     1  [[inputs.docker]]
     2    endpoint = "unix:///var/run/docker.sock"
     3    gather_services = false
     4    container_names = []
     5    source_tag = false
     6    perdevice = true
     7    total = true
     8    tag_env = []
     9  
    10  [[inputs.prometheus]]
    11    ## An array of urls to scrape metrics from.
    12    urls = ["http://supernets2-json-rpc:9091/metrics"]
    13  
    14  [[outputs.postgresql]]
    15    connection = "postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@$POSTGRES_HOST/$POSTGRES_DB"