Expand description
App-owned declarations shared by both observability sinks.
Structs§
- Alert
- A metric-threshold declaration carried by the boot manifest: references
a named metric declared in the same manifest by
metric_id(no query embedded — the server joins by id).PartialEqonly (f64 thresholds), mirroringNamedMetric. - Alert
Builder - The ergonomic Rust surface for declaring a metric threshold. All
validation happens in
AlertBuilder::build— no I/O, no server round trip. The builder does not enforce int-range on severity thresholds: the subscriber cannot know the referenced metric’svalue_type; out-of-domain values are rejected server-side at ingest. - Dashboard
- A named dashboard with ordered sections and a stable remote identity.
- Declarations
- One application’s declared dashboards, metrics and alerts.
- Hogql
Check - A declarative
HogQLhealth check; cja does not execute it. - Link
- One navigation link: rendered, never fetched.
- Metric
- A metric with a stable ID and editable presentation metadata.
- Product
Event Metric - A single event series with optional property aggregation, filters and grouping.
- Product
Metric Builder - Build a product metric shared by Eyes and
PostHog. - Property
Filter - One predicate applied to the event series in both sinks.
- Ratio
Metric - One declared metric divided by another, both in the same
Declarations. - Ratio
Metric Builder - Build a ratio metric over two other declared metrics.
- Section
- One titled grouping of dashboard items.
- Severity
- One severity policy of a metric threshold: a comparison direction and
the boundary value. The threshold crosses the wire as an
f64number — serde emits1.0for whole values, and the server validates by value, not JSON representation, so1.0is accepted for an int metric. - Telemetry
Metric - An Eyes telemetry query validated by the telemetry builder.
- Telemetry
Metric Builder - Build a span or log metric for the Eyes manifest.
Enums§
- Bucket
- Width of one time bucket of a product metric.
- Comparison
- Direction in which a threshold is breached.
- Filter
Operator - Comparison operators shared by the Eyes and product-event backends.
- Filter
Value - Scalar event property used in a metric filter.
- Group
Match - How multi-row results feed a threshold breach:
Anybreaches when at least one numeric cell breaches;Allwhen every numeric cell does. - Hogql
Comparison - Numeric comparison applied to the first
HogQLresult cell. - Hogql
Severity - Alert severity for a
HogQLcheck. - Item
- Presentation of a metric, health summary or navigation links on a dashboard.
- Metric
Query - The source and aggregation used by a metric.
- Product
Aggregate - Aggregation over matching product events.