Scan your whole stack
Are you using @nathapp/nestjs-observability?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v4.7.0
@nathapp/nestjs-observability was last scanned on 28 Nov 2026 at version 4.7.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 4.7.0 LATEST | 28 Nov 2026 | No rules fired |
| 4.6.1 | 27 Nov 2026 | No rules fired |
| 4.6.0 | 27 Nov 2026 | No rules fired |
| 4.5.1 | 24 Nov 2026 | Not shown |
| 4.5.0 | 23 Nov 2026 | Not shown |
Findings for v4.7.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 4.7.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
First-party metrics (Prometheus) and distributed tracing (OpenTelemetry) for NestJS, joined to the nathapp correlation-id context so logs, metrics, and traces share one id.
Status: scaffolded. Behaviour is implemented per
docs/superpowers/specs/2026-07-07-nestjs-observability-design.md— files underlib/**currently thrownot implementedand are filled in by the TDD plan.
/metrics scrape endpoint — powered by @willsoto/nestjs-prometheus. Path is
configurable. Exposure and authz are the consumer's concern (no auth is applied).NodeSDK with HTTP + express/fastify
auto-instrumentation, OTLP/console exporters, and a configurable sampling ratio.nestjs-logging RequestContextService)
is set on each span, and the active trace_id/span_id are written back into the logging
context so log lines carry them.TraceService and a @Trace() method decorator.makeCounterProvider / makeGaugeProvider / makeHistogramProvider /
makeSummaryProvider / InjectMetric are re-exported so you never depend on
@willsoto/nestjs-prometheus directly.Tracing must start before any framework import, so call initTracing() first in main.ts:
// main.ts — very first lines
import { initTracing } from '@nathapp/nestjs-observability';
initTracing({ serviceName: 'my-api', otlpUrl: process.env.OTLP_URL });
// ...then the normal bootstrap
import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
async function bootstrap() {
const app = await NestFactory.create(AppModule);
await app.listen(3000);
}
bootstrap();
Register the module for metrics + in-app trace helpers:
import { ObservabilityModule } from '@nathapp/nestjs-observability';
@Module({
imports: [
ObservabilityModule.register({
metrics: { path: '/metrics', ignoreRoutes: ['/metrics', '/health'] },
tracing: { correlationBridge: true },
}),
],
})
export class AppModule {}
Metric resources use prom-client's process-wide registry. Each Nest application
that enables metrics still receives its own /metrics controller and HTTP
interceptor, while registrations with the same full metric names reuse the
existing counters and histogram. A repeated name must keep the same metric type,
help text, labels, and histogram buckets; incompatible configuration throws an
error naming the metric and the conflicting setting. Different prefixes create
separate metric names. Default Node/process collectors start once when the first
enabled registration requests them.
@nestjs/common, @nestjs/core, rxjs — the framework.@nathapp/nestjs-logging — soft; only the correlation bridge uses its
RequestContextService. Without it the bridge is inert (everything else still works).Metrics are pure Prometheus; OpenTelemetry is tracing-only. OTel metrics, OTLP logs, DB/Redis/queue instrumentation, exemplars, and dashboards are deferred follow-ups.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.