Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
@opentelemetry/exporter-collector
Advanced tools
OpenTelemetry Collector Exporter allows user to send collected traces to the OpenTelemetry Collector
This module provides exporter for web and node to be used with opentelemetry-collector.
npm install --save @opentelemetry/exporter-collector
import * as opentelemetry from '@opentelemetry/core';
import { SimpleSpanProcessor } from '@opentelemetry/tracing';
import { WebTracer } from '@opentelemetry/web';
import { CollectorExporter } from '@opentelemetry/exporter-collector'
const collectorOptions = {
url: '<opentelemetry-collector-url>' // url is optional and can be omitted - default is http://localhost:55678/v1/trace
};
const tracer = new WebTracer();
const exporter = new CollectorExporter(collectorOptions);
tracer.addSpanProcessor(new SimpleSpanProcessor(exporter));
opentelemetry.initGlobalTracer(tracer);
const opentelemetry = require('@opentelemetry/core');
const { BasicTracerRegistry, SimpleSpanProcessor } = require('@opentelemetry/tracing');
const { CollectorExporter } = require('@opentelemetry/exporter-collector');
const collectorOptions = {
url: '<opentelemetry-collector-url>' // url is optional and can be omitted - default is http://localhost:55678/v1/trace
};
const registry = new BasicTracerRegistry();
const exporter = new CollectorExporter(collectorOptions);
registry.addSpanProcessor(new SimpleSpanProcessor(exporter));
opentelemetry.initGlobalTracerRegistry(registry);
npm run collector:docker:ot
http://localhost:9411/zipkin/
to observe the tracesApache 2.0 - See LICENSE for more information.
0.3.3
Released 2020-01-22
opentelemetry-core
, opentelemetry-exporter-collector
, opentelemetry-exporter-zipkin
, opentelemetry-node
, opentelemetry-plugin-dns
, opentelemetry-plugin-document-load
, opentelemetry-plugin-grpc
, opentelemetry-plugin-http
, opentelemetry-plugin-https
, opentelemetry-plugin-ioredis
, opentelemetry-plugin-mongodb
, opentelemetry-plugin-mysql
, opentelemetry-plugin-postgres
, opentelemetry-plugin-redis
, opentelemetry-plugin-xml-http-request
, opentelemetry-shim-opentracing
, opentelemetry-tracing
, opentelemetry-types
, opentelemetry-web
opentelemetry-node
, opentelemetry-plugin-postgres
opentelemetry-metrics
opentelemetry-propagator-jaeger
opentelemetry-exporter-stackdriver-trace
opentelemetry-plugin-ioredis
FAQs
OpenTelemetry Collector Exporter allows user to send collected traces to the OpenTelemetry Collector
The npm package @opentelemetry/exporter-collector receives a total of 18,698 weekly downloads. As such, @opentelemetry/exporter-collector popularity was classified as popular.
We found that @opentelemetry/exporter-collector demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.