Code Monkey home page Code Monkey logo

lm-telemetry-sdk-nodejs's Introduction

codecov

NOTE: This is in private beta.

lm-telemetry-sdk-nodejs

LogicMonitor Telemetry SDK for node.js

Description

This SDK currently detects Resources on the platforms listed below in the table.

Prerequisites

This package is published on GitHub Packages NPM registry, you need to follow certain steps to fetch/install this. Please follow these steps to setup your project to use this package.

Set a GitHub Personal Access Token to get lm-telemetry-sdk-nodejs from GitHub Package registry

  • Generate a personal access token for your github account with repo and read:packages scope. Follow these steps
  • Set your generated token as GH_PAT environment variable

Modify your .npmrc file

  • If you have not created .npmrc in your project, just create a blank file named .npmrc in the root of your project.
  • Add the following in .npmrc
@logicmonitor:registry=https://npm.pkg.github.com/logicmonitor
//npm.pkg.github.com/:_authToken=${GH_PAT}

Usage Examples:

Resource Detector env config

Environment variable LM_RESOURCE_DETECTOR can be set to one of the following values, to set appropriate resource detector if you want to specify explicitly.

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

lm-telemetry-sdk-nodejs's People

Contributors

anupamdalmia10 avatar lalit-fgr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.