paritytech / substrate-telemetry

Polkadot Telemetry service
GNU General Public License v3.0
310 stars 205 forks source link

Create a public api for telemetry data #165

Open mariopino opened 5 years ago

mariopino commented 5 years ago

Hi, I think that would be nice to have a public api to retrieve the telemetry data displayed at https://telemetry.polkadot.io.

woss commented 4 years ago

this version doesn't use the DB, means that no data is stored at all. Not sure will be supported or not but for now, there isn't a way to do it (as far as i know). I'm thinking that saving to the DB would be under GDPR or something similar

maciejhirsz commented 4 years ago

The backend does store current state of all chains and nodes connected in memory, so API is doable, it just wouldn't have access to any history.

chevdor commented 4 years ago

I would expose a Prometheus endpoint fed with the live data. It is then up to the users to use and react only on the live data or archive data into some InfluxDB for instance.

CodeSandwich commented 4 years ago

Adding support for Prometheus would be a perfect completion for the node's monitoring. The data could be then funneled into a single analysis/visualization solution like Grafana.

We're trying to observe the state of the whole network. We have a few nodes tightly monitored with Prometheus, but we're lacking the general view of the whole network. We can analyze with our eyes the current state on telemetry.polkadot.io, but that's not enough, we need automation and historical data. This would solve our problem.