Skip to content

[Feature]: Geneva-Uploader otlp encoder drops fields of an OTLP event of complex data type. #560

@sapatrjv

Description

@sapatrjv

Related Problems?

Geneva-Uploader otlp encoder drops fields of an OTLP event if it's type is not one of the following: String, bool, int, double.

let type_id = match val {
Value::StringValue(_) => BondDataType::BT_STRING,
Value::IntValue(_) => BondDataType::BT_INT64,
Value::DoubleValue(_) => BondDataType::BT_DOUBLE,
Value::BoolValue(_) => BondDataType::BT_BOOL,
_ => continue,

It should support maps, byte array types etc In case these cannot be supported instead of sending part of a OTEL event it should either drop the event or send complex type in json string format.

What component are you working with?

opentelemetry-contrib

Describe the solution you'd like:

It should support maps, byte array types etc In case these cannot be supported instead of sending part of a OTEL event it should either drop the event or send complex type in json string format.

Considered Alternatives

No response

Additional Context

No response

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions