newrelic / nr1-deployment-analyzer

NR1 Deployment Analyzer allows you to view application deployments across your environments from your APM deployment markers.
https://discuss.newrelic.com/t/deployment-analyzer-nerdpack/85686
Apache License 2.0
6 stars 13 forks source link

App and deployments are accessible, but charts are blank #2

Closed bpschmitt closed 5 years ago

bpschmitt commented 5 years ago

1

I'm able to serve and access the app with no issues, however, I'm not seeing any performance data related to deployments.

I would expect to see data similar to this:

image

Instead, I see this:

image

2

The app doesn't seem to honor the user's timezone preferences. I switched from Eastern to Central time in my profile and the times remained the same on the deployment markers.

3

Timepicker is not functional. Bug or feature request?

matthewbalvanz-wf commented 5 years ago

I noticed the same blank charts as well and did a little digging into the nerdlet code. At least for our data, a Transaction has an appId attribute, but the query being created is using applicationId in the query: https://github.com/newrelic/nr1-deployment-analyzer/blob/master/nerdlets/deployment-analyzer-nerdlet/components/deployments-container.js#L64

After changing that to appId I was able to see the charts populate when I ran this app.

sarabartell commented 5 years ago

I made the changes in this pull request: https://github.com/newrelic/nr1-deployment-analyzer/pull/3

Kav91 commented 5 years ago

@bpschmitt @matthewbalvanz-wf fixed thanks to @sarabartell 's PR #3 It was due to NR staging account using a different application id attribute, so there is a appId attribute on some APM events and applicationId on others not sure why but I've added a fallback OR condition in the where clause just in case and bumped the version in the latest commit too.