open-telemetry / open-telemetry/opentelemetry-cpp
Support for `Resource` API in ETW exporter
Open
@ThomsonTan is already working on this.
Since Apr 5, 2022.
area:exporter
do-not-stale
- Dominant language
- C++
- Stars
- 1.4k
- Forks
- 632
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 75
Description
Presently ETW exporter itself implements a "mini-SDK", header-only. And it does not implement the Resource API. Whereas having a Resource API should allow us to populate "common attributes" reusable for each event.
Workaround:
- customers must populate each key-value in the event map.
Solution wanted:
- use
ResourceAPI to pre-populate some common attributes. Merge the resource map with event map before sending event down to ETW layer. Combined event should contain both - user-supplied attributes fromAddEvent(...)API, as well as common resource attributes.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.