@eclipse-che/workspace-telemetry-client

This is a client for telemetry REST API.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@eclipse-che/workspace-telemetry-client
060.0.1-16540064444 months ago3 years agoMinified + gzip package size for @eclipse-che/workspace-telemetry-client in KB

Readme

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