[grpc] extend metrics - server and client call durations

Aperta
#5,398 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
58/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
grpc, python

Direzione di ricerca

Start by locating the existing gRPC client and server instrumentation, including the sync and async interceptors and their tests. Review how the project records other metrics so the new duration histograms follow established naming, units, and exporter patterns. The change is complete when incoming and outgoing RPC durations are recorded as rpc.server.call.duration and rpc.client.call.duration, with tests covering the relevant client and server paths.

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

Descrizione

What problem do you want to solve?

grpc instrumentation only produces spans for the sync and aio client and server, but it would be useful to also have the rpc
metrics - the call durations

Describe the solution you'd like

report metrics:
• rpc.server.call.duration — histogram of the duration of the incoming RPCs, recorded by the server interceptors;
• rpc.client.call.duration — histogram of the duration of the outgoing RPCs, recorded by the client interceptors.

Describe alternatives you'd considered

No response

Additional Context

No response

Would you like to implement a fix?

Yes

Lingua principale
Python
Stelle
1.1k
Fork
1.1k
Merge medio
2g 4h
PR unite (30g)
36

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-python-contrib

Tutte le issue di open-telemetry/opentelemetry-python-contrib

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.