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. |
Контракт выходных значений
Значения, которые эта функция публикует для потребителей.
Выходные значения не объявлены.
Аннотации
Аннотации не объявлены.
Связи
Типизированные рёбра к другим опубликованным сущностям и от них. Ссылка без опубликованной цели отображается как разорванное ребро, а не как ссылка.
Использует
Эта сущность ничего не использует из каталога.
Используется в
реализует