metrics_query_event_data¶
Retrieve real-time aggregated metric data from an event
Functions
- async pydelfini.delfini_core.api.metrics.metrics_query_event_data.asyncio(event_name, *, client, dimension=Unset, period, agg_func, partition_by=Unset, num_partitions=Unset, start=Unset, end=Unset)[source]¶
Retrieve real-time aggregated metric data from an event
- Parameters:
event_name (str)
period (MetricsQueryEventDataPeriod)
agg_func (MetricAggFunc)
start (Union[Unset, datetime.datetime])
end (Union[Unset, datetime.datetime])
client (AuthenticatedClient)
- Raises:
errors.UnexpectedStatus – If the server returns a status code greater than or equal to 300.
httpx.TimeoutException – If the request takes longer than Client.timeout.
- Returns:
Union[MetricData]
- Return type:
- async pydelfini.delfini_core.api.metrics.metrics_query_event_data.asyncio_detailed(event_name, *, client, dimension=Unset, period, agg_func, partition_by=Unset, num_partitions=Unset, start=Unset, end=Unset)[source]¶
Retrieve real-time aggregated metric data from an event
- Parameters:
event_name (str)
period (MetricsQueryEventDataPeriod)
agg_func (MetricAggFunc)
start (Union[Unset, datetime.datetime])
end (Union[Unset, datetime.datetime])
client (AuthenticatedClient)
- Raises:
errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
httpx.TimeoutException – If the request takes longer than Client.timeout.
- Returns:
Response[Union[MetricData, ServerError]]
- Return type:
- pydelfini.delfini_core.api.metrics.metrics_query_event_data.sync(event_name, *, client, dimension=Unset, period, agg_func, partition_by=Unset, num_partitions=Unset, start=Unset, end=Unset)[source]¶
Retrieve real-time aggregated metric data from an event
- Parameters:
event_name (str)
period (MetricsQueryEventDataPeriod)
agg_func (MetricAggFunc)
start (Union[Unset, datetime.datetime])
end (Union[Unset, datetime.datetime])
client (AuthenticatedClient)
- Raises:
errors.UnexpectedStatus – If the server returns a status code greater than or equal to 300.
httpx.TimeoutException – If the request takes longer than Client.timeout.
- Returns:
Union[MetricData]
- Return type:
- pydelfini.delfini_core.api.metrics.metrics_query_event_data.sync_detailed(event_name, *, client, dimension=Unset, period, agg_func, partition_by=Unset, num_partitions=Unset, start=Unset, end=Unset)[source]¶
Retrieve real-time aggregated metric data from an event
- Parameters:
event_name (str)
period (MetricsQueryEventDataPeriod)
agg_func (MetricAggFunc)
start (Union[Unset, datetime.datetime])
end (Union[Unset, datetime.datetime])
client (AuthenticatedClient)
- Raises:
errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
httpx.TimeoutException – If the request takes longer than Client.timeout.
- Returns:
Response[Union[MetricData, ServerError]]
- Return type: