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. |
输出契约
此功能向使用方发布的值。
未声明输出值。
注解
未声明注解。
关系
与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。
使用
此实体未使用目录中的任何内容。
被使用
实现