mirror of
https://github.com/sergi0g/cup.git
synced 2025-11-15 08:33:49 -05:00
docs: update example homepage widget to conform to latest config spec
Co-authored-by: Valdr687 <106614142+Valdr687@users.noreply.github.com>
This commit is contained in:
@@ -55,24 +55,20 @@ widget:
|
|||||||
refreshInterval: 10000
|
refreshInterval: 10000
|
||||||
method: GET
|
method: GET
|
||||||
mappings:
|
mappings:
|
||||||
- field:
|
- field: metrics.monitored_images
|
||||||
metrics: monitored_images
|
|
||||||
label: Monitored images
|
label: Monitored images
|
||||||
format: number
|
format: number
|
||||||
- field:
|
- field: metrics.up_to_date
|
||||||
metrics: up_to_date
|
|
||||||
label: Up to date
|
label: Up to date
|
||||||
format: number
|
format: number
|
||||||
- field:
|
- field: metrics.updates_available
|
||||||
metrics: updates_available
|
|
||||||
label: Available updates
|
label: Available updates
|
||||||
format: number
|
format: number
|
||||||
- field:
|
- field: metrics.unknown
|
||||||
metrics: unknown
|
|
||||||
label: Unknown
|
label: Unknown
|
||||||
format: number
|
format: number
|
||||||
```
|
```
|
||||||
|
|
||||||
Preview:
|
Preview:
|
||||||
<Image src={widget2} />
|
<Image src={widget2} />
|
||||||
Credit: [@remussamoila](https://github.com/remussamoila)
|
Credit: [@remussamoila](https://github.com/remussamoila) and [@Valdr687](https://github.com/Valdr687)
|
||||||
Reference in New Issue
Block a user