用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/grafana/metrics-drilldown --skill timeseries命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | timeseries |
| description | Skill for the Timeseries area of metrics-drilldown. 13 symbols across 8 files. |
13 symbols | 8 files | Cohesion: 84%
src/| File | Symbols |
|---|---|
src/shared/GmdVizPanel/units/getUnit.ts | getUnitFromMetric, getUnit, getPerSecondRateUnit |
src/shared/GmdVizPanel/types/timeseries/getTimeseriesQueryRunnerParams.ts | getTimeseriesQueryRunnerParams, buildGroupByQueries, buildQueriesWithPresetFunctions |
src/shared/GmdVizPanel/types/timeseries/buildTimeseriesPanel.ts | buildTimeseriesPanel, buildGroupByPanel |
src/shared/utils/utils.ts | getColorByIndex |
src/shared/GmdVizPanel/types/percentiles/buildPercentilesPanel.ts | buildPercentilesPanel |
src/shared/GmdVizPanel/behaviors/extremeValueFilterBehavior/isAllDataNaN.ts | isAllDataNaN |
src/shared/GmdVizPanel/behaviors/extremeValueFilterBehavior/extremeValueFilterBehavior.tsx | extremeValueFilterBehavior |
src/shared/GmdVizPanel/types/timeseries/behaviors/updateColorsWhenQueriesChange.ts | updateColorsWhenQueriesChange |
Start here when exploring this area:
getColorByIndex (Function) — src/shared/utils/utils.ts:27getUnitFromMetric (Function) — src/shared/GmdVizPanel/units/getUnit.ts:30getUnit (Function) — src/shared/GmdVizPanel/units/getUnit.ts:44getPerSecondRateUnit (Function) — src/shared/GmdVizPanel/units/getUnit.ts:49getTimeseriesQueryRunnerParams (Function) — src/shared/GmdVizPanel/types/timeseries/getTimeseriesQueryRunnerParams.ts:12| Symbol | Type | File | Line |
|---|---|---|---|
getColorByIndex | Function | src/shared/utils/utils.ts | 27 |
getUnitFromMetric | Function | src/shared/GmdVizPanel/units/getUnit.ts | 30 |
getUnit | Function | src/shared/GmdVizPanel/units/getUnit.ts | 44 |
getPerSecondRateUnit | Function | src/shared/GmdVizPanel/units/getUnit.ts | 49 |
getTimeseriesQueryRunnerParams | Function | src/shared/GmdVizPanel/types/timeseries/getTimeseriesQueryRunnerParams.ts | 12 |
buildTimeseriesPanel | Function | src/shared/GmdVizPanel/types/timeseries/buildTimeseriesPanel.ts | 15 |
buildPercentilesPanel | Function | src/shared/GmdVizPanel/types/percentiles/buildPercentilesPanel.ts | 11 |
isAllDataNaN | Function | src/shared/GmdVizPanel/behaviors/extremeValueFilterBehavior/isAllDataNaN.ts | 12 |
extremeValueFilterBehavior | Function | src/shared/GmdVizPanel/behaviors/extremeValueFilterBehavior/extremeValueFilterBehavior.tsx | 27 |
updateColorsWhenQueriesChange | Function | src/shared/GmdVizPanel/types/timeseries/behaviors/updateColorsWhenQueriesChange.ts | 15 |
buildGroupByQueries | Function | src/shared/GmdVizPanel/types/timeseries/getTimeseriesQueryRunnerParams.ts | 34 |
buildQueriesWithPresetFunctions | Function | src/shared/GmdVizPanel/types/timeseries/getTimeseriesQueryRunnerParams.ts | 63 |
| Flow | Type | Steps |
|---|---|---|
ExtremeValueFilterBehavior → GetTrackedFlagPayload | cross_community | 5 |
BuildTimeseriesPanel → ExpressionToString | cross_community | 5 |
Constructor → ExpressionToString | cross_community | 4 |
BuildPercentilesPanel → ExpressionToString | cross_community | 4 |
ExtremeValueFilterBehavior → ExpressionToString | cross_community | 4 |
BuildTimeseriesPanel → BuildGroupByQueries | intra_community | 4 |
BuildTimeseriesPanel → BuildQueriesWithPresetFunctions | intra_community | 4 |
BuildTimeseriesPanel → GetUnitFromMetric | intra_community | 4 |
Constructor → BuildGroupByQueries | cross_community | 3 |
Constructor → BuildQueriesWithPresetFunctions | cross_community | 3 |
| Area | Connections |
|---|---|
| Stat | 2 calls |
| QuickSearch | 1 calls |
gitnexus_context({name: "getColorByIndex"}) — see callers and calleesgitnexus_query({query: "timeseries"}) — find related execution flowsbuildGroupByPanel| Function |
src/shared/GmdVizPanel/types/timeseries/buildTimeseriesPanel.ts |
| 72 |