Skip to content

Commit

Permalink
Support maps and heterogeneous arrays as attribute values
Browse files Browse the repository at this point in the history
Resolves #376

Use cases where this is necessary or useful:

1. Specify more than one resource in the telemetry: #579
2. Data coming from external source, e.g. AWS Metadata: #596 (comment)
   or #376 (comment)
3. Capturing HTTP headers: #376 (comment)
4. Structured stack traces: #2841
5. Payloads as attributes: open-telemetry/oteps#219 (comment)

This is a draft PR to see what the change looks like.

If this PR is merged it will be nice to follow it up with:
- A standard way of flattening maps and nested objects when converting from OTLP
  to formats that don't support maps/nested objects.
- Recommendations for semantic conventions to use/not use complex objects.
  • Loading branch information
tigrannajaryan committed Nov 28, 2022
1 parent ccf0fcc commit 1243c4b
Show file tree
Hide file tree
Showing 5 changed files with 133 additions and 118 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ release.

### Common

- Support maps and heterogeneous arrays as attribute values
([#](https://github.com/open-telemetry/opentelemetry-specification/pull/))

## v1.14.0 (2022-10-04)

### Context
Expand Down
Loading

0 comments on commit 1243c4b

Please sign in to comment.