Back to list
nexus-labs-automation

network-tracing

by nexus-labs-automation

Claude Code plugin for mobile app observability: crash reporting, performance monitoring, and instrumentation for iOS, Android, and React Native

98🍴 8📅 Jan 17, 2026

SKILL.md


name: network-tracing description: Instrument API requests with spans and distributed tracing. Use when tracking request latency, correlating client-backend traces, or debugging API issues. triggers:

  • "correlate backend traces"
  • "distributed tracing"
  • "network performance"
  • "slow API calls"
  • "trace requests"
  • "track API requests" priority: 2

Network Tracing

Measure API requests and correlate with backend traces.

What to Capture (OTel-Compatible Names)

AttributeOTel NamePurpose
Methodhttp.request.methodGET, POST, etc.
Statushttp.response.status_codeSuccess/failure
URLurl.pathEndpoint (sanitized)
Durationhttp.request.durationRequest time (ms)
Sizehttp.response.body.sizePayload bytes

Using OTel naming = easier migration when OTel mobile matures. See references/otel-mobile.md for rationale.

Distributed Tracing

Propagate trace context to backend:

Client Request
    │
    ├── traceparent: 00-{trace_id}-{span_id}-01
    ├── X-Request-Id: {uuid}
    └── X-Session-Id: {session}
         │
         ▼
    Backend (correlates logs with trace_id)

Key Thresholds

MetricGoodAcceptablePoor
API p50<500ms<1s>1s
API p95<2s<5s>5s
Error rate<1%<3%>3%

Integration Options

Choose based on existing vendor:

VendoriOSAndroidApproach
SentryAuto URLSession swizzlingOkHttp integrationAutomatic
DatadogURLSession delegateOkHttp interceptorSemi-auto
EmbraceAuto-instrumentationAuto-instrumentationAutomatic
CustomManual interceptorManual interceptorManual

Automatic (swizzling): Less code, may miss custom clients Manual (interceptors): More control, works with any HTTP client

Platform Integration Points

PlatformManual OptionWorks With
iOSURLSession delegateAll URLSession-based clients
iOSAlamofire EventMonitorAlamofire
AndroidOkHttp InterceptorOkHttp, Retrofit
AndroidKtor HttpClientPluginKtor
RNfetch wrapperNative fetch
RNaxios interceptoraxios

Implementation

See references/mobile-challenges.md (Client-Backend Correlation) for:

  • W3C trace header format
  • Platform-specific interceptor code
  • Backend log correlation patterns

See references/performance.md (Network section) for latency budgets.

Score

Total Score

70/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

0/5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon