rochdev / datadog-tracer-js

[DEPRECATED] OpenTracing tracer implementation for Datadog in JavaScript.
MIT License
39 stars 8 forks source link

Usage question #6

Closed aledbf closed 7 years ago

aledbf commented 7 years ago

Hi, I'm trying to use this module but I only get cannot PUT /v0.3/traces (400) errors. Is there a particular agent version or configured required? (besides enabling the apm module) Thanks

rochdev commented 7 years ago

@aledbf What version are you using? 0.1 had a major issue and was generating an invalid payload. Try updating to the latest version and this should no longer happen.

Usually if the agent is not configured properly you would receive a 2xx or 5xx error. A 4xx error definitely comes from the library.

rochdev commented 7 years ago

@aledbf Did updating to the latest version resolve your issue?

aledbf commented 7 years ago

@rochdev I installed from the git repo

rochdev commented 7 years ago

Installing directly from the git repo is not supported. Updating to the latest version using npm or yarn should resolve the issue.

Let me know if it doesn't and I will reopen the issue.