Sign inSign up

johnku001/newrelic-notice-error-agent

By johnku001

•Updated over 3 years ago

This is a newrelic agent for sending error message

Image
0

4.0K

johnku001/newrelic-notice-error-agent repository overview

⁠New Relic Notice Error Agent

This is a docker image used to notice errors to new relic in the argo workflow

⁠Getting Started

First, build the docker image.

docker build -t error-agent .

Then, run the image with required env variables and arguments.
docker run --rm -it \
-e NEWRELIC_APP_NAME="<newrelic_apps_name>" \
-e NEWRELIC_LICENSE_KEY="<newrelic_license_key>" \
-e FUNCTION_NAME="<function_name>" \
error-agent "<error_message>"

newrelic_apps_name is the the application name used in new relic. You can use it to search the error message of your application.

newrelic_license_key is the license key of your new relic account.

function_name is the function name of your application function.

error_message is the error message you would like to send to new relic.

⁠Github Repo

Direct to Github Repo⁠

Tag summary

Content type

Image

Digest

sha256:a278661b5…

Size

83.6 MB

Last updated

over 3 years ago

docker pull johnku001/newrelic-notice-error-agent