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

Platformweb

A framework for collecting OpenTelemetry traces from applications.

29
likes
150/ 160
pub points
90%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

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

150 out of 315 API elements (47.6 %) have documentation comments.

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

10/10 points: Package has an example

failed
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:html
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:html
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:html
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:html
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:html

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:opentelemetry/web_sdk.dart that imports:
  • package:opentelemetry/src/sdk/platforms/web/time_providers/web_time_provider.dart that imports:
  • dart:html

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 34 issues. Showing the first 2:

INFO: 'registerGlobalContextManager' is deprecated and shouldn't be used. This method will be removed in 0.19.0 without replacement.

lib/api.dart:17:32

   ╷
17 │     show globalContextManager, registerGlobalContextManager;
   │                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

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

lib/api.dart:18:52

   ╷
18 │ 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

OK
Support up-to-date dependencies
40 / 40trigger 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.12.0 2.12.0
collection ^1.15.0 1.19.1 1.19.1
fixnum >=1.0.0 <2.0.0 1.1.1 1.1.1
http >=0.13.0 <2.0.0 1.2.2 1.2.2
logging ^1.0.0 1.3.0 1.3.0
meta ^1.16.0 1.16.0 1.16.0
protobuf >=2.0.0 <4.0.0 3.1.0 3.1.0
quiver >=3.0.0 <4.0.0 3.2.2 3.2.2
Transitive dependencies
Package Constraint Compatible Latest
boolean_selector - 2.1.2 2.1.2
http_parser - 4.1.1 4.1.1
matcher - 0.12.17 0.12.17
path - 1.9.1 1.9.1
source_span - 1.10.0 1.10.0
stack_trace - 1.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.3 0.7.3
typed_data - 1.4.0 1.4.0
web - 1.1.0 1.1.0

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.22.15, Dart 3.5.4.

Check the analysis log for details.

29
likes
150
pub points
90%
popularity

Publisher

verified publisherworkiva.com

A framework for collecting OpenTelemetry traces from applications.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

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

More

Packages that depend on opentelemetry