Define registry api in api gem

Aperta
#2,154 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
ruby

Direzione di ricerca

Inizia esaminando le relazioni di dipendenza descritte tra le gem instrumentation library, base, registry e api, quindi analizza come viene esposta l’implementazione attuale di registry. Il lavoro è completo quando la gem api fornisce un’API di registry, così che instrumentation dipenda solo dall’API, mentre le applicazioni e i vendor possano scegliere o implementare la registry.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

keep

Currently we have the following awkward situation.

  • Instrumentation Library depends on base
  • Base depends on registry (complete implementation)
  • Registry depends on api

By Having the instrumentation library depend on the registry implementation, this appears to go against the below:

This allows end users to consume API only without also consuming the implementation

Third party libraries and frameworks that add instrumentation to their code will have a dependency only on the API of OpenTelemetry client. The developers of third party libraries and frameworks do not care (and cannot know) what specific implementation of OpenTelemetry is used in the final application.

The developers of the final application normally decide how to configure OpenTelemetry SDK and what extensions to use.

To Address this I would propose we introduce a registry api module within the api gem which removes the need for instrumentation to take a dependency on the registry gem.

Further benefit would be that vendors who can implement their own registry using our api and that allow application developers to choose what registry to use as per above.

Lingua principale
Ruby
Stelle
613
Fork
306
Merge medio
3g 11h
PR unite (30g)
21

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di open-telemetry/opentelemetry-ruby

Tutte le issue di open-telemetry/opentelemetry-ruby

Issue simili

Altre issue su Ruby

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.