tangle-network / relayer

🕸️ The Webb Relayer Network
https://webb-tools.github.io/relayer/
Apache License 2.0
22 stars 13 forks source link

Prometheus/Grafana setup #413

Closed Nutomic closed 1 year ago

Nutomic commented 1 year ago

Summary of changes

Reference issue to close (if applicable)


Code Checklist

drewstone commented 1 year ago

What's the status of this?

Nutomic commented 1 year ago

Im currently working on the substrate fees, will get back to this afterwards or when Im blocked. Right now its not working due to the invalid token error I posted above.

Nutomic commented 1 year ago

Just got back to this. The metrics API endpoint was wrong, it shouldnt wrap the data in json but serve it directly as plain string. This means the basic setup is finished and you can view stats, but I havent started building a proper dashboard yet.

I think the best way to continue with this is to merge and deploy it (specifically the change to metrics endpoint). Then I can connect to a live relayer for testing and building a dashboard. That should be more effective than relying on local test data.