otel_chopper 0.1.0
otel_chopper: ^0.1.0 copied to clipboard
OpenTelemetry instrumentation for `package:chopper`. A Chopper Interceptor that emits HTTP CLIENT spans with `http.*` semconv attributes and injects W3C trace context headers.
We analyzed this package 2 days ago, and awarded it 70 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
pubspec.yaml from the repository URL mismatch: expected https://github.com/Dartastic/otel_chopper but got https://github.com/dartastic/otel_chopper.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: otel_chopper, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
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: Apache-2.0.
10/10 points: 20% or more of the public API has dartdoc comments
3 out of 7 API elements (42.9 %) have documentation comments.
Some symbols that are missing documentation: otel_chopper.OTelChopperInterceptor.intercept, otel_chopper.chopperInstrumentationSuppressed, otel_chopper.runWithoutChopperInstrumentation, otel_chopper.runWithoutChopperInstrumentationAsync.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
ERROR: There's no constant named 'requestMethod' in 'Http'.
lib/src/otel_chopper_interceptor.dart:59:12
╷
59 │ Http.requestMethod.key: method,
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/otel_chopper_interceptor.dart
ERROR: Undefined name 'ServerResource'.
lib/src/otel_chopper_interceptor.dart:65:13
╷
65 │ attrs[ServerResource.serverAddress.key] = url.host;
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/otel_chopper_interceptor.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
chopper |
^8.0.0 |
8.7.0 | 8.7.0 | |
dartastic_opentelemetry |
^1.1.0-beta.4 |
1.1.0-beta.15 | 1.1.0-beta.15 | |
dartastic_opentelemetry_api |
^1.0.0-beta.6 |
1.0.0-rc.3 | 1.0.0-rc.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
clock |
- | 1.1.3 | 1.1.3 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
equatable |
- | 2.1.0 | 2.1.0 | |
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 | |
logging |
- | 1.3.0 | 1.3.0 | |
meta |
- | 1.19.0 | 1.19.0 | |
path |
- | 1.9.1 | 1.9.1 | |
protobuf |
- | 6.0.0 | 6.0.0 | |
qs_dart |
- | 1.8.2 | 1.8.2 | |
source_span |
- | 1.10.2 | 1.10.2 | |
stack_trace |
- | 1.12.2 | 1.12.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.1+2 | 3.4.1+2 | |
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.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.18, Dart 3.13.1.
Check the analysis log for details.