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 to check go agent status?

go-agent

#1

Hi,
I couldn’t find any method for an agent to check if it is successfully connected to new relic. We have health endpoint which will check all the dependent services and give the status of each service and we want to include new relic also in that.

I don’t want to create a new transaction and check the status as it would pollute the actual activity by end user. I want some kind of ping new relic server and if the connection is fine then it is healthy.

Please let me know if this is possible with go-agent. Thanks


#2

Hi @vprasana, I don’t think this is possible at the moment. Our agents cache data if they can’t connect to the New Relic collector anyway, and then once a connection is made will send all the data. Did you have a particular use-case in mind for this?