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

chore: Added a script that generates Dashboard json for reporting on libraries by version #2267

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

bizob2828
Copy link
Member

Description

This PR creates the script and framework to add other scripts to generate dashboard in NR 1.

How to Test

node dashboards/generate-library-usage.js
cat dashboards/library-usage.json | jq .

This .json can be imported as a dashboard. You can see it in action here

Related Issues

Closes #2265

…libraries by version, agent version and node.js version
@bizob2828 bizob2828 force-pushed the library-usage-report branch from 81cfb02 to bd92f52 Compare June 11, 2024 21:32
Copy link
Contributor

@jsumners-nr jsumners-nr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bizob2828
Copy link
Member Author

Do you think a new job should be added to https://github.com/newrelic/node-newrelic/blob/6c964b2029874353908486228113a468959b1597/.github/workflows/compatibility-report.yml that runs this?

not yet. Right now the libraries is a static list and we won't be changing much. I want to figure out more automation that would re-generate the json and upload it to a NR1 dashboard but that's a follow up

@bizob2828 bizob2828 added the dev:automation Indicates CI automation label Jun 12, 2024
@CLAassistant
Copy link

CLAassistant commented Jun 12, 2024

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev:automation Indicates CI automation
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Programmatically create a NR dashboard tracking library usage by agent version and node.js version
3 participants