This application is maintained by the New Relic Labs team. Connect with us directly by creating issues or starting a discussion in this repo.
This application offers comprehensive analysis of your environment through various integrations, such as Cloud Integrations, Infrastructure Agents, Kubernetes, and more. It provides detailed cost and performance metrics for each service, allowing you to gauge potential impacts on your environment and benefit from cost optimization suggestions.
-
Historical Tracking: Enables comparison and analysis of data before and after major events, such as Black Friday.
-
Time Range Support: Allows isolation of costs during specific time periods.
-
Tag Filtering: Supports isolating costs by specific tags for more precise analysis.
-
Tuneable Suggestions System (Beta): Provides high-level insights and recommendations, aiding teams in decision-making.
The following table outlines the services supported by the application across different cloud platforms:
Cloud Provider | Supported Services |
---|---|
AWS | EC2, RDS, API Gateway, ALB, ELB, SQS, Elasticsearch, ElastiCache, Lambda |
Azure | VMs |
GCP | VMs |
Other | Kubernetes (K8s) |
We are open to all suggestions that will help to improve the analysis, suggestions, services and any other capability you can think off. Please raise an issue with as much detail as possible.
This project is distributed under the Apache 2 license.
Requires New Relic Infrastructure
.
You'll get the best possible data out of this application if you also:
- Activate the EC2 integration to group by your AWS cloud provider account.
- Activate the Azure VMs integration to group by your Azure cloud provider account.
- Activate the Google Compute integration to group by your GCP cloud provider account.
- Install APM on your applications to group by application.
- Install the Kubernetes integration for node and container optimizations
First, ensure that you have Git and NPM installed. If you're unsure whether you have one or both of them installed, run the following command(s) (If you have them installed these commands will return a version number, if not, the commands won't be recognized):
git --version
npm -v
Next, install the NR1 CLI by going to this link and following the instructions (5 minutes or less) to install and setup your New Relic development environment.
Next, to clone this repository and run the code locally against your New Relic data, execute the following commands:
nr1 nerdpack:clone -r https://github.com/newrelic/nr1-cloud-optimize.git
cd nr1-cloud-optimize
nr1 nerdpack:serve
Visit https://one.newrelic.com/?nerdpacks=local, navigate to the Nerdpack, and ✨
This pack of visualizations is available via the New Relic Catalog.
To enable it in your account, go to Add Data > Apps and Visualzations
and search for "Labs Widget Pack". Click the icon and subscribe this to your accounts.
Once subscribed you can browse to Apps -> Custom Visualizations
to add any of the widgets to a dashboard.
If you need to customize the widgets in this pack, you can fork the code base and follow the instructions on how to Customize a Nerdpack. If you have a change you feel everyone can benefit from, please submit a PR!
Visit https://one.newrelic.com, navigate to the Nerdpack, and ✨
New Relic hosts and moderates an online forum where you can interact with New Relic employees as well as other customers to get help and share best practices. Like all New Relic open source community projects, there's a related topic in the New Relic Explorers Hub. You can find this project's topic/threads here:
https://discuss.newrelic.com/t/cloud-optimizer-nerdpack/82936
Please do not report issues with Optimizer to New Relic Global Technical Support. Instead, visit the Explorers Hub
for troubleshooting and best-practices.
Issues and enhancement requests can be submitted in the Issues tab of this repository. Please search for and review the existing open issues before submitting a new issue.
As noted in our security policy, New Relic is committed to the privacy and security of our customers and their data. We believe that providing coordinated disclosure by security researchers and engaging with the security community are important means to achieve our security goals. If you believe you have found a security vulnerability in this project or any of New Relic's products or websites, we welcome and greatly appreciate you reporting it to New Relic through HackerOne.
Contributions are welcome (and if you submit a Enhancement Request, expect to be invited to contribute it yourself 😁). Please review our Contributors Guide.
Keep in mind that when you submit your pull request, you'll need to sign the CLA via the click-through using CLA-Assistant. If you'd like to execute our corporate CLA, or if you have any questions, please drop us an email at opensource@newrelic.com.