telemetry_sh 1.0.0 copy "telemetry_sh: ^1.0.0" to clipboard
telemetry_sh: ^1.0.0 copied to clipboard

A simple telemetry logging SDK for Dart

example/main.dart

import 'dart:developer';

import 'package:telemetry_sh/telemetry_sh.dart';

void main(List<String> args) async {
  final telemetry = TelemetrySh('test_api_key');

  final logResponse = await telemetry.log(
    'users',
    {
      'name': 'John Doe',
      'email': 'john.doe@test.com',
    },
  );

  log('Log response: $logResponse');

  final queryResponse = await telemetry.query('SELECT * FROM users');

  log('Query response: $queryResponse');
}
1
likes
150
pub points
16%
popularity

Publisher

unverified uploader

A simple telemetry logging SDK for Dart

Homepage
Repository (GitHub)

Topics

#dart #telemetry #logging #sdk

Documentation

API reference

License

MIT (license)

Dependencies

http

More

Packages that depend on telemetry_sh