You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide a link to the affected event from your Sentry account
Package + Version
@sentry/browser
@sentry/node 5.6.2
@sentry/opentracing 5.1.2
@sentry/integrations 5.6.1
raven-js
raven-node(raven for node)
other:
Version:
0.0.0
Description
Subclass of Tracer in @sentry/opentracing introduce some fields which leads to incompatibility:
import*asOpenTracingfrom'@sentry/opentracing'import{Tracer}from'opentracing'consttracer: Tracer=newTracer()// no opconstot=newOpenTracing.Integration(undefined,tracer)// <-- compile error
{
"resource": "/home/vagrant/workspace/poc-backend/packages/common.errors/src/index.ts",
"owner": "typescript",
"code": "2345",
"severity": 8,
"message": "Argument of type 'import(\"/home/vagrant/workspace/poc-backend/node_modules/opentracing/lib/tracer\").Tracer' is not assignable to parameter of type 'import(\"/home/vagrant/workspace/poc-backend/node_modules/@sentry/opentracing/dist/tracer\").Tracer'.\n Type 'Tracer' is missing the following properties from type 'Tracer': _spans, setTraceId, flush",
"source": "ts",
"startLineNumber": 17,
"startColumn": 51,
"endLineNumber": 17,
"endColumn": 57
}
I didn't find a way to use integrations with OpenTracing either.
How to integrate it with OpenTracing clients like zipkin-javascript-opentracing? Just add traceId to extra?
I've seen that there is more work in #2161. That's the goal of sentry project here? TBH, I would like to see Errors, Traces and Logs in one place and not distributed in Sentry, Jaeger, ELK/EFK and others.
The text was updated successfully, but these errors were encountered:
The @sentry/opentracing package was an experiment that we discontinued but we will release5.10.0 this week having @sentry/apm package which will be the way forward.
We are contributing to OpenTelemetry and while our integration isn't fully compatible yet, with the first version we wanted to have a good experience out of the box.
We gladly accept any feedback but please stay tuned for the official announcement, if you want to try it now, see the forum post how to install it.
Review the documentation: https://docs.sentry.io/
https://www.npmjs.com/package/@sentry/opentracing
https://docs.sentry.io/enriching-error-data/tracing/
Search for existing issues: https://github.com/getsentry/sentry-javascript/issues
feat: APM updates #2161
feat: Tracing + Reduced Bundle Size + build updates #2038
Open Tracing Implementation #1918
[-] Use the latest release: https://github.com/getsentry/sentry-javascript/releases
No, but latest NPM versions.
Provide a link to the affected event from your Sentry account
Package + Version
@sentry/browser
@sentry/node
5.6.2@sentry/opentracing
5.1.2@sentry/integrations
5.6.1raven-js
raven-node
(raven for node)Version:
Description
Subclass of
Tracer
in@sentry/opentracing
introduce some fields which leads to incompatibility:I didn't find a way to use integrations with OpenTracing either.
How to integrate it with OpenTracing clients like zipkin-javascript-opentracing? Just add
traceId
toextra
?I've seen that there is more work in #2161. That's the goal of sentry project here? TBH, I would like to see Errors, Traces and Logs in one place and not distributed in Sentry, Jaeger, ELK/EFK and others.
The text was updated successfully, but these errors were encountered: