Using Aspecto SDK
The Aspecto SDK is an OpenTelemetry-based product.
Install our Node.js library using npm:
1
$ npm install @aspecto/opentelemetry
Copied!
After obtaining your token here, before any other import, add the following call at the top of your app entry point:
JavaScript
TypeScript
1
require('@aspecto/opentelemetry')({
2
local:true,
3
aspectoAuth: '*your-token-goes-here*'
4
});
5
// ... other imports ...
Copied!
1
import init from '@aspecto/opentelemetry';
2
init({
3
local: true,
4
aspectoAuth: '*your-token-goes-here*'
5
});
6
// ... other imports ...
Copied!
Once the process starts, it will output the following link:
1
=====================================================================================================================================
2
| |
3
| πŸ•΅οΈβ€β™€οΈSee the live tracing stream at https://app.aspecto.io/app/live-traces/sessions?instanceId=14243e72-14dc-4255-87af-ef846b247578 |
4
| |
5
=====================================================================================================================================
Copied!
Click on the link to open 'Live traces' and see traces from all the microservices that are running on your environment. The link is valid for a limited period of time.
See the advanced page for specific configurations
Last modified 13d ago
Copy link