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 open-telemetry#376

Use cases where this is necessary or useful:

1. Specify more than one resource in the telemetry: open-telemetry#579
2. Data coming from external source, e.g. AWS Metadata: open-telemetry#596 (comment)
   or open-telemetry#376 (comment)
3. Capturing HTTP headers: open-telemetry#376 (comment)
4. Structured stack traces: open-telemetry#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
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

0 comments on commit 1243c4b

Please sign in to comment.