newrelic / nr1-account-maturity

NR1 Account Maturity is a quick view to understand if you're using key features of your New Relic account across multiple accounts and multiple applications.
Apache License 2.0
4 stars 12 forks source link

Nerdlet not reporting Synthetics metrics #11

Open eclearynr opened 4 years ago

eclearynr commented 4 years ago

Description

The Maturity Nerdlet displays no Synthetics metrics despite the account in question having nearly 100% utilization and 39 synthetics checks configured.

Steps to Reproduce

1) Impersonate any Admin under RPM ID 63648 2) Navigate to NR1 3) Load maturity launcher 4) Click Synthetics Tab

Expected Behavior

Expected: Maturity Nerdlet reports Synthetics overall score in Overview and Synthetics tabs.

Your Environment

Additional context

Legacy synthetics interface indicates "Permissions required to view monitors" to New Relic internal users and almost all other Taulia users and admins. Have only been able to get this information to appear when impersonating admin "Duke Le". Running maturity nerdlet under this account results in the same missing data scenario described above.

CharlieWinters commented 4 years ago

Hello Erin, Thanks for filing the bug.

I've come across this before when Synthetics permissions are enabled on the account as you mentioned. From what I've found, at the time of development, is that we don't get anything back from the graphql api for Synthetics Monitor entities if permissions are enabled.

Originally we didn't opt to pursue it, as Synthetics permissions are EOL in June: https://discuss.newrelic.com/t/end-of-life-notice-synthetics-permissions-june-2020/96638

I think this account would be a good test case to see if after this EOL, if the graphql api allows Synthetic entities to be returned for RBAC users. If it doesn't we'll raise a bug with the owning team. Plus we may look at an alternative source of information for these accounts.