Avoid calling C++ code in getTracer or startSpan when telemetry is disabled
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 45/100
- Issue-Typ
- Refactoring
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- cpp
- Bereich
- observability
Rechercherichtung
The issue names getTracer and startSpan and asks whether they can skip the C++ call through the MEX layer when no global TracerProvider is set. Start by tracing those two entry points to find where the MATLAB code decides telemetry is disabled and where it crosses into C++. Done means the disabled path returns a no-op tracer or span without calling C++, and the existing tests still pass.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
When telemetry is disabled, for example no TracerProvider is set as the global instance, see if there is a way to avoid calling C++ at all. With telemetry disabled, the resulting tracer or span are non-recording and no-ops anyways. If we can avoid calling C++ in those case altogether it will eliminate the time spent in calling through the MEX layer, and therefore optimize the performance.
- Vorherrschende Sprache
- MATLAB
- Sterne
- 21
- Forks
- 5
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus mathworks/OpenTelemetry-MATLAB
-
README Examples errorOffen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 76/100
-
enhancement performance
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 45/100
-
Add support to TRACEPARENT environment variable to buildtool pluginEvtl. wieder frei @sameagen-MW hat das vor 36 Tagen übernommen, und es ist kein Pull Request offen. Offen
mathworks/OpenTelemetry-MATLAB#256 · 2 Kommentare · 1 zugewiesene Person ·
-
enhancement infrastructure
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 35/100
-
documentation
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 48/100
Alle Issues in mathworks/OpenTelemetry-MATLAB
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 86/100
MohammadRaziei/ctoon#12 ·
-
easy first-contributor first-contributors good first issue help wanted matlab up-for-grabs
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 95/100
fork-commit-merge/fork-commit-merge#8766 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 82/100
UniprJRC/DSwithMATLAB#253 ·
-
area: math-chaos priority: P1 size: S type: docs
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
ibra-kdbra/Math-Problems#309 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100