Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 835 Bytes

README_CLM.md

File metadata and controls

13 lines (10 loc) · 835 Bytes

Next.js Example app to test CodeStream code level metrics

This document describes how to setup and run the Next.js to test CodeStream code level metrics.

Setup

  1. cp sample.env .env
  2. Fill out NEW_RELIC_LICENSE_KEY with your ingest license key.
  3. docker-compose up -d --build
  4. Visit New Relic One > APM & services > select nextjs-code-level-metrics-demo > Distributed Tracing.
  5. Click the WebTransaction/WebFrameworkUri/Nextjs/GET//blog trace group and open a Trace.
  6. Click Expand All.
  7. Click the Nodejs/Middleware/Nextjs//middleware, Nodejs/Nextjs/getServerSideProps//blog, or Nextjs/GET//api/blog spans and select attributes.(You should see the relevant code.function and code.filepath attributes)