
Research
/Security News
Miasma Mini Shai-Hulud Hits ImmobiliareLabs npm Packages
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.
@metis-data/base-interceptor
Advanced tools
@metis-data/base-interceptorUtils for building an interceptor.
Merge interceptor configuration from code (e.g. from developer), environment and builtin default.
import {
Configuration,
ConfigurationHandler,
} from '@metis-data/base-interceptor';
const config = { serviceName: 'test' };
const mergedConfig = ConfigurationHandler.getMergedConfig(config);
Mark a span as tracked by Metis. Only Spans with this tag would be exported to Metis' server (assuming MetisRemoteExporter is used).
import { markSpan } from '@metis-data/base-interceptor';
markSpan(span);
Extract a query from a span using the common db related attributes.
import { getQueryFromSpan } from '@metis-data/base-interceptor';
const query = getQueryFromSpan(span);
Adds the trace and span id to SQL query.
Example:
SELECT * FROM table /traceparent=traceId-spanId**/
import { attachTraceIdToQuery } from '@metis-data/base-interceptor';
attachTraceIdToQuery(span);
Add a given plan Object to a given span.
import { addPlanToSpan } from '@metis-data/base-interceptor';
addPlanToSpan(span, plan);
FAQs
Utils for metis packages for query interception
The npm package @metis-data/base-interceptor receives a total of 24 weekly downloads. As such, @metis-data/base-interceptor popularity was classified as not popular.
We found that @metis-data/base-interceptor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.

Research
/Security News
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.

Security News
Rolldown paused Rust React Compiler integration after a 5MB binary size increase raised concerns about shipping React-specific code to all Vite users.

Security News
/Research
Mini Shai-Hulud expands into the Go ecosystem after hitting LeoPlatform npm packages and targeting GitHub Actions workflows.