dp3.api.routers.telemetry ¶
get_sources_validity
async
¶
Get validity of all data sources.
Returns timestamps of current validity of all sources.
This should be latest t2 of incoming datapoints for given data source.
Source code in dp3/api/routers/telemetry.py
get_sources_age
async
¶
Get current source ages in requested units.
get_entities_per_attr
async
¶
Get counts of entities with data present for each configured attribute.
get_snapshot_summary
async
¶
get_metadata
async
¶
get_metadata(module: Optional[str] = None, date_from: Optional[AwareDatetime] = None, date_to: Optional[AwareDatetime] = None, skip: NonNegativeInt = 0, limit: NonNegativeInt = 0, sort: Literal['newest', 'oldest'] = 'newest') -> list[dict]
Get filtered metadata documents from the internal metadata collection.
Source code in dp3/api/routers/telemetry.py
get_rabbitmq_queues
async
¶
Get RabbitMQ queue telemetry for the running application.