Skip to content

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

codecov

NOTE: This is in private beta.

lm-telemetry-sdk-nodejs

LogicMonitor Telemetry SDK for node.js

Usage:

const { opentelemetry } = require("@opentelemetry/sdk-node");
const { lmResourceDetector} = require('lmresourcedetectorsdk');
.
.
.
.
const sdk = new opentelemetry.NodeSDK(
    .
    .
    .);

sdk.detectResources({
    detectors: [lmResourceDetector]
}).then(
    () => {
        sdk.start();
    }
)

Resource Detector env config

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


Assets

  • lm-telemetry-sdk-0.0.1-npm.tgz

Download activity

  • Total downloads 6
  • Last 30 days 0
  • Last week 0
  • Today 0

Recent versions

View all