otel_bloc 0.1.0-beta.1 copy "otel_bloc: ^0.1.0-beta.1" to clipboard
otel_bloc: ^0.1.0-beta.1 copied to clipboard

OpenTelemetry instrumentation for `package:bloc`. A `BlocObserver` subclass that emits short event spans on every bloc event / state change / error, turning your Tempo trace view into a state-machine [...]

140/ 160
pub points
18
downloads

We analyzed this package 12 hours ago, and awarded it 140 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Failed to verify repository URL.

pubspec.yaml from the repository URL mismatch: expected https://github.com/Dartastic/otel_bloc but got https://github.com/dartastic/otel_bloc.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: otel_bloc,
    • contains a version property, and,
    • does not contain a publish_to property.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

18 out of 18 API elements (100.0 %) have documentation comments.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:otel_bloc/otel_bloc.dart that imports:
  • package:otel_bloc/src/otel_bloc_observer.dart that imports:
  • package:dartastic_opentelemetry/dartastic_opentelemetry.dart that imports:
  • package:dartastic_opentelemetry/src/trace/export/otlp/otlp_grpc_span_exporter.dart that imports:
  • package:dartastic_opentelemetry/src/trace/export/otlp/certificate_utils_io.dart that imports:
  • dart:io
Passed report section
Pass static analysis
50 / 50trigger folding of the section

Passed check 50/50 points: code has no errors, warnings, lints, or formatting issues

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
bloc ^9.0.0 9.2.1 9.2.1
dartastic_opentelemetry ^1.1.0-beta.4 1.1.0-beta.12 1.1.0-beta.12
dartastic_opentelemetry_api ^1.0.0-beta.6 1.0.0-rc.1 1.0.0-rc.1
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
fixnum - 1.1.1 1.1.1
google_cloud - 0.5.0 0.5.0
google_identity_services_web - 0.3.3+1 0.3.3+1
googleapis_auth - 2.3.3 2.3.3
grpc - 5.1.0 5.1.0
http - 1.6.0 1.6.0
http2 - 2.3.1 2.3.1
http_parser - 4.1.2 4.1.2
meta - 1.19.0 1.19.0
path - 1.9.1 1.9.1
protobuf - 6.0.0 6.0.0
source_span - 1.10.2 1.10.2
stack_trace - 1.12.1 1.12.1
string_scanner - 1.4.1 1.4.1
synchronized - 3.4.1+1 3.4.1+1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
web - 1.1.1 1.1.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.17, Dart 3.12.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
140
points
18
downloads

Documentation

API reference

Publisher

verified publisherdartastic.io

Weekly Downloads

OpenTelemetry instrumentation for `package:bloc`. A `BlocObserver` subclass that emits short event spans on every bloc event / state change / error, turning your Tempo trace view into a state-machine timeline. Works for both pure-Dart `bloc` apps and `flutter_bloc` apps (the latter via the `otel_flutter_bloc` overlay).

License

Apache-2.0 (license)

Dependencies

bloc, dartastic_opentelemetry, dartastic_opentelemetry_api

More

Packages that depend on otel_bloc