{"id":18811754,"url":"https://github.com/logicmonitor/lm-telemetry-sdk-nodejs","last_synced_at":"2026-01-11T14:30:21.322Z","repository":{"id":39886519,"uuid":"413346192","full_name":"logicmonitor/lm-telemetry-sdk-nodejs","owner":"logicmonitor","description":"LogicMonitor Telemetry SDK for node.js","archived":false,"fork":false,"pushed_at":"2023-07-17T10:38:24.000Z","size":1073,"stargazers_count":0,"open_issues_count":5,"forks_count":3,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-12-30T00:13:28.691Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/logicmonitor.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-04T08:57:47.000Z","updated_at":"2022-01-04T15:14:02.000Z","dependencies_parsed_at":"2024-11-07T23:29:19.135Z","dependency_job_id":"f6437216-7458-4583-b33d-9787a90b5f7d","html_url":"https://github.com/logicmonitor/lm-telemetry-sdk-nodejs","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logicmonitor%2Flm-telemetry-sdk-nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logicmonitor%2Flm-telemetry-sdk-nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logicmonitor%2Flm-telemetry-sdk-nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logicmonitor%2Flm-telemetry-sdk-nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/logicmonitor","download_url":"https://codeload.github.com/logicmonitor/lm-telemetry-sdk-nodejs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239748248,"owners_count":19690232,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T23:27:33.615Z","updated_at":"2026-01-11T14:30:21.291Z","avatar_url":"https://github.com/logicmonitor.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![codecov](https://codecov.io/gh/logicmonitor/lm-telemetry-sdk-nodejs/branch/main/graph/badge.svg?token=NCXEJLVNWH)](https://codecov.io/gh/logicmonitor/lm-telemetry-sdk-nodejs)\n\n_NOTE: This is in private beta._\n# lm-telemetry-sdk-nodejs\nLogicMonitor Telemetry SDK for node.js\n\n## Description\n\nThis SDK currently detects Resources on the platforms listed below in the table.\n\n## Prerequisites\n\nThis 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.\n\n### Set a GitHub Personal Access Token to get lm-telemetry-sdk-nodejs from GitHub Package registry\n- Generate a personal access token for your github account with `repo` and `read:packages` scope. [Follow these steps](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)\n- Set your generated token as `GH_PAT` environment variable\n\n### Modify your .npmrc file\n- If you have not created `.npmrc` in your project, just create a blank file named `.npmrc` in the root of your project.\n- Add the following in `.npmrc`\n```\n@logicmonitor:registry=https://npm.pkg.github.com/logicmonitor\n//npm.pkg.github.com/:_authToken=${GH_PAT}\n```\n## Usage Examples:\n\n- [Auto Instrumentation Example](https://github.com/logicmonitor/lm-telemetry-sdk-nodejs/tree/main/examples/auto-instrumentation)\n- [Manual Instrumentation Example](https://github.com/logicmonitor/lm-telemetry-sdk-nodejs/tree/main/examples/manual-instrumentation)\n\n### Resource Detector env config\n\nEnvironment variable `LM_RESOURCE_DETECTOR` can be set to one of the following values, to set appropriate resource detector if you want to specify explicitly.\n\n| Value                     | Description|\n|---------------------------|-------------------------------------|\n| `aws_ec2`                 | AWS Elastic Compute Cloud |\n| `aws_ecs`                 | AWS Elastic Container Service |\n| `aws_lambda`              | AWS Lambda |\n| `gcp_compute_engine`      | Google Cloud Compute Engine (GCE) |\n| `gcp_kubernetes_engine`   | Google Kubernetes Engine (GKE) |\n| `gcp_cloud_functions`     | Google Cloud Functions (GCF) |\n| `azure_vm`\t\t\t\t\t\t\t\t| Azure VM |\n| `azure_functions`         | Azure Functions |\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogicmonitor%2Flm-telemetry-sdk-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flogicmonitor%2Flm-telemetry-sdk-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogicmonitor%2Flm-telemetry-sdk-nodejs/lists"}