racoon63 / bandwidth-monitor

Bandwidth-Monitor is a tool to measure your bandwidth and latency.
Apache License 2.0
5 stars 0 forks source link

Add Server ID in JSON Output #10

Closed aweberlopes closed 4 years ago

aweberlopes commented 4 years ago

Hello Patrick,

it would be nice if you can add to json output a serverID or serverName flag.

That can help to sort it Grafana if you set auto as server.

Thanks Alex Weber Lopes

{
    "bwm": {
        "1": {
            "download": 24.99,
            "ping": 38.49,
            "timestamp": "2020-03-07-16-22-13",
            "upload": 13.02,
            "serverID": 1234,
            "serverName: "Frankfurt"
        }
    }
}
racoon63 commented 4 years ago

Hello Alex,

thank you for your request. The measurement contains now much more information including the server ID.

Regards Patrick