Skip to content

Implement Streams API #54

@adamyeats

Description

@adamyeats

I think it'd be cool to have a polling interface over some of the metrics we gather from /proc. Rust Streams are ideal for such an interface.

while let Some(metric) = stream.next().await {
        // do something
}

We can then consume these streams concurrently in the agent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAn improvement to an existing feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions