mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 06:07:17 +00:00
Add selectors to profiler services (#49781)
This commit is contained in:
parent
ebbcfb1bc7
commit
458ca970c9
@ -1,30 +1,62 @@
|
|||||||
start:
|
start:
|
||||||
|
name: Start
|
||||||
description: Start the Profiler
|
description: Start the Profiler
|
||||||
fields:
|
fields:
|
||||||
seconds:
|
seconds:
|
||||||
|
name: Seconds
|
||||||
description: The number of seconds to run the profiler.
|
description: The number of seconds to run the profiler.
|
||||||
example: 60.0
|
example: 60.0
|
||||||
|
default: 60.0
|
||||||
|
selector:
|
||||||
|
number:
|
||||||
|
min: 1
|
||||||
|
max: 3600
|
||||||
|
unit_of_measurement: seconds
|
||||||
memory:
|
memory:
|
||||||
|
name: Memory
|
||||||
description: Start the Memory Profiler
|
description: Start the Memory Profiler
|
||||||
fields:
|
fields:
|
||||||
seconds:
|
seconds:
|
||||||
|
name: Seconds
|
||||||
description: The number of seconds to run the memory profiler.
|
description: The number of seconds to run the memory profiler.
|
||||||
example: 60.0
|
example: 60.0
|
||||||
|
default: 60.0
|
||||||
|
selector:
|
||||||
|
number:
|
||||||
|
min: 1
|
||||||
|
max: 3600
|
||||||
|
unit_of_measurement: seconds
|
||||||
start_log_objects:
|
start_log_objects:
|
||||||
|
name: Start log objects
|
||||||
description: Start logging growth of objects in memory
|
description: Start logging growth of objects in memory
|
||||||
fields:
|
fields:
|
||||||
scan_interval:
|
scan_interval:
|
||||||
|
name: Scan interval
|
||||||
description: The number of seconds between logging objects.
|
description: The number of seconds between logging objects.
|
||||||
example: 60.0
|
example: 60.0
|
||||||
|
default: 30.0
|
||||||
|
selector:
|
||||||
|
number:
|
||||||
|
min: 1
|
||||||
|
max: 3600
|
||||||
|
unit_of_measurement: seconds
|
||||||
stop_log_objects:
|
stop_log_objects:
|
||||||
description: Stop logging growth of objects in memory
|
name: Stop log objects
|
||||||
|
description: Stop logging growth of objects in memory.
|
||||||
dump_log_objects:
|
dump_log_objects:
|
||||||
|
name: Dump log objects
|
||||||
description: Dump the repr of all matching objects to the log.
|
description: Dump the repr of all matching objects to the log.
|
||||||
fields:
|
fields:
|
||||||
type:
|
type:
|
||||||
description: The type of objects to dump to the log
|
name: Type
|
||||||
|
description: The type of objects to dump to the log.
|
||||||
|
required: true
|
||||||
example: State
|
example: State
|
||||||
|
selector:
|
||||||
|
text:
|
||||||
log_thread_frames:
|
log_thread_frames:
|
||||||
description: Log the current frames for all threads
|
name: Log thread frames
|
||||||
|
description: Log the current frames for all threads.
|
||||||
log_event_loop_scheduled:
|
log_event_loop_scheduled:
|
||||||
description: Log what is scheduled in the event loop
|
name: Log event loop scheduled
|
||||||
|
description: Log what is scheduled in the event loop.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user