Цю сторінку перекладено машинно. Читати англійський оригінал.

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_bytesinteger10737418240ніFree storage, in bytes, below which the alarm is raised. The default is ten gibibytes.

Вихідний контракт

Значення, які ця функція публікує для споживачів.

Вихідних значень не оголошено.

Анотації

Анотацій не оголошено.

Зв’язки

Типізовані ребра до інших опублікованих сутностей і від них. Відсилання без опублікованої цілі відображається як розірване ребро, а не як посилання.

Використовує

Ця сутність не використовує нічого з каталогу.

Використовується в

Довідка про поняття Feature →

Каталог Aggrega — відкритий індекс компонентів, функцій, рецептів і плагінів, які їх рендерять.

Створено на основі спільної дизайн-системи Aggrega.

Конфіденційність