Skip to content

Alerts, audit and costs

These five topics cover the installation as a whole, rather than one cluster or one application.

Alerts

The dashboard bell and the administrators’ email always receive the installation’s critical alerts. flui alerts adds other places, and decides whether administrators also hear about warnings. The alerts of one application are on flui app alerts.

flui alerts destination add

Sends alerts to an email address or to a signed webhook.

Terminal window
flui alerts destination add --email oncall@example.com
flui alerts destination add --webhook https://hooks.example.com/flui --min-severity warning
flui alerts destination add --email oncall@example.com --scope all
FlagDefaultEffect
--email <address>noneSend alerts to this address.
--webhook <url>noneA public https address that receives a signed JSON POST for every alert. Its host has to resolve, or the destination is refused.
--min-severity <level>criticalThe least severe alert it receives: warning or critical.
--scope <scope>infrastructureinfrastructure: alerts no application owns (nodes, disks, certificates, platform backups). all: every application’s alerts too, which needs the right to reach application data.
-o, --output <format>texttext or json.

The command prints the new destination’s id.

flui alerts destination list / test / remove

Terminal window
flui alerts destination list
flui alerts destination test <id>
flui alerts destination remove <id>

list shows each destination with its severity, scope and whether anything has been delivered to it yet. test sends a real test alert, named FluiTestAlert, and says whether it arrived. remove stops sending there.

flui alerts warnings

Terminal window
flui alerts warnings # what is set
flui alerts warnings --on # email administrators warnings too
flui alerts warnings --off # critical alerts only (the default)

Covers warnings about nodes, disks and certificates.

flui audit list

Who did what on this installation, newest first: every change, every refusal, and every read of application data.

Terminal window
flui audit list
flui audit list --user support@example.com --since 7d
flui audit list --data
flui audit list --refused --since 24h
FlagDefaultEffect
--user <email>noneOnly what this person did.
--since <when>noneFrom this far back (30m, 8h, 7d) or from a date.
--dataoffOnly actions that reached application data.
--refusedoffOnly what was refused.
--limit <n>50How many records.
-o, --output <format>texttext or json.

Actions the platform takes on its own are listed too, as platform (system). A short-lived SSH certificate issued to reach a node is one example.

flui costs

What your clusters cost: spent and forecast, month by month and provider by provider, deleted clusters included.

Terminal window
flui costs
flui costs --months 12
flui costs --provider hetzner
flui costs --json
FlagDefaultEffect
--months <n>6Calendar months to show, ending with the current one (1 to 24).
--provider <name>noneOnly this provider.
--jsonoffMachine-readable output.

Amounts are in euros. For each provider the output says how it bills and whether VAT is included, and breaks the current month down by cluster. Costs are the machines and volumes of your clusters; applications cost nothing on their own. Traffic above what each machine includes is not counted, and the forecast assumes what runs now keeps running until the end of the month. A machine that started before Flui kept the price it was bought at is priced at today’s list price, and the output says how many.

flui inference usage

What the assistant and the console copilots have spent, by model and by person.

Terminal window
flui inference usage
flui inference usage --days 1
flui inference usage --days 0 --price 0.20
FlagDefaultEffect
--days <n>7The window to report on. 0 means everything.
--price <amount>noneYour price per million tokens, to turn the totals into money. Model prices differ, so you supply the number.
--jsonoffMachine-readable output.

Showcase

The showcase is the short list of applications this installation puts in front of other people.

Terminal window
flui showcase list
flui showcase add <app> --note "Measures our website. Real visitors."
flui showcase remove <app>

<app> is the application’s slug, name or id. For an app that came with a catalog bundle, use the component’s slug, as flui app list shows it. --note is the line shown next to it. It is stored as the application’s description, so it stays after remove. remove takes the application out of the showcase and leaves it running. All three take --json.