open-telemetry/opentelemetry-specification

Make the Resource accessible to Logging Library SDK

Aberta

#1.330 aberto em 11 de jan. de 2021

 (9 comentários) (1 reação) (0 responsável)Makefile (987 forks)auto 404
Stalearea:apiarea:sdkhelp wantedrelease:after-gaspec:logsspec:resource

Métricas do repositório

Stars
 (4.267 estrelas)
Métricas de merge de PR
 (Mesclagem média 10d 15h) (43 fundiu PRs em 30d)

Description

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

Guia do colaborador