appcd-telemetry

5.0.6 • Public • Published

appcd-telemetry

An Appc Daemon service for queuing and sending data to the Axway Appcelerator cloud for quality and usage analysis. This service itself does not collect the data. It simply stores the events on disk, sends the events to the cloud, then removes the events.

Visit https://github.com/appcelerator/appc-daemon for more information.

Report issues to GitHub issues. Official issue tracker in JIRA.

Installation

npm i appcd-telemetry

Usage

import Telemetry from 'appcd-telemetry';
import Config from 'appcd-config';
import Dispatcher from 'appcd-dispatcher';

const cfg = new Config({
	telemetry: {
		guid: 'app guid goes here'
	}
});

const telemetry = new Telemetry(cfg);
await telemetry.init();

Dispatcher.register('/telemetry', telemetry);

Dispatcher.call('/telemetry', {
	event: 'something important', // required
	foo: 'bar'
	// additional data
});

Legal

This project is open source under the Apache Public License v2 and is developed by Axway, Inc and the community. Please read the LICENSE file included in this distribution for more information.

/appcd-telemetry/

    Package Sidebar

    Install

    npm i appcd-telemetry

    Weekly Downloads

    2

    Version

    5.0.6

    License

    Apache-2.0

    Unpacked Size

    49 kB

    Total Files

    5

    Last publish

    Collaborators

    • cb1kenobi
    • awam
    • tisdk