0.0.125 • Published 1 year ago

aware-sdk-node v0.0.125

Weekly downloads
-
License
LGPL-3.0-or-later
Repository
-
Last release
1 year ago

Aware SDK For NodeJS

This module enables Aware full stack recording capability for NodeJS based web services.

Installation Guide

Prerequisite: Enable OpenTelemetry in your Node web service and configure to export tracing data to Aware servers. Follow steps here.

1) Run the following to install the SDK:

npm install aware-sdk-node@latest

2) Use Aware SDK in your code as follows:

const awareSdk=require('aware-sdk-node');
...
const app = express();
...
app.use(awareSdk(<config_file_path>));

Configuration Guide

Aware SDK behaviour can be configured via a yml file passed in to awareSdk() function. Read here for more details on how to configure various aspects of the SDK behaviour such as request field masking, ignoring specific headers etc. via the configuration file.

Example

An example of NodeJS based webservice integrating with OTel and Aware SDK can be found at the demo project at: https://github.com/awarelabshq/shoplify/tree/main/riskservice

0.0.125

1 year ago

0.0.124

1 year ago

0.0.123

1 year ago

0.0.122

1 year ago

0.0.121

1 year ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.1

1 year ago