inoxth_edot_flutter library

Flutter plugin for the Elastic Distribution of OpenTelemetry (EDOT) mobile Agents.

Requires iOS 15.6+, Android API 24+, Flutter 3.44+, and Swift Package Manager on iOS. See the README for the full list of limitations.

await Edot.start(EdotConfig(
  serviceName: 'my-app',
  serviceVersion: '1.0.0',
  deploymentEnvironment: 'prod',
  serverUrl: 'https://collector.example.com:4318',
  auth: const EdotAuth.apiKey('...'),
));

final span = Edot.tracer.startSpan('checkout');
// ...
span.end();

Classes

Edot
Entry point to the Plugin.
EdotActiveView
The screen currently visible to the user.
EdotAndroidConfig
Android-only configuration.
EdotApiKeyAuth
Authenticates with an Elastic API key.
EdotAuth
How the Agent authenticates to the collector.
EdotConfig
Configuration for EdotConfig.new.
EdotErrorBoundary
Shows a fallback in place of the part of its subtree that failed.
EdotHttpClient
An http.Client that traces what passes through it.
EdotIosConfig
iOS-only configuration.
EdotNavigatorObserver
Emits a Screen Span per navigation and keeps the Active View current.
EdotNoAuth
Sends no credential.
EdotSecretTokenAuth
Authenticates with an Elastic secret token.
EdotSpan
A span held by the Agent, referenced from Dart by its Shadow Span identifier.
EdotTracer
Creates spans.
EdotViewObserver
Records in-page view switches automatically, the way EdotNavigatorObserver records route navigations.

Enums

EdotMetricKind
Kind of instrument a recorded metric goes to.
EdotSeverity
Severity of a log record.
EdotSpanKind
What kind of operation a span measures.
EdotTrackingConsent
The user's permission state governing whether the Plugin emits telemetry at all.
ExportProtocol
Wire protocol used to export telemetry.

Constants

edotChannelName → const String
Name of the single MethodChannel between the Plugin and the Agent.