-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
As reported in opencensus-beam/opencensus_absinthe#10:
DD: Unable to send spans, DD reported an error: 400: 'json: cannot unmarshal number into Go struct field Span.meta of type string\n'
If DataDog can't cope with numbers, I think we'd better fix that in our DataDog adapters, because it doesn't make sense to change the rest of the OpenCensus ecosystem to cast attributes to strings just in case the spans might get sent to DataDog.
Nailing it down a little:
attribute_value() = any()
– opencensus Erlang typespec
AttributeValue
…oneof
…TruncatableString
…int64
…bool_value
…double_value
– OpenCensus protocol definition
A span contains a SpanContext and allows users to record tracing events based on the data model defined here
– OpenCensus specification
Metadata
Metadata
Assignees
Labels
No labels