task-duration-analysis

Analyze task execution stage durations and identify bottlenecks in BlueKing Job Platform.

862|215|Updated Jun 17, 2021
One-click install
npx skills add https://github.com/TencentBlueKing/bk-job --skill task-duration-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: task-duration-analysis
Source: https://github.com/TencentBlueKing/bk-job/tree/main/ai_agent/op/skills/task-duration-analysis
Command: npx skills add https://github.com/TencentBlueKing/bk-job --skill task-duration-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill helps identify performance bottlenecks and analyze the time distribution of tasks by breaking down the execution into distinct stages.

Core Features & Use Cases

  • Stage-wise Time Analysis: Breaks down task execution into six defined stages, detailing the time spent in each.
  • Bottleneck Identification: Pinpoints the longest-running stages to understand performance issues.
  • Use Case: When a user reports that a specific job in the BlueKing Job Platform is taking too long, this Skill can analyze its execution logs to identify which stage (e.g., script execution, GSE task distribution) is causing the delay.

Quick Start

Analyze the task duration for request ID 'req-12345' using the task-duration-analysis skill.

Frequently Asked Questions about task-duration-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze task execution time and find performance bottlenecks in the BlueKing Job Platform?

To analyze task execution time and find performance bottlenecks in the BlueKing Job Platform, this Skill breaks down task execution into six defined stages and pinpoints the longest-running stages using request_id full-link logs.

What causes a specific job to take too long during script execution or GSE task distribution?

Delayed jobs during script execution or GSE task distribution are caused by performance bottlenecks in specific stages. This Skill analyzes full-link logs using request_id to identify exactly which of the six execution stages is causing the delay.

How to generate a duration report for a specific request ID in the BlueKing Job Platform?

To generate a duration report for a specific request ID in the BlueKing Job Platform, input the request_id to query full-link logs. The analysis details the time spent in each of the six execution stages from initiation to completion.

Do I need access to task logs and middleware components to analyze task duration?

Yes, analyzing task duration requires access to task logs and an understanding of the platform's middleware components. This access is necessary for accurate time-stamping and examining the six-stage execution model.

What is the best way to track execution time across six stages of a task?

The best way to track execution time across six stages of a task is by examining a six-stage model from initiation to completion. This approach identifies performance bottlenecks by detailing the time distribution within each distinct stage.