Open AbhiPrasad opened 6 days ago
See https://opentelemetry.io/docs/specs/semconv/attributes-registry/file/
https://github.com/getsentry/sentry-javascript/blob/bdbdcc87b8816d439740395dcc551e5289e4431d/packages/node/src/integrations/fs.ts#L52 sets non namespaced attributes that don't follow conventions. We should see if we can set those as appropriate, and or contribute upstream to improve the conventions.
It looks like we need to use https://opentelemetry.io/docs/specs/semconv/attributes-registry/error/
fs_error -> error.type
fs_error
error.type
Description
See https://opentelemetry.io/docs/specs/semconv/attributes-registry/file/
https://github.com/getsentry/sentry-javascript/blob/bdbdcc87b8816d439740395dcc551e5289e4431d/packages/node/src/integrations/fs.ts#L52 sets non namespaced attributes that don't follow conventions. We should see if we can set those as appropriate, and or contribute upstream to improve the conventions.