Files
core/homeassistant/components/profiler/strings.json

130 lines
4.0 KiB
JSON

{
"config": {
"step": {
"user": {
"description": "[%key:common::config_flow::description::confirm_setup%]"
}
}
},
"services": {
"dump_log_objects": {
"description": "Dumps the repr of all matching objects to the log.",
"fields": {
"type": {
"description": "The type of objects to dump to the log.",
"name": "Type"
}
},
"name": "Dump log objects"
},
"dump_sockets": {
"description": "Logs information about all currently used sockets.",
"name": "Dump used sockets"
},
"log_current_tasks": {
"description": "Logs all the current asyncio tasks.",
"name": "Log current asyncio tasks"
},
"log_event_loop_scheduled": {
"description": "Logs what is scheduled in the event loop.",
"name": "Log event loop scheduled"
},
"log_thread_frames": {
"description": "Logs the current frames for all threads.",
"name": "Log thread frames"
},
"lru_stats": {
"description": "Logs the stats of all lru caches.",
"name": "Log LRU stats"
},
"memory": {
"description": "Starts the Memory Profiler.",
"fields": {
"seconds": {
"description": "The number of seconds to run the memory profiler.",
"name": "Seconds"
}
},
"name": "Memory"
},
"set_asyncio_debug": {
"description": "Enable or disable asyncio debug.",
"fields": {
"enabled": {
"description": "Whether to enable or disable asyncio debug.",
"name": "Enabled"
}
},
"name": "Set asyncio debug"
},
"start": {
"description": "Starts the Profiler.",
"fields": {
"seconds": {
"description": "The number of seconds to run the profiler.",
"name": "Seconds"
}
},
"name": "[%key:common::action::start%]"
},
"start_auditing_events": {
"description": "Add list of Python events to audit.",
"fields": {
"events": {
"description": "List of Python events to audit (see https://docs.python.org/3/library/audit_events.html#audit-events for the list of auditable events).",
"name": "Events"
},
"filter": {
"description": "Text that must be contained in the string representation of event's arguments (e.g. an IP address).",
"name": "Filter"
},
"summary_interval": {
"description": "If set, print aggregated list of events (per traceback and arguments) that occurred between the specified time interval.",
"name": "Summary interval"
},
"verbose": {
"description": "Include full stack trace of the audited event.",
"name": "Verbose"
}
},
"name": "Add audited events"
},
"start_log_object_sources": {
"description": "Starts logging sources of new objects in memory.",
"fields": {
"max_objects": {
"description": "The maximum number of objects to log.",
"name": "Maximum objects"
},
"scan_interval": {
"description": "[%key:component::profiler::services::start_log_objects::fields::scan_interval::description%]",
"name": "Scan interval"
}
},
"name": "Start logging object sources"
},
"start_log_objects": {
"description": "Starts logging growth of objects in memory.",
"fields": {
"scan_interval": {
"description": "The number of seconds between logging objects.",
"name": "Scan interval"
}
},
"name": "Start logging objects"
},
"stop_auditing_events": {
"description": "Stop Python events auditing.",
"name": "Stop auditing events"
},
"stop_log_object_sources": {
"description": "Stops logging sources of new objects in memory.",
"name": "Stop logging object sources"
},
"stop_log_objects": {
"description": "Stops logging growth of objects in memory.",
"name": "Stop logging objects"
}
}
}