@uap-external/telemetry
v1.1.37
Published
Log data from apps for monitoring purposes.
Downloads
5
Readme
Telemetry
Log data from apps for monitoring purposes.
API Usage
https://reactjs.org/docs/context.html
import Telemetry, { TelemetryContext } from '@uap-external/telemetry'
const telemetry = new Telemetry('your_api_key', 'app-identifier-such-as-playtime-island', 'live')
telemetry.track({'Tom': 'Baker', 'David': 'Tennant'})
const App = () =>
<TelemetryContext.Provider value={telemetry}>
<HomePage/>
</TelemetryContext.Provider>