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.
Pochodzenie
- Skrót zawartości
- sha256:7b4752a5977f790e41f7f769b02645174cf928ab77c0b49e9316c16afd4a3a7e
- Opublikowano
- 2026-11-10T10:17:39Z
- Tożsamość podpisująca
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Podpis
- Oficjalnyapplication/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
Referencja w tej wersji
oci://hub.aggrega.ai/feature/example/storage-alarm:1.0.0- Dotyczy
- —
- Koliduje z
- —
Parametry dewelopera
Wartości ustawiane przez dewelopera podczas dołączania tej funkcji.
| Nazwa | Typ | Wartość domyślna | Wymagane | Opis |
|---|---|---|---|---|
| free_storage_bytes | integer | 10737418240 | nie | Free storage, in bytes, below which the alarm is raised. The default is ten gibibytes. |
Kontrakt wyjściowy
Wartości, które ta funkcja publikuje konsumentom.
Nie zadeklarowano wartości wyjściowych.
Adnotacje
Nie zadeklarowano adnotacji.
Relacje
Typowane krawędzie do innych opublikowanych encji i od nich. Odwołanie bez opublikowanego celu jest renderowane jako przerwana krawędź, a nie jako łącze.
Używa
Ta encja nie używa niczego z katalogu.
Używane przez
implementuje