rpc_dart_opentelemetry 0.3.6 copy "rpc_dart_opentelemetry: ^0.3.6" to clipboard
rpc_dart_opentelemetry: ^0.3.6 copied to clipboard

OpenTelemetry tracing, metrics, and logging integration for rpc_dart.

120/ 160
pub points
83
downloads

We analyzed this package 9 days ago, and awarded it 120 pub points (of a possible 160):

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

30 out of 40 API elements (75.0 %) have documentation comments.

Some symbols that are missing documentation: rpc_dart_opentelemetry, rpc_dart_opentelemetry.LogControllerOtelOutput.LogControllerOtelOutput.new, rpc_dart_opentelemetry.OtelRpcClientInterceptor.OtelRpcClientInterceptor.new, rpc_dart_opentelemetry.OtelRpcClientInterceptor.metrics, rpc_dart_opentelemetry.OtelRpcClientInterceptor.tracer.

Passed check 10/10 points: Package has an example

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

WARNING: 'zone' is experimental and could be removed or changed at any time.

lib/src/interceptor/otel_rpc_interceptor_base.dart:161:27

    ╷
161 │     final outcome = await zone(otelContext).run<Future<_Outcome<T>>>(() async {
    │                           ^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/interceptor/otel_rpc_interceptor_base.dart

WARNING: 'package:opentelemetry/src/experimental_api.dart' is experimental and could be removed or changed at any time.

lib/src/metrics/rpc_otel_metrics.dart:6:1

  ╷
6 │ import 'package:opentelemetry/src/experimental_api.dart' show Counter, Meter;
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/metrics/rpc_otel_metrics.dart

Failed report section
Support up-to-date dependencies
20 / 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
fixnum ^1.1.0 1.1.1 1.1.1
meta ^1.17.0 1.19.0 1.19.0
opentelemetry ^0.18.0 0.18.11 0.18.11
rpc_dart >=3.3.0 <5.0.0 4.3.3 4.3.3
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
boolean_selector - 2.1.2 2.1.2
collection - 1.19.1 1.19.1
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
logging - 1.3.0 1.3.0
matcher - 0.12.20 0.12.20
path - 1.9.1 1.9.1
protobuf - 6.0.0 6.0.0
quiver - 3.2.2 3.2.2
source_span - 1.10.2 1.10.2
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.13 0.7.13
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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 6 errors:

  • UNDEFINED_METHOD - lib/src/bridge/log_controller_otel_output.dart:160:11 - The method 'contextWithSpan' isn't defined for the type 'LogControllerOtelOutput'.
  • UNDEFINED_NAMED_PARAMETER - lib/src/bridge/log_controller_otel_output.dart:202:17 - The named parameter 'endTime' isn't defined.
  • UNDEFINED_NAMED_PARAMETER - lib/src/bridge/log_controller_otel_output.dart:226:14 - The named parameter 'endTime' isn't defined.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.18, Dart 3.13.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
120
points
83
downloads

Documentation

API reference

Publisher

verified publisherrpc.nogipx.dev

Weekly Downloads

OpenTelemetry tracing, metrics, and logging integration for rpc_dart.

Homepage
Repository (GitHub)
View/report issues

Topics

#rpc #opentelemetry #tracing #observability

License

MIT (license)

Dependencies

fixnum, meta, opentelemetry, rpc_dart

More

Packages that depend on rpc_dart_opentelemetry