...
Let's say you have a node called foo. You could view all metrics in tabular form by visiting http:/foo:35862. To view the data in json format, you can visit http://foo:35862/node/reports.
You would get something similar to this (note, all json snippets have been formatted for human readability):
...
The generic pattern is http://<node>:35862/node/reports/<logical node>, but for this specific example the url is http://localhost:35862/node/reports/grimlock.
Code Block |
---|
{ "hostname" : "grimlock", "name" : "grimlock", "nodename" : "grimlock", "physicalnode" : "grimlock", "reconfigures" : 1, "sink.NullSink.name" : "NullSink", "sinkConfig" : "null", "source.NullSource.name" : "NullSource", "source.NullSource.number of bytes" : 0, "source.NullSource.number of events" : 0, "source.NullSource.type" : "NullSource", "sourceConfig" : "null", "state" : "IDLE", "version" : "Wed Dec 31 16:00:00 PST 1969" } |
...