probeXRay

get_service_graph

Get a service graph

Activity as code

Below are the details and signature of the activity Python module.

Typeprobe
Modulechaosaws.s3.probes
Nameget_service_graph
Returnmapping

Usage

JSON

{
  "name": "get-service-graph",
  "type": "probe",
  "provider": {
    "type": "python",
    "module": "chaosaws.xray.probes",
    "func": "get_service_graph"
  }
}

YAML

name: get-service-graph
provider:
  func: get_service_graph
  module: chaosaws.xray.probes
  type: python
type: probe

Arguments

NameTypeDefaultRequiredTitleDescription
start_timestring2 minutesYesPeriod StartGet traces issued within a given window. For instance: 3 minutes. Supported time units are seconds, minutes, hours and days
end_timestringnowNoPeriod EndGet traces issued within a given window
filter_expressionstringgroupname = “Default” ”NoFilter ExpressionFilter Expression to select traces

Signature

def get_service_graph(
    start_time: Union[str, float] = '3 minutes',
    end_time: Union[str, float] = 'now',
    group_name: Optional[str] = 'Default',
    group_arn: Optional[str] = None,
    configuration: Dict[str, Dict[str, str]] = None,
    secrets: Dict[str, Dict[str, str]] = None
) -> Union[Dict[str, Any], List[Dict[str, Any]]]:
    pass