You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Array of alert rules. Only one alert per severity is allowed.
sampling_interval
str
Duration between monitor samples. Format: positive integer followed by 's' for seconds, 'm' for minutes, 'h' for hours.
monitor_type
str
The type of resource to monitor.
Example
fromflightctl.models.memory_resource_monitor_specimportMemoryResourceMonitorSpec# TODO update the JSON string belowjson="{}"# create an instance of MemoryResourceMonitorSpec from a JSON stringmemory_resource_monitor_spec_instance=MemoryResourceMonitorSpec.from_json(json)
# print the JSON string representation of the objectprint(MemoryResourceMonitorSpec.to_json())
# convert the object into a dictmemory_resource_monitor_spec_dict=memory_resource_monitor_spec_instance.to_dict()
# create an instance of MemoryResourceMonitorSpec from a dictmemory_resource_monitor_spec_from_dict=MemoryResourceMonitorSpec.from_dict(memory_resource_monitor_spec_dict)