A growing number of our customers use New Relic in their DevOps process and workflows. Beyond the standard New Relic UIs, they use our APIs and SDKs to capture data that helps them increase visibility into their applications and customer experience, improve how their applications and infrastructure are deployed and maintained, and integrate New Relic into their full incident response processes. As we’ve expanded our product offerings, we’ve added new extension points to our platform. But there’s so much more we can do to enable our developer community.
“New Relic understands that we’re part of a broader ecosystem,” says Adam Larson, a senior engineer at New Relic. “And we want to provide developers with the means to do more with what we offer.”
At FutureStack18, New Relic is announcing a new journey —a commitment to openness, simplification, and engagement as we help you make New Relic a holistic part of your DevOps toolchain. A major step in this journey is the New Relic developer program, which includes a new developer-focused website designed to show you how to do more with your data, improve your ability to get data in and out of New Relic, and automate your New Relic workflows.
Check out developer.newrelic.com now:
Do more with your data and become a New Relic power user
We collect your data and supply some default visualizations, but we know that occasionally you need access to that same data to create the dashboards and alerts that are most relevant to you.
Learning how to work with the New Relic Query Language (NRQL) is the most effective way to take full advantage of the data New Relic collects for you. With a number of examples, the New Relic developer website shows you how to use NRQL queries for all New Relic products so you can build your own curated dashboards and perform advanced analytics and debugging.
The New Relic developer website also shows you how to use the NRQL to create custom visualizations in New Relic Insights dashboards as you track metrics and events relevant to your specific business needs. Additionally, you can learn and harness the power of NRQL to create custom alerts so you stay ahead of the bugs and issues that may be affecting your applications and infrastructure.
Learn more about writing NRQL queries at developer.newrelic.com/technology/nrql.
Get data in and out of New Relic with New Relic APIs
Use New Relic APIs to extend the core data we collect, to add your own data to the platform, or to pull the data out of our platform entirely so you can handle it as you see fit.
New Relic collects billions of data points, all of which are decorated with standard performance and entity information to help you segment data by applications and infrastructure. But what if you want to look at performance for a particular user email? Maybe you want to segment traffic by a particular IP address or database shard? Our custom attributes API, available on developer.newrelic.com, allows you to add metadata to the core events you collect in our products so you can monitor your systems on your terms.
By default, New Relic agents make application and infrastructure data available for you to query and explore. However, there are numerous cases where you need additional context about your application environment to properly diagnose issues. On-host integrations can be used to gather custom events and metrics to define, visualize, and get alerts on the custom data you care about the most. For example, a developer can create custom events from an edge router’s logs so that the system can be alerted on with New Relic. Additionally, the site exposes our APIs and integrations SDK so you can build out your own agents to get data out of your customized or legacy applications and systems.
In some cases, we know you want to take the data we collect and use it in conjunction with other systems—maybe to combine it with data collected outside of New Relic or to share it with other teams in your organization—which is why we expose APIs that enable you to pull data out of New Relic and push it into other systems.
Check out the APIs available on developer.newrelic.com for examples of how to get the value you expect and need from your data.
Automate your New Relic workflows
Scaling your usage of New Relic throughout your organization requires two major capabilities: 1) you need to be able to programmatically provision instrumentation across all your systems; and 2) you need to be able to integrate New Relic into the existing workflows your teams already use. To this end, the platform exposes APIs and SDKs that enable you to manage your New Relic-related workflows with familiar tools.
For example, use the tools available on the developer platform to:
- Automate your instrumentation. Setting up a New Relic agent on a single host is a pretty painless task. But doing that for 1,000 hosts? Not so painless. New Relic integrates with several automation tools—Chef, Puppet, Ansible, and Terraform—so you can automate the configuration of your agent deployments on your terms.
- Automate the creation and management of New Relic entities, like our cloud integrations. Plenty of companies realize that DevOps teams need open APIs and extensibility, so they’re revising their standards to become “API first”—and New Relic is following suit. You can use more than just our UIs to create New Relic entities. In fact, you can define those entities as code and manage them exclusively through the New Relic platform using our APIs.
- In an effort to make your access and management of data more consistent and unified across the New Relic platform, we’re launching a GraphQL API. This first iteration enables you to use your Amazon Web Services (AWS), Microsoft Azure Cloud Computing, and Google Cloud Platform (GCP) accounts to your New Relic accounts; or use the API to select the cloud services you want to monitor, and define how New Relic should fetch that cloud data. Find detailed documentation in the cloud integration GraphQL examples .
- Automate your response to alert incidents. When something goes wrong and an alert fires, the time it takes you to debug the issue and begin remediation is stressful and painful—and it’s stressful and painful for your impacted customers as well. We provide webhooks so you can automate responses to alerts, chain together remediation services, and begin troubleshooting issues well before they get out of hand.
“Being able to reach into the depths of the New Relic platform to create your own experiences or to completely pull data out of our system with only APIs and SDKs is absolute gold to anyone who is responsible for the development and implementation of today’s complex systems,” says Larson. “This site is just a logical step for us to show that we’re paying attention to developers’ needs.”
The developer program is one of our major investments in the openness, simplification, and engagement we’re promising our users, partners, and community.