Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
@opentelemetry/web
Advanced tools
This module provides automated instrumentation and tracing for Web applications.
For manual instrumentation see the @opentelemetry/tracing package.
This package exposes a class WebTracer
that will be able to automatically trace things in Browser only.
See the example how to use it.
OpenTelemetry comes with a growing number of instrumentation plugins for well know modules (see supported modules) and an API to create custom plugins (see the plugin developer guide).
Web Tracer currently supports one plugin for document load. Unlike Node Tracer, the plugins needs to be initialised and passed in configuration. The reason is to give user full control over which plugin will be bundled into web page.
You can choose to use the ZoneScopeManager if you want to trace asynchronous operations.
npm install --save @opentelemetry/web
import { ConsoleSpanExporter, SimpleSpanProcessor } from '@opentelemetry/tracing';
import { WebTracer } from '@opentelemetry/web';
import { DocumentLoad } from '@opentelemetry/plugin-document-load';
import { ZoneScopeManager } from '@opentelemetry/scope-zone';
// Minimum required setup - supports only synchronous operations
const webTracer = new WebTracer({
plugins: [
new DocumentLoad()
]
});
webTracer.addSpanProcessor(new SimpleSpanProcessor(new ConsoleSpanExporter()));
// Changing default scopeManager to use ZoneScopeManager - supports asynchronous operations
const webTracerWithZone = new WebTracer({
scopeManager: new ZoneScopeManager(),
plugins: [
new DocumentLoad()
]
});
webTracerWithZone.addSpanProcessor(new SimpleSpanProcessor(new ConsoleSpanExporter()));
Apache 2.0 - See LICENSE for more information.
0.4.0
Released 2020-02-05
opentelemetry-api
opentelemetry-plugin-http
opentelemetry-exporter-jaeger
opentelemetry-plugin-user-interaction
FAQs
OpenTelemetry Web Tracer
The npm package @opentelemetry/web receives a total of 560 weekly downloads. As such, @opentelemetry/web popularity was classified as not popular.
We found that @opentelemetry/web 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
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.