refactor(metrics): remove unused fields from RouteAggregate and update related documentation

- Removed `display_name`, `is_docker`, and `is_excluded` fields from the `RouteAggregate` struct and corresponding Swagger documentation.
- Updated references in the README and code to reflect the removal of these fields, ensuring consistency across the codebase.
This commit is contained in:
yusing
2026-01-24 15:55:46 +08:00
parent 62fb690417
commit a824e4c8c2
4 changed files with 2 additions and 37 deletions

View File

@@ -4746,11 +4746,6 @@
"x-nullable": false,
"x-omitempty": false
},
"display_name": {
"type": "string",
"x-nullable": false,
"x-omitempty": false
},
"downtime": {
"type": "number",
"x-nullable": false,
@@ -4761,16 +4756,6 @@
"x-nullable": false,
"x-omitempty": false
},
"is_docker": {
"type": "boolean",
"x-nullable": false,
"x-omitempty": false
},
"is_excluded": {
"type": "boolean",
"x-nullable": false,
"x-omitempty": false
},
"statuses": {
"type": "array",
"items": {

View File

@@ -1154,16 +1154,10 @@ definitions:
- napping
- starting
type: string
display_name:
type: string
downtime:
type: number
idle:
type: number
is_docker:
type: boolean
is_excluded:
type: boolean
statuses:
items:
$ref: '#/definitions/RouteStatus'