Feature
example/storage-alarm
Raises an alarm when a datastore's free storage falls below the headroom the application needs. Its FeatureRecipe is component-scope: it emits one alarm per attached component, watching that component's own storage. The headroom is developer intent (values), because how much spare capacity an application needs before it is in trouble is a property of the application; where the alarm notifies and how long a dip has to persist before it fires are operator sizing (infra), because they describe the operator's on-call arrangements rather than the application. This is an example-namespace Feature: it exists to show how an attachment contributes resources to a target's output, and it is authored for the worked example that demonstrates it rather than as a portable standard-library capability.
出處
- 內容摘要
- sha256:7b4752a5977f790e41f7f769b02645174cf928ab77c0b49e9316c16afd4a3a7e
- 發布時間
- 2026-11-10T10:17:39Z
- 簽署身分
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
簽章
- 官方application/vnd.dev.sigstore.bundle.v0.3+json
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
sha256:9e65f653d3e0d4038436caa06e1279fe3c6375675b01dfd396e76887a3a5506e
此版本的參照
oci://hub.aggrega.ai/feature/example/storage-alarm:1.0.0- 適用於
- —
- 與其衝突
- —
開發者參數
開發者附加此功能時設定的值。
| 名稱 | 型別 | 預設 | 必填 | 描述 |
|---|---|---|---|---|
| free_storage_bytes | integer | 10737418240 | 否 | Free storage, in bytes, below which the alarm is raised. The default is ten gibibytes. |
輸出契約
此功能向使用端發布的值。
未宣告任何輸出值。
註記
未宣告任何註記。
關係
與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。
使用
此實體未使用目錄中的任何項目。
被使用於
實作