n0nuser/monitor-agent

Modify settings file

Closed this issue · 0 comments

Split config file in sections.

{
    "uvicorn": {
        "host":"0.0.0.0",
        "port":8000,
        "workers":4,
        "reload":true,
        "debug":true,
        "log_level":"trace",
        "ssl_keyfile":null,
        "ssl_keyfile_password":null,
        "ssl_certfile":"None",
        "ssl_version":3,
        "ssl_cert_reqs":null,
        "ssl_ca_certs":null,
        "ssl_ciphers":"TLSv1",
        "limit_concurrency":null,
        "limit_max_requests":null,
        "backlog":2048,
        "timeout_keep_alive":5
    },
    "metrics": {
        "endpoint":true,
        "url":"http://httpbin.org/post",
        "post_interval":60,
        "enable_file":false,
        "metrics_file":"metrics.json"
    },
    "alerts":{
        "url":""
    }
}