rpc_dart_opentelemetry 0.3.6
rpc_dart_opentelemetry: ^0.3.6 copied to clipboard
OpenTelemetry tracing, metrics, and logging integration for rpc_dart.
We analyzed this package 9 days ago, and awarded it 120 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
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.
10/10 points: Package has an example
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.
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
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.
10/10 points: Package supports latest stable Dart and Flutter SDKs
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.