DEPRECATED
Swamp core now includes native OpenTelemetry metrics export — this extension is no longer needed
Legacy Metrics
@swampadmin/legacy-metricsv2025.01.20.0
01README
Push-based metrics collector for Prometheus. Deprecated in favor of native OpenTelemetry support in swamp core.
02Models
@swampadmin/legacy-metrics/collectorv1.0.0metrics.ts
fn start(id: string)
start operation
| Argument | Type | Description |
|---|---|---|
| id | string | Instance identifier to start |
fn stop(id: string, graceful?: boolean)
stop operation
| Argument | Type | Description |
|---|---|---|
| id | string | Instance identifier to stop |
| graceful? | boolean | Wait for in-flight requests to complete |
fn status(name: string)
status operation
| Argument | Type | Description |
|---|---|---|
| name | string | Resource name |
03Stats
Downloads
0
Archive size
209.0 KB
Not yet scored.
A score will be generated the next time this extension is published. The owner can also trigger scoring manually.
04Platforms
05Labels