opentelemetry-configuration: provide a way for downstream distribution to update exporter configurations
Mantenedores costumam responder em até 2 dias
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 18/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- python
- Domínio
- devtools, observability
Direção de pesquisa
This is an API design question, not a ready patch: the proposal adds an optional callback to configure_sdk() and a call inside _OTelSDKConfigurator._configure. Start by reading how the declarative gRPC exporter factory builds its channel_options, and check whether maintainers have accepted a hook like this. Done means a maintainer decision on the API shape, followed by a reviewed design.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Downstream distributions need a way to customize the built-in OTLP exporters when users configure the SDK through declarative configuration. Some of the arguments of our exporters are not exposed as environment variable and then configuration keys. On example of this is the channel_options GRPC exporters use to set the user agent (via grpc.primary_user_agent).
The declarative gRPC factory has no way to supply that constructor argument.
Java provides a related declarative exporter customizer Service Provider Interface (SPI) that receives an already-created exporter and can return a replacement.
Would an optional pre-construction callback on configure_sdk() fit the declarative configuration API? The callback could receive the exporter class and the constructor options derived from the configuration file, then return updated options.
configure_sdk(config, otlp_exporter_options=customize_exporter_options)
The callback would have this proposed signature:
def customize_exporter_options(
# types are from exporters not from configuration models
exporter_type: type[SpanExporter] | type[MetricExporter] | type[MetricReader] | type[LogRecordExporter],
options: Mapping[str, Any],
) -> Mapping[str, Any]:
...
This is supposed to be called by distributions in the the ovveride of _OTelSDKConfigurator._configure.
If accepted I would implement it.
- Linguagem predominante
- Python
- Estrelas
- 2.7k
- Forks
- 1.1k
- Merge médio
- 3d 12h
- PRs com merge (30d)
- 16
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de open-telemetry/opentelemetry-python
-
References to Archived open-telemetry/otepsTalvez já em andamento @RjyavardhanSingh assumiu há 1 dia. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
open-telemetry/opentelemetry-python#5984 · 1 comentário ·
Mantenedores costumam responder em até 2 dias
-
Autoconfiguration rejects OTEL_EXPORTER_OTLP_PROTOCOL=http/jsonTalvez já em andamento @WendeelMarinho assumiu há 2 dias. Abertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
open-telemetry/opentelemetry-python#5981 ·
Mantenedores costumam responder em até 2 dias
-
MeterProvider raises ValueError on empty or uppercase OTEL_METRICS_EXEMPLAR_FILTERTalvez já em andamento @bishalde assumiu há 8 dias. Abertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 83/100
open-telemetry/opentelemetry-python#5948 · 3 comentários ·
Mantenedores costumam responder em até 2 dias
-
W3CBaggagePropagator drops a list-member over 4096 bytes that W3C Baggage requires it to propagateTalvez já em andamento @codedbyadiiii assumiu há 20 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
open-telemetry/opentelemetry-python#5913 ·
Mantenedores costumam responder em até 2 dias
-
otel.sdk.processor.{span,log}.queue.capacity uses synchronous UpDownCounter recorded once in __init__Talvez livre de novo Um pull request para esta issue foi fechado sem ser mesclado. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
open-telemetry/opentelemetry-python#5891 ·
Mantenedores costumam responder em até 2 dias
Todas as issues de open-telemetry/opentelemetry-python
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
raman325/lock_code_manager#1864 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 78/100
521xueweihan/HelloGitHub#4636 ·
-
bug improve content
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 92/100
opensafely/documentation#2102 ·
Mantenedores costumam responder em até 1 dia