Skip to main content

entities

Function entities 

Source
pub fn entities(
    root: &Path,
    from: i64,
    to: i64,
    open: &[Vec<Arc<Open>>],
) -> Result<Results>
Expand description

Every entity present in a window, with its name and how many blocks hold it.

What a “filter by service” control is populated from, and the one place section 7.2’s resources.key becomes something a human can pick. Reads only the resources and resource_attrs tables — tens of rows a block — so it is a facet lookup rather than a scan, and it covers all three signals because a service that only emits metrics still belongs in the list.