open-telemetry/opentelemetry-specification
Make the Resource accessible to Logging Library SDK
開放
#1,330 建立於 2021年1月11日
Stalearea:apiarea:sdkhelp wantedrelease:after-gaspec:logsspec:resource
倉庫指標
- 星標
- (4,267 顆星)
- PR 合併指標
- (平均合併 10天 15小時) (30 天內合併 43 個 PR)
描述
What are you trying to achieve? I want to enrich legacy first-party application logs with resource information. In order to do so, I have to make resource attributes accessible while configuring logging patterns. Logging happens in user code, but the Resource is currently a part of SDK, rather than API, which means that an application must depend on SDK, rather than API, to write resource attributes to a log file.
Additional context.
Related issue in opentelemetry-java: https://github.com/open-telemetry/opentelemetry-java/issues/2466