Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dashboards for Forest website #231

Open
3 of 13 tasks
LesnyRumcajs opened this issue Aug 28, 2023 · 3 comments
Open
3 of 13 tasks

Dashboards for Forest website #231

LesnyRumcajs opened this issue Aug 28, 2023 · 3 comments

Comments

@LesnyRumcajs
Copy link
Member

LesnyRumcajs commented Aug 28, 2023

Issue summary

A little bit of background - we plan to ship a Forest website later this year (see Forest Roadmap 2023). There, we plan to embed some dashboards that will show the status of our long-running nodes.

The dashboards on the website should be in the form of a summary for slightly-but-not-overly-technical people. That is to say; they should expect a small level of technical competence (e.g., understanding the difference between CPU and memory usage) and Filecoin arcana knowledge (epochs, peers), but not details (like the number of ChainExchange p2p messages).

At the moment, we have some basic New Relic dashboards migrated from Grafana. They are a good start, but we need more structure.

Beforehand, we must consider whether we can easily embed the dashboards in New Relic or Grafana on the website. If NR is not possible (to my understanding, it should be fine - given a web application, we could use NR API to request a PDF of the dashboard and embed it in the website), we can consider opening a Grafana endpoint (which would require additional work). Alternatively, the web application could manually generate the dashboards using raw NR API data, which would put more effort on the team responsible for the website.

Tasks

Acceptance criteria

Other information and links

Feel free to split this issue into subtasks. Some can be worked on in parallel.

@samuelarogbonlo
Copy link
Contributor

samuelarogbonlo commented Aug 30, 2023

Based on findings highlighted here in the New Relic community forum, directly publicizing an entire New Relic dashboard isn't possible. Given this, I've explored alternative strategies:

  • One solution involves generating embeddable links for specific charts. By incorporating these links into a public web page, users can view individual charts on our site, eliminating the need to visit New Relic directly.

  • Additionally, New Relic's NerdGraph, a GraphQL API, provides a nuanced method for data queries. we can use NR API to request a PDF of the dashboard and embed it in the website but the down side is that this is going be static dashboard.

@samuelarogbonlo
Copy link
Contributor

samuelarogbonlo commented Sep 6, 2023

Based on findings highlighted here in the New Relic community forum, directly publicizing an entire New Relic dashboard isn't possible. Given this, I've explored alternative strategies:

  • One solution involves generating embeddable links for specific charts. By incorporating these links into a public web page, users can view individual charts on our site, eliminating the need to visit New Relic directly and this would required some manual intervention
  • Additionally, New Relic's NerdGraph, a GraphQL API, provides a nuanced method for data queries. we can use NR API to request a PDF of the dashboard and embed it in the website but the down side is that this is going be static dashboard.

After considering everything, I don't believe we should adopt any of the proposed solutions. First, I'm doubtful about our ability to view these dashboards in real-time, especially when compared to the direct view on New Relic. Second, while we could use the New Relic API to fetch a PDF version of the dashboard for the forest website, this approach would make the dashboards feel more static.

With all that being said, i think a better approach is to consider using Grafana Cloud or Local Grafana( if Grafana Cloud free tier is not enough for our use case) and then configure new relic as a data source and opening the Grafana endpoint (which would require additional work).

@samuelarogbonlo
Copy link
Contributor

Based on findings highlighted here in the New Relic community forum, directly publicizing an entire New Relic dashboard isn't possible. Given this, I've explored alternative strategies:

  • One solution involves generating embeddable links for specific charts. By incorporating these links into a public web page, users can view individual charts on our site, eliminating the need to visit New Relic directly and this would required some manual intervention
  • Additionally, New Relic's NerdGraph, a GraphQL API, provides a nuanced method for data queries. we can use NR API to request a PDF of the dashboard and embed it in the website but the down side is that this is going be static dashboard.

After considering everything, I don't believe we should adopt any of the proposed solutions. First, I'm doubtful about our ability to view these dashboards in real-time, especially when compared to the direct view on New Relic. Second, while we could use the New Relic API to fetch a PDF version of the dashboard for the forest website, this approach would make the dashboards feel more static.

With all that being said, i think a better approach is to consider using Grafana Cloud or Local Grafana( if Grafana Cloud free tier is not enough for our use case) and then configure new relic as a data source and opening the Grafana endpoint (which would require additional work).

So, one thing to keep in mind is that using New Relic as a data source has its drawbacks. It doesn’t give us all the system-level metrics like CPU usage and storage. That means we’ll probably need to come up with our own way of getting these metrics for our Grafana dashboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants