GET /v1/agents/assets/{assetId}/metrics
GET/v1/agents/assets/{assetId}/metrics
Get metrics time series for an asset (from VictoriaMetrics)
Query-Parameter
| Name | Typ | Beschreibung |
|---|
period | string | Time period to query |
metric | string | Metric type to return |
Pfad-Parameter
| Name | Typ | Beschreibung |
|---|
assetIderforderlich | string | |
Beispiel
curl -X GET https://api.codemeta-os.de/v1/agents/assets/{assetId}/metrics \
-H "X-Tenant-Id: $TENANT" \
-b cookies.txt
const result = await cm.agents.get();
Antwortcodes
| HTTP |
Bedeutung |
200 |
Default Response |