Skip to content

dhevdotdev/error-handling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenTelemetry Collector with OTLP Export to New Relic

Reference Guide: newrelic-opentelemetry-examples

How does collector work?

Reference Guide: OpenTelemetry Data Collector

How to set up?

  1. NEW_RELIC_API_KEY=your-key docker-compose -f nr-config/docker-compose.yaml up
  2. make sure to export OTEL_EXPORTER_OTLP_ENDPOINT=localhost:4317 and set ENV accordingly
  3. start the go application
  4. make requests to test logging and errors: curl "http://localhost:8080/order"

Screenshots

Collector Component

alt text

NewRelic Logs

alt text

NewRelic Errors Inbox

alt text alt text

Captured Telemetry on Collector

alt text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages