metrixwire 0.2.4__tar.gz → 0.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {metrixwire-0.2.4 → metrixwire-0.3.0}/.gitignore +3 -0
- {metrixwire-0.2.4 → metrixwire-0.3.0}/PKG-INFO +4 -4
- {metrixwire-0.2.4 → metrixwire-0.3.0}/README.md +2 -2
- {metrixwire-0.2.4 → metrixwire-0.3.0}/pyproject.toml +1 -1
- {metrixwire-0.2.4 → metrixwire-0.3.0}/src/metrixwire/config.py +1 -1
- {metrixwire-0.2.4 → metrixwire-0.3.0}/src/metrixwire/__init__.py +0 -0
- {metrixwire-0.2.4 → metrixwire-0.3.0}/src/metrixwire/client.py +0 -0
- {metrixwire-0.2.4 → metrixwire-0.3.0}/src/metrixwire/context.py +0 -0
- {metrixwire-0.2.4 → metrixwire-0.3.0}/src/metrixwire/patches/__init__.py +0 -0
- {metrixwire-0.2.4 → metrixwire-0.3.0}/src/metrixwire/patches/db.py +0 -0
- {metrixwire-0.2.4 → metrixwire-0.3.0}/src/metrixwire/patches/django_patch.py +0 -0
- {metrixwire-0.2.4 → metrixwire-0.3.0}/src/metrixwire/patches/flask_patch.py +0 -0
- {metrixwire-0.2.4 → metrixwire-0.3.0}/src/metrixwire/patches/httpclient_patch.py +0 -0
- {metrixwire-0.2.4 → metrixwire-0.3.0}/src/metrixwire/patches/mysqldb_patch.py +0 -0
- {metrixwire-0.2.4 → metrixwire-0.3.0}/src/metrixwire/patches/psycopg2_patch.py +0 -0
- {metrixwire-0.2.4 → metrixwire-0.3.0}/src/metrixwire/patches/psycopg3_patch.py +0 -0
- {metrixwire-0.2.4 → metrixwire-0.3.0}/src/metrixwire/patches/pymysql_patch.py +0 -0
- {metrixwire-0.2.4 → metrixwire-0.3.0}/src/metrixwire/patches/redis_patch.py +0 -0
- {metrixwire-0.2.4 → metrixwire-0.3.0}/src/metrixwire/patches/requests_patch.py +0 -0
- {metrixwire-0.2.4 → metrixwire-0.3.0}/src/metrixwire/patches/sqlite3_patch.py +0 -0
- {metrixwire-0.2.4 → metrixwire-0.3.0}/src/metrixwire/patches/starlette_patch.py +0 -0
- {metrixwire-0.2.4 → metrixwire-0.3.0}/src/metrixwire/patches/web.py +0 -0
- {metrixwire-0.2.4 → metrixwire-0.3.0}/src/metrixwire/trace.py +0 -0
- {metrixwire-0.2.4 → metrixwire-0.3.0}/src/metrixwire/transport.py +0 -0
- {metrixwire-0.2.4 → metrixwire-0.3.0}/src/metrixwire/util.py +0 -0
- {metrixwire-0.2.4 → metrixwire-0.3.0}/src/metrixwire/wsgi.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: metrixwire
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: Zero-config APM SDK for Python. Call init() once — every request, query, cache op and outbound HTTP call is instrumented automatically.
|
|
5
5
|
Project-URL: Homepage, https://metrixwire.com
|
|
6
6
|
Author: MetrixWire
|
|
@@ -57,7 +57,7 @@ With no arguments, `init()` reads its config from the environment:
|
|
|
57
57
|
| Env var | Purpose |
|
|
58
58
|
|---|---|
|
|
59
59
|
| `METRIXWIRE_KEY` | Project API key (required to enable) |
|
|
60
|
-
| `METRIXWIRE_ENDPOINT` | Ingest URL — base or full `/ingest` (default `
|
|
60
|
+
| `METRIXWIRE_ENDPOINT` | Ingest URL — base or full `/ingest` (default `https://metrixwire.com/ingest`) |
|
|
61
61
|
| `METRIXWIRE_ENABLED` | `false` to disable entirely |
|
|
62
62
|
|
|
63
63
|
A missing API key runs the SDK **disabled** — it never raises.
|
|
@@ -105,7 +105,7 @@ Database spans also capture a `sourceLocation` (`file.py:42`) pointing at the ne
|
|
|
105
105
|
```python
|
|
106
106
|
metrixwire.init(
|
|
107
107
|
api_key="mw_...", # required (or METRIXWIRE_KEY)
|
|
108
|
-
endpoint="
|
|
108
|
+
endpoint="https://metrixwire.com/ingest", # default; base URL is accepted too
|
|
109
109
|
flush_interval_ms=5000, # how often batches are sent
|
|
110
110
|
enabled=True, # set False to disable entirely
|
|
111
111
|
timeout_ms=3000, # send timeout (short, non-blocking)
|
|
@@ -35,7 +35,7 @@ With no arguments, `init()` reads its config from the environment:
|
|
|
35
35
|
| Env var | Purpose |
|
|
36
36
|
|---|---|
|
|
37
37
|
| `METRIXWIRE_KEY` | Project API key (required to enable) |
|
|
38
|
-
| `METRIXWIRE_ENDPOINT` | Ingest URL — base or full `/ingest` (default `
|
|
38
|
+
| `METRIXWIRE_ENDPOINT` | Ingest URL — base or full `/ingest` (default `https://metrixwire.com/ingest`) |
|
|
39
39
|
| `METRIXWIRE_ENABLED` | `false` to disable entirely |
|
|
40
40
|
|
|
41
41
|
A missing API key runs the SDK **disabled** — it never raises.
|
|
@@ -83,7 +83,7 @@ Database spans also capture a `sourceLocation` (`file.py:42`) pointing at the ne
|
|
|
83
83
|
```python
|
|
84
84
|
metrixwire.init(
|
|
85
85
|
api_key="mw_...", # required (or METRIXWIRE_KEY)
|
|
86
|
-
endpoint="
|
|
86
|
+
endpoint="https://metrixwire.com/ingest", # default; base URL is accepted too
|
|
87
87
|
flush_interval_ms=5000, # how often batches are sent
|
|
88
88
|
enabled=True, # set False to disable entirely
|
|
89
89
|
timeout_ms=3000, # send timeout (short, non-blocking)
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "metrixwire"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.3.0"
|
|
8
8
|
description = "Zero-config APM SDK for Python. Call init() once — every request, query, cache op and outbound HTTP call is instrumented automatically."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.8"
|
|
@@ -10,7 +10,7 @@ import os
|
|
|
10
10
|
from dataclasses import dataclass
|
|
11
11
|
from typing import Optional
|
|
12
12
|
|
|
13
|
-
DEFAULT_ENDPOINT = "
|
|
13
|
+
DEFAULT_ENDPOINT = "https://metrixwire.com/ingest"
|
|
14
14
|
DEFAULT_FLUSH_INTERVAL_MS = 5000
|
|
15
15
|
DEFAULT_TIMEOUT_MS = 3000
|
|
16
16
|
DEFAULT_MAX_BATCH = 20
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|