1.1.0 • Published 4 years ago
gcp-trace-pubsub v1.1.0
This library support Cloud Trace when using GCP Pubsub
Install
npm install --save gcp-trace-pubsub
Usage
Add plugin to cloud trace as follow:
const tracer = require('@google-cloud/trace-agent').start({
keyFilename: './app-service-account.json',
plugins: {
'@google-cloud/pubsub': 'gcp-trace-pubsub'
}
});
Author
👤 Tung Nguyen
Show your support
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator