0.4.3 • Published 11 months ago
@nokkel/monitoring v0.4.3
Nokkel Monitoring Library
A monitoring library for integrating monitoring and observability platforms and generating logs for monitoring.
How to use the library
To install this library follow the steps below:
npm add @nokkel/monitoring
Once installed you can use the library to do the following:
logger.ts
import { createLogger } from '@nokkel/monitoring';
export const logger = createLogger({
name: process.env.HOSTNAME,
logLevel: process.env.LOG_LEVEL,
// Can optionally configure the logger for the browser
// isBrowser: true,
});
rum.ts
import { drinkRum } from '@nokkel/monitoring/datadog';
drinkRum({
applicationId: 'APP_ID',
clientToken: 'CLIENT_TOKEN',
});
Enjoy!
0.4.0-alpha.3
11 months ago
0.4.0-alpha.2
11 months ago
0.4.0-alpha.1
11 months ago
0.3.0
11 months ago
0.2.0
12 months ago
0.4.1
11 months ago
0.4.0
11 months ago
0.4.3
11 months ago
0.4.2
11 months ago
0.1.1
1 year ago
0.1.0
1 year ago