Custom Instrumentation Hook: Capture Method Input Param as Span Attributes
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à
- Ferma
- Stack tecnologico
- java
- Ambito
- observability
Direzione di ricerca
Iniziate esaminando il comportamento dell’hook di strumentazione personalizzata descritto qui e le issue correlate #2380 e ApplicationInsights-Java#2048. Determinate come i parametri di input dei metodi potrebbero essere esposti come attributi span per i processori span downstream e verificate che, una volta completato il lavoro, tutti i parametri siano disponibili come attributi richiesti.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Is your feature request related to a problem? Please describe.
Describe what the problem you have encountered; e.g I'm always frustrated when [...]
We are using Custom Instrumentation Hook feature to create spans around methods from COTS system for which no traditional instrumentation is available. Everything works out really well except all the spans are named with Package.Method by default which does not help in meaningful analysis or debug for problem areas.
Describe the solution you would like
Request to enhance the custom instrumentation hook to capture all method input parameters as attributes. This will help us use span processors to rename spans appropriately as desired use case by use case
E.g. If custom instrumentation hook is enabled for Package.Method and Method takes 5 input params, make all 5 input params available as span attributes inp1=value1;inp2=value2;inp3=value3;inp4=value4;inp5=value5 and so on
Describe alternatives you have considered
We have captured the verbose log for Custom Instrumentation spans and noticed that we do not have any attributes captured today, so no meaningful data available to rename spans
Additional context
#2380
https://github.com/microsoft/ApplicationInsights-Java/issues/2048
- Lingua principale
- Java
- Stelle
- 327
- Fork
- 222
- Merge medio
- 22h 34m
- PR unite (30g)
- 14
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/ApplicationInsights-Java
-
microsoft/ApplicationInsights-Java#4851 · 1 assegnatario ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
microsoft/ApplicationInsights-Java#4817 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
microsoft/ApplicationInsights-Java#4770 · 2 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
microsoft/ApplicationInsights-Java#4769 · 2 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
microsoft/ApplicationInsights-Java#4729 · 121 commenti ·
Tutte le issue di microsoft/ApplicationInsights-Java
Issue simili
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
inu-appcenter/memorIN-backend#288 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
frontend maui-pilot pilot-ask question
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
executions.Query — startDate and timeRange filters are sent with inverted comparison operators Apertaarea/plugin
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
kestra-io/plugin-kestra#190 ·