oxidized-web icon indicating copy to clipboard operation
oxidized-web copied to clipboard

Querying `/node/stats?format=json` does not properly serialize the node stats

Open ctrowat opened this issue 3 years ago • 3 comments

When making a GET request to the specified endpoint node stats are not returned correctly. Instead I get a response like this:

{
    "DEVICE1": "#<Oxidized::Node::Stats:0x000055fbadc63230>",
    "DEVICE2": "#<Oxidized::Node::Stats:0x000055fbadc31168>",
    "DEVICE3": "#<Oxidized::Node::Stats:0x000055fbadb44110>",
    "DEVICE4": "#<Oxidized::Node::Stats:0x000055fbadc2a750>",
...
}

ctrowat avatar May 06 '21 16:05 ctrowat

same here

fernandolcx avatar Apr 22 '22 12:04 fernandolcx