[Go] Ignoring transactions using GoLang agent

Hi there,
how can I instrument my GoLang application code in order to make it ignore healthcheck transactions?

Thanks in advance!

HI there @v.correia - welcome to the community!

You can use the API to ignore specific errors. Just use the Ignore() method. There is documentation on this as well:

https://docs.newrelic.com/docs/agents/go-agent/api-guides/guide-using-go-agent-api#monitor

Let me know if that’s not what you need.

1 Like

Thanks, I will look into it.

1 Like