feat(sub): expose last subscription fetch time (#6217)
* feat(sub): expose last subscription fetch time Record successful GET subscription fetches per client and surface the timestamp in the client API and UI. * fix(frontend): include last subscription fetch in client traffic * Update sub_fetch_test.go --------- Co-authored-by: Hermes Agent <hermes-agent@localhost>
This commit is contained in:
1 parent
ad32144c42
commit
2217213e9f
26 files changed
+187
-14
No files matched your search
@@ -1324,6 +1324,11 @@
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
},
|
||||
"lastSubFetch": {
|
||||
"example": 1735680000000,
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
},
|
||||
"reset": {
|
||||
"example": 0,
|
||||
"type": "integer"
|
||||
@@ -1355,6 +1360,7 @@
|
||||
"id",
|
||||
"inboundId",
|
||||
"lastOnline",
|
||||
"lastSubFetch",
|
||||
"reset",
|
||||
"subId",
|
||||
"total",
|
||||
@@ -3139,6 +3145,7 @@
|
||||
"id": 14825,
|
||||
"inboundId": 1,
|
||||
"lastOnline": 1735680000000,
|
||||
"lastSubFetch": 1735680000000,
|
||||
"reset": 0,
|
||||
"subId": "i7tvdpeffi0hvvf1",
|
||||
"total": 10737418240,
|
||||
@@ -7786,6 +7793,7 @@
|
||||
"id": 14825,
|
||||
"inboundId": 1,
|
||||
"lastOnline": 1735680000000,
|
||||
"lastSubFetch": 1735680000000,
|
||||
"reset": 0,
|
||||
"subId": "i7tvdpeffi0hvvf1",
|
||||
"total": 10737418240,
|
||||
|
||||
@@ -305,6 +305,7 @@ export const EXAMPLES: Record<string, unknown> = {
|
||||
"id": 14825,
|
||||
"inboundId": 1,
|
||||
"lastOnline": 1735680000000,
|
||||
"lastSubFetch": 1735680000000,
|
||||
"reset": 0,
|
||||
"subId": "i7tvdpeffi0hvvf1",
|
||||
"total": 10737418240,
|
||||
@@ -422,6 +423,7 @@ export const EXAMPLES: Record<string, unknown> = {
|
||||
"id": 14825,
|
||||
"inboundId": 1,
|
||||
"lastOnline": 1735680000000,
|
||||
"lastSubFetch": 1735680000000,
|
||||
"reset": 0,
|
||||
"subId": "i7tvdpeffi0hvvf1",
|
||||
"total": 10737418240,
|
||||
|
||||
@@ -1298,6 +1298,11 @@ export const SCHEMAS: Record<string, unknown> = {
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
},
|
||||
"lastSubFetch": {
|
||||
"example": 1735680000000,
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
},
|
||||
"reset": {
|
||||
"example": 0,
|
||||
"type": "integer"
|
||||
@@ -1329,6 +1334,7 @@ export const SCHEMAS: Record<string, unknown> = {
|
||||
"id",
|
||||
"inboundId",
|
||||
"lastOnline",
|
||||
"lastSubFetch",
|
||||
"reset",
|
||||
"subId",
|
||||
"total",
|
||||
|
||||
Loaded 3 of 26 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user