newrelic / nr-labs-pathpoint

Mapping business flow to telemetry signals
Apache License 2.0
0 stars 1 forks source link

"Error Loading Flows" shows up when loading Pathpoint (sometime) #366

Closed JimHagan closed 1 month ago

JimHagan commented 1 month ago

When loading the Pathpoint app I often see a red colored "Error Loading Flows" message. I understand this could be related to a slow network connect. I have never seen a situation where Pathpoint is not actually able to load the flows, but this is a confusing situation and I think will create lack of confidence in the tool.

My recommendation is to suppress that particular message since it seems like we are always able to load the flows in the end. If for some reason loading flows actually failed I think it would be a rare and more fundamental issue.

JimHagan commented 1 month ago

@amit-y @aso1124 There may be scenarios where we don't want to surpress this message. I believe what it is telling us is there are some accounts associated with this instance of Pathpoint that we don't have access to.

  1. Log into Demotron
  2. Click on this link for the Demogorgon account (in the same browser instance): https://onenr.io/07j9BKpdeQO
  3. You will get the "Unable to load flows (access denied)" error and in fact it is the right error to get

Suggestion, can we add some more nuance to the message like what account are we trying to get the flows from and failing?

Can we show the message in a status bar at the bottom preceded by "loading flows for account: x"?

Give it some thought.