Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

metrixwire

Latest version: v1.3.1

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
PyPI package Publisher: arga-platka
2 Versions
44 Downloads

Scan summary

metrixwire was last scanned on 25 Nov 2026 at version 1.3.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions; the latest was published on 25 Nov 2026.
  • Findings: No rules fired in version 1.3.1.
  • Downloads: 44 downloads.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.3.1 LATEST 25 Nov 2026 No rules fired
1.3.0 12 Oct 2026 No rules fired

No rules fired in 1.3.1

Findings

Findings for v1.3.1. 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 1.3.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

metrixwire (Python)

Zero-config APM SDK for Python. Call init() once — every request, database query, cache op and outbound HTTP call is instrumented automatically. There is no manual span API and no middleware to wire up. Non-blocking: if the MetrixWire endpoint is down, your app keeps running normally.

Installation

pip install metrixwire

Zero required dependencies — the core uses only the standard library.

Usage

import metrixwire

metrixwire.init(api_key="mw_...")

That's it. Do this once, as early as possible in your process (before your server starts). Every HTTP request becomes a trace, and every query / HTTP call / cache op within it becomes a span.

Auto-init as early as possible

Import and init at the very top of your entry module (or a sitecustomize.py on your PYTHONPATH) so the patches are installed before your framework and drivers are used:

# sitecustomize.py — or the first lines of your app's entry point
import metrixwire
metrixwire.init()  # reads METRIXWIRE_KEY / METRIXWIRE_ENDPOINT / METRIXWIRE_ENABLED from env

With no arguments, init() reads its config from the environment:

Env var Purpose
METRIXWIRE_KEY Project API key (required to enable)
METRIXWIRE_ENDPOINT Ingest URL — base or full /ingest (default https://metrixwire.com/ingest)
METRIXWIRE_ENABLED false to disable entirely

A missing API key runs the SDK disabled — it never raises.

How the automatic tracing works

A trace is opened for every incoming request by patching each framework's single entry point — no middleware, no per-route setup:

Framework Traced automatically How
Flask ✅ wraps Flask.wsgi_app; route from the matched URL rule (/users/<id>)
Django ✅ patches WSGIHandler.__call__ and ASGIHandler.__call__; route from the resolver match
FastAPI · Starlette ✅ wraps Starlette.__call__ (ASGI); route from the matched pattern (/users/{id})
Bare / other WSGI (wsgiref, …) ✅ wrap once with metrixwire.wsgi.MetrixWireMiddleware

For a bare or unsupported WSGI app:

from metrixwire.wsgi import MetrixWireMiddleware
app = MetrixWireMiddleware(app)

Each trace records the route, HTTP status, response byte size (for the large-response detector), memory growth (for the memory-spike detector), and any unhandled exception.

Automatically instrumented libraries

Installed via init() — each is best-effort: if the library isn't importable it's skipped silently.

Library Span How
psycopg2 db_query (rowCount) patches psycopg2.extensions.cursor.execute/executemany
psycopg (v3) db_query (rowCount) patches psycopg.Cursor.execute/executemany
sqlite3 db_query (rowCount) patches sqlite3.Cursor.execute/executemany
PyMySQL · mysqlclient db_query (rowCount) patches the driver's Cursor.execute/executemany
Django ORM · SQLAlchemy db_query automatic — they run on the drivers above
requests http_call (statusCode) patches Session.request
stdlib http.client / urllib http_call (statusCode) patches HTTPConnection.request/getresponse
redis-py cache (custom, kind=cache) patches Redis.execute_command (records hit/miss)
DB transactions custom (kind=transaction) times BEGIN…COMMIT / connection.commit()

Database spans also capture a sourceLocation (file.py:42) pointing at the nearest application frame.

init options

metrixwire.init(
    api_key="mw_...",                        # required (or METRIXWIRE_KEY)
    endpoint="https://metrixwire.com/ingest",  # default; base URL is accepted too
    flush_interval_ms=5000,                   # how often batches are sent
    enabled=True,                             # set False to disable entirely
    timeout_ms=3000,                          # send timeout (short, non-blocking)
    max_batch=20,                             # flush immediately once this many are queued
    capture_source=True,                      # capture the file:line a span originated from
)

Escape hatch

Requests, queries, HTTP calls and cache ops are all captured automatically. The one manual helper — for frameworks that catch their own errors before the SDK sees them — is:

import metrixwire

try:
    ...
except Exception as e:
    metrixwire.capture_exception(e)   # attach it to the active trace
    raise

Non-blocking behavior

  • Traces are batched and sent off the request path on a background daemon thread with a short timeout.
  • All transport errors are swallowed — instrumentation never throws into your app.
  • A final flush runs at process exit (atexit); you can also call metrixwire.flush() before a short-lived process exits.

OX Radar and Response Center

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.

Where it’s listed

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).

  • pypi-releases metrixwire

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229