@deslop/scope 0.1.1222 → 0.1.1223
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.
- package/README.md +8 -19
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,24 +1,13 @@
|
|
|
1
1
|
# Scope
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A debugger for Effect apps: it receives their traces and logs, and agents query them.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
```bash
|
|
6
|
+
npm install --global @deslop/scope
|
|
7
|
+
scope service install --url https://scope.mp281x.xyz --auth https://auth.mp281x.xyz
|
|
8
|
+
```
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
| `list_services` | Every stored service's latest run, runtime, last event time and entry count, plus rejected-export counters |
|
|
13
|
-
| `find` | Matching traces, spans with their OTLP fields, or logs, newest or slowest first, with the total count |
|
|
14
|
-
| `measure_latency` | Span count, errors and p50, p95 and max latency over the whole window |
|
|
15
|
-
| `read_trace` | One stored trace whole, including earlier runs, with parent order, offsets and logs |
|
|
10
|
+
- **Send** telemetry by starting other apps with `--traces https://scope.mp281x.xyz`; it accepts OTLP/HTTP JSON from anywhere and keeps three days.
|
|
11
|
+
- **MCP** at `/mcp`: `list_services`, `find`, `read_trace`, `measure_latency`.
|
|
16
12
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
Start with `list_services`.
|
|
20
|
-
|
|
21
|
-
- **Times**: `lastEventAt` and `runStartedAt` are exporter-clock Unix nanoseconds; a zero run marker means no valid run start was exported.
|
|
22
|
-
- **`entries`** counts the latest run only; a missing service has no retained telemetry, which proves nothing about its health.
|
|
23
|
-
- **Rejections** per route, status and credential header (`authorization`, `cookie`, `none`); they can't name the app. No credentials or bodies kept. `since` and `lastAt` are receiver-clock Unix milliseconds; counters reset on restart.
|
|
24
|
-
- **No self-export**: Scope's own diagnostic traffic stays out of it.
|
|
13
|
+
Common flags and service commands: [Deslop app runtime](https://github.com/MP281X/deslop/blob/main/packages/runtime/README.md).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deslop/scope",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1223",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/MP281X/deslop",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"engines": {
|
|
32
32
|
"node": ">=26"
|
|
33
33
|
},
|
|
34
|
-
"fingerprint": "
|
|
34
|
+
"fingerprint": "9ca31803c8c95cd5b8e0e26078bcc5a1cc5c4201c91111e2942ca39fe508cac1"
|
|
35
35
|
}
|