1.0.122 • Published 10 months ago

testchimp-node v1.0.122

Weekly downloads
-
License
LGPL-3.0-or-later
Repository
-
Last release
10 months ago

TestChimp SDK For NodeJS

This module enables TestChimp 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 TestChimp servers. Follow steps here.

1) Run the following to install the SDK:

npm install testchimp-node@latest

2) Use TestChimp SDK in your code as follows:

const testChimpSdk=require('testchimp-node');
...
const app = express();
...
app.use(testChimpSdk(<config_file_path>));

Configuration Guide

TestChimp SDK behaviour can be configured via a yml file passed in to testChimpSdk() 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 TestChimp SDK can be found at the demo project at: https://github.com/awarelabshq/shoplify/tree/main/riskservice

1.0.122

10 months ago

1.0.121

11 months ago

1.0.12

11 months ago

1.0.11

12 months ago

1.0.1

12 months ago

1.0.0

1 year ago