GET /v1/agents/assets/{assetId}/metrics
GET/v1/agents/assets/{assetId}/metrics
Get metrics time series for an asset (from VictoriaMetrics)
Queryparameters
| Naam | Type | Beschrijving |
|---|
period | string | Time period to query |
metric | string | Metric type to return |
Padparameters
| Naam | Type | Beschrijving |
|---|
assetIdvereist | string | |
Voorbeeld
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();
Antwoordcodes
| HTTP |
Betekenis |
200 |
Default Response |