opentelemetry 0.18.2 copy "opentelemetry: ^0.18.2" to clipboard
opentelemetry: ^0.18.2 copied to clipboard

Platformweb

A framework for collecting traces from applications.

21
likes
100/ 140
pub points
87%
popularity

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

failed
Follow Dart file conventions
10 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

failed
Provide documentation
10 / 20trigger folding of the section

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

141 out of 298 API elements (47.3 %) have documentation comments.

Some symbols that are missing documentation: api, api.Attribute.key, api.Attribute.value, api.Context, api.InstrumentationLibrary.name.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Web

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:opentelemetry/web_sdk.dart that imports:
  • package:opentelemetry/src/sdk/platforms/web/time_providers/web_time_provider.dart that imports:
  • dart:js
Package not compatible with platform iOS

Because:

  • package:opentelemetry/web_sdk.dart that imports:
  • package:opentelemetry/src/sdk/platforms/web/time_providers/web_time_provider.dart that imports:
  • dart:js
Package not compatible with platform Windows

Because:

  • package:opentelemetry/web_sdk.dart that imports:
  • package:opentelemetry/src/sdk/platforms/web/time_providers/web_time_provider.dart that imports:
  • dart:js
Package not compatible with platform Linux

Because:

  • package:opentelemetry/web_sdk.dart that imports:
  • package:opentelemetry/src/sdk/platforms/web/time_providers/web_time_provider.dart that imports:
  • dart:js
Package not compatible with platform macOS

Because:

  • package:opentelemetry/web_sdk.dart that imports:
  • package:opentelemetry/src/sdk/platforms/web/time_providers/web_time_provider.dart that imports:
  • dart:js
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 22 issues. Showing the first 2:

INFO: 'SpanExporter' is deprecated and shouldn't be used. This class will be moved to the SDK package in v0.19.0. Use [SpanExporter] from SDK instead.

lib/api.dart:8:52

  ╷
8 │ export 'src/api/exporters/span_exporter.dart' show SpanExporter;
  │                                                    ^^^^^^^^^^^^
  ╵

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

INFO: 'InstrumentationLibrary' is deprecated and shouldn't be used. This class will be removed in 0.19.0.

lib/api.dart:9:52

  ╷
9 │ export 'src/api/instrumentation_library.dart' show InstrumentationLibrary;
  │                                                    ^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

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

Package Constraint Compatible Latest
async >=2.5.0 <3.0.0 2.11.0 2.11.0
collection ^1.15.0 1.18.0 1.18.0
fixnum >=1.0.0 <2.0.0 1.1.0 1.1.0
http >=0.13.0 <2.0.0 1.2.1 1.2.1
logging ^1.0.0 1.2.0 1.2.0
meta >=1.6.0 <2.0.0 1.14.0 1.14.0
protobuf >=2.0.0 <4.0.0 3.1.0 3.1.0
quiver >=3.0.0 <4.0.0 3.2.1 3.2.1
Transitive dependencies
Package Constraint Compatible Latest
boolean_selector - 2.1.1 2.1.1
http_parser - 4.0.2 4.0.2
matcher - 0.12.16+1 0.12.16+1
path - 1.9.0 1.9.0
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.1 0.7.1
typed_data - 1.3.2 1.3.2
web - 0.5.1 0.5.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

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

21
likes
100
pub points
87%
popularity

Publisher

verified publisherworkiva.com

A framework for collecting traces from applications.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

async, collection, fixnum, http, logging, meta, protobuf, quiver

More

Packages that depend on opentelemetry