{"id":13550216,"url":"https://github.com/GoogleCloudPlatform/opentelemetry-operations-js","last_synced_at":"2025-04-03T00:33:17.610Z","repository":{"id":38273730,"uuid":"244484594","full_name":"GoogleCloudPlatform/opentelemetry-operations-js","owner":"GoogleCloudPlatform","description":"This repository is home to Google Cloud Exporters (Trace and Monitoring) for OpenTelemetry Node.js Project (https://github.com/open-telemetry/opentelemetry-js)","archived":false,"fork":false,"pushed_at":"2025-03-18T00:20:17.000Z","size":8550,"stargazers_count":76,"open_issues_count":36,"forks_count":63,"subscribers_count":31,"default_branch":"main","last_synced_at":"2025-03-31T01:08:00.710Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GoogleCloudPlatform.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/contributing.md","funding":null,"license":"LICENSE","code_of_conduct":"docs/code-of-conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-02T22:00:17.000Z","updated_at":"2025-03-28T06:53:33.000Z","dependencies_parsed_at":"2023-10-11T04:13:42.172Z","dependency_job_id":"be0f08d6-36f5-4225-88a0-61337040bcb3","html_url":"https://github.com/GoogleCloudPlatform/opentelemetry-operations-js","commit_stats":{"total_commits":412,"total_committers":27,"mean_commits":15.25925925925926,"dds":"0.46359223300970875","last_synced_commit":"cd0bf5215224810dff2680ae3d2ab615dde72bbf"},"previous_names":[],"tags_count":51,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fopentelemetry-operations-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fopentelemetry-operations-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fopentelemetry-operations-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fopentelemetry-operations-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GoogleCloudPlatform","download_url":"https://codeload.github.com/GoogleCloudPlatform/opentelemetry-operations-js/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246916733,"owners_count":20854511,"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-08-01T12:01:30.332Z","updated_at":"2025-04-03T00:33:14.499Z","avatar_url":"https://github.com/GoogleCloudPlatform.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# OpenTelemetry Operations Exporters for JavaScript\n\nThe packages in this repository support all [officially supported Node.js versions](https://nodejs.org/en/about/releases/) (10, 12, 14, 16).\n\nTo get started with instrumentation in Google Cloud, see [Generate traces and metrics with\nNode.js](https://cloud.google.com/stackdriver/docs/instrumentation/setup/nodejs).\n\nTo learn more about instrumentation and observability, including opinionated recommendations\nfor Google Cloud Observability, visit [Instrumentation and\nobservability](https://cloud.google.com/stackdriver/docs/instrumentation/overview).\n\n## OpenTelemetry Google Cloud Trace Exporter\n\n[![npm version](https://badge.fury.io/js/%40google-cloud%2Fopentelemetry-cloud-trace-exporter.svg)](https://badge.fury.io/js/%40google-cloud%2Fopentelemetry-cloud-trace-exporter)\n\nOpenTelemetry Google Cloud Trace Exporter allows the user to send collected traces to Google Cloud.\n\n[Google Cloud Trace](https://cloud.google.com/trace) is a distributed tracing system. It helps gather timing data needed to troubleshoot latency problems in microservice architectures. It manages both the collection and lookup of this data.\n\n### Getting Started\n\nThis exporter package assumes your application is [already instrumented](https://opentelemetry.io/docs/instrumentation/js/getting-started/) with the OpenTelemetry SDK. Once you are ready to export OpenTelemetry data, you can add this exporter to your application:\n\n```sh\nnpm install --save @google-cloud/opentelemetry-cloud-trace-exporter\n```\n\n\nAdd the exporter to your existing OpenTelemetry tracer provider (`NodeTracerProvider` / `BasicTracerProvider`)\n\n```js\nconst { TraceExporter } = require('@google-cloud/opentelemetry-cloud-trace-exporter');\nconst { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');\nconst { BatchSpanProcessor } = require('@opentelemetry/sdk-trace-base');\n\n\n// Enable OpenTelemetry exporters to export traces to Google Cloud Trace.\n// Exporters use Application Default Credentials (ADCs) to authenticate.\n// See https://developers.google.com/identity/protocols/application-default-credentials\n// for more details.\n\n// Use your existing provider\nconst provider = new NodeTracerProvider();\nprovider.register();\n\n// Initialize the exporter. When your application is running on Google Cloud,\n// you don't need to provide auth credentials or a project id.\nconst exporter = new TraceExporter();\n\n// Add the exporter to the provider\nprovider.addSpanProcessor(new BatchSpanProcessor(exporter));\n```\nSee [README.md](packages/opentelemetry-cloud-trace-exporter/README.md) for installation and usage information.\n\n \n## OpenTelemetry Google Cloud Trace Propagator\n\n [![npm version](https://badge.fury.io/js/%40google-cloud%2Fopentelemetry-cloud-trace-propagator.svg)](https://badge.fury.io/js/%40google-cloud%2Fopentelemetry-cloud-trace-propagator)\n\nOpenTelemetry Google Cloud Trace Propagator allows other services to create spans with the right context.\n\nSee [README.md](packages/opentelemetry-cloud-trace-propagator/README.md) for installation and usage information.\n\n## OpenTelemetry Google Cloud Monitoring Exporter\n\n[![npm version](https://badge.fury.io/js/%40google-cloud%2Fopentelemetry-cloud-monitoring-exporter.svg)](https://badge.fury.io/js/%40google-cloud%2Fopentelemetry-cloud-monitoring-exporter)\n\nOpenTelemetry Google Cloud Monitoring Exporter allows the user to send collected metrics to Google Cloud Monitoring.\n\nSee [README.md](packages/opentelemetry-cloud-monitoring-exporter/README.md) for installation and usage information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGoogleCloudPlatform%2Fopentelemetry-operations-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGoogleCloudPlatform%2Fopentelemetry-operations-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGoogleCloudPlatform%2Fopentelemetry-operations-js/lists"}