Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@sesamecare-oss/opentelemetry-node-metrics
Advanced tools
A modernized set of node metrics for OpenTelemetry
A modernized set of node metrics for OpenTelemetry. Based on two excellent modules:
Usage:
yarn add @sesamecare-oss/opentelemetry-node-metrics
Wire up OTEL as normal - using node auto instrumentations or manual setup as you wish. Then, at an appropriate place, include something like the below:
import { metrics } from '@opentelemetry/api';
import { setupNodeMetrics } from '@sesamecare-oss/opentelemetry-node-metrics';
const meter = metrics.getMeterProvider().getMeter('node-metrics');
setupNodeMetrics(meter);
Now your Prometheus-exported metrics should be included along with whatever other metrics you ahve selected. See openapi-typescript-infra/service for a more complete example of metrics integrated with an express service host.
One notable change from the existing libraries - they divide active handles and active 'requests' using deprecated Node APIs. I've chosed to merge these into 'resources' using the new getActiveResourcesInfo API, which is Node17+. It should fail gracefully if that function is not available.
FAQs
A modernized set of node metrics for OpenTelemetry
We found that @sesamecare-oss/opentelemetry-node-metrics demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.