get_time_series_service_statistics
async
¶
get_time_series_service_statistics(
start_time: Timestamp,
end_time: Timestamp,
*,
config_overrides: Optional[AsyncXRayClientConfig] = None,
group_name: Optional[GroupName] = None,
group_arn: Optional[GroupARN] = None,
entity_selector_expression: Optional[EntitySelectorExpression] = None,
period: Optional[NullableInteger] = None,
forecast_statistics: Optional[NullableBoolean] = None,
next_token: Optional[String] = None,
) -> GetTimeSeriesServiceStatisticsResult
Get an aggregation of service statistics defined by a specific time range.
Parameters:
-
start_time(Timestamp) –The start of the time frame for which to aggregate statistics.
-
end_time(Timestamp) –The end of the time frame for which to aggregate statistics.
-
group_name(Optional[GroupName], default:None) –The case-sensitive name of the group for which to pull statistics from.
-
group_arn(Optional[GroupARN], default:None) –The Amazon Resource Name (ARN) of the group for which to pull statistics from.
-
entity_selector_expression(Optional[EntitySelectorExpression], default:None) –A filter expression defining entities that will be aggregated for statistics. Supports ID, service, and edge functions. If no selector expression is specified, edge statistics are returned.
-
period(Optional[NullableInteger], default:None) –Aggregation period in seconds.
-
forecast_statistics(Optional[NullableBoolean], default:None) –The forecasted high and low fault count values. Forecast enabled requests require the EntitySelectorExpression ID be provided.
-
next_token(Optional[String], default:None) –Pagination token.
Raises:
-
InvalidRequestException–The request is missing required parameters or has invalid parameters.
-
ThrottledException–The request exceeds the maximum number of requests per second.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_xray/_services/async_x_ray.py
1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 | |