Open Source
Learn more about OpenTelemetry, the Dartastic SDK and how to start using OTel in your Flutter and Dart applications.
Dartastic and Flutterrific OTel Open-Source Repositories
Dartastic provides a stack of open-source OpenTelemetry libraries for Dart and Flutter. Each project's README.md provides an overview, usage instructions and examples. All APIs are documented.
Open-Source Strategy
Dartastic.io is committed to open source using the Apache 2.0 license. The API and SDK for Dart are available under Apache 2.0 and are ready to be used on servers and clis. The SDK for Flutter is available under Apache 2.0 but needs to mature more before it's ready for production.
We withhold the Flutter SDK for now so we can productively develop and not create too much churn for users. The Flutter SDK is quite useful but we are ensuring its quality and making it more consistent with other OTel APIs (Android, iOS, etc) and the developing OTel semantic conventions.
We are working hard to get the Flutter SDK in everyone's hands as a stable release. We hope you will subscribe to Dartastic.io to help support our development for the nominal subscription fee.
Likewise, we will be publishing integration packages first as early access for subscribers, then as open source. The packages will make it easy to instrument common Flutter packages like GoRouter and Dio.
Our roadmap includes plugins that may not be open sources and only available to Dartastic.io subscribers.
API
The OpenTelemetry specification separates the API from the SDK. An API can be installed without and SDK, though they only provide empty a noop implementation. dartastic_opentelemetry_api is an OpenTelemetry API for Dart. It provides core noop OTel classes. All API classes are re-exported by the SDK. The API doesn't need to be included in pubspec.yaml. The API is useful for documentation and understanding OTel.
SDK
The dartastic_opentelemetry SDK brings the OTel API to life by implementing OTel exporters, samplers and metrics. The SDK can be used by Dart backend services, cli's or anywhere Dart is used.
Flutterrific OTel SDK
The Flutterrific OTel SDK applies the Dartastic SDK to Flutter apps. Flutterrific OTel targets support for all Flutter platforms, mobile, desktop and web.
Demo
The Flutter Wondrous app instrumented with OTel auto tracing and metrics.
CNCF Donation & Open Source Strategy
The Dartastic OpenTelemetry API and SDK packages for Dart are in the process of being donated to the Cloud Native Computing Foundation (CNCF). If accepted, they will become the official OpenTelemetry SDKs for Dart.
View the OpenTelemetry Donation Proposal for Dartastic
Learn more about OpenTelemetry at CNCF
The Flutterrific OTel SDK will also be donated to the CNCF at a later time.
Dartastic needs you! The Dartastic community is nascent and growing. We are looking for stars, PRs, contributors, committers, sponsers and maintainers that are committed to Flutter and the OpenTelemetry standard. Subscriptions go a long way, help in improving the offering is gratefully appreciated and helps the worldwide Flutter community.
About OpenTelemetry
OpenTelemetry (OTel) is the second most active Cloud Native Computing Foundation (CNCF) project after Kubernetes. It provides a set of APIs, SDKs, and tools for collecting and exporting telemetry data (metrics, logs, and traces) to help analyze software performance and behavior.
OpenTelemetry Specification
Our Dart and Flutter implementations follow the official OpenTelemetry specification, which defines cross-language requirements and expectations for all OTel implementations. Learn more at:
Ready to add observability to your app?
Sign up for a free account and start monitoring your Flutter apps today.