Skip to content

Logs/Events guidance on what to put to attributes vs body #1651

@lmolkova

Description

@lmolkova

It's not clear what should go to event attribute vs body.

Some considerations:

  • body, in practice, has much larger size limits
  • body supports complex nested structure
  • attributes are easier/more efficient to query and are easier to index

As a result, each event author needs to decide where each property goes and take into account backend limitations.

We need some clear guidance in semantic conventions, but also this affects event API design.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions