sentry-python icon indicating copy to clipboard operation
sentry-python copied to clipboard

Type inconsistencies between OpenTelementry and Sentry

Open antonpirker opened this issue 1 year ago • 0 comments

A collection of differences in types between Sentry and OpenTelementry.

  • span.set_data()/otel_span.set_attribute()

    • Sentry span.set_data(key, value): value allows Any type, so everything including dicts.
    • Opentelementry otel_span.set_attribute(key, value) (which Sentry set_data uses under the hood): value allows a non-null string, boolean, floating point value, integer, or an array of these values. (NO dicts!)

antonpirker avatar Oct 08 '24 12:10 antonpirker