lm-telemetry-sdk 0.0.1
Install from the command line:
Learn more about npm packages
$ npm install @logicmonitor/lm-telemetry-sdk@0.0.1
Install via package.json:
"@logicmonitor/lm-telemetry-sdk": "0.0.1"
About this version
NOTE: This is in private beta.
LogicMonitor Telemetry SDK for node.js
const { opentelemetry } = require("@opentelemetry/sdk-node");
const { lmResourceDetector} = require('lmresourcedetectorsdk');
.
.
.
.
const sdk = new opentelemetry.NodeSDK(
.
.
.);
sdk.detectResources({
detectors: [lmResourceDetector]
}).then(
() => {
sdk.start();
}
)
Environment variable LM_RESOURCE_DETECTOR
must be set to one of the following values, to set appropriate resource detector
Value | Description |
---|---|
aws_ec2 |
AWS Elastic Compute Cloud |
aws_ecs |
AWS Elastic Container Service |
aws_lambda |
AWS Lambda |
gcp_compute_engine |
Google Cloud Compute Engine (GCE) |
gcp_kubernetes_engine |
Google Kubernetes Engine (GKE) |
gcp_cloud_functions |
Google Cloud Functions (GCF) |
azure_vm |
Azure VM |
azure_functions |
Azure Functions |
Details
- lm-telemetry-sdk
- logicmonitor
- almost 3 years ago
- MPL-2.0
- 25 dependencies
Assets
- lm-telemetry-sdk-0.0.1-npm.tgz
Download activity
- Total downloads 6
- Last 30 days 0
- Last week 0
- Today 0