Your data. Anywhere you go.

New Relic for iOS or Android


Download on the App Store    Android App on Google play


New Relic Insights App for iOS


Download on the App Store


Learn more

Close icon

How can I add widgets that display New Relic APIs data

api
widget

#1

Hello,

I am looking to gather some data from New relic APIs (I know which APIs to use and how to get that data) and want to display the response of that API in a widget. Can I do that? If so, how can I achieve that?

Thanks,
Arpitha


#2

Hi, @arpitha.kumar: Insights widgets can only display data from NRDB, the event data store that underlies Insights. The only way to display API data in an Insights widget is to push the data into NRDB as custom events.


#3

Thank you very much. I will give that a shot.


#4

Check out our documentation here -> https://docs.newrelic.com/docs/insights/insights-data-sources/custom-data/insert-custom-events-new-relic-apm-agents

It will help you get started, feel free to reach out if you have any specific questions about importing custom metrics

:smiley: