Technologies/Flask/process.cpu_seconds_total
FlaskFlaskMetric

process.cpu_seconds_total

Total CPU time consumed
Dimensions:None
Available on:PrometheusPrometheus (1)
Interface Metrics (1)
PrometheusPrometheus
Total user and system CPU time spent in seconds
Dimensions:None

Technical Annotations (5)

Configuration Parameters (1)
--workersrecommended: Based on CPU cores and memory constraints
Increase workers to improve resource utilization and concurrency
CLI Commands (1)
python -m cProfile -o app.profile myapp.pydiagnostic
Technical References (3)
process workerconceptcProfilecomponentpstatscomponent
Related Insights (2)
Low CPU and memory usage during high response times indicates worker starvationwarning
Slow page loads and resource exhaustion require profiling to identify bottleneckswarning