yuzujoe / newrelic-zap-logs-in-context

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

newrelic-zap-logs-in-context

This repository is for using Logs in Context with New Relic using zap.

Steps

  1. Expose NEW_RELIC_LICENSE_KEY
export NEW_RELIC_LICENSE_KEY=<your license key>
  1. Run docker compose
docker compose up --build
  1. HTTP Reqeust
 curl localhost:8000/example/<parameter>
  1. Check your New Relic UI

APM → Logs

Screen Shot 2022-11-20 at 18 21 03

About


Languages

Language:Go 92.4%Language:Dockerfile 7.6%