@eclipse-che/workspace-telemetry-client
TypeScript icon, indicating that this package has built-in type declarations

0.0.1-1685523760 • Public • Published

Telemetry client

This is a client for telemetry REST API.

Examples

REST API client

import TelemetryClient from '@dfatwork-pkgs/workspace-telemetry-client';

const telemetryClient = new TelemetryClient();
// notify activity
const promise = telemetryClient.activity({userId: 'anExampleOfUserId'});
promise.then(() => {
    // activity has been notified
});

License

EPL-2

/@eclipse-che/workspace-telemetry-client/

    Package Sidebar

    Install

    npm i @eclipse-che/workspace-telemetry-client

    Weekly Downloads

    100

    Version

    0.0.1-1685523760

    License

    EPL-2.0

    Unpacked Size

    458 kB

    Total Files

    32

    Last publish

    Collaborators

    • svor
    • eclipse_che
    • florentbenoit
    • mkuznets