mirror of
https://github.com/MeshCore-Beacon/beacon-server.git
synced 2026-10-22 13:02:26 +00:00
fix(observers): separate packet metrics from presence updates
This commit is contained in:
1 parent
fd7c6b3eb7
commit
5fbba24a4a
31 files changed
+844
-93
No files matched your search
@@ -1466,6 +1466,12 @@
|
||||
"description": "Bucket size: 5m, 15m, 1h, 6h or 24h (default 15m)",
|
||||
"name": "interval",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "Optional exclusive end in epoch milliseconds; aligned down to a complete bucket, at most 30 days old",
|
||||
"name": "until",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
@@ -3922,6 +3928,7 @@
|
||||
"type": "integer"
|
||||
},
|
||||
"observationCount": {
|
||||
"description": "legacy cumulative presence counter; includes non-packet events",
|
||||
"type": "integer"
|
||||
},
|
||||
"observerType": {
|
||||
@@ -3977,6 +3984,10 @@
|
||||
"github_com_MeshCore-Beacon_beacon-server_internal_api.ObserverActivity": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"generatedAt": {
|
||||
"description": "response computation time, not proof of continuous coverage",
|
||||
"type": "integer"
|
||||
},
|
||||
"interval": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -3997,6 +4008,21 @@
|
||||
},
|
||||
"range": {
|
||||
"type": "string"
|
||||
},
|
||||
"source": {
|
||||
"description": "raw or hourly; missing records do not prove an outage",
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"$ref": "#/definitions/github_com_MeshCore-Beacon_beacon-server_internal_api.ObserverActivitySummary"
|
||||
},
|
||||
"windowEnd": {
|
||||
"description": "exclusive complete-bucket end, epoch ms",
|
||||
"type": "integer"
|
||||
},
|
||||
"windowStart": {
|
||||
"description": "inclusive complete-bucket start, epoch ms",
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -4044,6 +4070,26 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"github_com_MeshCore-Beacon_beacon-server_internal_api.ObserverActivitySummary": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"lastCompleteHour": {
|
||||
"type": "integer"
|
||||
},
|
||||
"lastCompleteHourEnd": {
|
||||
"type": "integer"
|
||||
},
|
||||
"lastCompleteHourStart": {
|
||||
"type": "integer"
|
||||
},
|
||||
"latestRecordedAt": {
|
||||
"type": "integer"
|
||||
},
|
||||
"recordedPackets": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"github_com_MeshCore-Beacon_beacon-server_internal_api.ObserverBroker": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in new issue
Block a user