Expand description
A library for reading Inspect and Log data from the ArchiveAccessor FIDL protocol.
Macros§
- hierarchy
- This macro simplifies creating diagnostics hierarchies, to remove the need of writing multiple nested hierarchies and manually writing all properties.
Structs§
- Archive
Reader - Utility for reading inspect data of a running component using the injected Archive Reader service.
- Component
Selector - An inspect tree selector for a component.
- Data
- An instance of diagnostics data with typed metadata and an optional nested payload.
- Diagnostics
Hierarchy - A hierarchy of nodes representing structured data, such as Inspect or structured log data.
- Inspect
- Inspect carries snapshots of data trees hosted by components.
- Logs
- Logs carry streams of structured events from components.
- Subscription
- A subscription used for reading logs.
- Subscription
Results Stream - A stream for reading diagnostics data
Enums§
- Error
- Errors that this library can return
- Property
- A named property. Each of the fields consists of (name, value).
- Retry
Config - Retry configuration for ArchiveReader
- Severity
- Severities a log message can have, often called the log’s “level”.
Traits§
- Check
Response - Trait used to verify that a JSON payload has a valid diagnostics payload.
- Diagnostics
Data Type - A trait representing a type of diagnostics data.
- Serializable
Value - Before unsealing this, consider whether your code belongs in this file.
- ToComponent
Selector Arguments - Trait used for things that can be converted to component selector arguments.
- ToSelector
Arguments - Trait used for things that can be converted to selector arguments.
Type Aliases§
- Inspect
Archive Reader - Alias for ArchiveReader
. Used for reading inspect. - Logs
Archive Reader - Alias for ArchiveReader
. Used for reading logs.