open-telemetry/opentelemetry-specification

Make the Resource accessible to Logging Library SDK

オープン

#1,330 opened on 2021/01/11

 (8 件のコメント) (1 件のリアクション) (0 人の担当者)Makefile (987 件のフォーク)auto 404
area:apiarea:sdkhelp wantedrelease:after-gaspec:logsspec:resource

Repository metrics

Stars
 (4,267 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド