diff --git a/api/init_data/workflows/en/alert simple root cause analysis.yml b/api/init_data/workflows/en/alert simple root cause analysis.yml index d7b5460dcb..ae175d8043 100644 --- a/api/init_data/workflows/en/alert simple root cause analysis.yml +++ b/api/init_data/workflows/en/alert simple root cause analysis.yml @@ -5,7 +5,11 @@ app: mode: workflow name: alert simple root cause analysis use_icon_as_answer_icon: false -dependencies: [] +dependencies: +- current_identifier: null + type: package + value: + plugin_unique_identifier: langgenius/deepseek:0.0.5@fd6efd37c2a931911de8ab9ca3ba2da303bef146d45ee87ad896b04b36d09403 kind: app version: 0.1.5 workflow: @@ -62,6 +66,7 @@ workflow: sourceType: iteration-start targetType: code id: 1741497176064start-source-1741497181784-target + selected: false source: 1741497176064start sourceHandle: source target: '1741497181784' @@ -69,110 +74,222 @@ workflow: type: custom zIndex: 1002 - data: - isInIteration: true - iteration_id: '1741497176064' - sourceType: code - targetType: tool - id: 1741497181784-source-1741497216474-target - source: '1741497181784' + isInIteration: false + sourceType: iteration + targetType: llm + id: 1741497176064-source-1741512806512-target + selected: false + source: '1741497176064' sourceHandle: source - target: '1741497216474' + target: '1741512806512' targetHandle: target type: custom - zIndex: 1002 + zIndex: 0 - data: - isInIteration: true - iteration_id: '1741497176064' + isInIteration: false + sourceType: llm + targetType: end + id: 1741512806512-source-1741502839759-target + selected: false + source: '1741512806512' + sourceHandle: source + target: '1741502839759' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: template-transform + targetType: end + id: 1741592094819-source-1741592144815-target + selected: false + source: '1741592094819' + sourceHandle: source + target: '1741592144815' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: variable-aggregator + targetType: code + id: 1741597274153-source-1741509454645-target + selected: false + source: '1741597274153' + sourceHandle: source + target: '1741509454645' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false sourceType: tool - targetType: llm - id: 1741497216474-source-1741498390634-target - source: '1741497216474' + targetType: variable-aggregator + id: 1741597223833-source-1741597274153-target + selected: false + source: '1741597223833' sourceHandle: source - target: '1741498390634' + target: '1741597274153' targetHandle: target type: custom - zIndex: 1002 + zIndex: 0 - data: - isInIteration: true - iteration_id: '1741497176064' - sourceType: llm - targetType: question-classifier - id: 1741498390634-source-1741498403828-target - source: '1741498390634' + isInIteration: false + sourceType: code + targetType: variable-aggregator + id: 1741599658821-source-1741597274153-target + selected: false + source: '1741599658821' sourceHandle: source - target: '1741498403828' + target: '1741597274153' targetHandle: target type: custom - zIndex: 1002 + zIndex: 0 - data: - isInIteration: true - iteration_id: '1741497176064' - sourceType: question-classifier + isInIteration: false + sourceType: if-else + targetType: template-transform + id: 1742453019576-false-1741592094819-target + selected: false + source: '1742453019576' + sourceHandle: 'false' + target: '1741592094819' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: if-else + targetType: code + id: 1742453019576-true-1741599658821-target + selected: false + source: '1742453019576' + sourceHandle: 'true' + target: '1741599658821' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: if-else targetType: tool - id: 1741498403828-1-1741498509378-target - source: '1741498403828' - sourceHandle: '1' - target: '1741498509378' + id: 1742453019576-2949ad86-bdc0-4b1d-bd84-6e01f41915eb-1741597223833-target + selected: false + source: '1742453019576' + sourceHandle: 2949ad86-bdc0-4b1d-bd84-6e01f41915eb + target: '1741597223833' targetHandle: target type: custom - zIndex: 1002 + zIndex: 0 - data: isInIteration: true iteration_id: '1741497176064' sourceType: question-classifier - targetType: tool - id: 1741498403828-2-1741498527215-target - source: '1741498403828' - sourceHandle: '2' - target: '1741498527215' + targetType: llm + id: 1742461755094-1742463856746-1742468652489-target + selected: false + source: '1742461755094' + sourceHandle: '1742463856746' + target: '1742468652489' targetHandle: target type: custom zIndex: 1002 - data: isInIteration: true iteration_id: '1741497176064' - sourceType: question-classifier - targetType: tool - id: 1741498403828-1741498415133-1741498907941-target - source: '1741498403828' - sourceHandle: '1741498415133' - target: '1741498907941' + sourceType: llm + targetType: variable-aggregator + id: 1741506766037-source-1742470455066-target + selected: false + source: '1741506766037' + sourceHandle: source + target: '1742470455066' targetHandle: target type: custom zIndex: 1002 - data: isInIteration: true iteration_id: '1741497176064' - sourceType: question-classifier - targetType: tool - id: 1741498403828-1741498418311-1741499376556-target - source: '1741498403828' - sourceHandle: '1741498418311' - target: '1741499376556' + sourceType: llm + targetType: variable-aggregator + id: 1742468584059-source-1742470455066-target + selected: false + source: '1742468584059' + sourceHandle: source + target: '1742470455066' targetHandle: target type: custom zIndex: 1002 - data: isInIteration: true iteration_id: '1741497176064' - sourceType: question-classifier - targetType: tool - id: 1741498403828-1741498422694-1741499376556-target - source: '1741498403828' - sourceHandle: '1741498422694' - target: '1741499376556' + sourceType: llm + targetType: variable-aggregator + id: 1742468652489-source-1742470455066-target + selected: false + source: '1742468652489' + sourceHandle: source + target: '1742470455066' targetHandle: target type: custom zIndex: 1002 + - data: + isInIteration: false + sourceType: if-else + targetType: tool + id: 1742453019576-74dc1f70-729f-47e1-a6c8-9f0a1d2a6ad9-1742629595400-target + selected: false + source: '1742453019576' + sourceHandle: 74dc1f70-729f-47e1-a6c8-9f0a1d2a6ad9 + target: '1742629595400' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: tool + targetType: variable-aggregator + id: 1742629595400-source-1741597274153-target + selected: false + source: '1742629595400' + sourceHandle: source + target: '1741597274153' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: start + targetType: code + id: 1741227526517-source-1742807803325-target + selected: false + source: '1741227526517' + sourceHandle: source + target: '1742807803325' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: code + targetType: if-else + id: 1742807803325-source-1742453019576-target + selected: false + source: '1742807803325' + sourceHandle: source + target: '1742453019576' + targetHandle: target + type: custom + zIndex: 0 - data: isInIteration: true iteration_id: '1741497176064' - sourceType: question-classifier - targetType: tool - id: 1741498403828-1741498418311-1741501265259-target - source: '1741498403828' - sourceHandle: '1741498418311' - target: '1741501265259' + sourceType: code + targetType: question-classifier + id: 1741497181784-source-1742461755094-target + source: '1741497181784' + sourceHandle: source + target: '1742461755094' targetHandle: target type: custom zIndex: 1002 @@ -180,11 +297,11 @@ workflow: isInIteration: true iteration_id: '1741497176064' sourceType: question-classifier - targetType: template-transform - id: 1741498403828-1741498426874-1741502665376-target - source: '1741498403828' - sourceHandle: '1741498426874' - target: '1741502665376' + targetType: tool + id: 1742461755094-1742464231696-1742980720651-target + source: '1742461755094' + sourceHandle: '1742464231696' + target: '1742980720651' targetHandle: target type: custom zIndex: 1002 @@ -193,46 +310,46 @@ workflow: iteration_id: '1741497176064' sourceType: question-classifier targetType: tool - id: 1741498403828-1741498422694-1741502699500-target - source: '1741498403828' - sourceHandle: '1741498422694' - target: '1741502699500' + id: 1742461755094-1742464231696-1742980748320-target + source: '1742461755094' + sourceHandle: '1742464231696' + target: '1742980748320' targetHandle: target type: custom zIndex: 1002 - data: isInIteration: true iteration_id: '1741497176064' - sourceType: tool + sourceType: question-classifier targetType: tool - id: 1741498509378-source-1741502729293-target - source: '1741498509378' - sourceHandle: source - target: '1741502729293' + id: 1742461755094-1742464231696-1742980780865-target + source: '1742461755094' + sourceHandle: '1742464231696' + target: '1742980780865' targetHandle: target type: custom zIndex: 1002 - data: isInIteration: true iteration_id: '1741497176064' - sourceType: tool + sourceType: question-classifier targetType: tool - id: 1741498527215-source-1741506670648-target - source: '1741498527215' - sourceHandle: source - target: '1741506670648' + id: 1742461755094-1742464231696-1742980837261-target + source: '1742461755094' + sourceHandle: '1742464231696' + target: '1742980837261' targetHandle: target type: custom zIndex: 1002 - data: isInIteration: true iteration_id: '1741497176064' - sourceType: tool + sourceType: question-classifier targetType: tool - id: 1741498907941-source-1741506676593-target - source: '1741498907941' - sourceHandle: source - target: '1741506676593' + id: 1742461755094-1742464231696-1742980885557-target + source: '1742461755094' + sourceHandle: '1742464231696' + target: '1742980885557' targetHandle: target type: custom zIndex: 1002 @@ -241,10 +358,10 @@ workflow: iteration_id: '1741497176064' sourceType: tool targetType: tool - id: 1741501265259-source-1741506693125-target - source: '1741501265259' + id: 1742980720651-source-1742980228913-target + source: '1742980720651' sourceHandle: source - target: '1741506693125' + target: '1742980228913' targetHandle: target type: custom zIndex: 1002 @@ -253,10 +370,10 @@ workflow: iteration_id: '1741497176064' sourceType: tool targetType: tool - id: 1741499376556-source-1741506702729-target - source: '1741499376556' + id: 1742980748320-source-1742980318484-target + source: '1742980748320' sourceHandle: source - target: '1741506702729' + target: '1742980318484' targetHandle: target type: custom zIndex: 1002 @@ -265,10 +382,10 @@ workflow: iteration_id: '1741497176064' sourceType: tool targetType: tool - id: 1741502699500-source-1741506711511-target - source: '1741502699500' + id: 1742980780865-source-1742547917612-target + source: '1742980780865' sourceHandle: source - target: '1741506711511' + target: '1742547917612' targetHandle: target type: custom zIndex: 1002 @@ -276,11 +393,11 @@ workflow: isInIteration: true iteration_id: '1741497176064' sourceType: tool - targetType: variable-aggregator - id: 1741502729293-source-1741506718903-target - source: '1741502729293' + targetType: tool + id: 1742980837261-source-1742798505742-target + source: '1742980837261' sourceHandle: source - target: '1741506718903' + target: '1742798505742' targetHandle: target type: custom zIndex: 1002 @@ -288,69 +405,69 @@ workflow: isInIteration: true iteration_id: '1741497176064' sourceType: tool - targetType: variable-aggregator - id: 1741506670648-source-1741506718903-target - source: '1741506670648' + targetType: tool + id: 1742980885557-source-1741502699500-target + source: '1742980885557' sourceHandle: source - target: '1741506718903' + target: '1741502699500' targetHandle: target type: custom zIndex: 1002 - data: isInIteration: true iteration_id: '1741497176064' - sourceType: tool - targetType: variable-aggregator - id: 1741506676593-source-1741506718903-target - source: '1741506676593' + sourceType: llm + targetType: llm + id: 1742980933811-source-1741506766037-target + source: '1742980933811' sourceHandle: source - target: '1741506718903' + target: '1741506766037' targetHandle: target type: custom zIndex: 1002 - data: isInIteration: true iteration_id: '1741497176064' - sourceType: tool - targetType: variable-aggregator - id: 1741506693125-source-1741506718903-target - source: '1741506693125' + sourceType: llm + targetType: llm + id: 1742981271838-source-1741506766037-target + source: '1742981271838' sourceHandle: source - target: '1741506718903' + target: '1741506766037' targetHandle: target type: custom zIndex: 1002 - data: isInIteration: true iteration_id: '1741497176064' - sourceType: tool - targetType: variable-aggregator - id: 1741506702729-source-1741506718903-target - source: '1741506702729' + sourceType: llm + targetType: llm + id: 1742981275937-source-1741506766037-target + source: '1742981275937' sourceHandle: source - target: '1741506718903' + target: '1741506766037' targetHandle: target type: custom zIndex: 1002 - data: isInIteration: true iteration_id: '1741497176064' - sourceType: tool - targetType: variable-aggregator - id: 1741506711511-source-1741506718903-target - source: '1741506711511' + sourceType: llm + targetType: llm + id: 1742981278010-source-1741506766037-target + source: '1742981278010' sourceHandle: source - target: '1741506718903' + target: '1741506766037' targetHandle: target type: custom zIndex: 1002 - data: isInIteration: true iteration_id: '1741497176064' - sourceType: variable-aggregator + sourceType: llm targetType: llm - id: 1741506718903-source-1741506766037-target - source: '1741506718903' + id: 1742981280434-source-1741506766037-target + source: '1742981280434' sourceHandle: source target: '1741506766037' targetHandle: target @@ -359,311 +476,4990 @@ workflow: - data: isInIteration: false sourceType: code - targetType: iteration - id: 1741509454645-source-1741497176064-target - selected: false + targetType: code + id: 1741509454645-source-17430589567120-target source: '1741509454645' sourceHandle: source - target: '1741497176064' + target: '17430589567120' targetHandle: target type: custom zIndex: 0 - data: isInIteration: false - sourceType: iteration - targetType: llm - id: 1741497176064-source-1741512806512-target - source: '1741497176064' + sourceType: code + targetType: question-classifier + id: 17430589567120-source-17430590082510-target + source: '17430589567120' sourceHandle: source - target: '1741512806512' + target: '17430590082510' targetHandle: target type: custom zIndex: 0 - data: - isInIteration: false - sourceType: llm - targetType: end - id: 1741512806512-source-1741502839759-target - source: '1741512806512' - sourceHandle: source - target: '1741502839759' + isInIteration: true + iteration_id: '1741497176064' + sourceType: question-classifier + targetType: tool + id: 1742461755094-1742462167200-1743059090157-target + source: '1742461755094' + sourceHandle: '1742462167200' + target: '1743059090157' targetHandle: target type: custom - zIndex: 0 + zIndex: 1002 - data: isInIteration: true iteration_id: '1741497176064' - sourceType: template-transform - targetType: variable-aggregator - id: 1741502665376-source-1741506718903-target - source: '1741502665376' + sourceType: tool + targetType: llm + id: 1743059090157-source-1742468584059-target + source: '1743059090157' sourceHandle: source - target: '1741506718903' + target: '1742468584059' targetHandle: target type: custom zIndex: 1002 - data: isInIteration: false - sourceType: if-else - targetType: template-transform - id: 1741592086921-false-1741592094819-target - source: '1741592086921' - sourceHandle: 'false' - target: '1741592094819' + sourceType: question-classifier + targetType: tool + id: 17430590082510-1742462167200-17430593614550-target + source: '17430590082510' + sourceHandle: '1742462167200' + target: '17430593614550' targetHandle: target type: custom zIndex: 0 - data: isInIteration: false - sourceType: if-else - targetType: tool - id: 1741592086921-true-1741508508177-target - source: '1741592086921' - sourceHandle: 'true' - target: '1741508508177' + sourceType: tool + targetType: llm + id: 17430593614550-source-17430593816310-target + source: '17430593614550' + sourceHandle: source + target: '17430593816310' targetHandle: target type: custom zIndex: 0 - data: isInIteration: false - sourceType: template-transform - targetType: end - id: 1741592094819-source-1741592144815-target - source: '1741592094819' + sourceType: llm + targetType: variable-aggregator + id: 17430593816310-source-17430594012660-target + source: '17430593816310' sourceHandle: source - target: '1741592144815' + target: '17430594012660' targetHandle: target type: custom zIndex: 0 - data: isInIteration: false - sourceType: start - targetType: code - id: 1741227526517-source-1741594373498-target - source: '1741227526517' + sourceType: question-classifier + targetType: llm + id: 17430590082510-1742463856746-17430594510140-target + source: '17430590082510' + sourceHandle: '1742463856746' + target: '17430594510140' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: llm + targetType: variable-aggregator + id: 17430594510140-source-17430594012660-target + source: '17430594510140' sourceHandle: source - target: '1741594373498' + target: '17430594012660' targetHandle: target type: custom zIndex: 0 - data: isInIteration: false - sourceType: code - targetType: if-else - id: 1741594373498-source-1741592086921-target - source: '1741594373498' + sourceType: variable-aggregator + targetType: iteration + id: 17430594012660-source-1741497176064-target + source: '17430594012660' sourceHandle: source - target: '1741592086921' + target: '1741497176064' targetHandle: target type: custom zIndex: 0 - data: isInIteration: false - sourceType: if-else + sourceType: question-classifier targetType: tool - id: 1741592086921-456042b9-6979-4f20-b255-14d1e41754df-1741597223833-target - source: '1741592086921' - sourceHandle: 456042b9-6979-4f20-b255-14d1e41754df - target: '1741597223833' + id: 17430590082510-1742464231696-17430595109950-target + source: '17430590082510' + sourceHandle: '1742464231696' + target: '17430595109950' targetHandle: target type: custom zIndex: 0 - data: isInIteration: false sourceType: tool + targetType: tool + id: 17430595109950-source-17430595158080-target + source: '17430595109950' + sourceHandle: source + target: '17430595158080' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: llm + targetType: llm + id: 17430595248160-source-17430596469370-target + source: '17430595248160' + sourceHandle: source + target: '17430596469370' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: llm targetType: variable-aggregator - id: 1741508508177-source-1741597274153-target - source: '1741508508177' + id: 17430596469370-source-17430594012660-target + source: '17430596469370' sourceHandle: source - target: '1741597274153' + target: '17430594012660' targetHandle: target type: custom zIndex: 0 - data: isInIteration: false - sourceType: variable-aggregator - targetType: code - id: 1741597274153-source-1741509454645-target - source: '1741597274153' + sourceType: question-classifier + targetType: tool + id: 17430590082510-1742464231696-17430597987060-target + source: '17430590082510' + sourceHandle: '1742464231696' + target: '17430597987060' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: tool + targetType: tool + id: 17430597987060-source-17430598152780-target + source: '17430597987060' sourceHandle: source - target: '1741509454645' + target: '17430598152780' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: llm + targetType: llm + id: 17430598299820-source-17430596469370-target + source: '17430598299820' + sourceHandle: source + target: '17430596469370' targetHandle: target type: custom zIndex: 0 - data: isInIteration: false sourceType: tool - targetType: variable-aggregator - id: 1741597223833-source-1741597274153-target - source: '1741597223833' + targetType: tool + id: 17430598907140-source-17430598942980-target + source: '17430598907140' sourceHandle: source - target: '1741597274153' + target: '17430598942980' targetHandle: target type: custom zIndex: 0 - data: isInIteration: false - sourceType: if-else - targetType: code - id: 1741592086921-a687d810-ff81-4b8a-a2a4-b47b8c532039-1741599658821-target - source: '1741592086921' - sourceHandle: a687d810-ff81-4b8a-a2a4-b47b8c532039 - target: '1741599658821' + sourceType: llm + targetType: llm + id: 17430598979590-source-17430596469370-target + source: '17430598979590' + sourceHandle: source + target: '17430596469370' targetHandle: target type: custom zIndex: 0 - data: isInIteration: false - sourceType: code - targetType: variable-aggregator - id: 1741599658821-source-1741597274153-target - source: '1741599658821' + sourceType: question-classifier + targetType: tool + id: 17430590082510-1742464231696-17430598907140-target + source: '17430590082510' + sourceHandle: '1742464231696' + target: '17430598907140' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: llm + targetType: llm + id: 17430610680150-source-17430596469370-target + source: '17430610680150' sourceHandle: source - target: '1741597274153' + target: '17430596469370' targetHandle: target type: custom zIndex: 0 - nodes: - data: - desc: '' - selected: true - title: start - type: start - variables: - - label: startTime(Microsecond) - max_length: 48 - options: [] - required: true - type: number - variable: startTime - - label: endTime(Microsecond) - max_length: 48 - options: [] - required: true - type: number - variable: endTime - - label: params - max_length: 9999999 - options: [] - required: false - type: paragraph - variable: params - - label: nodeName - max_length: 256 - options: [] - required: false - type: text-input - variable: nodeName - - label: nodeIp - max_length: 48 - options: [] - required: false - type: text-input - variable: nodeIp - height: 193 - id: '1741227526517' - position: - x: -1517.4169518287483 - y: 30.40374262430791 - positionAbsolute: - x: -1517.4169518287483 - y: 30.40374262430791 - selected: true - sourcePosition: right - targetPosition: left + isInIteration: false + sourceType: llm + targetType: llm + id: 17430610794990-source-17430596469370-target + source: '17430610794990' + sourceHandle: source + target: '17430596469370' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: question-classifier + targetType: tool + id: 17430590082510-1742464231696-17430610599980-target + source: '17430590082510' + sourceHandle: '1742464231696' + target: '17430610599980' + targetHandle: target type: custom - width: 243 + zIndex: 0 - data: - desc: '' - error_handle_mode: terminated - height: 1119 - is_parallel: false - iterator_selector: - - '1741509454645' - - monitor - output_selector: - - '1741506766037' - - text - output_type: array[string] - parallel_nums: 10 - selected: false - start_node_id: 1741497176064start - title: iteration - type: iteration - width: 1780 - height: 1119 - id: '1741497176064' - position: - x: 496.33327072751604 - y: 271.35553284680793 - positionAbsolute: - x: 496.33327072751604 - y: 271.35553284680793 - selected: false - sourcePosition: right - targetPosition: left + isInIteration: false + sourceType: tool + targetType: tool + id: 17430610599980-source-17430610640640-target + source: '17430610599980' + sourceHandle: source + target: '17430610640640' + targetHandle: target type: custom - width: 1780 - zIndex: 1 + zIndex: 0 - data: - desc: '' - isInIteration: true + isInIteration: false + sourceType: question-classifier + targetType: tool + id: 17430590082510-1742464231696-17430610719970-target + source: '17430590082510' + sourceHandle: '1742464231696' + target: '17430610719970' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: tool + targetType: tool + id: 17430610719970-source-17430610756270-target + source: '17430610719970' + sourceHandle: source + target: '17430610756270' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: tool + targetType: tool + id: 17430595158080-source-1743149089034-target + source: '17430595158080' + sourceHandle: source + target: '1743149089034' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: tool + targetType: llm + id: 1743149089034-source-17430595248160-target + source: '1743149089034' + sourceHandle: source + target: '17430595248160' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: tool + targetType: tool + id: 17430610756270-source-17431493682530-target + source: '17430610756270' + sourceHandle: source + target: '17431493682530' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: tool + targetType: llm + id: 17431493682530-source-17430610794990-target + source: '17431493682530' + sourceHandle: source + target: '17430610794990' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: tool + targetType: tool + id: 17430610640640-source-17431493655610-target + source: '17430610640640' + sourceHandle: source + target: '17431493655610' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: tool + targetType: llm + id: 17431493655610-source-17430610680150-target + source: '17431493655610' + sourceHandle: source + target: '17430610680150' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: tool + targetType: tool + id: 17430598942980-source-17431493623970-target + source: '17430598942980' + sourceHandle: source + target: '17431493623970' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: tool + targetType: llm + id: 17431493623970-source-17430598979590-target + source: '17431493623970' + sourceHandle: source + target: '17430598979590' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: tool + targetType: tool + id: 17430598152780-source-17431493591600-target + source: '17430598152780' + sourceHandle: source + target: '17431493591600' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: tool + targetType: llm + id: 17431493591600-source-17430598299820-target + source: '17431493591600' + sourceHandle: source + target: '17430598299820' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: true + iteration_id: '1741497176064' + sourceType: tool + targetType: tool + id: 1742980228913-source-1743149606391-target + source: '1742980228913' + sourceHandle: source + target: '1743149606391' + targetHandle: target + type: custom + zIndex: 1002 + - data: + isInIteration: true + iteration_id: '1741497176064' + sourceType: tool + targetType: llm + id: 1743149606391-source-1742980933811-target + source: '1743149606391' + sourceHandle: source + target: '1742980933811' + targetHandle: target + type: custom + zIndex: 1002 + - data: + isInIteration: true + iteration_id: '1741497176064' + sourceType: tool + targetType: tool + id: 1742547917612-source-1743150910103-target + source: '1742547917612' + sourceHandle: source + target: '1743150910103' + targetHandle: target + type: custom + zIndex: 1002 + - data: + isInIteration: true + iteration_id: '1741497176064' + sourceType: tool + targetType: llm + id: 1743150910103-source-1742981275937-target + source: '1743150910103' + sourceHandle: source + target: '1742981275937' + targetHandle: target + type: custom + zIndex: 1002 + - data: + isInIteration: true + iteration_id: '1741497176064' + sourceType: tool + targetType: tool + id: 1742980318484-source-1743152043813-target + source: '1742980318484' + sourceHandle: source + target: '1743152043813' + targetHandle: target + type: custom + zIndex: 1002 + - data: + isInIteration: true + iteration_id: '1741497176064' + sourceType: tool + targetType: llm + id: 1743152043813-source-1742981271838-target + source: '1743152043813' + sourceHandle: source + target: '1742981271838' + targetHandle: target + type: custom + zIndex: 1002 + - data: + isInIteration: true + iteration_id: '1741497176064' + sourceType: tool + targetType: tool + id: 1742798505742-source-1743152103020-target + source: '1742798505742' + sourceHandle: source + target: '1743152103020' + targetHandle: target + type: custom + zIndex: 1002 + - data: + isInIteration: true + iteration_id: '1741497176064' + sourceType: tool + targetType: llm + id: 1743152103020-source-1742981278010-target + source: '1743152103020' + sourceHandle: source + target: '1742981278010' + targetHandle: target + type: custom + zIndex: 1002 + - data: + isInIteration: true + iteration_id: '1741497176064' + sourceType: tool + targetType: tool + id: 1741502699500-source-1743152169252-target + source: '1741502699500' + sourceHandle: source + target: '1743152169252' + targetHandle: target + type: custom + zIndex: 1002 + - data: + isInIteration: true + iteration_id: '1741497176064' + sourceType: tool + targetType: llm + id: 1743152169252-source-1742981280434-target + source: '1743152169252' + sourceHandle: source + target: '1742981280434' + targetHandle: target + type: custom + zIndex: 1002 + nodes: + - data: + desc: '' + selected: false + title: start + type: start + variables: + - label: startTime + max_length: 48 + options: [] + required: true + type: number + variable: startTime + - label: endTime + max_length: 48 + options: [] + required: true + type: number + variable: endTime + - label: params + max_length: 9999999 + options: [] + required: false + type: paragraph + variable: params + - label: nodeName + max_length: 256 + options: [] + required: false + type: text-input + variable: nodeName + - label: nodeIp + max_length: 48 + options: [] + required: false + type: text-input + variable: nodeIp + height: 194 + id: '1741227526517' + position: + x: 30 + y: 586 + positionAbsolute: + x: 30 + y: 586 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + - data: + desc: '' + error_handle_mode: terminated + height: 1408 + is_parallel: false + iterator_selector: + - '1741509454645' + - monitor + output_selector: + - '1742470455066' + - output + output_type: array[string] + parallel_nums: 10 + selected: false + start_node_id: 1741497176064start + title: iteration + type: iteration + width: 3603.817693995864 + height: 1408 + id: '1741497176064' + position: + x: 4286 + y: 904 + positionAbsolute: + x: 4286 + y: 904 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 3604 + zIndex: 1 + - data: + desc: '' + isInIteration: true + selected: false + title: '' + type: iteration-start + draggable: false + height: 48 + id: 1741497176064start + parentId: '1741497176064' + position: + x: 24 + y: 68 + positionAbsolute: + x: 4310 + y: 972 + selectable: false + selected: false + sourcePosition: right + targetPosition: left + type: custom-iteration-start + width: 44 + zIndex: 1002 + - data: + code: "\ndef main(arg1: str) -> dict:\n data = json.loads(arg1)\n return\ + \ {\n \"pod\": data.get(\"pod\", \"\"),\n \"namespace\": data.get(\"\ + namespace\", \"\")\n }\n" + code_language: python3 + desc: '' + isInIteration: true + iteration_id: '1741497176064' + outputs: + namespace: + children: null + type: string + pod: + children: null + type: string + selected: false + title: get instance info + type: code + variables: + - value_selector: + - '1741497176064' + - item + variable: arg1 + height: 54 + id: '1741497181784' + parentId: '1741497176064' + position: + x: 247.70722025930104 + y: 65 + positionAbsolute: + x: 4533.707220259301 + y: 969 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: Specified pod name + ja_JP: Specified pod name + pt_BR: Specified pod name + zh_Hans: 指定的容器POD名称 + label: + en_US: pod + ja_JP: pod + pt_BR: pod + zh_Hans: pod + llm_description: Specified pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Specified namespace + ja_JP: Specified namespace + pt_BR: Specified namespace + zh_Hans: 指定的容器所在Namespace + label: + en_US: namespace + ja_JP: namespace + pt_BR: namespace + zh_Hans: namespace + llm_description: Specified namespace + max: null + min: null + name: namespace + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time + ja_JP: Data query start time + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time + ja_JP: Data query end time + pt_BR: Data query end time + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query start time + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + endTime: '' + namespace: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: Container CPU throttling duration (when using Containerd container + runtime, statistics by container and Pod) + tool_configurations: {} + tool_label: 容器CPU节流时长(使用Containerd容器运行时,按容器和Pod统计) + tool_name: 容器CPU节流时长(使用Containerd容器运行时,按容器和Pod统计) + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + namespace: + type: mixed + value: '{{#1741497181784.namespace#}}' + pod: + type: mixed + value: '{{#1741497181784.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '1741502699500' + parentId: '1741497176064' + position: + x: 844.0068118865438 + y: 800.2561082923241 + positionAbsolute: + x: 5130.006811886544 + y: 1704.2561082923241 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + outputs: + - value_selector: + - '1741512806512' + - text + variable: text + - value_selector: [] + variable: '' + selected: false + title: End + type: end + height: 90 + id: '1741502839759' + position: + x: 8254 + y: 904 + positionAbsolute: + x: 8254 + y: 904 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + - data: + context: + enabled: false + variable_selector: [] + desc: '' + isInIteration: true + iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.6 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + prompt_template: + - id: cd35fff4-a037-4e72-af99-2ff8299fc5d2 + role: system + text: You are an intelligent assistant in the observability field, helping + users analyze problems + - id: 2b2ad468-efcd-4bcc-aeb9-d53d2f2770ad + role: user + text: '# Purpose + + Based on the polaris metrics data in each direction, + + Analyze whether the application {{#1741497181784.pod#}} + + is affected by the alert event {{#1742807803325.alertName#}}, and preliminarily + determine the root cause direction of the alarm. + + # Note + + In the input data, the data in each direction includes the thread time + consumption data in that direction and the related data in that direction. + For example, the network time consumption will bring the network RTT indicator + of the application. + + # Analysis rules + + 1. First see which type of data has the largest change (the significant + increase is greater than other types, and the value change is the largest). + If there is a direct, give suggestions according to the specified direction + below. + + At the same time, combine the thread history P90 to analyze the changes + and confirm whether the data is in a reasonable range + + Note: P90 reflects the fluctuation within the maximum and minimum range. + Although the fluctuation may be large, in the long run, this fluctuation + is normal. When analyzing data, you need to find the real "mutation", + that is, abnormal and drastic changes that occur in a short period of + time. The definition of a ‘mutation’ is: the fluctuation value shows a + significant jump in a very short period of time (such as 1-2 time steps) + compared to the previous and next data points, and this jump is obviously + beyond the normal fluctuation pattern (for example, the change amplitude + is far greater than the average change rate, or is inconsistent with the + trend). Please ignore the regular fluctuations that are within the normal + range (within the P90 range) and only focus on abnormal mutations. + + If two types of change trends are found to be similar, the priority is + analyzed from high to low. + + 2. If the CPU time consumption of the application increases, it is recommended + to check whether the code is too nested. After checking the problem, you + can roll back and repair it. + + 3. If the application preempts the CPU, it is recommended to log in to + the machine to check whether other applications are preempting it. + + 4. If net, epoll increases, it is necessary to analyze whether the application + rtt is normal. + + If rtt is abnormal, it is recommended that users check whether there is + a problem with the network; if rtt is normal, it is recommended that users + check downstream problems. + + 5. If the file type increases, it is recommended to check whether the + application opens too many files. + + + # Output format + + ## Application {{#1741497181784.pod#}} + + Summary of the trend of changes in the North Star indicator + + - List the changes in the North Star indicator and describe it in concise + language + + - If there is no significant change, clearly state: "No significant change + was observed." + + ## Preliminary root cause conclusion of the alarm event + + - Summarize whether the alarm affects the application, + + Combined with the North Star indicator and related indicator data of the + service, analyze the possible root cause + + At the same time, only one direction of advice can be given. + + Note: If the network direction is considered to have a problem, if the + RTT is normal, the description is modified to be a downstream network + problem + + # Input data + + - cpu direction data + + {{#1742980933811.text#}} + + Historical CPU time consumption P90 + + {{#1743149606391.text#}} + + - net direction data + + {{#1742981275937.text#}} + + Historical Net time consumption P90 + + {{#1743150910103.text#}} + + - file direction data + + {{#1742981271838.text#}} + + Historical file time consumption P90 + + {{#1743152043813.text#}} + + - epoll direction data + + {{#1742981278010.text#}} + + Historical epoll time consumption P90 + + {{#1743152103020.text#}} + + - runq direction data + + {{#1742981280434.text#}} + + Historical runq time consumption P90 + + {{#1743152169252.text#}} + + + # Notes + + - Use concise and clear language, avoid excessive accumulation of technical + terms, and ensure that the output is easy to understand.' + selected: false + title: llm analysis root cause + type: llm + variables: [] + vision: + enabled: false + height: 90 + id: '1741506766037' + parentId: '1741497176064' + position: + x: 2476.850022241196 + y: 495.6222275962382 + positionAbsolute: + x: 6762.850022241196 + y: 1399.6222275962382 + selected: true + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + code: "import json\n\ndef main(arg: str) -> dict:\n data = json.loads(arg)\n\ + \ timeseries = data[\"data\"][\"timeseries\"]\n \n seen = set()\n\ + \ pod_info = []\n first_pod = None\n \n for item in timeseries:\n\ + \ labels = item[\"labels\"]\n namespace = labels.get(\"namespace\"\ + , \"\")\n pod = labels.get(\"pod\", \"\")\n \n unique_key\ + \ = (namespace, pod)\n \n if unique_key not in seen:\n \ + \ seen.add(unique_key)\n info = {\n \"\ + namespace\": namespace,\n \"pod\": pod\n }\n \ + \ if first_pod is None:\n first_pod = json.dumps(info)\n\ + \ else:\n pod_info.append(json.dumps(info))\n \ + \ \n return {\n \"first\": first_pod,\n \"monitor\"\ + : pod_info,\n }" + code_language: python3 + desc: '' + outputs: + first: + children: null + type: string + monitor: + children: null + type: array[string] + selected: false + title: ' get pod info array' + type: code + variables: + - value_selector: + - '1741597274153' + - output + variable: arg + height: 54 + id: '1741509454645' + position: + x: 1550 + y: 774 + positionAbsolute: + x: 1550 + y: 774 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + - data: + context: + enabled: false + variable_selector: [] + desc: '' + model: + completion_params: + temperature: 0.6 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + prompt_template: + - id: 169877de-aa4a-44db-90ef-2cc8f68882c4 + role: system + text: You are an intelligent assistant in the field of observability + - id: c9d29276-dfa5-4042-b1c6-562260f9cc7c + role: user + text: '# Purpose + + Summarize the Pod information in the conclusion data by service level + and output a service level overview. + + The specific situation of each Pod should be clear and easy to understand. + + Remove suggestions related to futex. + + # Note + + 1. In the conclusion, if the impact of CPU-related problems is more significant + (combined with alarm events), it is recommended that users prioritize + solving CPU problems. + + 2. Optimize the output format to ensure that the service level summary + and Pod details are clearly layered and easy to read. + + 4. The names of North Star indicators (such as CPU, epoll, net, other/runq) + must not be changed. + + 5. When outputting conclusions, only one direction is required, and do + not associate them with other problems (such as GC and locks) + + 6. If the net time consumption increases, but the RTT is normal, it is + recommended that users check downstream problems + + # Conclusion data + + {{#17430594012660.output#}} + + {{#1741497176064.output#}}' + selected: false + title: summary data + type: llm + variables: [] + vision: + enabled: false + height: 90 + id: '1741512806512' + position: + x: 7950 + y: 904 + positionAbsolute: + x: 7950 + y: 904 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + - data: + desc: '' + selected: false + template: The service and node information are both empty. The root cause + cannot be analyzed at present. + title: unsupport alert + type: template-transform + variables: [] + height: 54 + id: '1741592094819' + position: + x: 942 + y: 586 + positionAbsolute: + x: 942 + y: 586 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + - data: + desc: '' + outputs: + - value_selector: + - '1741592094819' + - output + variable: output + selected: false + title: End + type: end + height: 90 + id: '1741592144815' + position: + x: 1246 + y: 586 + positionAbsolute: + x: 1246 + y: 586 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + - data: + desc: '' + is_team_authorization: true + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: Specified service name + ja_JP: Specified service name + pt_BR: Specified service name + zh_Hans: 指定的服务名 + label: + en_US: service_name + ja_JP: service_name + pt_BR: service_name + zh_Hans: service_name + llm_description: Specified service name + max: null + min: null + name: service_name + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time + ja_JP: Data query start time + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time + ja_JP: Data query end time + pt_BR: Data query end time + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query start time + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + endTime: '' + service_name: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: query pod info by service + tool_configurations: {} + tool_label: 列出该服务下的所有实例 + tool_name: originx_service_instance + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + service_name: + type: mixed + value: '{{#1742807803325.service#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '1741597223833' + position: + x: 942 + y: 680 + positionAbsolute: + x: 942 + y: 680 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + - data: + desc: '' + output_type: string + selected: false + title: summary instance + type: variable-aggregator + variables: + - - '1741597223833' + - text + - - '1741599658821' + - result + - - '1742629595400' + - text + height: 152 + id: '1741597274153' + position: + x: 1246 + y: 743 + positionAbsolute: + x: 1246 + y: 743 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + - data: + code: "\ndef main(arg1: str, arg2: str) -> dict:\n data = {\n \"\ + data\": {\n \"timeseries\": [\n {\n \ + \ \"labels\": {\n \"namespace\": arg2,\n\ + \ \"pod\": arg1,\n }\n \ + \ }\n ]\n }\n }\n return {\n \"result\"\ + : json.dumps(data),\n }\n" + code_language: python3 + desc: '' + outputs: + result: + children: null + type: string + selected: false + title: get pod info + type: code + variables: + - value_selector: + - '1742807803325' + - pod + variable: arg1 + - value_selector: + - '1742807803325' + - namespace + variable: arg2 + height: 54 + id: '1741599658821' + position: + x: 942 + y: 774 + positionAbsolute: + x: 942 + y: 774 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + - data: + cases: + - case_id: 'true' + conditions: + - comparison_operator: not empty + id: 22866ae7-2bfa-47e9-9c19-d31e8b63001f + value: '' + varType: string + variable_selector: + - '1742807803325' + - pod + - comparison_operator: not empty + id: add89997-787b-4d71-a187-3e9f8e8f25a3 + value: '' + varType: string + variable_selector: + - '1742807803325' + - namespace + id: 'true' + logical_operator: and + - case_id: 2949ad86-bdc0-4b1d-bd84-6e01f41915eb + conditions: + - comparison_operator: not empty + id: 4dbbe62a-669f-4549-9028-c4ccd6c8175c + value: '' + varType: string + variable_selector: + - '1742807803325' + - service + id: 2949ad86-bdc0-4b1d-bd84-6e01f41915eb + logical_operator: and + - case_id: 74dc1f70-729f-47e1-a6c8-9f0a1d2a6ad9 + conditions: + - comparison_operator: not empty + id: a2f849d6-0c4f-40f0-9c91-f37cf81eb3f5 + value: '' + varType: string + variable_selector: + - '1741227526517' + - nodeName + id: 74dc1f70-729f-47e1-a6c8-9f0a1d2a6ad9 + logical_operator: and + desc: '' + selected: false + title: alert instance info + type: if-else + height: 248 + id: '1742453019576' + position: + x: 638 + y: 586 + positionAbsolute: + x: 638 + y: 586 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + - data: + classes: + - id: '1742462167200' + name: 'container + + memory' + - id: '1742463856746' + name: 'event type + + container was killed' + - id: '1742464231696' + name: unknow + desc: '' + instruction: You are an intelligent alert classification assistant. Your task + is to classify the given alert events. + instructions: '' + isInIteration: true + iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.7 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + query_variable_selector: + - '1742807803325' + - alertName + selected: false + title: alert event + topics: [] + type: question-classifier + vision: + enabled: false + height: 204 + id: '1742461755094' + parentId: '1741497176064' + position: + x: 76.97060259216505 + y: 363.9210031388636 + positionAbsolute: + x: 4362.970602592165 + y: 1267.9210031388636 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + context: + enabled: false + variable_selector: [] + desc: '' + isInIteration: true + iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.7 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + prompt_template: + - id: 25386b5d-4509-477b-bdab-d835cd12b104 + role: system + text: You are an intelligent assistant in the observability field, helping + users analyze problems + - id: 5f74b2ce-6208-423b-aa3b-f01f2cafb89b + role: user + text: '# Purpose + + + Current pod: {{#1741497181784.pod#}}) + + + Due to the increase in memory alarm, it is necessary to analyze the cause + and provide a solution. + + # Output requirements + + Show the trend of memory indicator data (describe in simple language so + that people can understand it at a glance). + + Provide relevant suggestions, including: + + Check whether the code may have memory leaks. + + Practical methods such as analyzing the root cause of the problem through + logs. + + # Data source + + + Container memory data: {{#1743059090157.text#}}.' + selected: false + title: memory anlysis + type: llm + variables: [] + vision: + enabled: false + height: 90 + id: '1742468584059' + parentId: '1741497176064' + position: + x: 1013.1944929957504 + y: 157.34078070824808 + positionAbsolute: + x: 5299.19449299575 + y: 1061.340780708248 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + context: + enabled: false + variable_selector: [] + desc: '' + isInIteration: true + iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.7 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + prompt_template: + - id: 893c9a67-e9e3-4c2c-8ed2-6301998d555b + role: system + text: You are an intelligent assistant in the observability field, helping + users analyze problems + - id: ccfb4eb1-f253-415d-9a60-9ecab7bd6af4 + role: user + text: 'This alert event is an event type + + affecting {{#1741497181784.pod#}}, give some suggestions' + selected: false + title: LLM 4 + type: llm + variables: [] + vision: + enabled: false + height: 90 + id: '1742468652489' + parentId: '1741497176064' + position: + x: 592.7847463655689 + y: 258.56082085093817 + positionAbsolute: + x: 4878.784746365569 + y: 1162.5608208509382 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + iteration_id: '1741497176064' + output_type: string + selected: false + title: summary + type: variable-aggregator + variables: + - - '1741506766037' + - text + - - '1742468584059' + - text + - - '1742468652489' + - text + height: 152 + id: '1742470455066' + parentId: '1741497176064' + position: + x: 2944.360125927147 + y: 216.75503228886544 + positionAbsolute: + x: 7230.360125927147 + y: 1120.7550322888656 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: Specified pod name + ja_JP: Specified pod name + pt_BR: Specified pod name + zh_Hans: 指定的容器POD名称 + label: + en_US: pod + ja_JP: pod + pt_BR: pod + zh_Hans: pod + llm_description: Specified pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Specified namespace + ja_JP: Specified namespace + pt_BR: Specified namespace + zh_Hans: 指定的容器所在Namespace + label: + en_US: namespace + ja_JP: namespace + pt_BR: namespace + zh_Hans: namespace + llm_description: Specified namespace + max: null + min: null + name: namespace + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time + ja_JP: Data query start time + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time + ja_JP: Data query end time + pt_BR: Data query end time + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query start time + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + endTime: '' + namespace: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: Query container rtt + tool_configurations: {} + tool_label: Query container rtt + tool_name: 查询容器网络与下游RTT + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + namespace: + type: mixed + value: '{{#1741497181784.namespace#}}' + pod: + type: mixed + value: '{{#1741497181784.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '1742547917612' + parentId: '1741497176064' + position: + x: 837.913049217997 + y: 567.6173152328563 + positionAbsolute: + x: 5123.9130492179975 + y: 1471.6173152328563 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + is_team_authorization: true + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: Specified node name + ja_JP: Specified node name + pt_BR: Specified pod name + zh_Hans: 指定的主机名称 + label: + en_US: node_name + ja_JP: node_name + pt_BR: node_name + zh_Hans: node_name + llm_description: Specified pod name + max: null + min: null + name: node_name + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Specified Process ID + ja_JP: Specified Process ID + pt_BR: Specified Process ID + zh_Hans: 指定的进程ID + label: + en_US: pid + ja_JP: pid + pt_BR: pid + zh_Hans: pid + llm_description: Specified Process ID + max: null + min: null + name: pid + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time + ja_JP: Data query start time + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time + ja_JP: Data query end time + pt_BR: Data query end time + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query start time + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + endTime: '' + node_name: '' + pid: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: get pod info in node + tool_configurations: {} + tool_label: Thread Polaris Metrics Process All monitor + tool_name: originx_service_monitor + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + node_name: + type: mixed + value: '{{#1741227526517.nodeName#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '1742629595400' + position: + x: 942 + y: 868 + positionAbsolute: + x: 942 + y: 868 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: Specified pod name + ja_JP: Specified pod name + pt_BR: Specified pod name + zh_Hans: 指定的容器POD名称 + label: + en_US: pod + ja_JP: pod + pt_BR: pod + zh_Hans: pod + llm_description: Specified pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Specified namespace + ja_JP: Specified namespace + pt_BR: Specified namespace + zh_Hans: 指定的容器所在Namespace + label: + en_US: namespace + ja_JP: namespace + pt_BR: namespace + zh_Hans: namespace + llm_description: Specified namespace + max: null + min: null + name: namespace + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time + ja_JP: Data query start time + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time + ja_JP: Data query end time + pt_BR: Data query end time + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query start time + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + endTime: '' + namespace: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: Query container rtt + tool_configurations: {} + tool_label: Query container rtt + tool_name: 查询容器网络与下游RTT + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + namespace: + type: mixed + value: '{{#1741497181784.namespace#}}' + pod: + type: mixed + value: '{{#1741497181784.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '1742798505742' + parentId: '1741497176064' + position: + x: 838.2707565556775 + y: 677.0915533804653 + positionAbsolute: + x: 5124.2707565556775 + y: 1581.0915533804653 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + code: " \ndef get_value(data, keys): \n for key in keys: \n value = data.get(key)\ + \ \n if value is not None: \n return value \n return \"\" \n\n\ + import json \n\ndef main(arg: str) -> dict:\n data = json.loads(arg) \n\ + \ return { \n \"alertName\": get_value(data, [\"alertName\"]), \n\ + \ \"service\": get_value(data, [\"svc_name\", \"service\"]), \n \"endpoint\"\ + : get_value(data,[\"endpoint\", \"content_key\"]), \n \"pod\": get_value(data,[\"\ + pod\", \"src_pod\", \"pod_name\"]), \n \"namespace\": get_value(data,[\"\ + namespace\", \"src_namespace\"]), \n}" + code_language: python3 + desc: '' + outputs: + alertName: + children: null + type: string + endpoint: + children: null + type: string + namespace: + children: null + type: string + pod: + children: null + type: string + service: + children: null + type: string + selected: false + title: get alert event label info + type: code + variables: + - value_selector: + - '1741227526517' + - params + variable: arg + height: 54 + id: '1742807803325' + position: + x: 334 + y: 586 + positionAbsolute: + x: 334 + y: 586 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: cAdvisor job name + ja_JP: cAdvisor job name + pt_BR: cAdvisor job name + zh_Hans: cAdvisor任务名称 + label: + en_US: cAdvisor job name + ja_JP: cAdvisor job name + pt_BR: cAdvisor job name + zh_Hans: cAdvisor任务名称 + llm_description: cAdvisor job name + max: null + min: null + name: cadvisor_job_name + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Namespace + ja_JP: Namespace + pt_BR: Namespace + zh_Hans: 命名空间 + label: + en_US: Namespace + ja_JP: Namespace + pt_BR: Namespace + zh_Hans: 命名空间 + llm_description: Namespace + max: null + min: null + name: namespace + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time(Microsecond) + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + cadvisor_job_name: '' + endTime: '' + namespace: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: Container CPU usage rate (Containerd runtime, aggregated by container + and Pod) + tool_configurations: {} + tool_label: Container CPU usage rate (Containerd runtime, aggregated by container + and Pod) + tool_name: 容器CPU使用率(使用Containerd容器运行时,按容器和Pod统计) + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + namespace: + type: mixed + value: '{{#1741497181784.namespace#}}' + pod: + type: mixed + value: '{{#1741497181784.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '1742980228913' + parentId: '1741497176064' + position: + x: 817.3433448742644 + y: 386.77445077825655 + positionAbsolute: + x: 5103.343344874264 + y: 1290.7744507782566 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: cAdvisor job name + ja_JP: cAdvisor job name + pt_BR: cAdvisor job name + zh_Hans: cAdvisor任务名称 + label: + en_US: cAdvisor job name + ja_JP: cAdvisor job name + pt_BR: cAdvisor job name + zh_Hans: cAdvisor任务名称 + llm_description: cAdvisor job name + max: null + min: null + name: cadvisor_job_name + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Namespace + ja_JP: Namespace + pt_BR: Namespace + zh_Hans: 命名空间 + label: + en_US: Namespace + ja_JP: Namespace + pt_BR: Namespace + zh_Hans: 命名空间 + llm_description: Namespace + max: null + min: null + name: namespace + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time(Microsecond) + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + cadvisor_job_name: '' + endTime: '' + namespace: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: Container disk read time per second (Containerd runtime, aggregated + by container and Pod) + tool_configurations: {} + tool_label: Container disk read time per second (Containerd runtime, aggregated + by container and Pod) + tool_name: 容器磁盘读取耗时每秒(使用Containerd,按Pod和容器统计) + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + namespace: + type: mixed + value: '{{#1741497181784.namespace#}}' + pod: + type: mixed + value: '{{#1741497181784.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '1742980318484' + parentId: '1741497176064' + position: + x: 829.6661633624499 + y: 478.0639330308825 + positionAbsolute: + x: 5115.66616336245 + y: 1382.0639330308825 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + endTime: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: thread in CPU + tool_configurations: {} + tool_label: 线程在CPU上的耗时折线图(按Pod统计) + tool_name: 线程在CPU上的耗时折线图(按Pod统计) + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + pod: + type: mixed + value: '{{#1741497181784.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '1742980720651' + parentId: '1741497176064' + position: + x: 501.0045489698464 + y: 384.9951556082583 + positionAbsolute: + x: 4787.004548969846 + y: 1288.9951556082583 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + endTime: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: thread in file + tool_configurations: {} + tool_label: 线程在文件操作上的耗时折线图(按Pod统计) + tool_name: 线程在文件操作上的耗时折线图(按Pod统计) + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + pod: + type: mixed + value: '{{#1741497181784.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '1742980748320' + parentId: '1741497176064' + position: + x: 502.3624003022592 + y: 478.98654261939305 + positionAbsolute: + x: 4788.36240030226 + y: 1382.986542619393 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + endTime: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: thread in net + tool_configurations: {} + tool_label: 线程在网络操作上的耗时折线图(按Pod统计) + tool_name: 线程在网络操作上的耗时折线图(按Pod统计) + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + pod: + type: mixed + value: '{{#1741497181784.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '1742980780865' + parentId: '1741497176064' + position: + x: 507.1563167397626 + y: 565.5281468443313 + positionAbsolute: + x: 4793.156316739763 + y: 1469.5281468443313 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + endTime: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: thread in epoll + tool_configurations: {} + tool_label: 线程在Epoll操作上的耗时折线图(按Pod统计) + tool_name: 线程在Epoll操作上的耗时折线图(按Pod统计) + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + pod: + type: mixed + value: '{{#1741497181784.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '1742980837261' + parentId: '1741497176064' + position: + x: 513.7505744250511 + y: 675.3340235425774 + positionAbsolute: + x: 4799.750574425051 + y: 1579.3340235425774 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + endTime: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: thread in runq + tool_configurations: {} + tool_label: 线程在运行队列上的耗时折线图(按Pod统计) + tool_name: 线程在运行队列上的耗时折线图(按Pod统计) + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + pod: + type: mixed + value: '{{#1741497181784.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '1742980885557' + parentId: '1741497176064' + position: + x: 519.4457802875913 + y: 800.367276200539 + positionAbsolute: + x: 4805.445780287591 + y: 1704.367276200539 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + context: + enabled: false + variable_selector: [] + desc: '' + isInIteration: true + iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.7 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + prompt_template: + - id: 3ce935be-61a8-4ebe-ac8c-ed8039a2b3d3 + role: system + text: You are an intelligent assistant in the observability field, helping + users analyze problems + - id: 27e985b3-1039-4a38-9f9c-f9d78d83597d + role: user + text: '# Purpose + + Summarize the following data to make it concise and easy to understand: + + 1. Execution time data of all application threads on CPU types + + 2. CPU-related indicator data of the application + + + # Note + + 1. The output summary can include a description of the number of threads, + and can also give the average time change of most threads + + 2. The time unit is nanoseconds (ns), and the unit must be retained + + 3. Make sure the description is concise and easy for users to understand + + + # Data + + cpu time (unit: nanoseconds, ns): + + {{#1742980720651.text#}} + + cpu indicator: + + {{#1742980720651.text#}}' + selected: false + title: cpu analysis + type: llm + variables: [] + vision: + enabled: false + height: 90 + id: '1742980933811' + parentId: '1741497176064' + position: + x: 1523.5849163475727 + y: 369.82226364108806 + positionAbsolute: + x: 5809.584916347572 + y: 1273.822263641088 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + context: + enabled: false + variable_selector: [] + desc: '' + isInIteration: true + iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.7 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + prompt_template: + - id: 2aacf14d-625b-435f-b564-d4882157fe1c + role: system + text: You are an intelligent assistant in the observability field, helping + users analyze problems + - id: fd4d9226-6f01-4d5d-bb05-c0d1cb570ed5 + role: user + text: '# Purpose + + Summarize the following data to make it concise and easy to understand: + + 1. Application execution time data of all threads on file type + + 2. Application read disk indicator data + + + # Note + + 1. Output summary can include description of number of threads + + 2. Time consumption unit is nanosecond (ns), and the unit is retained + in the output + + 3. Make sure the description is concise and easy for users to understand + + + # Data + + File time consumption (unit: nanosecond, ns): + + {{#1742980748320.text#}} + + + Read disk indicator: + + {{#1742980318484.text#}}' + selected: false + title: file analysis + type: llm + variables: [] + vision: + enabled: false + height: 90 + id: '1742981271838' + parentId: '1741497176064' + position: + x: 1558.557136936397 + y: 472.1294984224769 + positionAbsolute: + x: 5844.557136936397 + y: 1376.129498422477 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + context: + enabled: false + variable_selector: [] + desc: '' + isInIteration: true + iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.7 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + prompt_template: + - id: 2fcf3791-e5a8-4c5b-9f9b-73753dedd9f7 + role: system + text: You are an intelligent assistant in the observability field, helping + users analyze problems + - id: 95e534cf-6856-4d33-bd3e-680aa819a13b + role: user + text: '# Purpose + + Summarize the following data to make it concise and easy to understand: + + 1. Execution time data of all application threads on net type + + 2. Network RTT indicator data of the application + + + # Note + + 1. The output summary can include a description of the number of threads, + and can also give the average time change of most threads + + 2. The time unit is nanoseconds (ns), and the unit is retained in the + output + + 3. The RTT indicator unit is seconds. If the value is less than 0.05 seconds, + you can add a note "Network is normal" + + 4. Make sure the description is concise and easy for users to understand + + + # Data + + Network time (unit: nanoseconds, ns): + + {{#1742980780865.text#}} + + + Network RTT indicator (unit: seconds, if the value < 0.05, the network + is normal): + + {{#1742980780865.text#}}' + selected: false + title: net analysis + type: llm + variables: [] + vision: + enabled: false + height: 90 + id: '1742981275937' + parentId: '1741497176064' + position: + x: 1563.9713697080979 + y: 586.9524528027102 + positionAbsolute: + x: 5849.971369708098 + y: 1490.9524528027102 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + context: + enabled: false + variable_selector: [] + desc: '' + isInIteration: true + iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.7 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + prompt_template: + - id: 1f3e7592-c8f0-455a-8abb-23c74aaf5fb8 + role: system + text: You are an intelligent assistant in the observability field, helping + users analyze problems + - id: 9ed18fa7-b43f-4f11-ba13-2dcd03fc16c9 + role: user + text: '# Purpose + + Summarize the following data to make it concise and easy to understand: + + 1. Execution time data of all threads of the application on the epoll + type + + 2. Network RTT indicator data of the application + + + # Note + + 1. The output summary can include a description of the number of threads, + and can also give the average time change of most threads + + 2. The time unit is nanoseconds (ns), and the unit is retained in the + output + + 3. The RTT indicator unit is seconds. If the value is less than 0.05 seconds, + you can add a note "Network is normal" + + 4. Make sure the description is concise and easy for users to understand + + + # Data + + epoll time (unit: nanoseconds, ns): + + {{#1742980837261.text#}} + + + Network RTT indicator (unit: seconds, if the value < 0.05, the network + is normal): + + {{#1742798505742.text#}}' + selected: false + title: epoll analysis + type: llm + variables: [] + vision: + enabled: false + height: 90 + id: '1742981278010' + parentId: '1741497176064' + position: + x: 1536.393337231676 + y: 714.101728498571 + positionAbsolute: + x: 5822.393337231676 + y: 1618.101728498571 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + context: + enabled: false + variable_selector: [] + desc: '' + isInIteration: true + iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.7 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + prompt_template: + - id: b4463776-4368-40e5-b3ea-28a179ebc11c + role: system + text: You are an intelligent assistant in the observability field, helping + users analyze problems + - id: 44df105c-0a0a-4147-ae4a-7e4bda7bb3af + role: user + text: '# Purpose + + Summarize the following data to make it concise and easy to understand: + + 1. Execution time data of all application threads on runq type + + 2. CPU Throttle Time indicator data of application + + + # Note + + 1. Output summary can bring description of number of threads + + 2. Time unit is nanosecond (ns), and the unit is retained in the output + + 3. Make sure the description is concise and easy for users to understand + + + # Data + + Runq time (unit: nanosecond, ns): + + {{#1742980885557.text#}} + + + CPU Throttle Time indicator: + + {{#1741502699500.text#}}' + selected: false + title: runq analysis + type: llm + variables: [] + vision: + enabled: false + height: 90 + id: '1742981280434' + parentId: '1741497176064' + position: + x: 1570.9420500051347 + y: 826.9814099810242 + positionAbsolute: + x: 5856.942050005135 + y: 1730.9814099810242 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + code: "\ndef main(arg1: str) -> dict:\n data = json.loads(arg1)\n return\ + \ {\n \"pod\": data.get(\"pod\", \"\"),\n \"namespace\": data.get(\"\ + namespace\", \"\")\n }\n" + code_language: python3 + desc: '' + isInIteration: true + iteration_id: '1741497176064' + outputs: + namespace: + children: null + type: string + pod: + children: null + type: string + selected: false + title: POD info + type: code + variables: + - value_selector: + - '1741509454645' + - first + variable: arg1 + height: 54 + id: '17430589567120' + position: + x: 1854 + y: 774 + positionAbsolute: + x: 1854 + y: 774 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + classes: + - id: '1742462167200' + name: 'container + + high memory' + - id: '1742463856746' + name: 'event type + + container was killed' + - id: '1742464231696' + name: unknow type + desc: '' + instruction: You are an intelligent alert classification assistant. Your task + is to classify the given alert events. + instructions: '' + isInIteration: true + iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.7 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + query_variable_selector: + - '1742807803325' + - alertName + selected: false + title: alert event cls + topics: [] + type: question-classifier + vision: + enabled: false + height: 204 + id: '17430590082510' + position: + x: 2158 + y: 774 + positionAbsolute: + x: 2158 + y: 774 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: cAdvisor job name + ja_JP: cAdvisor job name + pt_BR: cAdvisor job name + zh_Hans: cAdvisor任务名称 + label: + en_US: cAdvisor job name + ja_JP: cAdvisor job name + pt_BR: cAdvisor job name + zh_Hans: cAdvisor任务名称 + llm_description: cAdvisor job name + max: null + min: null + name: cadvisor_job_name + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Namespace + ja_JP: Namespace + pt_BR: Namespace + zh_Hans: 命名空间 + label: + en_US: Namespace + ja_JP: Namespace + pt_BR: Namespace + zh_Hans: 命名空间 + llm_description: Namespace + max: null + min: null + name: namespace + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time(Microsecond) + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + cadvisor_job_name: '' + endTime: '' + namespace: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: container memory + tool_configurations: {} + tool_label: 容器内存使用字节数(使用Containerd容器运行时,按容器和Pod统计) + tool_name: 容器内存使用字节数(使用Containerd容器运行时,按容器和Pod统计) + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + namespace: + type: mixed + value: '{{#1741497181784.namespace#}}' + pod: + type: mixed + value: '{{#1741497181784.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '1743059090157' + parentId: '1741497176064' + position: + x: 544.0386199547656 + y: 125.67116500938346 + positionAbsolute: + x: 4830.038619954766 + y: 1029.6711650093835 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: cAdvisor job name + ja_JP: cAdvisor job name + pt_BR: cAdvisor job name + zh_Hans: cAdvisor任务名称 + label: + en_US: cAdvisor job name + ja_JP: cAdvisor job name + pt_BR: cAdvisor job name + zh_Hans: cAdvisor任务名称 + llm_description: cAdvisor job name + max: null + min: null + name: cadvisor_job_name + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Namespace + ja_JP: Namespace + pt_BR: Namespace + zh_Hans: 命名空间 + label: + en_US: Namespace + ja_JP: Namespace + pt_BR: Namespace + zh_Hans: 命名空间 + llm_description: Namespace + max: null + min: null + name: namespace + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time(Microsecond) + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + cadvisor_job_name: '' + endTime: '' + namespace: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: container memory + tool_configurations: {} + tool_label: 容器内存使用字节数(使用Containerd容器运行时,按容器和Pod统计) + tool_name: 容器内存使用字节数(使用Containerd容器运行时,按容器和Pod统计) + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + namespace: + type: mixed + value: '{{#17430589567120.namespace#}}' + pod: + type: mixed + value: '{{#17430589567120.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '17430593614550' + position: + x: 3374 + y: 774 + positionAbsolute: + x: 3374 + y: 774 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + context: + enabled: false + variable_selector: [] + desc: '' + isInIteration: true + iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.7 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + prompt_template: + - id: 25386b5d-4509-477b-bdab-d835cd12b104 + role: system + text: You are an intelligent assistant in the observability field, helping + users analyze problems + - id: 5f74b2ce-6208-423b-aa3b-f01f2cafb89b + role: user + text: '# Purpose + + + Current pod: {{#17430589567120.pod#}}) + + + Due to the increase in memory alert, it is necessary to analyze the cause + and provide a solution. + + # Output requirements + + Show the trend of memory metrics data (describe in simple language so + that people can understand it at a glance). + + Provide relevant suggestions, including: + + Check whether the code may have memory leaks. + + Practical methods such as analyzing the root cause of the problem through + logs. + + # Data source + + + Container memory data: {{#17430593614550.text#}}.' + selected: false + title: memory analysis + type: llm + variables: [] + vision: + enabled: false + height: 90 + id: '17430593816310' + position: + x: 3678 + y: 774 + positionAbsolute: + x: 3678 + y: 774 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + iteration_id: '1741497176064' + output_type: string + selected: false + title: summary1 + type: variable-aggregator + variables: + - - '17430593816310' + - text + - - '17430594510140' + - text + - - '17430596469370' + - text + height: 152 + id: '17430594012660' + position: + x: 3982 + y: 904 + positionAbsolute: + x: 3982 + y: 904 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + context: + enabled: false + variable_selector: [] + desc: '' + isInIteration: true + iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.7 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + prompt_template: + - id: 893c9a67-e9e3-4c2c-8ed2-6301998d555b + role: system + text: You are an intelligent assistant in the observability field, helping + users analyze problems + - id: ccfb4eb1-f253-415d-9a60-9ecab7bd6af4 + role: user + text: 'This alert event is an event type + + affecting {{#17430589567120.pod#}}, give some suggestions' + selected: false + title: event type + type: llm + variables: [] + vision: + enabled: false + height: 90 + id: '17430594510140' + position: + x: 3678 + y: 904 + positionAbsolute: + x: 3678 + y: 904 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + endTime: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: thread time consumption on CPU (by Pod) + tool_configurations: {} + tool_label: 线程在CPU上的耗时折线图(按Pod统计) + tool_name: 线程在CPU上的耗时折线图(按Pod统计) + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + pod: + type: mixed + value: '{{#17430589567120.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '17430595109950' + position: + x: 2462 + y: 979 + positionAbsolute: + x: 2462 + y: 979 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: cAdvisor job name + ja_JP: cAdvisor job name + pt_BR: cAdvisor job name + zh_Hans: cAdvisor任务名称 + label: + en_US: cAdvisor job name + ja_JP: cAdvisor job name + pt_BR: cAdvisor job name + zh_Hans: cAdvisor任务名称 + llm_description: cAdvisor job name + max: null + min: null + name: cadvisor_job_name + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Namespace + ja_JP: Namespace + pt_BR: Namespace + zh_Hans: 命名空间 + label: + en_US: Namespace + ja_JP: Namespace + pt_BR: Namespace + zh_Hans: 命名空间 + llm_description: Namespace + max: null + min: null + name: namespace + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time(Microsecond) + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + cadvisor_job_name: '' + endTime: '' + namespace: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: container cpu + tool_configurations: {} + tool_label: Container CPU usage rate (Containerd runtime, aggregated by container + and Pod) + tool_name: 容器CPU使用率(使用Containerd容器运行时,按容器和Pod统计) + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + namespace: + type: mixed + value: '{{#17430589567120.namespace#}}' + pod: + type: mixed + value: '{{#17430589567120.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '17430595158080' + position: + x: 2766 + y: 979 + positionAbsolute: + x: 2766 + y: 979 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + context: + enabled: false + variable_selector: [] + desc: '' + isInIteration: true + iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.7 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + prompt_template: + - id: 3ce935be-61a8-4ebe-ac8c-ed8039a2b3d3 + role: system + text: You are an intelligent assistant in the observability field, helping + users analyze problems + - id: 27e985b3-1039-4a38-9f9c-f9d78d83597d + role: user + text: '# Purpose + + Summarize the following data to make it concise and easy to understand: + + 1. Execution time data of all application threads on CPU types + + 2. CPU-related indicator data of the application + + + # Note + + 1. The output summary can include a description of the number of threads, + and can also give the average time change of most threads + + 2. The time unit is nanoseconds (ns), and the unit must be retained + + 3. Make sure the description is concise and easy for users to understand + + + # Data + + cpu time (unit: nanoseconds, ns): + + {{#17430595109950.text#}} + + cpu indicator: + + {{#17430595158080.text#}}' + selected: false + title: cpu analysis + type: llm + variables: [] + vision: + enabled: false + height: 90 + id: '17430595248160' + position: + x: 3374 + y: 959.3628878418151 + positionAbsolute: + x: 3374 + y: 959.3628878418151 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + context: + enabled: false + variable_selector: [] + desc: '' + isInIteration: true + iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.6 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + prompt_template: + - id: cd35fff4-a037-4e72-af99-2ff8299fc5d2 + role: system + text: You are an intelligent assistant in the observability field, helping + users analyze problems + - id: 2b2ad468-efcd-4bcc-aeb9-d53d2f2770ad + role: user + text: '# Purpose + + Based on the Polaris Metrics data in each direction, + + Analyze whether the application {{#17430589567120.pod#}} + + is affected by the alert event {{#1742807803325.alertName#}}, and preliminarily + determine the root cause direction of the alert. + + # Note + + In the input data, the data in each direction includes the thread time + consumption data in that direction and the related data in that direction. + For example, the network time consumption will bring the network RTT indicator + of the application. + + # Analysis rules + + 1. First see which type of data has the largest change (the significant + increase is greater than other types, and the value change is the largest). + If there is a direct, give suggestions according to the specified direction + below. + + At the same time, combine the thread history P90 to analyze the changes + and confirm whether the data is in a reasonable range + + Note: P90 reflects the fluctuation within the maximum and minimum range. + Although the fluctuation may be large, in the long run, this fluctuation + is normal. When analyzing data, you need to find the real "mutation", + that is, abnormal and drastic changes that occur in a short period of + time. The definition of ‘mutation’ is: compared with the previous and + next data points, the fluctuation value has a significant jump in a very + short time (such as 1-2 time steps), and this jump is obviously beyond + the normal fluctuation mode (for example, the change amplitude is far + greater than the average change rate, or it is inconsistent with the trend). + Please ignore those regular fluctuations that are within the normal range + (within the P90 range) and only focus on abnormal mutations. + + If two types of change trends are found to be similar, the priority is + analyzed from high to low + + 2. The CPU time consumption of the application increases. It is recommended + that users check whether the code is too nested. After checking the problem, + rollback and repair can be performed + + 3. The application preempts the CPU. It is recommended that users log + in to the machine to check whether other applications are preempting + + 4. If net, epoll increases, it is also necessary to analyze whether the + application rtt is normal + + Note: Network RTT indicator (unit: seconds, if the value < 0.05, the network + is normal) + + If rtt increases abnormally, it is recommended that users check whether + there is a problem with the network; if rtt is normal, it is recommended + that users check downstream service problems! + + 5. File type increases. It is recommended that users check whether the + application has opened too many files + + + # Output format + + ## Application {{#17430589567120.pod#}} + + Summary of the trend of changes in the North Star indicator + + - List the changes in the North Star indicator and describe them in concise + language + + - If there is no significant change, clearly state: "No significant change + was observed." + + ## Preliminary root cause conclusion of the alarm event + + - Summarize whether the alarm affects the application, + + Combined with the North Star indicator and related indicator data of the + service, analyze the possible root causes + + At the same time, only one direction of advice can be given. It is recommended + to refer to the analysis rules + + Note: When the network direction is considered to have a problem, if the + RTT is normal, the description is changed to a downstream network problem + + # Input data + + - cpu direction data + + {{#17430595248160.text#}} + + cpu time consumption history P90 data + + {{#1743149089034.text#}} + + - net direction data + + {{#17430598979590.text#}} + + net time consumption history P90 data + + {{#17431493623970.text#}} + + - file direction data + + {{#17430598299820.text#}} + + file time consumption history P90 data + + {{#17431493591600.text#}} + + - epoll direction data + + {{#17430610680150.text#}} + + epoll time consumption historical P90 data + + {{#17431493655610.text#}} + + - runq direction data + + {{#17430610794990.text#}} + + runq time consumption historical P90 data + + {{#17431493682530.text#}} + + + # Notes + + - In P90 related data, json key is thread id, max, min corresponds to + the maximum and minimum P90 values ​​in the past hour + + - Use concise and clear language, avoid excessive accumulation of technical + terms, and ensure that the output is easy to understand.' + selected: false + title: llm analysis root cause + type: llm + variables: [] + vision: + enabled: false + height: 90 + id: '17430596469370' + position: + x: 3678 + y: 1239 + positionAbsolute: + x: 3678 + y: 1239 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + endTime: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: thread time consumption on File (by Pod) + tool_configurations: {} + tool_label: 线程在文件操作上的耗时折线图(按Pod统计) + tool_name: 线程在文件操作上的耗时折线图(按Pod统计) + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + pod: + type: mixed + value: '{{#17430589567120.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '17430597987060' + position: + x: 2462 + y: 1109 + positionAbsolute: + x: 2462 + y: 1109 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: cAdvisor job name + ja_JP: cAdvisor job name + pt_BR: cAdvisor job name + zh_Hans: cAdvisor任务名称 + label: + en_US: cAdvisor job name + ja_JP: cAdvisor job name + pt_BR: cAdvisor job name + zh_Hans: cAdvisor任务名称 + llm_description: cAdvisor job name + max: null + min: null + name: cadvisor_job_name + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Namespace + ja_JP: Namespace + pt_BR: Namespace + zh_Hans: 命名空间 + label: + en_US: Namespace + ja_JP: Namespace + pt_BR: Namespace + zh_Hans: 命名空间 + llm_description: Namespace + max: null + min: null + name: namespace + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time(Microsecond) + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + cadvisor_job_name: '' + endTime: '' + namespace: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: container read disk + tool_configurations: {} + tool_label: Container disk read time per second (Containerd runtime, aggregated + by container and Pod) + tool_name: 容器磁盘读取耗时每秒(使用Containerd,按Pod和容器统计) + tool_parameters: + cadvisor_job_name: + type: mixed + value: '' + endTime: + type: variable + value: + - '1741227526517' + - endTime + namespace: + type: mixed + value: '{{#17430589567120.namespace#}}' + pod: + type: mixed + value: '{{#17430589567120.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '17430598152780' + position: + x: 2766 + y: 1109 + positionAbsolute: + x: 2766 + y: 1109 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + context: + enabled: false + variable_selector: [] + desc: '' + isInIteration: true + iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.7 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + prompt_template: + - id: 2aacf14d-625b-435f-b564-d4882157fe1c + role: system + text: You are an intelligent assistant in the observability field, helping + users analyze problems + - id: fd4d9226-6f01-4d5d-bb05-c0d1cb570ed5 + role: user + text: '# Purpose + + Summarize the following data to make it concise and easy to understand: + + 1. Application execution time data of all threads on file type + + 2. Application read disk indicator data + + + # Note + + 1. Output summary can include description of number of threads + + 2. Time consumption unit is nanosecond (ns), and the unit is retained + in the output + + 3. Make sure the description is concise and easy for users to understand + + + # Data + + File time consumption (unit: nanosecond, ns): + + {{#17430597987060.text#}} + + + Read disk indicator: + + {{#17430598152780.text#}}' + selected: false + title: file analysis + type: llm + variables: [] + vision: + enabled: false + height: 90 + id: '17430598299820' + position: + x: 3374 + y: 1091 + positionAbsolute: + x: 3374 + y: 1091 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + endTime: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin selected: false - title: '' - type: iteration-start - draggable: false - height: 48 - id: 1741497176064start - parentId: '1741497176064' - position: - x: 24 - y: 68 - positionAbsolute: - x: 520.333270727516 - y: 339.35553284680793 - selectable: false - sourcePosition: right - targetPosition: left - type: custom-iteration-start - width: 44 - zIndex: 1002 - - data: - code: "\ndef main(arg1: str) -> dict:\n data = json.loads(arg1)\n return\ - \ {\n \"pod\": data.get(\"pod\", \"\"),\n \"namespace\": data.get(\"\ - namespace\", \"\")\n }\n" - code_language: python3 - desc: '' - isInIteration: true - iteration_id: '1741497176064' - outputs: - namespace: - children: null - type: string + title: Thread time consumption on Net (by Pod) + tool_configurations: {} + tool_label: 线程在网络操作上的耗时折线图(按Pod统计) + tool_name: 线程在网络操作上的耗时折线图(按Pod统计) + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime pod: - children: null - type: string - selected: false - title: get args - type: code - variables: - - value_selector: - - '1741497176064' - - item - variable: arg1 - height: 53 - id: '1741497181784' - parentId: '1741497176064' + type: mixed + value: '{{#17430589567120.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '17430598907140' position: - x: 16 - y: 65 + x: 2462 + y: 1239 positionAbsolute: - x: 512.333270727516 - y: 336.35553284680793 + x: 2462 + y: 1239 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 + width: 244 zIndex: 1002 - data: desc: '' @@ -692,7 +5488,31 @@ workflow: options: [] placeholder: null precision: null - required: true + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Specified namespace + ja_JP: Specified namespace + pt_BR: Specified namespace + zh_Hans: 指定的容器所在Namespace + label: + en_US: namespace + ja_JP: namespace + pt_BR: namespace + zh_Hans: namespace + llm_description: Specified namespace + max: null + min: null + name: namespace + options: [] + placeholder: null + precision: null + required: false scope: null template: null type: string @@ -746,45 +5566,48 @@ workflow: type: number params: endTime: '' + namespace: '' pod: '' startTime: '' provider_id: apo_select provider_name: apo_select provider_type: builtin selected: false - title: Thread Polaris Metrics - ALL process type + title: container rtt tool_configurations: {} - tool_label: Thread Polaris Metrics - 北极星指标(进程) - 各类型耗时折线图 - 所有类型列表 - tool_name: polar_process_all_resp + tool_label: Query container rtt + tool_name: 查询容器网络与下游RTT tool_parameters: endTime: type: variable value: - '1741227526517' - endTime + namespace: + type: mixed + value: '{{#17430589567120.namespace#}}' pod: type: mixed - value: '{{#1741497181784.pod#}}' + value: '{{#17430589567120.pod#}}' startTime: type: variable value: - '1741227526517' - startTime type: tool - height: 53 - id: '1741497216474' - parentId: '1741497176064' + height: 54 + id: '17430598942980' position: - x: 428.6547554766032 - y: 67.98377959888398 + x: 2766 + y: 1239 positionAbsolute: - x: 924.9880262041193 - y: 339.3393124456919 + x: 2766 + y: 1239 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 + width: 244 zIndex: 1002 - data: context: @@ -797,108 +5620,188 @@ workflow: completion_params: temperature: 0.7 mode: chat - name: deepseek-v3 - provider: langgenius/openai_api_compatible/openai_api_compatible + name: deepseek-chat + provider: langgenius/deepseek/deepseek prompt_template: - - id: bf86aacb-6cf8-4ee0-85c6-ad591299624c + - id: 2fcf3791-e5a8-4c5b-9f9b-73753dedd9f7 role: system - text: '' - - id: 53c48462-405a-4d2e-9ae4-ab0f54abc57a + text: You are an intelligent assistant in the observability field, helping + users analyze problems + - id: 95e534cf-6856-4d33-bd3e-680aa819a13b role: user text: '# Purpose - Indicator analysis: Which type of change is the most obvious + Summarize the following data to make it concise and easy to understand: + + 1. Execution time data of all application threads on net type + + 2. Network RTT indicator data of application + - # Process: First confirm whether there is a sharp fluctuation. If there - is a fluctuation, identify the sub-item that causes the delay fluctuation - and which sub-item causes it. The calculation of the sub-item starts from - the time after the fluctuation. The sub-item should account for more than - 10% of the delay. Do not calculate from the beginning. If there is no - fluctuation, identify which sub-item is most similar to the delay curve - change. Please analyze carefully and verify whether the data meets the - requirement of more than 10%. + # Note - / + 1. The output summary can include a description of the number of threads, + and can also give the average time change of most threads - {{#1741497216474.text#}} + 2. The time unit is nanoseconds (ns), and the unit is retained in the + output - # Note: Please try not to consider the futex type, try to analyze cpu, - net, epoll, file, runq + 3. The RTT indicator unit is seconds. If the value is less than 0.05 seconds, + you can add a note "Network is normal" - If the data is empty, return directly without exception' + 4. Make sure the description is concise and easy for users to understand + + + # Data + + Network time (unit: nanoseconds, ns): + + {{#17430598907140.text#}} + + + Network RTT indicator (unit: seconds, if the value < 0.05, the network + is normal): + + {{#17430598942980.text#}}' selected: false - title: LLM 3 + title: net analysis type: llm variables: [] vision: enabled: false - height: 95 - id: '1741498390634' - parentId: '1741497176064' + height: 90 + id: '17430598979590' position: - x: 769.9574404460166 - y: 65 + x: 3374 + y: 1221 positionAbsolute: - x: 1266.2907111735326 - y: 336.35553284680793 + x: 3374 + y: 1221 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 + width: 244 zIndex: 1002 - data: - classes: - - id: '1' - name: cpu - - id: '2' - name: net - - id: '1741498415133' - name: file - - id: '1741498418311' - name: epoll - - id: '1741498422694' - name: runq - - id: '1741498426874' - name: futex - desc: '' - instruction: 'Please classify based on the above conclusions - - What kind of changes caused the current application - - Note that there may be no data' - instructions: '' + desc: '' isInIteration: true + is_team_authorization: true iteration_id: '1741497176064' - model: - completion_params: - temperature: 0.7 - mode: chat - name: deepseek-v3 - provider: langgenius/openai_api_compatible/openai_api_compatible - query_variable_selector: - - '1741498390634' - - text + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + endTime: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin selected: false - title: classifier type - topics: [] - type: question-classifier - vision: - enabled: false - height: 317 - id: '1741498403828' - parentId: '1741497176064' + title: thread time consumption on Epoll (by Pod) + tool_configurations: {} + tool_label: 线程在Epoll操作上的耗时折线图(按Pod统计) + tool_name: 线程在Epoll操作上的耗时折线图(按Pod统计) + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + pod: + type: mixed + value: '{{#17430589567120.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '17430610599980' position: - x: 20.61584008101886 - y: 246.9787031382702 + x: 2462 + y: 1369 positionAbsolute: - x: 516.9491108085349 - y: 518.3342359850781 + x: 2462 + y: 1369 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 + width: 244 zIndex: 1002 - data: desc: '' @@ -927,7 +5830,7 @@ workflow: options: [] placeholder: null precision: null - required: true + required: false scope: null template: null type: string @@ -951,7 +5854,7 @@ workflow: options: [] placeholder: null precision: null - required: true + required: false scope: null template: null type: string @@ -1012,42 +5915,114 @@ workflow: provider_name: apo_select provider_type: builtin selected: false - title: Container CPU usage - tool_configurations: {} - tool_label: 容器CPU使用率(使用Containerd容器运行时,按容器和Pod统计) - tool_name: 查询容器CPU利用率 - tool_parameters: - endTime: - type: variable - value: - - '1741227526517' - - endTime - namespace: - type: mixed - value: '{{#1741497181784.namespace#}}' - pod: - type: mixed - value: '{{#1741497181784.pod#}}' - startTime: - type: variable - value: - - '1741227526517' - - startTime - type: tool - height: 53 - id: '1741498509378' - parentId: '1741497176064' + title: container rtt + tool_configurations: {} + tool_label: Query container rtt + tool_name: 查询容器网络与下游RTT + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + namespace: + type: mixed + value: '{{#17430589567120.namespace#}}' + pod: + type: mixed + value: '{{#17430589567120.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '17430610640640' + position: + x: 2766 + y: 1369 + positionAbsolute: + x: 2766 + y: 1369 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + context: + enabled: false + variable_selector: [] + desc: '' + isInIteration: true + iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.7 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + prompt_template: + - id: 1f3e7592-c8f0-455a-8abb-23c74aaf5fb8 + role: system + text: You are an intelligent assistant in the observability field, helping + users analyze problems + - id: 9ed18fa7-b43f-4f11-ba13-2dcd03fc16c9 + role: user + text: '# Purpose + + Summarize the following data (asynchronous and network summary reports) + to make them concise and easy to understand: + + 1. Application execution time data of all threads on epoll type + + 2. Application network RTT indicator data + + # Note + + 1. The output summary can include a description of the number of threads, + and can also give the average time change of most threads + + 2. The time unit is nanoseconds (ns), and the unit is retained in the + output + + 3. The RTT indicator unit is seconds. If the value is less than 0.05 seconds, + you can add a note "Network is normal" + + 4. Make sure the description is concise and easy for users to understand + + + # Data + + epoll time (unit: nanoseconds, ns): + + {{#17430610599980.text#}} + + Network RTT indicator (unit: seconds, if the value < 0.05, the network + is normal): + + {{#17430610640640.text#}}' + selected: false + title: epoll analysis + type: llm + variables: [] + vision: + enabled: false + height: 90 + id: '17430610680150' position: - x: 410.6883607221529 - y: 350.869732101604 + x: 3374 + y: 1351 positionAbsolute: - x: 907.0216314496689 - y: 622.2252649484119 + x: 3374 + y: 1351 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 + width: 244 zIndex: 1002 - data: desc: '' @@ -1060,47 +6035,23 @@ workflow: default: null form: llm human_description: - en_US: Specified pod name - ja_JP: Specified pod name - pt_BR: Specified pod name - zh_Hans: 指定的容器POD名称 + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 label: - en_US: pod - ja_JP: pod - pt_BR: pod - zh_Hans: pod - llm_description: Specified pod name + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name max: null min: null name: pod options: [] placeholder: null precision: null - required: true - scope: null - template: null - type: string - - auto_generate: null - default: null - form: llm - human_description: - en_US: Specified namespace - ja_JP: Specified namespace - pt_BR: Specified namespace - zh_Hans: 指定的容器所在Namespace - label: - en_US: namespace - ja_JP: namespace - pt_BR: namespace - zh_Hans: namespace - llm_description: Specified namespace - max: null - min: null - name: namespace - options: [] - placeholder: null - precision: null - required: true + required: false scope: null template: null type: string @@ -1108,8 +6059,8 @@ workflow: default: null form: llm human_description: - en_US: Data query start time - ja_JP: Data query start time + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) pt_BR: Data query start time zh_Hans: 开始时间 (微秒) label: @@ -1117,7 +6068,7 @@ workflow: ja_JP: startTime pt_BR: startTime zh_Hans: startTime - llm_description: Data query start time + llm_description: Data query start time(Microsecond) max: null min: null name: startTime @@ -1132,16 +6083,16 @@ workflow: default: null form: llm human_description: - en_US: Data query end time - ja_JP: Data query end time - pt_BR: Data query end time + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) zh_Hans: 结束时间 (微秒) label: en_US: endTime ja_JP: endTime pt_BR: endTime zh_Hans: endTime - llm_description: Data query start time + llm_description: Data query end time(Microsecond) max: null min: null name: endTime @@ -1154,50 +6105,44 @@ workflow: type: number params: endTime: '' - namespace: '' pod: '' startTime: '' provider_id: apo_select provider_name: apo_select provider_type: builtin selected: false - title: The network round-trip time between the container and the downstream - service (RTT, by namespace and Pod) + title: thread time consumption on Runq(by Pod) tool_configurations: {} - tool_label: 容器与下游服务的网络往返时间(RTT,按命名空间和Pod统计) - tool_name: 查询容器网络与下游RTT + tool_label: 线程在运行队列上的耗时折线图(按Pod统计) + tool_name: 线程在运行队列上的耗时折线图(按Pod统计) tool_parameters: endTime: type: variable value: - '1741227526517' - endTime - namespace: - type: mixed - value: '{{#1741497181784.namespace#}}' pod: type: mixed - value: '{{#1741497181784.pod#}}' + value: '{{#17430589567120.pod#}}' startTime: type: variable value: - '1741227526517' - startTime type: tool - height: 53 - id: '1741498527215' - parentId: '1741497176064' + height: 54 + id: '17430610719970' position: - x: 410.6883607221529 - y: 443.869732101604 + x: 2462 + y: 1499 positionAbsolute: - x: 907.0216314496689 - y: 715.2252649484119 + x: 2462 + y: 1499 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 + width: 244 zIndex: 1002 - data: desc: '' @@ -1311,10 +6256,10 @@ workflow: provider_name: apo_select provider_type: builtin selected: false - title: Container disk read time per second (using Containerd, by Pod and container) + title: Container cpu throttling tool_configurations: {} - tool_label: 容器磁盘读取耗时每秒(使用Containerd,按Pod和容器统计) - tool_name: select_container_cpu + tool_label: 容器CPU节流时长(使用Containerd容器运行时,按容器和Pod统计) + tool_name: 容器CPU节流时长(使用Containerd容器运行时,按容器和Pod统计) tool_parameters: endTime: type: variable @@ -1323,59 +6268,124 @@ workflow: - endTime namespace: type: mixed - value: '{{#1741497181784.namespace#}}' + value: '{{#17430589567120.namespace#}}' pod: type: mixed - value: '{{#1741497181784.pod#}}' + value: '{{#17430589567120.pod#}}' startTime: type: variable value: - '1741227526517' - startTime type: tool - height: 53 - id: '1741498907941' - parentId: '1741497176064' + height: 54 + id: '17430610756270' position: - x: 432.9644565654511 - y: 510.4168682876872 + x: 2766 + y: 1499 positionAbsolute: - x: 929.2977272929671 - y: 781.7724011344951 + x: 2766 + y: 1499 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 + width: 244 zIndex: 1002 - data: + context: + enabled: false + variable_selector: [] desc: '' isInIteration: true - is_team_authorization: true iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.7 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + prompt_template: + - id: b4463776-4368-40e5-b3ea-28a179ebc11c + role: system + text: You are an intelligent assistant in the observability field, helping + users analyze problems + - id: 44df105c-0a0a-4147-ae4a-7e4bda7bb3af + role: user + text: '# Purpose + + Summarize the following data to make it concise and easy to understand: + + 1. Execution time data of all application threads on runq type + + 2. CPU Throttle Time indicator data of application + + + # Note + + 1. Output summary can bring description of number of threads + + 2. Time unit is nanosecond (ns), and the unit is retained in the output + + 3. Make sure the description is concise and easy for users to understand + + + # Data + + Runq time (unit: nanosecond, ns): + + {{#17430610719970.text#}} + + + CPU Throttle Time indicator: + + {{#17430610756270.text#}}' + selected: false + title: runq analysis + type: llm + variables: [] + vision: + enabled: false + height: 90 + id: '17430610794990' + position: + x: 3378.945497521249 + y: 1477.703001652501 + positionAbsolute: + x: 3378.945497521249 + y: 1477.703001652501 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + is_team_authorization: true output_schema: null paramSchemas: - auto_generate: null default: null form: llm human_description: - en_US: Specified host name - ja_JP: Specified host name - pt_BR: Specified host name - zh_Hans: 指定的主机名 + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 label: - en_US: node - ja_JP: node - pt_BR: node - zh_Hans: node - llm_description: Specified host name + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name max: null min: null - name: node + name: pod options: [] placeholder: null precision: null - required: true + required: false scope: null template: null type: string @@ -1383,8 +6393,32 @@ workflow: default: null form: llm human_description: - en_US: Data query start time - ja_JP: Data query start time + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) + label: + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) + llm_description: Type (cpu,net,file,epoll,runq) + max: null + min: null + name: type + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) pt_BR: Data query start time zh_Hans: 开始时间 (微秒) label: @@ -1392,7 +6426,7 @@ workflow: ja_JP: startTime pt_BR: startTime zh_Hans: startTime - llm_description: Data query start time + llm_description: Data query start time(Microsecond) max: null min: null name: startTime @@ -1407,16 +6441,16 @@ workflow: default: null form: llm human_description: - en_US: Data query end time - ja_JP: Data query end time - pt_BR: Data query end time + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) zh_Hans: 结束时间 (微秒) label: en_US: endTime ja_JP: endTime pt_BR: endTime zh_Hans: endTime - llm_description: Data query start time + llm_description: Data query end time(Microsecond) max: null min: null name: endTime @@ -1429,74 +6463,74 @@ workflow: type: number params: endTime: '' - node: '' + pod: '' startTime: '' + type: '' provider_id: apo_select provider_name: apo_select provider_type: builtin selected: false - title: Host IO waiting CPU busy rate + title: CPU P90 tool_configurations: {} - tool_label: 宿主机IO等待CPU繁忙率 - tool_name: host_cpu_iowait + tool_label: Thread Polaris Metrics P90 + tool_name: 线程北极星P90数据 tool_parameters: endTime: type: variable value: - '1741227526517' - endTime - node: + pod: type: mixed - value: '{{#1741227526517.nodeName#}}' + value: '{{#17430589567120.pod#}}' startTime: type: variable value: - '1741227526517' - startTime + type: + type: mixed + value: cpu type: tool - height: 53 - id: '1741499376556' - parentId: '1741497176064' + height: 54 + id: '1743149089034' position: - x: 453.5013338953919 - y: 647.741739700495 + x: 3070 + y: 979 positionAbsolute: - x: 949.8346046229079 - y: 919.097272547303 + x: 3070 + y: 979 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 - zIndex: 1002 + width: 244 - data: desc: '' - isInIteration: true is_team_authorization: true - iteration_id: '1741497176064' output_schema: null paramSchemas: - auto_generate: null default: null form: llm human_description: - en_US: Specified host name - ja_JP: Specified host name - pt_BR: Specified host name - zh_Hans: 指定的主机名 + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 label: - en_US: node - ja_JP: node - pt_BR: node - zh_Hans: node - llm_description: Specified host name + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name max: null min: null - name: node + name: pod options: [] placeholder: null precision: null - required: true + required: false scope: null template: null type: string @@ -1504,8 +6538,32 @@ workflow: default: null form: llm human_description: - en_US: Data query start time - ja_JP: Data query start time + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) + label: + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) + llm_description: Type (cpu,net,file,epoll,runq) + max: null + min: null + name: type + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) pt_BR: Data query start time zh_Hans: 开始时间 (微秒) label: @@ -1513,7 +6571,7 @@ workflow: ja_JP: startTime pt_BR: startTime zh_Hans: startTime - llm_description: Data query start time + llm_description: Data query start time(Microsecond) max: null min: null name: startTime @@ -1528,16 +6586,16 @@ workflow: default: null form: llm human_description: - en_US: Data query end time - ja_JP: Data query end time - pt_BR: Data query end time + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) zh_Hans: 结束时间 (微秒) label: en_US: endTime ja_JP: endTime pt_BR: endTime zh_Hans: endTime - llm_description: Data query start time + llm_description: Data query end time(Microsecond) max: null min: null name: endTime @@ -1550,99 +6608,74 @@ workflow: type: number params: endTime: '' - node: '' + pod: '' startTime: '' + type: '' provider_id: apo_select provider_name: apo_select provider_type: builtin selected: false - title: The number of file descriptors currently open on the host + title: file P90 tool_configurations: {} - tool_label: 宿主机当前打开文件描述符数 - tool_name: host_cpu_fd_open + tool_label: Thread Polaris Metrics P90 + tool_name: 线程北极星P90数据 tool_parameters: endTime: type: variable value: - '1741227526517' - endTime - node: + pod: type: mixed - value: '{{#1741227526517.nodeName#}}' + value: '{{#17430589567120.pod#}}' startTime: type: variable value: - '1741227526517' - startTime + type: + type: mixed + value: file type: tool - height: 53 - id: '1741501265259' - parentId: '1741497176064' - position: - x: 454.9055541105341 - y: 582.0321151443305 - positionAbsolute: - x: 951.2388248380502 - y: 853.3876479911385 - selected: false - sourcePosition: right - targetPosition: left - type: custom - width: 243 - zIndex: 1002 - - data: - desc: '' - isInIteration: true - iteration_id: '1741497176064' - selected: false - template: The current type is futex. The program may have GC or lock. It may - also be in sleep state. - title: unsupport - type: template-transform - variables: [] - height: 53 - id: '1741502665376' - parentId: '1741497176064' + height: 54 + id: '17431493591600' position: - x: 450.0220921065131 - y: 821.6601419474025 + x: 3070 + y: 1109 positionAbsolute: - x: 946.3553628340292 - y: 1093.0156747942106 + x: 3070 + y: 1109 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 - zIndex: 1002 + width: 244 - data: desc: '' - isInIteration: true is_team_authorization: true - iteration_id: '1741497176064' output_schema: null paramSchemas: - auto_generate: null default: null form: llm human_description: - en_US: Specified pod name - ja_JP: Specified pod name - pt_BR: Specified pod name - zh_Hans: 指定的容器POD名称 + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 label: - en_US: pod - ja_JP: pod - pt_BR: pod - zh_Hans: pod - llm_description: Specified pod name + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name max: null min: null name: pod options: [] placeholder: null precision: null - required: true + required: false scope: null template: null type: string @@ -1650,23 +6683,23 @@ workflow: default: null form: llm human_description: - en_US: Specified namespace - ja_JP: Specified namespace - pt_BR: Specified namespace - zh_Hans: 指定的容器所在Namespace + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) label: - en_US: namespace - ja_JP: namespace - pt_BR: namespace - zh_Hans: namespace - llm_description: Specified namespace + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) + llm_description: Type (cpu,net,file,epoll,runq) max: null min: null - name: namespace + name: type options: [] placeholder: null precision: null - required: true + required: false scope: null template: null type: string @@ -1674,8 +6707,8 @@ workflow: default: null form: llm human_description: - en_US: Data query start time - ja_JP: Data query start time + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) pt_BR: Data query start time zh_Hans: 开始时间 (微秒) label: @@ -1683,7 +6716,7 @@ workflow: ja_JP: startTime pt_BR: startTime zh_Hans: startTime - llm_description: Data query start time + llm_description: Data query start time(Microsecond) max: null min: null name: startTime @@ -1698,16 +6731,16 @@ workflow: default: null form: llm human_description: - en_US: Data query end time - ja_JP: Data query end time - pt_BR: Data query end time + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) zh_Hans: 结束时间 (微秒) label: en_US: endTime ja_JP: endTime pt_BR: endTime zh_Hans: endTime - llm_description: Data query start time + llm_description: Data query end time(Microsecond) max: null min: null name: endTime @@ -1720,79 +6753,74 @@ workflow: type: number params: endTime: '' - namespace: '' pod: '' startTime: '' + type: '' provider_id: apo_select provider_name: apo_select provider_type: builtin selected: false - title: Container CPU throttling duration (when using Containerd container - runtime, statistics by container and Pod) + title: net P90 tool_configurations: {} - tool_label: 容器CPU节流时长(使用Containerd容器运行时,按容器和Pod统计) - tool_name: 容器CPU节流时长(使用Containerd容器运行时,按容器和Pod统计) + tool_label: Thread Polaris Metrics P90 + tool_name: 线程北极星P90数据 tool_parameters: endTime: type: variable value: - '1741227526517' - endTime - namespace: - type: mixed - value: '{{#1741497181784.namespace#}}' pod: type: mixed - value: '{{#1741497181784.pod#}}' + value: '{{#17430589567120.pod#}}' startTime: type: variable value: - '1741227526517' - startTime + type: + type: mixed + value: net type: tool - height: 53 - id: '1741502699500' - parentId: '1741497176064' + height: 54 + id: '17431493623970' position: - x: 445.14779795415495 - y: 708.438700581942 + x: 3070 + y: 1239 positionAbsolute: - x: 941.481068681671 - y: 979.79423342875 + x: 3070 + y: 1239 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 - zIndex: 1002 + width: 244 - data: desc: '' - isInIteration: true is_team_authorization: true - iteration_id: '1741497176064' output_schema: null paramSchemas: - auto_generate: null default: null form: llm human_description: - en_US: time series metric data - ja_JP: time series metric data - pt_BR: time series metric data - zh_Hans: 时序指标数据 + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 label: - en_US: metricData - ja_JP: metricData - pt_BR: metricData - zh_Hans: metricData - llm_description: Time series indicator data + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name max: null min: null - name: metricData + name: pod options: [] placeholder: null precision: null - required: true + required: false scope: null template: null type: string @@ -1800,19 +6828,19 @@ workflow: default: null form: llm human_description: - en_US: threshold - ja_JP: threshold - pt_BR: threshold - zh_Hans: 趋势分析阈值 + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) label: - en_US: threshold - ja_JP: threshold - pt_BR: threshold - zh_Hans: threshold - llm_description: threshold + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) + llm_description: Type (cpu,net,file,epoll,runq) max: null min: null - name: threshold + name: type options: [] placeholder: null precision: null @@ -1820,176 +6848,124 @@ workflow: scope: null template: null type: string - params: - metricData: '' - threshold: '' - provider_id: apo_analysis - provider_name: apo_analysis - provider_type: builtin - selected: false - title: trend analysis - tool_configurations: {} - tool_label: 趋势分析 - tool_name: trend - tool_parameters: - metricData: - type: mixed - value: '{{#1741498509378.text#}}' - type: tool - height: 53 - id: '1741502729293' - parentId: '1741497176064' - position: - x: 714.6883607221529 - y: 350.869732101604 - positionAbsolute: - x: 1211.0216314496688 - y: 622.2252649484119 - selected: false - sourcePosition: right - targetPosition: left - type: custom - width: 243 - zIndex: 1002 - - data: - desc: '' - outputs: - - value_selector: - - '1741512806512' - - text - variable: text - - value_selector: [] - variable: '' - selected: false - title: END - type: end - height: 89 - id: '1741502839759' - position: - x: 2965.328638848552 - y: 535.4340422688811 - positionAbsolute: - x: 2965.328638848552 - y: 535.4340422688811 - selected: false - sourcePosition: right - targetPosition: left - type: custom - width: 243 - - data: - desc: '' - isInIteration: true - is_team_authorization: true - iteration_id: '1741497176064' - output_schema: null - paramSchemas: - auto_generate: null default: null form: llm human_description: - en_US: time series metric data - ja_JP: time series metric data - pt_BR: time series metric data - zh_Hans: 时序指标数据 + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) label: - en_US: metricData - ja_JP: metricData - pt_BR: metricData - zh_Hans: metricData - llm_description: Time series indicator data + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) max: null min: null - name: metricData + name: startTime options: [] placeholder: null precision: null required: true scope: null template: null - type: string + type: number - auto_generate: null default: null form: llm human_description: - en_US: threshold - ja_JP: threshold - pt_BR: threshold - zh_Hans: 趋势分析阈值 + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) label: - en_US: threshold - ja_JP: threshold - pt_BR: threshold - zh_Hans: threshold - llm_description: threshold + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) max: null min: null - name: threshold + name: endTime options: [] placeholder: null precision: null - required: false + required: true scope: null template: null - type: string + type: number params: - metricData: '' - threshold: '' - provider_id: apo_analysis - provider_name: apo_analysis + endTime: '' + pod: '' + startTime: '' + type: '' + provider_id: apo_select + provider_name: apo_select provider_type: builtin selected: false - title: trend analysis + title: epoll P90 tool_configurations: {} - tool_label: 趋势分析 - tool_name: trend + tool_label: Thread Polaris Metrics P90 + tool_name: 线程北极星P90数据 tool_parameters: - metricData: + endTime: + type: variable + value: + - '1741227526517' + - endTime + pod: + type: mixed + value: '{{#17430589567120.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: type: mixed - value: '{{#1741498527215.text#}}' + value: epoll type: tool - height: 53 - id: '1741506670648' - parentId: '1741497176064' + height: 54 + id: '17431493655610' position: - x: 714.6883607221529 - y: 443.869732101604 + x: 3070 + y: 1369 positionAbsolute: - x: 1211.0216314496688 - y: 715.2252649484119 + x: 3070 + y: 1369 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 - zIndex: 1002 + width: 244 - data: desc: '' - isInIteration: true is_team_authorization: true - iteration_id: '1741497176064' output_schema: null paramSchemas: - auto_generate: null default: null form: llm human_description: - en_US: time series metric data - ja_JP: time series metric data - pt_BR: time series metric data - zh_Hans: 时序指标数据 + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 label: - en_US: metricData - ja_JP: metricData - pt_BR: metricData - zh_Hans: metricData - llm_description: Time series indicator data + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name max: null min: null - name: metricData + name: pod options: [] placeholder: null precision: null - required: true + required: false scope: null template: null type: string @@ -1997,19 +6973,19 @@ workflow: default: null form: llm human_description: - en_US: threshold - ja_JP: threshold - pt_BR: threshold - zh_Hans: 趋势分析阈值 + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) label: - en_US: threshold - ja_JP: threshold - pt_BR: threshold - zh_Hans: threshold - llm_description: threshold + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) + llm_description: Type (cpu,net,file,epoll,runq) max: null min: null - name: threshold + name: type options: [] placeholder: null precision: null @@ -2017,123 +6993,98 @@ workflow: scope: null template: null type: string - params: - metricData: '' - threshold: '' - provider_id: apo_analysis - provider_name: apo_analysis - provider_type: builtin - selected: false - title: trend analysis - tool_configurations: {} - tool_label: 趋势分析 - tool_name: trend - tool_parameters: - metricData: - type: mixed - value: '{{#1741497181784.pod#}}' - type: tool - height: 53 - id: '1741506676593' - parentId: '1741497176064' - position: - x: 736.9644565654511 - y: 510.4168682876872 - positionAbsolute: - x: 1233.297727292967 - y: 781.7724011344951 - selected: false - sourcePosition: right - targetPosition: left - type: custom - width: 243 - zIndex: 1002 - - data: - desc: '' - isInIteration: true - is_team_authorization: true - iteration_id: '1741497176064' - output_schema: null - paramSchemas: - auto_generate: null default: null form: llm human_description: - en_US: time series metric data - ja_JP: time series metric data - pt_BR: time series metric data - zh_Hans: 时序指标数据 + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) label: - en_US: metricData - ja_JP: metricData - pt_BR: metricData - zh_Hans: metricData - llm_description: Time series indicator data + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) max: null min: null - name: metricData + name: startTime options: [] placeholder: null precision: null required: true scope: null template: null - type: string + type: number - auto_generate: null default: null form: llm human_description: - en_US: threshold - ja_JP: threshold - pt_BR: threshold - zh_Hans: 趋势分析阈值 + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) label: - en_US: threshold - ja_JP: threshold - pt_BR: threshold - zh_Hans: threshold - llm_description: threshold + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) max: null min: null - name: threshold + name: endTime options: [] placeholder: null precision: null - required: false + required: true scope: null template: null - type: string + type: number params: - metricData: '' - threshold: '' - provider_id: apo_analysis - provider_name: apo_analysis + endTime: '' + pod: '' + startTime: '' + type: '' + provider_id: apo_select + provider_name: apo_select provider_type: builtin selected: false - title: trend analysis + title: Runq P90 tool_configurations: {} - tool_label: 趋势分析 - tool_name: trend + tool_label: Thread Polaris Metrics P90 + tool_name: 线程北极星P90数据 tool_parameters: - metricData: + endTime: + type: variable + value: + - '1741227526517' + - endTime + pod: + type: mixed + value: '{{#17430589567120.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: type: mixed - value: '{{#1741501265259.text#}}' + value: runq type: tool - height: 53 - id: '1741506693125' - parentId: '1741497176064' + height: 54 + id: '17431493682530' position: - x: 736.9170936623195 - y: 579.6300240013376 + x: 3070 + y: 1499 positionAbsolute: - x: 1233.2503643898356 - y: 850.9855568481455 + x: 3070 + y: 1499 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 - zIndex: 1002 + width: 244 - data: desc: '' isInIteration: true @@ -2145,23 +7096,23 @@ workflow: default: null form: llm human_description: - en_US: time series metric data - ja_JP: time series metric data - pt_BR: time series metric data - zh_Hans: 时序指标数据 + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 label: - en_US: metricData - ja_JP: metricData - pt_BR: metricData - zh_Hans: metricData - llm_description: Time series indicator data + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name max: null min: null - name: metricData + name: pod options: [] placeholder: null precision: null - required: true + required: false scope: null template: null type: string @@ -2169,19 +7120,19 @@ workflow: default: null form: llm human_description: - en_US: threshold - ja_JP: threshold - pt_BR: threshold - zh_Hans: 趋势分析阈值 + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) label: - en_US: threshold - ja_JP: threshold - pt_BR: threshold - zh_Hans: threshold - llm_description: threshold + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) + llm_description: Type (cpu,net,file,epoll,runq) max: null min: null - name: threshold + name: type options: [] placeholder: null precision: null @@ -2189,256 +7140,128 @@ workflow: scope: null template: null type: string - params: - metricData: '' - threshold: '' - provider_id: apo_analysis - provider_name: apo_analysis - provider_type: builtin - selected: false - title: trend analysis - tool_configurations: {} - tool_label: 趋势分析 - tool_name: trend - tool_parameters: - metricData: - type: mixed - value: '{{#1741499376556.text#}}' - type: tool - height: 53 - id: '1741506702729' - parentId: '1741497176064' - position: - x: 757.5013338953919 - y: 647.741739700495 - positionAbsolute: - x: 1253.834604622908 - y: 919.097272547303 - selected: false - sourcePosition: right - targetPosition: left - type: custom - width: 243 - zIndex: 1002 - - data: - desc: '' - isInIteration: true - is_team_authorization: true - iteration_id: '1741497176064' - output_schema: null - paramSchemas: - auto_generate: null default: null form: llm human_description: - en_US: time series metric data - ja_JP: time series metric data - pt_BR: time series metric data - zh_Hans: 时序指标数据 + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) label: - en_US: metricData - ja_JP: metricData - pt_BR: metricData - zh_Hans: metricData - llm_description: Time series indicator data + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) max: null min: null - name: metricData + name: startTime options: [] placeholder: null precision: null required: true scope: null template: null - type: string + type: number - auto_generate: null default: null form: llm human_description: - en_US: threshold - ja_JP: threshold - pt_BR: threshold - zh_Hans: 趋势分析阈值 + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) label: - en_US: threshold - ja_JP: threshold - pt_BR: threshold - zh_Hans: threshold - llm_description: threshold + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) max: null min: null - name: threshold + name: endTime options: [] placeholder: null precision: null - required: false - scope: null - template: null - type: string - params: - metricData: '' - threshold: '' - provider_id: apo_analysis - provider_name: apo_analysis - provider_type: builtin - selected: false - title: trend analysis - tool_configurations: {} - tool_label: 趋势分析 - tool_name: trend - tool_parameters: - metricData: - type: mixed - value: '{{#1741502699500.text#}}' - type: tool - height: 53 - id: '1741506711511' - parentId: '1741497176064' - position: - x: 731.553574904796 - y: 710.0381754046111 - positionAbsolute: - x: 1227.886845632312 - y: 981.3937082514191 - selected: false - sourcePosition: right - targetPosition: left - type: custom - width: 243 - zIndex: 1002 - - data: - desc: '' - isInIteration: true - iteration_id: '1741497176064' - output_type: string - selected: false - title: Variable Aggreator - type: variable-aggregator - variables: - - - '1741502729293' - - text - - - '1741506670648' - - text - - - '1741506676593' - - text - - - '1741506693125' - - text - - - '1741506702729' - - text - - - '1741506711511' - - text - - - '1741502665376' - - output - height: 238 - id: '1741506718903' - parentId: '1741497176064' - position: - x: 1073.8586854551645 - y: 369.8785970965338 - positionAbsolute: - x: 1570.1919561826805 - y: 641.2341299433417 - selected: false - sourcePosition: right - targetPosition: left - type: custom - width: 243 - zIndex: 1002 - - data: - context: - enabled: false - variable_selector: [] - desc: '' - isInIteration: true - iteration_id: '1741497176064' - model: - completion_params: - temperature: 0.7 - mode: chat - name: deepseek-v3 - provider: langgenius/openai_api_compatible/openai_api_compatible - prompt_template: - - id: cd35fff4-a037-4e72-af99-2ff8299fc5d2 - role: system - text: '' - - id: 2b2ad468-efcd-4bcc-aeb9-d53d2f2770ad - role: user - text: '# Current program information - - pod {{#1741497181784.pod#}} - - The change of its occurrence type {{#1741498403828.class_name#}} - - The change trend is {{#1741506718903.output#}} - - - Note that if the change trend is true, it means jitter, and if it is false, - it means drastic change. This type cannot be ignored - - # Purpose - - Please analyze whether the service has problems based on the change trend - - Please use the interface indicator data and the type of abnormality that - occurs to give the direction in which you think the problem is most likely - to occur. - - If the type, directly give {{#1741497181784.pod#}} There is a problem, - - # Output - - Directly give the conclusion of whether the service has problems - - # Service indicator data - - {{#1741497216474.text#}}' + required: true + scope: null + template: null + type: number + params: + endTime: '' + pod: '' + startTime: '' + type: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin selected: false - title: LLM 2 - type: llm - variables: [] - vision: - enabled: false - height: 95 - id: '1741506766037' + title: CPU P90 analysis + tool_configurations: {} + tool_label: Thread Polaris Metrics P90 + tool_name: 线程北极星P90数据 + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + pod: + type: mixed + value: '{{#1741497181784.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: + type: mixed + value: cpu + type: tool + height: 54 + id: '1743149606391' parentId: '1741497176064' position: - x: 1419.0118583614708 - y: 389.9745550824946 + x: 1184.215435237168 + y: 391.23328277163773 positionAbsolute: - x: 1915.3451290889868 - y: 661.3300879293025 + x: 5470.215435237168 + y: 1295.2332827716377 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 + width: 244 zIndex: 1002 - data: desc: '' + isInIteration: true is_team_authorization: true + iteration_id: '1741497176064' output_schema: null paramSchemas: - auto_generate: null default: null form: llm human_description: - en_US: Specified node name - ja_JP: Specified node name - pt_BR: Specified pod name - zh_Hans: 指定的主机名称 + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 label: - en_US: node_name - ja_JP: node_name - pt_BR: node_name - zh_Hans: node_name - llm_description: Specified pod name + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name max: null min: null - name: node_name + name: pod options: [] placeholder: null precision: null - required: true + required: false scope: null template: null type: string @@ -2446,19 +7269,19 @@ workflow: default: null form: llm human_description: - en_US: Specified Process ID - ja_JP: Specified Process ID - pt_BR: Specified Process ID - zh_Hans: 指定的进程ID + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) label: - en_US: pid - ja_JP: pid - pt_BR: pid - zh_Hans: pid - llm_description: Specified Process ID + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) + llm_description: Type (cpu,net,file,epoll,runq) max: null min: null - name: pid + name: type options: [] placeholder: null precision: null @@ -2470,8 +7293,8 @@ workflow: default: null form: llm human_description: - en_US: Data query start time - ja_JP: Data query start time + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) pt_BR: Data query start time zh_Hans: 开始时间 (微秒) label: @@ -2479,7 +7302,7 @@ workflow: ja_JP: startTime pt_BR: startTime zh_Hans: startTime - llm_description: Data query start time + llm_description: Data query start time(Microsecond) max: null min: null name: startTime @@ -2494,16 +7317,16 @@ workflow: default: null form: llm human_description: - en_US: Data query end time - ja_JP: Data query end time - pt_BR: Data query end time + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) zh_Hans: 结束时间 (微秒) label: en_US: endTime ja_JP: endTime pt_BR: endTime zh_Hans: endTime - llm_description: Data query start time + llm_description: Data query end time(Microsecond) max: null min: null name: endTime @@ -2516,322 +7339,227 @@ workflow: type: number params: endTime: '' - node_name: '' - pid: '' + pod: '' startTime: '' + type: '' provider_id: apo_select provider_name: apo_select provider_type: builtin selected: false - title: query monitor service in node + title: Net P90 analysis tool_configurations: {} - tool_label: 查询节点上被监控的服务列表 - tool_name: originx_service_monitor + tool_label: Thread Polaris Metrics P90 + tool_name: 线程北极星P90数据 tool_parameters: endTime: type: variable value: - '1741227526517' - endTime - node_name: + pod: type: mixed - value: '{{#1741227526517.nodeName#}}' + value: '{{#1741497181784.pod#}}' startTime: type: variable value: - '1741227526517' - startTime + type: + type: mixed + value: net type: tool - height: 53 - id: '1741508508177' - position: - x: -247.4257908482209 - y: 30.40374262430791 - positionAbsolute: - x: -247.4257908482209 - y: 30.40374262430791 - selected: false - sourcePosition: right - targetPosition: left - type: custom - width: 243 - - data: - code: "\ndef main(arg: str) -> dict:\n data = json.loads(arg)\n \ - \ \n timeseries = data[\"data\"][\"timeseries\"]\n \n pod_info\ - \ = []\n \n for item in timeseries:\n labels = item[\"\ - labels\"]\n info = {\n \"namespace\": labels.get(\"namespace\"\ - , \"\"),\n \"pod\": labels.get(\"pod\", \"\")\n }\n \ - \ info_str = json.dumps(info)\n pod_info.append(info_str)\n\ - \ return {\n \"monitor\": pod_info,\n }\n" - code_language: python3 - desc: '' - outputs: - monitor: - children: null - type: array[string] - selected: false - title: get mointor pod info array - type: code - variables: - - value_selector: - - '1741597274153' - - output - variable: arg - height: 53 - id: '1741509454645' - position: - x: 685.1268015573559 - y: -116.29377758571027 - positionAbsolute: - x: 685.1268015573559 - y: -116.29377758571027 - selected: false - sourcePosition: right - targetPosition: left - type: custom - width: 243 - - data: - context: - enabled: false - variable_selector: [] - desc: '' - model: - completion_params: - temperature: 0.7 - mode: chat - name: deepseek-v3 - provider: langgenius/openai_api_compatible/openai_api_compatible - prompt_template: - - id: 169877de-aa4a-44db-90ef-2cc8f68882c4 - role: system - text: You are an intelligent assistant in the field of observability - - id: c9d29276-dfa5-4042-b1c6-562260f9cc7c - role: user - text: 'Summarize the current system situation - - {{#1741497176064.output#}} - - # Purpose - - Based on the suspected root cause node information, propose the suspected - direction and give suggestions based on the direction - - # Output - - List the service names and give relevant suggestions' - selected: false - title: LLM 3 - type: llm - variables: [] - vision: - enabled: false - height: 95 - id: '1741512806512' - position: - x: 3005.3068595311206 - y: 271.35553284680793 - positionAbsolute: - x: 3005.3068595311206 - y: 271.35553284680793 - selected: false - sourcePosition: right - targetPosition: left - type: custom - width: 243 - - data: - cases: - - case_id: 'true' - conditions: - - comparison_operator: empty - id: 3a1b34fd-9d82-4b24-88a5-938bd0528a2b - value: '' - varType: string - variable_selector: - - '1741594373498' - - service - - comparison_operator: not empty - id: 82010d67-eb3d-4b38-913d-cf16321398f1 - value: '' - varType: string - variable_selector: - - '1741227526517' - - nodeName - - comparison_operator: empty - id: 2e61c0d3-3104-41b2-b957-88f99ddab311 - value: '' - varType: string - variable_selector: - - '1741594373498' - - pod - id: 'true' - logical_operator: and - - case_id: 456042b9-6979-4f20-b255-14d1e41754df - conditions: - - comparison_operator: not empty - id: 751d0cc0-a1f7-4a1d-b188-e31380c4e3a3 - value: '' - varType: string - variable_selector: - - '1741594373498' - - service - - comparison_operator: empty - id: 0010de77-ddd1-4b14-be1d-b4755a0eb583 - value: '' - varType: string - variable_selector: - - '1741594373498' - - pod - id: 456042b9-6979-4f20-b255-14d1e41754df - logical_operator: and - - case_id: a687d810-ff81-4b8a-a2a4-b47b8c532039 - conditions: - - comparison_operator: not empty - id: ba128d4b-353d-4efa-833d-6ff468b246b5 - value: '' - varType: string - variable_selector: - - '1741594373498' - - pod - - comparison_operator: not empty - id: 3d377325-fbe3-4629-bf95-37196a8a43a5 - value: '' - varType: string - variable_selector: - - '1741594373498' - - namespace - id: a687d810-ff81-4b8a-a2a4-b47b8c532039 - logical_operator: and - desc: '' - selected: false - title: alert classifier - type: if-else - height: 325 - id: '1741592086921' - position: - x: -774.8309098969905 - y: -4.710416810258039 - positionAbsolute: - x: -774.8309098969905 - y: -4.710416810258039 - selected: false - sourcePosition: right - targetPosition: left - type: custom - width: 243 - - data: - desc: '' - selected: false - template: The service and node information are both empty. The root cause - cannot be analyzed at present. - title: unsupport alert - type: template-transform - variables: [] - height: 53 - id: '1741592094819' + height: 54 + id: '1743150910103' + parentId: '1741497176064' position: - x: -197.1978677863928 - y: 320.9672037476066 + x: 1183.3553424127522 + y: 574.6824876720586 positionAbsolute: - x: -197.1978677863928 - y: 320.9672037476066 + x: 5469.355342412752 + y: 1478.6824876720586 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 + width: 244 + zIndex: 1002 - data: desc: '' - outputs: - - value_selector: - - '1741592094819' - - output - variable: output + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) + label: + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) + llm_description: Type (cpu,net,file,epoll,runq) + max: null + min: null + name: type + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + endTime: '' + pod: '' + startTime: '' + type: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin selected: false - title: End - type: end - height: 89 - id: '1741592144815' - position: - x: 108.50623891829161 - y: 320.9672037476066 - positionAbsolute: - x: 108.50623891829161 - y: 320.9672037476066 - selected: false - sourcePosition: right - targetPosition: left - type: custom - width: 243 - - data: - code: "\ndef get_value(data, keys):\n for key in keys:\n value =\ - \ data.get(key)\n if value is not None:\n return value\n\ - \ return \"\"\n\nimport json\ndef main(arg: str) -> dict:\n data =\ - \ json.loads(arg)\n return {\n \"service\": get_value(data, [\"\ - svc_name\", \"service\"]),\n \"endpoint\": get_value(data,[\"endpoint\"\ - , \"content_key\"]),\n \"pod\": get_value(data, [\"pod\"]),\n \ - \ \"namespace\": get_value(data, [\"namespace\"])\n }\n" - code_language: python3 - desc: '' - outputs: - endpoint: - children: null - type: string - namespace: - children: null - type: string + title: FILE P90 analysis + tool_configurations: {} + tool_label: Thread Polaris Metrics P90 + tool_name: 线程北极星P90数据 + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime pod: - children: null - type: string - service: - children: null - type: string - selected: false - title: get params - type: code - variables: - - value_selector: - - '1741227526517' - - params - variable: arg - height: 53 - id: '1741594373498' + type: mixed + value: '{{#1741497181784.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: + type: mixed + value: file + type: tool + height: 54 + id: '1743152043813' + parentId: '1741497176064' position: - x: -1157.0364551459677 - y: 1.3437486094946962 + x: 1156.6165679157248 + y: 475.1754672301147 positionAbsolute: - x: -1157.0364551459677 - y: 1.3437486094946962 + x: 5442.616567915725 + y: 1379.1754672301147 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 + width: 244 + zIndex: 1002 - data: desc: '' + isInIteration: true is_team_authorization: true + iteration_id: '1741497176064' output_schema: null paramSchemas: - auto_generate: null default: null form: llm human_description: - en_US: Specified service name - ja_JP: Specified service name - pt_BR: Specified service name - zh_Hans: 指定的服务名 + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 label: - en_US: service_name - ja_JP: service_name - pt_BR: service_name - zh_Hans: service_name - llm_description: Specified service name + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name max: null min: null - name: service_name + name: pod options: [] placeholder: null precision: null - required: true + required: false scope: null template: null type: string @@ -2839,8 +7567,32 @@ workflow: default: null form: llm human_description: - en_US: Data query start time - ja_JP: Data query start time + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) + label: + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) + llm_description: Type (cpu,net,file,epoll,runq) + max: null + min: null + name: type + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) pt_BR: Data query start time zh_Hans: 开始时间 (微秒) label: @@ -2848,7 +7600,7 @@ workflow: ja_JP: startTime pt_BR: startTime zh_Hans: startTime - llm_description: Data query start time + llm_description: Data query start time(Microsecond) max: null min: null name: startTime @@ -2863,16 +7615,16 @@ workflow: default: null form: llm human_description: - en_US: Data query end time - ja_JP: Data query end time - pt_BR: Data query end time + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) zh_Hans: 结束时间 (微秒) label: en_US: endTime ja_JP: endTime pt_BR: endTime zh_Hans: endTime - llm_description: Data query start time + llm_description: Data query end time(Microsecond) max: null min: null name: endTime @@ -2885,109 +7637,200 @@ workflow: type: number params: endTime: '' - service_name: '' + pod: '' startTime: '' + type: '' provider_id: apo_select provider_name: apo_select provider_type: builtin selected: false - title: list all service instance + title: EPOLL P90 analysis tool_configurations: {} - tool_label: 列出该服务下的所有实例 - tool_name: originx_service_instance + tool_label: Thread Polaris Metrics P90 + tool_name: 线程北极星P90数据 tool_parameters: endTime: type: variable value: - '1741227526517' - endTime - service_name: + pod: type: mixed - value: '{{#1741594373498.service#}}' + value: '{{#1741497181784.pod#}}' startTime: type: variable value: - '1741227526517' - startTime + type: + type: mixed + value: epoll type: tool - height: 53 - id: '1741597223833' - position: - x: -294.32927017894997 - y: 157.59734137834707 - positionAbsolute: - x: -294.32927017894997 - y: 157.59734137834707 - selected: false - sourcePosition: right - targetPosition: left - type: custom - width: 243 - - data: - desc: '' - output_type: string - selected: false - title: aggregator instance - type: variable-aggregator - variables: - - - '1741508508177' - - text - - - '1741597223833' - - text - - - '1741599658821' - - result - height: 150 - id: '1741597274153' + height: 54 + id: '1743152103020' + parentId: '1741497176064' position: - x: 193.14802823419802 - y: -204.52864906050934 + x: 1180.802273988861 + y: 721.6803898302928 positionAbsolute: - x: 193.14802823419802 - y: -204.52864906050934 + x: 5466.802273988861 + y: 1625.6803898302928 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 + width: 244 + zIndex: 1002 - data: - code: "\nimport json\ndef main(arg1: str, arg2: str) -> dict:\n data =\ - \ {\n \"data\": {\n \"timeseries\": [\n \ - \ {\n \"labels\": {\n \"namespace\"\ - : arg2,\n \"pod\": arg1,\n }\n\ - \ }\n ]\n }\n }\n return {\n \ - \ \"result\": json.dumps(data),\n }\n" - code_language: python3 desc: '' - outputs: - result: - children: null - type: string + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) + label: + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) + llm_description: Type (cpu,net,file,epoll,runq) + max: null + min: null + name: type + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + endTime: '' + pod: '' + startTime: '' + type: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin selected: false - title: get pod - type: code - variables: - - value_selector: - - '1741594373498' - - pod - variable: arg1 - - value_selector: - - '1741594373498' - - namespace - variable: arg2 - height: 53 - id: '1741599658821' + title: RUNQ P90 analysis + tool_configurations: {} + tool_label: Thread Polaris Metrics P90 + tool_name: 线程北极星P90数据 + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + pod: + type: mixed + value: '{{#1741497181784.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: + type: mixed + value: runq + type: tool + height: 54 + id: '1743152169252' + parentId: '1741497176064' position: - x: -247.4257908482209 - y: 229.4507825525987 + x: 1185.1766094380573 + y: 848.576845109292 positionAbsolute: - x: -247.4257908482209 - y: 229.4507825525987 + x: 5471.176609438057 + y: 1752.576845109292 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 + width: 244 + zIndex: 1002 viewport: - x: 856.4768591555008 - y: 143.34014694095174 - zoom: 0.43527528164806223 + x: -1030.9368931273648 + y: 30.939897838551644 + zoom: 0.25 diff --git a/api/init_data/workflows/zh/告警简单根因分析.yml b/api/init_data/workflows/zh/告警简单根因分析.yml index c46e120093..a75e8e9d7b 100644 --- a/api/init_data/workflows/zh/告警简单根因分析.yml +++ b/api/init_data/workflows/zh/告警简单根因分析.yml @@ -66,6 +66,7 @@ workflow: sourceType: iteration-start targetType: code id: 1741497176064start-source-1741497181784-target + selected: false source: 1741497176064start sourceHandle: source target: '1741497181784' @@ -73,110 +74,222 @@ workflow: type: custom zIndex: 1002 - data: - isInIteration: true - iteration_id: '1741497176064' - sourceType: code - targetType: tool - id: 1741497181784-source-1741497216474-target - source: '1741497181784' + isInIteration: false + sourceType: iteration + targetType: llm + id: 1741497176064-source-1741512806512-target + selected: false + source: '1741497176064' sourceHandle: source - target: '1741497216474' + target: '1741512806512' targetHandle: target type: custom - zIndex: 1002 + zIndex: 0 - data: - isInIteration: true - iteration_id: '1741497176064' + isInIteration: false + sourceType: llm + targetType: end + id: 1741512806512-source-1741502839759-target + selected: false + source: '1741512806512' + sourceHandle: source + target: '1741502839759' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: template-transform + targetType: end + id: 1741592094819-source-1741592144815-target + selected: false + source: '1741592094819' + sourceHandle: source + target: '1741592144815' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: variable-aggregator + targetType: code + id: 1741597274153-source-1741509454645-target + selected: false + source: '1741597274153' + sourceHandle: source + target: '1741509454645' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false sourceType: tool - targetType: llm - id: 1741497216474-source-1741498390634-target - source: '1741497216474' + targetType: variable-aggregator + id: 1741597223833-source-1741597274153-target + selected: false + source: '1741597223833' sourceHandle: source - target: '1741498390634' + target: '1741597274153' targetHandle: target type: custom - zIndex: 1002 + zIndex: 0 - data: - isInIteration: true - iteration_id: '1741497176064' - sourceType: llm - targetType: question-classifier - id: 1741498390634-source-1741498403828-target - source: '1741498390634' + isInIteration: false + sourceType: code + targetType: variable-aggregator + id: 1741599658821-source-1741597274153-target + selected: false + source: '1741599658821' sourceHandle: source - target: '1741498403828' + target: '1741597274153' targetHandle: target type: custom - zIndex: 1002 + zIndex: 0 - data: - isInIteration: true - iteration_id: '1741497176064' - sourceType: question-classifier + isInIteration: false + sourceType: if-else + targetType: template-transform + id: 1742453019576-false-1741592094819-target + selected: false + source: '1742453019576' + sourceHandle: 'false' + target: '1741592094819' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: if-else + targetType: code + id: 1742453019576-true-1741599658821-target + selected: false + source: '1742453019576' + sourceHandle: 'true' + target: '1741599658821' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: if-else targetType: tool - id: 1741498403828-1-1741498509378-target - source: '1741498403828' - sourceHandle: '1' - target: '1741498509378' + id: 1742453019576-2949ad86-bdc0-4b1d-bd84-6e01f41915eb-1741597223833-target + selected: false + source: '1742453019576' + sourceHandle: 2949ad86-bdc0-4b1d-bd84-6e01f41915eb + target: '1741597223833' targetHandle: target type: custom - zIndex: 1002 + zIndex: 0 - data: isInIteration: true iteration_id: '1741497176064' sourceType: question-classifier - targetType: tool - id: 1741498403828-2-1741498527215-target - source: '1741498403828' - sourceHandle: '2' - target: '1741498527215' + targetType: llm + id: 1742461755094-1742463856746-1742468652489-target + selected: false + source: '1742461755094' + sourceHandle: '1742463856746' + target: '1742468652489' targetHandle: target type: custom zIndex: 1002 - data: isInIteration: true iteration_id: '1741497176064' - sourceType: question-classifier - targetType: tool - id: 1741498403828-1741498415133-1741498907941-target - source: '1741498403828' - sourceHandle: '1741498415133' - target: '1741498907941' + sourceType: llm + targetType: variable-aggregator + id: 1741506766037-source-1742470455066-target + selected: false + source: '1741506766037' + sourceHandle: source + target: '1742470455066' targetHandle: target type: custom zIndex: 1002 - data: isInIteration: true iteration_id: '1741497176064' - sourceType: question-classifier - targetType: tool - id: 1741498403828-1741498418311-1741499376556-target - source: '1741498403828' - sourceHandle: '1741498418311' - target: '1741499376556' + sourceType: llm + targetType: variable-aggregator + id: 1742468584059-source-1742470455066-target + selected: false + source: '1742468584059' + sourceHandle: source + target: '1742470455066' targetHandle: target type: custom zIndex: 1002 - data: isInIteration: true iteration_id: '1741497176064' - sourceType: question-classifier - targetType: tool - id: 1741498403828-1741498422694-1741499376556-target - source: '1741498403828' - sourceHandle: '1741498422694' - target: '1741499376556' + sourceType: llm + targetType: variable-aggregator + id: 1742468652489-source-1742470455066-target + selected: false + source: '1742468652489' + sourceHandle: source + target: '1742470455066' targetHandle: target type: custom zIndex: 1002 + - data: + isInIteration: false + sourceType: if-else + targetType: tool + id: 1742453019576-74dc1f70-729f-47e1-a6c8-9f0a1d2a6ad9-1742629595400-target + selected: false + source: '1742453019576' + sourceHandle: 74dc1f70-729f-47e1-a6c8-9f0a1d2a6ad9 + target: '1742629595400' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: tool + targetType: variable-aggregator + id: 1742629595400-source-1741597274153-target + selected: false + source: '1742629595400' + sourceHandle: source + target: '1741597274153' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: start + targetType: code + id: 1741227526517-source-1742807803325-target + selected: false + source: '1741227526517' + sourceHandle: source + target: '1742807803325' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: code + targetType: if-else + id: 1742807803325-source-1742453019576-target + selected: false + source: '1742807803325' + sourceHandle: source + target: '1742453019576' + targetHandle: target + type: custom + zIndex: 0 - data: isInIteration: true iteration_id: '1741497176064' - sourceType: question-classifier - targetType: tool - id: 1741498403828-1741498418311-1741501265259-target - source: '1741498403828' - sourceHandle: '1741498418311' - target: '1741501265259' + sourceType: code + targetType: question-classifier + id: 1741497181784-source-1742461755094-target + source: '1741497181784' + sourceHandle: source + target: '1742461755094' targetHandle: target type: custom zIndex: 1002 @@ -184,11 +297,11 @@ workflow: isInIteration: true iteration_id: '1741497176064' sourceType: question-classifier - targetType: template-transform - id: 1741498403828-1741498426874-1741502665376-target - source: '1741498403828' - sourceHandle: '1741498426874' - target: '1741502665376' + targetType: tool + id: 1742461755094-1742464231696-1742980720651-target + source: '1742461755094' + sourceHandle: '1742464231696' + target: '1742980720651' targetHandle: target type: custom zIndex: 1002 @@ -197,46 +310,46 @@ workflow: iteration_id: '1741497176064' sourceType: question-classifier targetType: tool - id: 1741498403828-1741498422694-1741502699500-target - source: '1741498403828' - sourceHandle: '1741498422694' - target: '1741502699500' + id: 1742461755094-1742464231696-1742980748320-target + source: '1742461755094' + sourceHandle: '1742464231696' + target: '1742980748320' targetHandle: target type: custom zIndex: 1002 - data: isInIteration: true iteration_id: '1741497176064' - sourceType: tool + sourceType: question-classifier targetType: tool - id: 1741498509378-source-1741502729293-target - source: '1741498509378' - sourceHandle: source - target: '1741502729293' + id: 1742461755094-1742464231696-1742980780865-target + source: '1742461755094' + sourceHandle: '1742464231696' + target: '1742980780865' targetHandle: target type: custom zIndex: 1002 - data: isInIteration: true iteration_id: '1741497176064' - sourceType: tool + sourceType: question-classifier targetType: tool - id: 1741498527215-source-1741506670648-target - source: '1741498527215' - sourceHandle: source - target: '1741506670648' + id: 1742461755094-1742464231696-1742980837261-target + source: '1742461755094' + sourceHandle: '1742464231696' + target: '1742980837261' targetHandle: target type: custom zIndex: 1002 - data: isInIteration: true iteration_id: '1741497176064' - sourceType: tool + sourceType: question-classifier targetType: tool - id: 1741498907941-source-1741506676593-target - source: '1741498907941' - sourceHandle: source - target: '1741506676593' + id: 1742461755094-1742464231696-1742980885557-target + source: '1742461755094' + sourceHandle: '1742464231696' + target: '1742980885557' targetHandle: target type: custom zIndex: 1002 @@ -245,10 +358,10 @@ workflow: iteration_id: '1741497176064' sourceType: tool targetType: tool - id: 1741501265259-source-1741506693125-target - source: '1741501265259' + id: 1742980720651-source-1742980228913-target + source: '1742980720651' sourceHandle: source - target: '1741506693125' + target: '1742980228913' targetHandle: target type: custom zIndex: 1002 @@ -257,10 +370,10 @@ workflow: iteration_id: '1741497176064' sourceType: tool targetType: tool - id: 1741499376556-source-1741506702729-target - source: '1741499376556' + id: 1742980748320-source-1742980318484-target + source: '1742980748320' sourceHandle: source - target: '1741506702729' + target: '1742980318484' targetHandle: target type: custom zIndex: 1002 @@ -269,10 +382,10 @@ workflow: iteration_id: '1741497176064' sourceType: tool targetType: tool - id: 1741502699500-source-1741506711511-target - source: '1741502699500' + id: 1742980780865-source-1742547917612-target + source: '1742980780865' sourceHandle: source - target: '1741506711511' + target: '1742547917612' targetHandle: target type: custom zIndex: 1002 @@ -280,11 +393,11 @@ workflow: isInIteration: true iteration_id: '1741497176064' sourceType: tool - targetType: variable-aggregator - id: 1741502729293-source-1741506718903-target - source: '1741502729293' + targetType: tool + id: 1742980837261-source-1742798505742-target + source: '1742980837261' sourceHandle: source - target: '1741506718903' + target: '1742798505742' targetHandle: target type: custom zIndex: 1002 @@ -292,69 +405,69 @@ workflow: isInIteration: true iteration_id: '1741497176064' sourceType: tool - targetType: variable-aggregator - id: 1741506670648-source-1741506718903-target - source: '1741506670648' + targetType: tool + id: 1742980885557-source-1741502699500-target + source: '1742980885557' sourceHandle: source - target: '1741506718903' + target: '1741502699500' targetHandle: target type: custom zIndex: 1002 - data: isInIteration: true iteration_id: '1741497176064' - sourceType: tool - targetType: variable-aggregator - id: 1741506676593-source-1741506718903-target - source: '1741506676593' + sourceType: llm + targetType: llm + id: 1742980933811-source-1741506766037-target + source: '1742980933811' sourceHandle: source - target: '1741506718903' + target: '1741506766037' targetHandle: target type: custom zIndex: 1002 - data: isInIteration: true iteration_id: '1741497176064' - sourceType: tool - targetType: variable-aggregator - id: 1741506693125-source-1741506718903-target - source: '1741506693125' + sourceType: llm + targetType: llm + id: 1742981271838-source-1741506766037-target + source: '1742981271838' sourceHandle: source - target: '1741506718903' + target: '1741506766037' targetHandle: target type: custom zIndex: 1002 - data: isInIteration: true iteration_id: '1741497176064' - sourceType: tool - targetType: variable-aggregator - id: 1741506702729-source-1741506718903-target - source: '1741506702729' + sourceType: llm + targetType: llm + id: 1742981275937-source-1741506766037-target + source: '1742981275937' sourceHandle: source - target: '1741506718903' + target: '1741506766037' targetHandle: target type: custom zIndex: 1002 - data: isInIteration: true iteration_id: '1741497176064' - sourceType: tool - targetType: variable-aggregator - id: 1741506711511-source-1741506718903-target - source: '1741506711511' + sourceType: llm + targetType: llm + id: 1742981278010-source-1741506766037-target + source: '1742981278010' sourceHandle: source - target: '1741506718903' + target: '1741506766037' targetHandle: target type: custom zIndex: 1002 - data: isInIteration: true iteration_id: '1741497176064' - sourceType: variable-aggregator + sourceType: llm targetType: llm - id: 1741506718903-source-1741506766037-target - source: '1741506718903' + id: 1742981280434-source-1741506766037-target + source: '1742981280434' sourceHandle: source target: '1741506766037' targetHandle: target @@ -363,311 +476,4691 @@ workflow: - data: isInIteration: false sourceType: code - targetType: iteration - id: 1741509454645-source-1741497176064-target - selected: false + targetType: code + id: 1741509454645-source-17430589567120-target source: '1741509454645' sourceHandle: source - target: '1741497176064' + target: '17430589567120' targetHandle: target type: custom zIndex: 0 - data: isInIteration: false - sourceType: iteration - targetType: llm - id: 1741497176064-source-1741512806512-target - source: '1741497176064' + sourceType: code + targetType: question-classifier + id: 17430589567120-source-17430590082510-target + source: '17430589567120' sourceHandle: source - target: '1741512806512' + target: '17430590082510' targetHandle: target type: custom zIndex: 0 - data: - isInIteration: false - sourceType: llm - targetType: end - id: 1741512806512-source-1741502839759-target - source: '1741512806512' - sourceHandle: source - target: '1741502839759' + isInIteration: true + iteration_id: '1741497176064' + sourceType: question-classifier + targetType: tool + id: 1742461755094-1742462167200-1743059090157-target + source: '1742461755094' + sourceHandle: '1742462167200' + target: '1743059090157' targetHandle: target type: custom - zIndex: 0 + zIndex: 1002 - data: isInIteration: true iteration_id: '1741497176064' - sourceType: template-transform - targetType: variable-aggregator - id: 1741502665376-source-1741506718903-target - source: '1741502665376' + sourceType: tool + targetType: llm + id: 1743059090157-source-1742468584059-target + source: '1743059090157' sourceHandle: source - target: '1741506718903' + target: '1742468584059' targetHandle: target type: custom zIndex: 1002 - data: isInIteration: false - sourceType: if-else - targetType: template-transform - id: 1741592086921-false-1741592094819-target - source: '1741592086921' - sourceHandle: 'false' - target: '1741592094819' + sourceType: question-classifier + targetType: tool + id: 17430590082510-1742462167200-17430593614550-target + source: '17430590082510' + sourceHandle: '1742462167200' + target: '17430593614550' targetHandle: target type: custom zIndex: 0 - data: isInIteration: false - sourceType: if-else - targetType: tool - id: 1741592086921-true-1741508508177-target - source: '1741592086921' - sourceHandle: 'true' - target: '1741508508177' + sourceType: tool + targetType: llm + id: 17430593614550-source-17430593816310-target + source: '17430593614550' + sourceHandle: source + target: '17430593816310' targetHandle: target type: custom zIndex: 0 - data: isInIteration: false - sourceType: template-transform - targetType: end - id: 1741592094819-source-1741592144815-target - source: '1741592094819' + sourceType: llm + targetType: variable-aggregator + id: 17430593816310-source-17430594012660-target + source: '17430593816310' sourceHandle: source - target: '1741592144815' + target: '17430594012660' targetHandle: target type: custom zIndex: 0 - data: isInIteration: false - sourceType: start - targetType: code - id: 1741227526517-source-1741594373498-target - source: '1741227526517' + sourceType: question-classifier + targetType: llm + id: 17430590082510-1742463856746-17430594510140-target + source: '17430590082510' + sourceHandle: '1742463856746' + target: '17430594510140' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: llm + targetType: variable-aggregator + id: 17430594510140-source-17430594012660-target + source: '17430594510140' sourceHandle: source - target: '1741594373498' + target: '17430594012660' targetHandle: target type: custom zIndex: 0 - data: isInIteration: false - sourceType: code - targetType: if-else - id: 1741594373498-source-1741592086921-target - source: '1741594373498' + sourceType: variable-aggregator + targetType: iteration + id: 17430594012660-source-1741497176064-target + source: '17430594012660' sourceHandle: source - target: '1741592086921' + target: '1741497176064' targetHandle: target type: custom zIndex: 0 - data: isInIteration: false - sourceType: if-else + sourceType: question-classifier targetType: tool - id: 1741592086921-456042b9-6979-4f20-b255-14d1e41754df-1741597223833-target - source: '1741592086921' - sourceHandle: 456042b9-6979-4f20-b255-14d1e41754df - target: '1741597223833' + id: 17430590082510-1742464231696-17430595109950-target + source: '17430590082510' + sourceHandle: '1742464231696' + target: '17430595109950' targetHandle: target type: custom zIndex: 0 - data: isInIteration: false sourceType: tool + targetType: tool + id: 17430595109950-source-17430595158080-target + source: '17430595109950' + sourceHandle: source + target: '17430595158080' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: llm + targetType: llm + id: 17430595248160-source-17430596469370-target + source: '17430595248160' + sourceHandle: source + target: '17430596469370' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: llm targetType: variable-aggregator - id: 1741508508177-source-1741597274153-target - source: '1741508508177' + id: 17430596469370-source-17430594012660-target + source: '17430596469370' sourceHandle: source - target: '1741597274153' + target: '17430594012660' targetHandle: target type: custom zIndex: 0 - data: isInIteration: false - sourceType: variable-aggregator - targetType: code - id: 1741597274153-source-1741509454645-target - source: '1741597274153' + sourceType: question-classifier + targetType: tool + id: 17430590082510-1742464231696-17430597987060-target + source: '17430590082510' + sourceHandle: '1742464231696' + target: '17430597987060' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: tool + targetType: tool + id: 17430597987060-source-17430598152780-target + source: '17430597987060' sourceHandle: source - target: '1741509454645' + target: '17430598152780' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: llm + targetType: llm + id: 17430598299820-source-17430596469370-target + source: '17430598299820' + sourceHandle: source + target: '17430596469370' targetHandle: target type: custom zIndex: 0 - data: isInIteration: false sourceType: tool - targetType: variable-aggregator - id: 1741597223833-source-1741597274153-target - source: '1741597223833' + targetType: tool + id: 17430598907140-source-17430598942980-target + source: '17430598907140' sourceHandle: source - target: '1741597274153' + target: '17430598942980' targetHandle: target type: custom zIndex: 0 - data: isInIteration: false - sourceType: if-else - targetType: code - id: 1741592086921-a687d810-ff81-4b8a-a2a4-b47b8c532039-1741599658821-target - source: '1741592086921' - sourceHandle: a687d810-ff81-4b8a-a2a4-b47b8c532039 - target: '1741599658821' + sourceType: llm + targetType: llm + id: 17430598979590-source-17430596469370-target + source: '17430598979590' + sourceHandle: source + target: '17430596469370' targetHandle: target type: custom zIndex: 0 - data: isInIteration: false - sourceType: code - targetType: variable-aggregator - id: 1741599658821-source-1741597274153-target - source: '1741599658821' + sourceType: question-classifier + targetType: tool + id: 17430590082510-1742464231696-17430598907140-target + source: '17430590082510' + sourceHandle: '1742464231696' + target: '17430598907140' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: llm + targetType: llm + id: 17430610680150-source-17430596469370-target + source: '17430610680150' sourceHandle: source - target: '1741597274153' + target: '17430596469370' targetHandle: target type: custom zIndex: 0 - nodes: - data: - desc: '' - selected: true - title: 开始 - type: start - variables: - - label: startTime(微秒) - max_length: 48 - options: [] - required: true - type: number - variable: startTime - - label: endTime(微秒) - max_length: 48 - options: [] - required: true - type: number - variable: endTime - - label: params - max_length: 9999999 - options: [] - required: false - type: paragraph - variable: params - - label: nodeName - max_length: 256 - options: [] - required: false - type: text-input - variable: nodeName - - label: nodeIp - max_length: 48 - options: [] - required: false - type: text-input - variable: nodeIp - height: 193 - id: '1741227526517' - position: - x: -1521.4169518287483 - y: 30.40374262430791 - positionAbsolute: - x: -1521.4169518287483 - y: 30.40374262430791 - selected: true - sourcePosition: right - targetPosition: left + isInIteration: false + sourceType: llm + targetType: llm + id: 17430610794990-source-17430596469370-target + source: '17430610794990' + sourceHandle: source + target: '17430596469370' + targetHandle: target type: custom - width: 243 + zIndex: 0 - data: - desc: '' - error_handle_mode: terminated - height: 1119 - is_parallel: false - iterator_selector: - - '1741509454645' - - monitor - output_selector: - - '1741506766037' - - text - output_type: array[string] - parallel_nums: 10 - selected: false - start_node_id: 1741497176064start - title: 迭代 - type: iteration - width: 1780 - height: 1119 - id: '1741497176064' - position: - x: 1394.3582849130557 - y: 189.47622250262157 - positionAbsolute: - x: 1394.3582849130557 - y: 189.47622250262157 - selected: false - sourcePosition: right - targetPosition: left + isInIteration: false + sourceType: question-classifier + targetType: tool + id: 17430590082510-1742464231696-17430610599980-target + source: '17430590082510' + sourceHandle: '1742464231696' + target: '17430610599980' + targetHandle: target type: custom - width: 1780 - zIndex: 1 + zIndex: 0 + - data: + isInIteration: false + sourceType: tool + targetType: tool + id: 17430610599980-source-17430610640640-target + source: '17430610599980' + sourceHandle: source + target: '17430610640640' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: question-classifier + targetType: tool + id: 17430590082510-1742464231696-17430610719970-target + source: '17430590082510' + sourceHandle: '1742464231696' + target: '17430610719970' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: tool + targetType: tool + id: 17430610719970-source-17430610756270-target + source: '17430610719970' + sourceHandle: source + target: '17430610756270' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: tool + targetType: tool + id: 17430595158080-source-1743149089034-target + source: '17430595158080' + sourceHandle: source + target: '1743149089034' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: tool + targetType: llm + id: 1743149089034-source-17430595248160-target + source: '1743149089034' + sourceHandle: source + target: '17430595248160' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: tool + targetType: tool + id: 17430610756270-source-17431493682530-target + source: '17430610756270' + sourceHandle: source + target: '17431493682530' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: tool + targetType: llm + id: 17431493682530-source-17430610794990-target + source: '17431493682530' + sourceHandle: source + target: '17430610794990' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: tool + targetType: tool + id: 17430610640640-source-17431493655610-target + source: '17430610640640' + sourceHandle: source + target: '17431493655610' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: tool + targetType: llm + id: 17431493655610-source-17430610680150-target + source: '17431493655610' + sourceHandle: source + target: '17430610680150' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: tool + targetType: tool + id: 17430598942980-source-17431493623970-target + source: '17430598942980' + sourceHandle: source + target: '17431493623970' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: tool + targetType: llm + id: 17431493623970-source-17430598979590-target + source: '17431493623970' + sourceHandle: source + target: '17430598979590' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: tool + targetType: tool + id: 17430598152780-source-17431493591600-target + source: '17430598152780' + sourceHandle: source + target: '17431493591600' + targetHandle: target + type: custom + zIndex: 0 + - data: + isInIteration: false + sourceType: tool + targetType: llm + id: 17431493591600-source-17430598299820-target + source: '17431493591600' + sourceHandle: source + target: '17430598299820' + targetHandle: target + type: custom + zIndex: 0 - data: - desc: '' isInIteration: true + iteration_id: '1741497176064' + sourceType: tool + targetType: tool + id: 1742980228913-source-1743149606391-target + source: '1742980228913' + sourceHandle: source + target: '1743149606391' + targetHandle: target + type: custom + zIndex: 1002 + - data: + isInIteration: true + iteration_id: '1741497176064' + sourceType: tool + targetType: llm + id: 1743149606391-source-1742980933811-target + source: '1743149606391' + sourceHandle: source + target: '1742980933811' + targetHandle: target + type: custom + zIndex: 1002 + - data: + isInIteration: true + iteration_id: '1741497176064' + sourceType: tool + targetType: tool + id: 1742547917612-source-1743150910103-target + source: '1742547917612' + sourceHandle: source + target: '1743150910103' + targetHandle: target + type: custom + zIndex: 1002 + - data: + isInIteration: true + iteration_id: '1741497176064' + sourceType: tool + targetType: llm + id: 1743150910103-source-1742981275937-target + source: '1743150910103' + sourceHandle: source + target: '1742981275937' + targetHandle: target + type: custom + zIndex: 1002 + - data: + isInIteration: true + iteration_id: '1741497176064' + sourceType: tool + targetType: tool + id: 1742980318484-source-1743152043813-target + source: '1742980318484' + sourceHandle: source + target: '1743152043813' + targetHandle: target + type: custom + zIndex: 1002 + - data: + isInIteration: true + iteration_id: '1741497176064' + sourceType: tool + targetType: llm + id: 1743152043813-source-1742981271838-target + source: '1743152043813' + sourceHandle: source + target: '1742981271838' + targetHandle: target + type: custom + zIndex: 1002 + - data: + isInIteration: true + iteration_id: '1741497176064' + sourceType: tool + targetType: tool + id: 1742798505742-source-1743152103020-target + source: '1742798505742' + sourceHandle: source + target: '1743152103020' + targetHandle: target + type: custom + zIndex: 1002 + - data: + isInIteration: true + iteration_id: '1741497176064' + sourceType: tool + targetType: llm + id: 1743152103020-source-1742981278010-target + source: '1743152103020' + sourceHandle: source + target: '1742981278010' + targetHandle: target + type: custom + zIndex: 1002 + - data: + isInIteration: true + iteration_id: '1741497176064' + sourceType: tool + targetType: tool + id: 1741502699500-source-1743152169252-target + source: '1741502699500' + sourceHandle: source + target: '1743152169252' + targetHandle: target + type: custom + zIndex: 1002 + - data: + isInIteration: true + iteration_id: '1741497176064' + sourceType: tool + targetType: llm + id: 1743152169252-source-1742981280434-target + source: '1743152169252' + sourceHandle: source + target: '1742981280434' + targetHandle: target + type: custom + zIndex: 1002 + nodes: + - data: + desc: '' + selected: false + title: start + type: start + variables: + - label: startTime + max_length: 48 + options: [] + required: true + type: number + variable: startTime + - label: endTime + max_length: 48 + options: [] + required: true + type: number + variable: endTime + - label: params + max_length: 9999999 + options: [] + required: false + type: paragraph + variable: params + - label: nodeName + max_length: 256 + options: [] + required: false + type: text-input + variable: nodeName + - label: nodeIp + max_length: 48 + options: [] + required: false + type: text-input + variable: nodeIp + height: 194 + id: '1741227526517' + position: + x: 30 + y: 586 + positionAbsolute: + x: 30 + y: 586 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + - data: + desc: '' + error_handle_mode: terminated + height: 1408 + is_parallel: false + iterator_selector: + - '1741509454645' + - monitor + output_selector: + - '1742470455066' + - output + output_type: array[string] + parallel_nums: 10 + selected: false + start_node_id: 1741497176064start + title: 迭代分析 + type: iteration + width: 3603.817693995864 + height: 1408 + id: '1741497176064' + position: + x: 4507.32604512157 + y: 801.7180845339217 + positionAbsolute: + x: 4507.32604512157 + y: 801.7180845339217 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 3604 + zIndex: 1 + - data: + desc: '' + isInIteration: true + selected: false + title: '' + type: iteration-start + draggable: false + height: 48 + id: 1741497176064start + parentId: '1741497176064' + position: + x: 24 + y: 68 + positionAbsolute: + x: 4531.32604512157 + y: 869.7180845339217 + selectable: false + selected: false + sourcePosition: right + targetPosition: left + type: custom-iteration-start + width: 44 + zIndex: 1002 + - data: + code: "\ndef main(arg1: str) -> dict:\n data = json.loads(arg1)\n return\ + \ {\n \"pod\": data.get(\"pod\", \"\"),\n \"namespace\": data.get(\"\ + namespace\", \"\")\n }\n" + code_language: python3 + desc: '' + isInIteration: true + iteration_id: '1741497176064' + outputs: + namespace: + children: null + type: string + pod: + children: null + type: string + selected: false + title: get instance info + type: code + variables: + - value_selector: + - '1741497176064' + - item + variable: arg1 + height: 54 + id: '1741497181784' + parentId: '1741497176064' + position: + x: 247.70722025930104 + y: 65 + positionAbsolute: + x: 4755.033265380871 + y: 866.7180845339217 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: Specified pod name + ja_JP: Specified pod name + pt_BR: Specified pod name + zh_Hans: 指定的容器POD名称 + label: + en_US: pod + ja_JP: pod + pt_BR: pod + zh_Hans: pod + llm_description: Specified pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Specified namespace + ja_JP: Specified namespace + pt_BR: Specified namespace + zh_Hans: 指定的容器所在Namespace + label: + en_US: namespace + ja_JP: namespace + pt_BR: namespace + zh_Hans: namespace + llm_description: Specified namespace + max: null + min: null + name: namespace + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time + ja_JP: Data query start time + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time + ja_JP: Data query end time + pt_BR: Data query end time + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query start time + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + endTime: '' + namespace: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: Container CPU throttling duration (when using Containerd container + runtime, statistics by container and Pod) + tool_configurations: {} + tool_label: 容器CPU节流时长(使用Containerd容器运行时,按容器和Pod统计) + tool_name: 容器CPU节流时长(使用Containerd容器运行时,按容器和Pod统计) + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + namespace: + type: mixed + value: '{{#1741497181784.namespace#}}' + pod: + type: mixed + value: '{{#1741497181784.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '1741502699500' + parentId: '1741497176064' + position: + x: 844.0068118865438 + y: 800.2561082923241 + positionAbsolute: + x: 5351.332857008114 + y: 1601.9741928262458 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + outputs: + - value_selector: + - '1741512806512' + - text + variable: text + - value_selector: [] + variable: '' + selected: false + title: 结束 + type: end + height: 90 + id: '1741502839759' + position: + x: 8438 + y: 880 + positionAbsolute: + x: 8438 + y: 880 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + - data: + context: + enabled: false + variable_selector: [] + desc: '' + isInIteration: true + iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.6 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + prompt_template: + - id: cd35fff4-a037-4e72-af99-2ff8299fc5d2 + role: system + text: 你是一个可观性领域的智能助手,帮助用户分析问题 + - id: 2b2ad468-efcd-4bcc-aeb9-d53d2f2770ad + role: user + text: "# 目的\n根据各方向上的北极星指标数据\n分析应用 {{#1741497181784.pod#}} \n是否受到告警事件 {{#1742807803325.alertName#}}的影响,并初步判断告警的根因方向。\n\ + # 注意\n输入数据中,各方向的数据包含该方向线程耗时数据和该方向的相关数据。如:网络耗时会带上应用程序的网络RTT指标。\n# 分析规则\n\ + 1.先看哪一个类型数据变化最大(显著升高要比其他类型大, 且值变化最大),如果有直接,按下面指定方向给出建议。\n同时结合线程历史P90分析变化,确认数据是否在合理区间\n\ + 注: P90反应最大最小范围内波动。虽然波动幅度可能较大,但从长期来看,这种波动是正常的。分析数据时,需要找出真正的‘突变’,即短时间内发生的异常剧烈变化。‘突变’的定义是:相比前后的数据点,波动值在极短时间内(比如\ + \ 1-2 个时间步)出现显著的跳跃,且这种跳跃明显超出正常波动模式(例如,变化幅度远超平均变化率,或与趋势不符)。请忽略那些属于正常范围(P90范围内)内的常规波动,只关注异常突变。\n\ + 如果发现有两种类型变化趋势近似,则优先级从高到低分析\n2.应用程序CPU耗时升高,建议检查代码是否有过多嵌套,检查出问题后可进行回滚修复\n\ + 3.应用程序抢占CPU高,建议登录机器检查其他应用程序是否在抢占\n4.如果net,epoll升高,同时要分析应用rtt是否正常\n如果rtt异常,建议用户检查网络是否存在问题;如果rtt正常,建议用户排查下游问题\n\ + 5.file类型升高,建议查看应用程序是否打开过多文件\n\n# 输出格式 \n## 应用 {{#1741497181784.pod#}}\ + \ \n北极星指标变化趋势的总结\n - 列出北极星指标 的变化情况,用简洁语言描述\n- 如果无显著变化,明确说明:“未观察到明显变化”。\n\ + ## 告警事件初步根因结论 \n- 总结告警 是否影响应用,\n结合服务的北极星指标和相关指标数据,分析可能的根因\n同时只能给一个方向的建议。\n\ + 注:认为网络方向有问题时,如果RTT正常,则描述修改为是下游方向网络问题\n# 输入数据 \n- cpu方向数据\n{{#1742980933811.text#}}\n\ + 历史CPU耗时P90\n{{#1743149606391.text#}}\n- net 方向数据\n{{#1742981275937.text#}}\n\ + 历史Net耗时P90\n{{#1743150910103.text#}}\n- file 方向数据\n{{#1742981271838.text#}}\n\ + 历史file 耗时 P90\n{{#1743152043813.text#}}\n- epoll方向数据\n{{#1742981278010.text#}}\n\ + 历史epoll耗时P90\n{{#1743152103020.text#}}\n- runq方向数据\n{{#1742981280434.text#}}\n\ + 历史runq耗时P90\n{{#1743152169252.text#}}\n\n# 注意事项 \n- 使用简洁、清晰的语言,避免技术术语过度堆砌,确保输出易于理解。" + selected: false + title: llm analysis root cause + type: llm + variables: [] + vision: + enabled: false + height: 90 + id: '1741506766037' + parentId: '1741497176064' + position: + x: 2472.850022241196 + y: 495.6222275962382 + positionAbsolute: + x: 6980.176067362766 + y: 1297.3403121301599 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + code: "import json\n\ndef main(arg: str) -> dict:\n data = json.loads(arg)\n\ + \ timeseries = data[\"data\"][\"timeseries\"]\n \n seen = set()\n\ + \ pod_info = []\n first_pod = None\n \n for item in timeseries:\n\ + \ labels = item[\"labels\"]\n namespace = labels.get(\"namespace\"\ + , \"\")\n pod = labels.get(\"pod\", \"\")\n \n unique_key\ + \ = (namespace, pod)\n \n if unique_key not in seen:\n \ + \ seen.add(unique_key)\n info = {\n \"\ + namespace\": namespace,\n \"pod\": pod\n }\n \ + \ if first_pod is None:\n first_pod = json.dumps(info)\n\ + \ else:\n pod_info.append(json.dumps(info))\n \ + \ \n return {\n \"first\": first_pod,\n \"monitor\"\ + : pod_info,\n }" + code_language: python3 + desc: '' + outputs: + first: + children: null + type: string + monitor: + children: null + type: array[string] + selected: false + title: 遍历 + type: code + variables: + - value_selector: + - '1741597274153' + - output + variable: arg + height: 54 + id: '1741509454645' + position: + x: 1550 + y: 774 + positionAbsolute: + x: 1550 + y: 774 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + - data: + context: + enabled: false + variable_selector: [] + desc: '' + model: + completion_params: + temperature: 0.6 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + prompt_template: + - id: 169877de-aa4a-44db-90ef-2cc8f68882c4 + role: system + text: You are an intelligent assistant in the field of observability + - id: c9d29276-dfa5-4042-b1c6-562260f9cc7c + role: user + text: "# 目的 \n将结论数据中关于Pod的情况按服务级别汇总,输出服务级别概览。 \n每个Pod的具体情况需清晰易懂,便于理解。 \n\ + 移除关于futex相关的建议。 \n# 注意 \n1. 在结论中,若CPU相关问题的影响更为显著(结合告警事件),建议用户优先解决CPU问题。\ + \ \n2. 优化输出格式,确保服务级别汇总和Pod详情层次分明、易于阅读。 \n4. 北极星指标(如CPU、epoll、net、other/runq)的名词不得更改。\n\ + 5. 结论输出时,只和某一个方向有关即可,不要联想到其他问题(如GC和锁)\n6. 如果net耗时增加,但是RTT正常,则建议用户排查下游问题\n\ + # 结论数据\n{{#17430594012660.output#}}\n{{#1741497176064.output#}}\n" + selected: false + title: 汇总数据 + type: llm + variables: [] + vision: + enabled: false + height: 90 + id: '1741512806512' + position: + x: 8070 + y: 916 + positionAbsolute: + x: 8070 + y: 916 + selected: true + sourcePosition: right + targetPosition: left + type: custom + width: 244 + - data: + desc: '' + selected: false + template: The service and node information are both empty. The root cause + cannot be analyzed at present. + title: unsupport alert + type: template-transform + variables: [] + height: 54 + id: '1741592094819' + position: + x: 942 + y: 586 + positionAbsolute: + x: 942 + y: 586 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + - data: + desc: '' + outputs: + - value_selector: + - '1741592094819' + - output + variable: output + selected: false + title: 结束 + type: end + height: 90 + id: '1741592144815' + position: + x: 1246 + y: 586 + positionAbsolute: + x: 1246 + y: 586 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + - data: + desc: '' + is_team_authorization: true + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: Specified service name + ja_JP: Specified service name + pt_BR: Specified service name + zh_Hans: 指定的服务名 + label: + en_US: service_name + ja_JP: service_name + pt_BR: service_name + zh_Hans: service_name + llm_description: Specified service name + max: null + min: null + name: service_name + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time + ja_JP: Data query start time + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time + ja_JP: Data query end time + pt_BR: Data query end time + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query start time + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + endTime: '' + service_name: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: 查询服务对应POD实例 + tool_configurations: {} + tool_label: 列出该服务下的所有实例 + tool_name: originx_service_instance + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + service_name: + type: mixed + value: '{{#1742807803325.service#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '1741597223833' + position: + x: 942 + y: 680 + positionAbsolute: + x: 942 + y: 680 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + - data: + desc: '' + output_type: string + selected: false + title: 实例汇总 + type: variable-aggregator + variables: + - - '1741597223833' + - text + - - '1741599658821' + - result + - - '1742629595400' + - text + height: 152 + id: '1741597274153' + position: + x: 1246 + y: 743 + positionAbsolute: + x: 1246 + y: 743 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + - data: + code: "\ndef main(arg1: str, arg2: str) -> dict:\n data = {\n \"\ + data\": {\n \"timeseries\": [\n {\n \ + \ \"labels\": {\n \"namespace\": arg2,\n\ + \ \"pod\": arg1,\n }\n \ + \ }\n ]\n }\n }\n return {\n \"result\"\ + : json.dumps(data),\n }\n" + code_language: python3 + desc: '' + outputs: + result: + children: null + type: string + selected: false + title: 获取POD信息 + type: code + variables: + - value_selector: + - '1742807803325' + - pod + variable: arg1 + - value_selector: + - '1742807803325' + - namespace + variable: arg2 + height: 54 + id: '1741599658821' + position: + x: 942 + y: 774 + positionAbsolute: + x: 942 + y: 774 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + - data: + cases: + - case_id: 'true' + conditions: + - comparison_operator: not empty + id: 22866ae7-2bfa-47e9-9c19-d31e8b63001f + value: '' + varType: string + variable_selector: + - '1742807803325' + - pod + - comparison_operator: not empty + id: add89997-787b-4d71-a187-3e9f8e8f25a3 + value: '' + varType: string + variable_selector: + - '1742807803325' + - namespace + id: 'true' + logical_operator: and + - case_id: 2949ad86-bdc0-4b1d-bd84-6e01f41915eb + conditions: + - comparison_operator: not empty + id: 4dbbe62a-669f-4549-9028-c4ccd6c8175c + value: '' + varType: string + variable_selector: + - '1742807803325' + - service + id: 2949ad86-bdc0-4b1d-bd84-6e01f41915eb + logical_operator: and + - case_id: 74dc1f70-729f-47e1-a6c8-9f0a1d2a6ad9 + conditions: + - comparison_operator: not empty + id: a2f849d6-0c4f-40f0-9c91-f37cf81eb3f5 + value: '' + varType: string + variable_selector: + - '1741227526517' + - nodeName + id: 74dc1f70-729f-47e1-a6c8-9f0a1d2a6ad9 + logical_operator: and + desc: '' + selected: false + title: 告警关联实例信息 + type: if-else + height: 248 + id: '1742453019576' + position: + x: 638 + y: 586 + positionAbsolute: + x: 638 + y: 586 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + - data: + classes: + - id: '1742462167200' + name: 内存相关 + - id: '1742463856746' + name: '事件类型 + + 容器被killed,重启' + - id: '1742464231696' + name: 未知类型 + desc: '' + instruction: 你是一个智能告警分类助手,任务是根据给定的告警事件并对其进行分类 + instructions: '' + isInIteration: true + iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.7 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + query_variable_selector: + - '1742807803325' + - alertName + selected: false + title: alert event + topics: [] + type: question-classifier + vision: + enabled: false + height: 204 + id: '1742461755094' + parentId: '1741497176064' + position: + x: 76.97060259216505 + y: 363.9210031388636 + positionAbsolute: + x: 4584.296647713735 + y: 1165.6390876727853 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + context: + enabled: false + variable_selector: [] + desc: '' + isInIteration: true + iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.7 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + prompt_template: + - id: 25386b5d-4509-477b-bdab-d835cd12b104 + role: system + text: 你是一个可观性领域的智能助手,帮助用户分析问题 + - id: 5f74b2ce-6208-423b-aa3b-f01f2cafb89b + role: user + text: '# 目的 + + + 当前 pod:{{#1741497181784.pod#}}) + + + 由于内存告警升高,需要分析其原因并提供解决方案。 + + # 输出要求 + + 展示内存指标数据的变化趋势(用简单语言描述,让人一看就懂)。 + + 提供相关建议,包括: + + 检查代码是否可能存在内存泄漏。 + + 通过日志分析问题根源等实用方法。 + + # 数据来源 + + + 容器内存数据:{{#1743059090157.text#}}。' + selected: false + title: memory anlysis + type: llm + variables: [] + vision: + enabled: false + height: 90 + id: '1742468584059' + parentId: '1741497176064' + position: + x: 1013.1944929957504 + y: 157.34078070824808 + positionAbsolute: + x: 5520.52053811732 + y: 959.0588652421698 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + context: + enabled: false + variable_selector: [] + desc: '' + isInIteration: true + iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.7 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + prompt_template: + - id: 893c9a67-e9e3-4c2c-8ed2-6301998d555b + role: system + text: 你是一个可观性领域的智能助手,帮助用户分析问题 + - id: ccfb4eb1-f253-415d-9a60-9ecab7bd6af4 + role: user + text: '该告警事件是一个事件类型 + + 影响了{{#1741497181784.pod#}},给出一些建议' + selected: false + title: LLM 4 + type: llm + variables: [] + vision: + enabled: false + height: 90 + id: '1742468652489' + parentId: '1741497176064' + position: + x: 592.7847463655689 + y: 258.56082085093817 + positionAbsolute: + x: 5100.110791487139 + y: 1060.2789053848599 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + iteration_id: '1741497176064' + output_type: string + selected: false + title: 结果汇总 + type: variable-aggregator + variables: + - - '1741506766037' + - text + - - '1742468584059' + - text + - - '1742468652489' + - text + height: 152 + id: '1742470455066' + parentId: '1741497176064' + position: + x: 2944.360125927147 + y: 216.75503228886544 + positionAbsolute: + x: 7451.686171048717 + y: 1018.4731168227871 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: Specified pod name + ja_JP: Specified pod name + pt_BR: Specified pod name + zh_Hans: 指定的容器POD名称 + label: + en_US: pod + ja_JP: pod + pt_BR: pod + zh_Hans: pod + llm_description: Specified pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Specified namespace + ja_JP: Specified namespace + pt_BR: Specified namespace + zh_Hans: 指定的容器所在Namespace + label: + en_US: namespace + ja_JP: namespace + pt_BR: namespace + zh_Hans: namespace + llm_description: Specified namespace + max: null + min: null + name: namespace + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time + ja_JP: Data query start time + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time + ja_JP: Data query end time + pt_BR: Data query end time + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query start time + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + endTime: '' + namespace: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: Query container rtt + tool_configurations: {} + tool_label: Query container rtt + tool_name: 查询容器网络与下游RTT + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + namespace: + type: mixed + value: '{{#1741497181784.namespace#}}' + pod: + type: mixed + value: '{{#1741497181784.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '1742547917612' + parentId: '1741497176064' + position: + x: 837.913049217997 + y: 567.6173152328563 + positionAbsolute: + x: 5345.239094339568 + y: 1369.335399766778 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + is_team_authorization: true + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: Specified node name + ja_JP: Specified node name + pt_BR: Specified pod name + zh_Hans: 指定的主机名称 + label: + en_US: node_name + ja_JP: node_name + pt_BR: node_name + zh_Hans: node_name + llm_description: Specified pod name + max: null + min: null + name: node_name + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Specified Process ID + ja_JP: Specified Process ID + pt_BR: Specified Process ID + zh_Hans: 指定的进程ID + label: + en_US: pid + ja_JP: pid + pt_BR: pid + zh_Hans: pid + llm_description: Specified Process ID + max: null + min: null + name: pid + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time + ja_JP: Data query start time + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time + ja_JP: Data query end time + pt_BR: Data query end time + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query start time + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + endTime: '' + node_name: '' + pid: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: 节点上监控的POD实例 + tool_configurations: {} + tool_label: Thread Polaris Metrics Process All monitor + tool_name: originx_service_monitor + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + node_name: + type: mixed + value: '{{#1741227526517.nodeName#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '1742629595400' + position: + x: 942 + y: 868 + positionAbsolute: + x: 942 + y: 868 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: Specified pod name + ja_JP: Specified pod name + pt_BR: Specified pod name + zh_Hans: 指定的容器POD名称 + label: + en_US: pod + ja_JP: pod + pt_BR: pod + zh_Hans: pod + llm_description: Specified pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Specified namespace + ja_JP: Specified namespace + pt_BR: Specified namespace + zh_Hans: 指定的容器所在Namespace + label: + en_US: namespace + ja_JP: namespace + pt_BR: namespace + zh_Hans: namespace + llm_description: Specified namespace + max: null + min: null + name: namespace + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time + ja_JP: Data query start time + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time + ja_JP: Data query end time + pt_BR: Data query end time + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query start time + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + endTime: '' + namespace: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: Query container rtt + tool_configurations: {} + tool_label: Query container rtt + tool_name: 查询容器网络与下游RTT + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + namespace: + type: mixed + value: '{{#1741497181784.namespace#}}' + pod: + type: mixed + value: '{{#1741497181784.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '1742798505742' + parentId: '1741497176064' + position: + x: 838.2707565556775 + y: 677.0915533804653 + positionAbsolute: + x: 5345.596801677248 + y: 1478.809637914387 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + code: " \ndef get_value(data, keys): \n for key in keys: \n value = data.get(key)\ + \ \n if value is not None: \n return value \n return \"\" \n\n\ + import json \n\ndef main(arg: str) -> dict:\n data = json.loads(arg) \n\ + \ return { \n \"alertName\": get_value(data, [\"alertName\"]), \n\ + \ \"service\": get_value(data, [\"svc_name\", \"service\"]), \n \"endpoint\"\ + : get_value(data,[\"endpoint\", \"content_key\"]), \n \"pod\": get_value(data,[\"\ + pod\", \"src_pod\", \"pod_name\"]), \n \"namespace\": get_value(data,[\"\ + namespace\", \"src_namespace\"]), \n}" + code_language: python3 + desc: '' + outputs: + alertName: + children: null + type: string + endpoint: + children: null + type: string + namespace: + children: null + type: string + pod: + children: null + type: string + service: + children: null + type: string + selected: false + title: 获取告警事件标签 + type: code + variables: + - value_selector: + - '1741227526517' + - params + variable: arg + height: 54 + id: '1742807803325' + position: + x: 334 + y: 586 + positionAbsolute: + x: 334 + y: 586 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: cAdvisor job name + ja_JP: cAdvisor job name + pt_BR: cAdvisor job name + zh_Hans: cAdvisor任务名称 + label: + en_US: cAdvisor job name + ja_JP: cAdvisor job name + pt_BR: cAdvisor job name + zh_Hans: cAdvisor任务名称 + llm_description: cAdvisor job name + max: null + min: null + name: cadvisor_job_name + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Namespace + ja_JP: Namespace + pt_BR: Namespace + zh_Hans: 命名空间 + label: + en_US: Namespace + ja_JP: Namespace + pt_BR: Namespace + zh_Hans: 命名空间 + llm_description: Namespace + max: null + min: null + name: namespace + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time(Microsecond) + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + cadvisor_job_name: '' + endTime: '' + namespace: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: Container CPU usage rate (Containerd runtime, aggregated by container + and Pod) + tool_configurations: {} + tool_label: Container CPU usage rate (Containerd runtime, aggregated by container + and Pod) + tool_name: 容器CPU使用率(使用Containerd容器运行时,按容器和Pod统计) + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + namespace: + type: mixed + value: '{{#1741497181784.namespace#}}' + pod: + type: mixed + value: '{{#1741497181784.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '1742980228913' + parentId: '1741497176064' + position: + x: 817.3433448742644 + y: 386.77445077825655 + positionAbsolute: + x: 5324.6693899958345 + y: 1188.4925353121782 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: cAdvisor job name + ja_JP: cAdvisor job name + pt_BR: cAdvisor job name + zh_Hans: cAdvisor任务名称 + label: + en_US: cAdvisor job name + ja_JP: cAdvisor job name + pt_BR: cAdvisor job name + zh_Hans: cAdvisor任务名称 + llm_description: cAdvisor job name + max: null + min: null + name: cadvisor_job_name + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Namespace + ja_JP: Namespace + pt_BR: Namespace + zh_Hans: 命名空间 + label: + en_US: Namespace + ja_JP: Namespace + pt_BR: Namespace + zh_Hans: 命名空间 + llm_description: Namespace + max: null + min: null + name: namespace + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time(Microsecond) + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + cadvisor_job_name: '' + endTime: '' + namespace: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: Container disk read time per second (Containerd runtime, aggregated + by container and Pod) + tool_configurations: {} + tool_label: Container disk read time per second (Containerd runtime, aggregated + by container and Pod) + tool_name: 容器磁盘读取耗时每秒(使用Containerd,按Pod和容器统计) + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + namespace: + type: mixed + value: '{{#1741497181784.namespace#}}' + pod: + type: mixed + value: '{{#1741497181784.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '1742980318484' + parentId: '1741497176064' + position: + x: 829.6661633624499 + y: 478.0639330308825 + positionAbsolute: + x: 5336.99220848402 + y: 1279.7820175648042 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + endTime: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: 线程在CPU上的耗时折线图(按Pod统计) + tool_configurations: {} + tool_label: 线程在CPU上的耗时折线图(按Pod统计) + tool_name: 线程在CPU上的耗时折线图(按Pod统计) + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + pod: + type: mixed + value: '{{#1741497181784.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '1742980720651' + parentId: '1741497176064' + position: + x: 501.0045489698464 + y: 384.9951556082583 + positionAbsolute: + x: 5008.330594091416 + y: 1186.71324014218 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + endTime: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: 线程在文件操作上的耗时折线图(按Pod统计) + tool_configurations: {} + tool_label: 线程在文件操作上的耗时折线图(按Pod统计) + tool_name: 线程在文件操作上的耗时折线图(按Pod统计) + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + pod: + type: mixed + value: '{{#1741497181784.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '1742980748320' + parentId: '1741497176064' + position: + x: 502.3624003022592 + y: 478.98654261939305 + positionAbsolute: + x: 5009.68844542383 + y: 1280.7046271533147 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + endTime: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: 线程在网络操作上的耗时折线图(按Pod统计) + tool_configurations: {} + tool_label: 线程在网络操作上的耗时折线图(按Pod统计) + tool_name: 线程在网络操作上的耗时折线图(按Pod统计) + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + pod: + type: mixed + value: '{{#1741497181784.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '1742980780865' + parentId: '1741497176064' + position: + x: 507.1563167397626 + y: 565.5281468443313 + positionAbsolute: + x: 5014.482361861333 + y: 1367.246231378253 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + endTime: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: 线程在Epoll操作上的耗时折线图(按Pod统计) + tool_configurations: {} + tool_label: 线程在Epoll操作上的耗时折线图(按Pod统计) + tool_name: 线程在Epoll操作上的耗时折线图(按Pod统计) + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + pod: + type: mixed + value: '{{#1741497181784.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '1742980837261' + parentId: '1741497176064' + position: + x: 513.7505744250511 + y: 675.3340235425774 + positionAbsolute: + x: 5021.076619546621 + y: 1477.052108076499 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + endTime: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: 线程在运行队列上的耗时折线图(按Pod统计) + tool_configurations: {} + tool_label: 线程在运行队列上的耗时折线图(按Pod统计) + tool_name: 线程在运行队列上的耗时折线图(按Pod统计) + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + pod: + type: mixed + value: '{{#1741497181784.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '1742980885557' + parentId: '1741497176064' + position: + x: 517.7154434927047 + y: 802.0976129954249 + positionAbsolute: + x: 5025.041488614275 + y: 1603.8156975293466 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + context: + enabled: false + variable_selector: [] + desc: '' + isInIteration: true + iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.7 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + prompt_template: + - id: 3ce935be-61a8-4ebe-ac8c-ed8039a2b3d3 + role: system + text: 你是一个可观测性领域的智能助手 + - id: 27e985b3-1039-4a38-9f9c-f9d78d83597d + role: user + text: '# 目的 + + 总结以下数据,使其简洁易懂: + + 1. 应用所有线程在 CPU 类型上的执行耗时数据 + + 2. 应用的 CPU 相关指标数据 + + + # 注意 + + 1. 输出总结可以带上线程数量相关描述,还可给出大部分线程的平均值耗时变化 + + 2. 耗时单位为纳秒(ns),需保留单位 + + 3. 确保描述简洁且用户易于理解 + + + # 数据 + + cpu耗时(单位:纳秒,ns): + + {{#1742980720651.text#}} + + cpu指标: + + {{#1742980720651.text#}}' + selected: false + title: cpu 分析 + type: llm + variables: [] + vision: + enabled: false + height: 90 + id: '1742980933811' + parentId: '1741497176064' + position: + x: 1523.5849163475727 + y: 369.82226364108806 + positionAbsolute: + x: 6030.910961469142 + y: 1171.5403481750097 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + context: + enabled: false + variable_selector: [] + desc: '' + isInIteration: true + iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.7 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + prompt_template: + - id: 2aacf14d-625b-435f-b564-d4882157fe1c + role: system + text: 你是一个可观测性领域的智能助手 + - id: fd4d9226-6f01-4d5d-bb05-c0d1cb570ed5 + role: user + text: '# 目的 + + 总结以下数据,使其简洁易懂: + + 1. 应用所有线程在 file 类型上的执行耗时数据 + + 2. 应用的 read disk 指标数据 + + + # 注意 + + 1. 输出总结可以带上线程数量相关描述 + + 2. 耗时单位为纳秒(ns),输出中保留单位 + + 3. 确保描述简洁且用户易于理解 + + + # 数据 + + file 耗时(单位:纳秒,ns): + + {{#1742980748320.text#}} + + + read disk 指标: + + {{#1742980318484.text#}}' + selected: false + title: file分析 + type: llm + variables: [] + vision: + enabled: false + height: 90 + id: '1742981271838' + parentId: '1741497176064' + position: + x: 1558.557136936397 + y: 472.1294984224769 + positionAbsolute: + x: 6065.883182057967 + y: 1273.8475829563986 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + context: + enabled: false + variable_selector: [] + desc: '' + isInIteration: true + iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.7 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + prompt_template: + - id: 2fcf3791-e5a8-4c5b-9f9b-73753dedd9f7 + role: system + text: 你是一个可观测性领域的智能助手 + - id: 95e534cf-6856-4d33-bd3e-680aa819a13b + role: user + text: '# 目的 + + 总结以下数据,使其简洁易懂: + + 1. 应用所有线程在 net 类型上的执行耗时数据 + + 2. 应用的网络 RTT 指标数据 + + + # 注意 + + 1. 输出总结可以带上线程数量相关描述,还可给出大部分线程的平均值耗时变化 + + 2. 耗时单位为纳秒(ns),输出中保留单位 + + 3. RTT 指标单位为秒,若值小于 0.05 秒,则可附带说明“网络正常” + + 4. 确保描述简洁且用户易于理解 + + + # 数据 + + net 耗时(单位:纳秒,ns): + + {{#1742980780865.text#}} + + + 网络 RTT 指标(单位:秒,若值 < 0.05 则网络正常): + + {{#1742980780865.text#}}' + selected: false + title: 网络分析 + type: llm + variables: [] + vision: + enabled: false + height: 90 + id: '1742981275937' + parentId: '1741497176064' + position: + x: 1563.9713697080979 + y: 586.9524528027102 + positionAbsolute: + x: 6071.297414829668 + y: 1388.670537336632 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + context: + enabled: false + variable_selector: [] + desc: '' + isInIteration: true + iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.7 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + prompt_template: + - id: 1f3e7592-c8f0-455a-8abb-23c74aaf5fb8 + role: system + text: 你是一个可观测性领域的智能助手 + - id: 9ed18fa7-b43f-4f11-ba13-2dcd03fc16c9 + role: user + text: '# 目的 + + 总结以下数据,使其简洁易懂: + + 1. 应用所有线程在 epoll 类型上的执行耗时数据 + + 2. 应用的网络 RTT 指标数据 + + + # 注意 + + 1. 输出总结可以带上线程数量相关描述,还可给出大部分线程的平均值耗时变化 + + 2. 耗时单位为纳秒(ns),输出中保留单位 + + 3. RTT 指标单位为秒,若值小于 0.05 秒,则可附带说明“网络正常” + + 4. 确保描述简洁且用户易于理解 + + + # 数据 + + epoll 耗时(单位:纳秒,ns): + + {{#1742980837261.text#}} + + + 网络 RTT 指标(单位:秒,若值 < 0.05 则网络正常): + + {{#1742798505742.text#}}' + selected: false + title: epoll分析 + type: llm + variables: [] + vision: + enabled: false + height: 90 + id: '1742981278010' + parentId: '1741497176064' + position: + x: 1536.393337231676 + y: 714.101728498571 + positionAbsolute: + x: 6043.719382353246 + y: 1515.8198130324927 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + context: + enabled: false + variable_selector: [] + desc: '' + isInIteration: true + iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.7 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + prompt_template: + - id: b4463776-4368-40e5-b3ea-28a179ebc11c + role: system + text: 你是一个可观测性领域的智能助手 + - id: 44df105c-0a0a-4147-ae4a-7e4bda7bb3af + role: user + text: '# 目的 + + 总结以下数据,使其简洁易懂: + + 1. 应用所有线程在 runq 类型上的执行耗时数据 + + 2. 应用的 CPU Throttle Time 指标数据 + + + # 注意 + + 1. 输出总结可以带上线程数量相关描述 + + 2. 耗时单位为纳秒(ns),输出中保留单位 + + 3. 确保描述简洁且用户易于理解 + + + # 数据 + + runq 耗时(单位:纳秒,ns): + + {{#1742980885557.text#}} + + + CPU Throttle Time 指标: + + {{#1741502699500.text#}}' + selected: false + title: runq分析 + type: llm + variables: [] + vision: + enabled: false + height: 90 + id: '1742981280434' + parentId: '1741497176064' + position: + x: 1522.4926197483228 + y: 809.6780420321629 + positionAbsolute: + x: 6029.818664869893 + y: 1611.3961265660846 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + code: "\ndef main(arg1: str) -> dict:\n data = json.loads(arg1)\n return\ + \ {\n \"pod\": data.get(\"pod\", \"\"),\n \"namespace\": data.get(\"\ + namespace\", \"\")\n }\n" + code_language: python3 + desc: '' + isInIteration: true + iteration_id: '1741497176064' + outputs: + namespace: + children: null + type: string + pod: + children: null + type: string + selected: false + title: POD信息提取 + type: code + variables: + - value_selector: + - '1741509454645' + - first + variable: arg1 + height: 54 + id: '17430589567120' + position: + x: 1854 + y: 774 + positionAbsolute: + x: 1854 + y: 774 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + classes: + - id: '1742462167200' + name: 内存相关 + - id: '1742463856746' + name: '事件类型 + + 容器被killed,重启' + - id: '1742464231696' + name: 未知类型 + desc: '' + instruction: 你是一个智能告警分类助手,任务是根据给定的告警事件并对其进行分类 + instructions: '' + isInIteration: true + iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.7 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + query_variable_selector: + - '1742807803325' + - alertName + selected: false + title: 告警事件分类 + topics: [] + type: question-classifier + vision: + enabled: false + height: 204 + id: '17430590082510' + position: + x: 2158 + y: 774 + positionAbsolute: + x: 2158 + y: 774 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: cAdvisor job name + ja_JP: cAdvisor job name + pt_BR: cAdvisor job name + zh_Hans: cAdvisor任务名称 + label: + en_US: cAdvisor job name + ja_JP: cAdvisor job name + pt_BR: cAdvisor job name + zh_Hans: cAdvisor任务名称 + llm_description: cAdvisor job name + max: null + min: null + name: cadvisor_job_name + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Namespace + ja_JP: Namespace + pt_BR: Namespace + zh_Hans: 命名空间 + label: + en_US: Namespace + ja_JP: Namespace + pt_BR: Namespace + zh_Hans: 命名空间 + llm_description: Namespace + max: null + min: null + name: namespace + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time(Microsecond) + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + cadvisor_job_name: '' + endTime: '' + namespace: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: 容器内存使用字节数(使用Containerd容器运行时,按容器和Pod统计) + tool_configurations: {} + tool_label: 容器内存使用字节数(使用Containerd容器运行时,按容器和Pod统计) + tool_name: 容器内存使用字节数(使用Containerd容器运行时,按容器和Pod统计) + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + namespace: + type: mixed + value: '{{#1741497181784.namespace#}}' + pod: + type: mixed + value: '{{#1741497181784.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '1743059090157' + parentId: '1741497176064' + position: + x: 544.0386199547656 + y: 125.67116500938346 + positionAbsolute: + x: 5051.364665076336 + y: 927.3892495433051 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: cAdvisor job name + ja_JP: cAdvisor job name + pt_BR: cAdvisor job name + zh_Hans: cAdvisor任务名称 + label: + en_US: cAdvisor job name + ja_JP: cAdvisor job name + pt_BR: cAdvisor job name + zh_Hans: cAdvisor任务名称 + llm_description: cAdvisor job name + max: null + min: null + name: cadvisor_job_name + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Namespace + ja_JP: Namespace + pt_BR: Namespace + zh_Hans: 命名空间 + label: + en_US: Namespace + ja_JP: Namespace + pt_BR: Namespace + zh_Hans: 命名空间 + llm_description: Namespace + max: null + min: null + name: namespace + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time(Microsecond) + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + cadvisor_job_name: '' + endTime: '' + namespace: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: 容器内存使用字节数(使用Containerd容器运行时,按容器和Pod统计) (1) + tool_configurations: {} + tool_label: 容器内存使用字节数(使用Containerd容器运行时,按容器和Pod统计) + tool_name: 容器内存使用字节数(使用Containerd容器运行时,按容器和Pod统计) + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + namespace: + type: mixed + value: '{{#17430589567120.namespace#}}' + pod: + type: mixed + value: '{{#17430589567120.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '17430593614550' + position: + x: 3374 + y: 774 + positionAbsolute: + x: 3374 + y: 774 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + context: + enabled: false + variable_selector: [] + desc: '' + isInIteration: true + iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.7 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + prompt_template: + - id: 25386b5d-4509-477b-bdab-d835cd12b104 + role: system + text: 你是一个可观性领域的智能助手,帮助用户分析问题 + - id: 5f74b2ce-6208-423b-aa3b-f01f2cafb89b + role: user + text: '# 目的 + + + 当前 pod:{{#17430589567120.pod#}}) + + + 由于内存告警升高,需要分析其原因并提供解决方案。 + + # 输出要求 + + 展示内存指标数据的变化趋势(用简单语言描述,让人一看就懂)。 + + 提供相关建议,包括: + + 检查代码是否可能存在内存泄漏。 + + 通过日志分析问题根源等实用方法。 + + # 数据来源 + + + 容器内存数据:{{#17430593614550.text#}}。' + selected: false + title: 内存问题分析 + type: llm + variables: [] + vision: + enabled: false + height: 90 + id: '17430593816310' + position: + x: 3678 + y: 774 + positionAbsolute: + x: 3678 + y: 774 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + iteration_id: '1741497176064' + output_type: string + selected: false + title: 结果汇总1 + type: variable-aggregator + variables: + - - '17430593816310' + - text + - - '17430594510140' + - text + - - '17430596469370' + - text + height: 152 + id: '17430594012660' + position: + x: 3982 + y: 904 + positionAbsolute: + x: 3982 + y: 904 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + context: + enabled: false + variable_selector: [] + desc: '' + isInIteration: true + iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.7 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + prompt_template: + - id: 893c9a67-e9e3-4c2c-8ed2-6301998d555b + role: system + text: 你是一个可观性领域的智能助手,帮助用户分析问题 + - id: ccfb4eb1-f253-415d-9a60-9ecab7bd6af4 + role: user + text: '该告警事件是一个事件类型 + + 影响了{{#17430589567120.pod#}},给出一些建议' + selected: false + title: 事件类型 + type: llm + variables: [] + vision: + enabled: false + height: 90 + id: '17430594510140' + position: + x: 3678 + y: 904 + positionAbsolute: + x: 3678 + y: 904 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + endTime: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: 线程在CPU上的耗时折线图(按Pod统计) (1) + tool_configurations: {} + tool_label: 线程在CPU上的耗时折线图(按Pod统计) + tool_name: 线程在CPU上的耗时折线图(按Pod统计) + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + pod: + type: mixed + value: '{{#17430589567120.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '17430595109950' + position: + x: 2462 + y: 979 + positionAbsolute: + x: 2462 + y: 979 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: cAdvisor job name + ja_JP: cAdvisor job name + pt_BR: cAdvisor job name + zh_Hans: cAdvisor任务名称 + label: + en_US: cAdvisor job name + ja_JP: cAdvisor job name + pt_BR: cAdvisor job name + zh_Hans: cAdvisor任务名称 + llm_description: cAdvisor job name + max: null + min: null + name: cadvisor_job_name + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Namespace + ja_JP: Namespace + pt_BR: Namespace + zh_Hans: 命名空间 + label: + en_US: Namespace + ja_JP: Namespace + pt_BR: Namespace + zh_Hans: 命名空间 + llm_description: Namespace + max: null + min: null + name: namespace + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time(Microsecond) + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + cadvisor_job_name: '' + endTime: '' + namespace: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: 容器 CPU 使用率 + tool_configurations: {} + tool_label: Container CPU usage rate (Containerd runtime, aggregated by container + and Pod) + tool_name: 容器CPU使用率(使用Containerd容器运行时,按容器和Pod统计) + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + namespace: + type: mixed + value: '{{#17430589567120.namespace#}}' + pod: + type: mixed + value: '{{#17430589567120.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '17430595158080' + position: + x: 2766 + y: 979 + positionAbsolute: + x: 2766 + y: 979 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + context: + enabled: false + variable_selector: [] + desc: '' + isInIteration: true + iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.7 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + prompt_template: + - id: 3ce935be-61a8-4ebe-ac8c-ed8039a2b3d3 + role: system + text: 你是一个可观测性领域的智能助手 + - id: 27e985b3-1039-4a38-9f9c-f9d78d83597d + role: user + text: '# 目的 + + 总结以下数据,使其简洁易懂: + + 1. 应用所有线程在 CPU 类型上的执行耗时数据 + + 2. 应用的 CPU 相关指标数据 + + + # 注意 + + 1. 输出总结可以带上线程数量相关描述,还可给出大部分线程的平均值耗时变化 + + 2. 耗时单位为纳秒(ns),需保留单位 + + 3. 确保描述简洁且用户易于理解 + + + # 数据 + + cpu耗时(单位:纳秒,ns): + + {{#17430595109950.text#}} + + cpu指标: + + {{#17430595158080.text#}}' + selected: false + title: cpu 分析 + type: llm + variables: [] + vision: + enabled: false + height: 90 + id: '17430595248160' + position: + x: 3374 + y: 961 + positionAbsolute: + x: 3374 + y: 961 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + context: + enabled: false + variable_selector: [] + desc: '' + isInIteration: true + iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.6 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + prompt_template: + - id: cd35fff4-a037-4e72-af99-2ff8299fc5d2 + role: system + text: 你是一个可观性领域的智能助手,帮助用户分析问题 + - id: 2b2ad468-efcd-4bcc-aeb9-d53d2f2770ad + role: user + text: "# 目的\n根据各方向上的北极星指标数据\n分析应用 {{#17430589567120.pod#}}\n是否受到告警事件 {{#1742807803325.alertName#}}的影响,并初步判断告警的根因方向。\n\ + # 注意\n输入数据中,各方向的数据包含该方向线程耗时数据和该方向的相关数据。如:网络耗时会带上应用程序的网络RTT指标。\n# 分析规则\n\ + 1.先看哪一个类型数据变化最大(显著升高要比其他类型大, 且值变化最大),如果有直接,按下面指定方向给出建议。\n同时结合线程历史P90分析变化,确认数据是否在合理区间\n\ + 注: P90反应最大最小范围内波动。虽然波动幅度可能较大,但从长期来看,这种波动是正常的。分析数据时,需要找出真正的‘突变’,即短时间内发生的异常剧烈变化。‘突变’的定义是:相比前后的数据点,波动值在极短时间内(比如\ + \ 1-2 个时间步)出现显著的跳跃,且这种跳跃明显超出正常波动模式(例如,变化幅度远超平均变化率,或与趋势不符)。请忽略那些属于正常范围(P90范围内)内的常规波动,只关注异常突变。\n\ + 如果发现有两种类型变化趋势近似,则优先级从高到低分析\n2.应用程序CPU耗时升高,建议用户检查代码是否有过多嵌套,检查出问题后可进行回滚修复\n\ + 3.应用程序抢占CPU高,建议用户登录机器检查其他应用程序是否在抢占\n4.如果net,epoll升高,同时要分析应用rtt是否正常\n注:网络\ + \ RTT 指标(单位:秒,若值 < 0.05 则网络正常)\n如果rtt异常升高,建议用户检查网络是否存在问题;如果rtt正常,建议用户排查下游服务问题!\n\ + 5.file类型升高,建议用户查看应用程序是否打开过多文件\n\n# 输出格式 \n## 应用 {{#17430589567120.pod#}}\n\ + 北极星指标变化趋势的总结\n - 列出北极星指标 的变化情况,用简洁语言描述\n- 如果无显著变化,明确说明:“未观察到明显变化”。\n##\ + \ 告警事件初步根因结论 \n- 总结告警 是否影响应用,\n结合服务的北极星指标和相关指标数据,分析可能的根因\n同时只能给一个方向的建议。建议参考分析规则\n\ + 注:认为网络方向有问题时,如果RTT正常,则描述修改为是下游方向网络问题\n# 输入数据 \n- cpu方向数据\n{{#17430595248160.text#}}\n\ + cpu耗时历史P90数据\n{{#1743149089034.text#}}\n- net 方向数据\n{{#17430598979590.text#}}\n\ + net耗时历史P90数据\n{{#17431493623970.text#}}\n- file 方向数据\n{{#17430598299820.text#}}\n\ + file耗时历史P90数据\n{{#17431493591600.text#}}\n- epoll方向数据\n{{#17430610680150.text#}}\n\ + epoll耗时历史P90数据\n{{#17431493655610.text#}}\n- runq方向数据\n{{#17430610794990.text#}}\n\ + runq耗时历史P90数据\n{{#17431493682530.text#}}\n\n# 注意事项 \n- P90相关数据中,json key为线程id,max,min对应过去1小时最大最小P90值\n\ + - 使用简洁、清晰的语言,避免技术术语过度堆砌,确保输出易于理解。" + selected: false + title: llm analysis root cause + type: llm + variables: [] + vision: + enabled: false + height: 90 + id: '17430596469370' + position: + x: 3678 + y: 1236.7761644468628 + positionAbsolute: + x: 3678 + y: 1236.7761644468628 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + endTime: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: 线程在文件操作上的耗时折线图(按Pod统计) (1) + tool_configurations: {} + tool_label: 线程在文件操作上的耗时折线图(按Pod统计) + tool_name: 线程在文件操作上的耗时折线图(按Pod统计) + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + pod: + type: mixed + value: '{{#17430589567120.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '17430597987060' + position: + x: 2462 + y: 1109 + positionAbsolute: + x: 2462 + y: 1109 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: cAdvisor job name + ja_JP: cAdvisor job name + pt_BR: cAdvisor job name + zh_Hans: cAdvisor任务名称 + label: + en_US: cAdvisor job name + ja_JP: cAdvisor job name + pt_BR: cAdvisor job name + zh_Hans: cAdvisor任务名称 + llm_description: cAdvisor job name + max: null + min: null + name: cadvisor_job_name + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Namespace + ja_JP: Namespace + pt_BR: Namespace + zh_Hans: 命名空间 + label: + en_US: Namespace + ja_JP: Namespace + pt_BR: Namespace + zh_Hans: 命名空间 + llm_description: Namespace + max: null + min: null + name: namespace + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time(Microsecond) + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + cadvisor_job_name: '' + endTime: '' + namespace: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin + selected: false + title: 容器读磁盘耗时 + tool_configurations: {} + tool_label: Container disk read time per second (Containerd runtime, aggregated + by container and Pod) + tool_name: 容器磁盘读取耗时每秒(使用Containerd,按Pod和容器统计) + tool_parameters: + cadvisor_job_name: + type: mixed + value: '' + endTime: + type: variable + value: + - '1741227526517' + - endTime + namespace: + type: mixed + value: '{{#17430589567120.namespace#}}' + pod: + type: mixed + value: '{{#17430589567120.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '17430598152780' + position: + x: 2766 + y: 1109 + positionAbsolute: + x: 2766 + y: 1109 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + context: + enabled: false + variable_selector: [] + desc: '' + isInIteration: true + iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.7 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + prompt_template: + - id: 2aacf14d-625b-435f-b564-d4882157fe1c + role: system + text: 你是一个可观测性领域的智能助手 + - id: fd4d9226-6f01-4d5d-bb05-c0d1cb570ed5 + role: user + text: '# 目的 + + 总结以下数据,使其简洁易懂: + + 1. 应用所有线程在 file 类型上的执行耗时数据 + + 2. 应用的 read disk 指标数据 + + + # 注意 + + 1. 输出总结可以带上线程数量相关描述 + + 2. 耗时单位为纳秒(ns),输出中保留单位 + + 3. 确保描述简洁且用户易于理解 + + + # 数据 + + file 耗时(单位:纳秒,ns): + + {{#17430597987060.text#}} + + + read disk 指标: + + {{#17430598152780.text#}}' + selected: false + title: file分析 + type: llm + variables: [] + vision: + enabled: false + height: 90 + id: '17430598299820' + position: + x: 3374 + y: 1091 + positionAbsolute: + x: 3374 + y: 1091 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + endTime: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin selected: false - title: '' - type: iteration-start - draggable: false - height: 48 - id: 1741497176064start - parentId: '1741497176064' - position: - x: 24 - y: 68 - positionAbsolute: - x: 1418.3582849130557 - y: 257.47622250262157 - selectable: false - sourcePosition: right - targetPosition: left - type: custom-iteration-start - width: 44 - zIndex: 1002 - - data: - code: "\ndef main(arg1: str) -> dict:\n data = json.loads(arg1)\n return\ - \ {\n \"pod\": data.get(\"pod\", \"\"),\n \"namespace\": data.get(\"\ - namespace\", \"\")\n }\n" - code_language: python3 - desc: '' - isInIteration: true - iteration_id: '1741497176064' - outputs: - namespace: - children: null - type: string + title: 线程在网络操作上的耗时折线图(按Pod统计) (1) + tool_configurations: {} + tool_label: 线程在网络操作上的耗时折线图(按Pod统计) + tool_name: 线程在网络操作上的耗时折线图(按Pod统计) + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime pod: - children: null - type: string - selected: false - title: 代码执行 2 - type: code - variables: - - value_selector: - - '1741497176064' - - item - variable: arg1 - height: 53 - id: '1741497181784' - parentId: '1741497176064' + type: mixed + value: '{{#17430589567120.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '17430598907140' position: - x: 16 - y: 65 + x: 2462 + y: 1239 positionAbsolute: - x: 1410.3582849130557 - y: 254.47622250262157 + x: 2462 + y: 1239 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 + width: 244 zIndex: 1002 - data: desc: '' @@ -696,7 +5189,31 @@ workflow: options: [] placeholder: null precision: null - required: true + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Specified namespace + ja_JP: Specified namespace + pt_BR: Specified namespace + zh_Hans: 指定的容器所在Namespace + label: + en_US: namespace + ja_JP: namespace + pt_BR: namespace + zh_Hans: namespace + llm_description: Specified namespace + max: null + min: null + name: namespace + options: [] + placeholder: null + precision: null + required: false scope: null template: null type: string @@ -750,45 +5267,48 @@ workflow: type: number params: endTime: '' + namespace: '' pod: '' startTime: '' provider_id: apo_select provider_name: apo_select provider_type: builtin selected: false - title: Thread Polaris Metrics - 北极星指标(进程) - 各类型耗时折线图 - 所有类型列表 + title: 容器网络RTT tool_configurations: {} - tool_label: Thread Polaris Metrics - 北极星指标(进程) - 各类型耗时折线图 - 所有类型列表 - tool_name: polar_process_all_resp + tool_label: Query container rtt + tool_name: 查询容器网络与下游RTT tool_parameters: endTime: type: variable value: - '1741227526517' - endTime + namespace: + type: mixed + value: '{{#17430589567120.namespace#}}' pod: type: mixed - value: '{{#1741497181784.pod#}}' + value: '{{#17430589567120.pod#}}' startTime: type: variable value: - '1741227526517' - startTime type: tool - height: 53 - id: '1741497216474' - parentId: '1741497176064' + height: 54 + id: '17430598942980' position: - x: 428.6547554766032 - y: 67.98377959888398 + x: 2766 + y: 1239 positionAbsolute: - x: 1823.013040389659 - y: 257.46000210150555 + x: 2766 + y: 1239 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 + width: 244 zIndex: 1002 - data: context: @@ -804,99 +5324,180 @@ workflow: name: deepseek-chat provider: langgenius/deepseek/deepseek prompt_template: - - id: bf86aacb-6cf8-4ee0-85c6-ad591299624c + - id: 2fcf3791-e5a8-4c5b-9f9b-73753dedd9f7 role: system - text: '' - - id: 53c48462-405a-4d2e-9ae4-ab0f54abc57a + text: 你是一个可观测性领域的智能助手 + - id: 95e534cf-6856-4d33-bd3e-680aa819a13b role: user text: '# 目的 - 指标分析哪个类型变化最明显 + 总结以下数据,使其简洁易懂: + + 1. 应用所有线程在 net 类型上的执行耗时数据 - # 过程 先确是否有剧烈波动,如果有波动,识别是引起延时波动分项,哪个分项导致的。分项的计算从波动之后的时间开始计算,分项要占比延时的10%以上,不要从一开始就计算。如果没有波动,识别哪个分项与延时曲线变化最相似。请仔细分析,同时验算数据是否符合超过10%的要求。 + 2. 应用的网络 RTT 指标数据 - {{#1741497216474.text#}} # 注意 - 请尽量不要考虑futex类型,试着分析cpu,net,epoll,file, runq + 1. 输出总结可以带上线程数量相关描述,还可给出大部分线程的平均值耗时变化 + + 2. 耗时单位为纳秒(ns),输出中保留单位 + + 3. RTT 指标单位为秒,若值小于 0.05 秒,则可附带说明“网络正常” - 如果数据为空,直接返回无异常 + 4. 确保描述简洁且用户易于理解 - ' + + # 数据 + + net 耗时(单位:纳秒,ns): + + {{#17430598907140.text#}} + + + 网络 RTT 指标(单位:秒,若值 < 0.05 则网络正常): + + {{#17430598942980.text#}}' selected: false - title: LLM 3 + title: 网络分析 (1) type: llm variables: [] vision: enabled: false - height: 89 - id: '1741498390634' - parentId: '1741497176064' + height: 90 + id: '17430598979590' position: - x: 476.871648722647 - y: 176.3677865413374 + x: 3374 + y: 1221 positionAbsolute: - x: 1871.2299336357028 - y: 365.844009043959 + x: 3374 + y: 1221 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 + width: 244 zIndex: 1002 - data: - classes: - - id: '1' - name: cpu - - id: '2' - name: net - - id: '1741498415133' - name: file - - id: '1741498418311' - name: epoll - - id: '1741498422694' - name: runq - - id: '1741498426874' - name: futex - desc: '' - instruction: '请根据上文的结论分类出 - - 当前应用程序是哪一类变化导致的 - - 注意还可能存在无数据的情况' - instructions: '' + desc: '' isInIteration: true + is_team_authorization: true iteration_id: '1741497176064' - model: - completion_params: - temperature: 0.7 - mode: chat - name: deepseek-chat - provider: langgenius/deepseek/deepseek - query_variable_selector: - - '1741498390634' - - text + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + endTime: '' + pod: '' + startTime: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin selected: false - title: 问题分类器 2 - topics: [] - type: question-classifier - vision: - enabled: false - height: 311 - id: '1741498403828' - parentId: '1741497176064' + title: 线程在Epoll操作上的耗时折线图(按Pod统计) (1) + tool_configurations: {} + tool_label: 线程在Epoll操作上的耗时折线图(按Pod统计) + tool_name: 线程在Epoll操作上的耗时折线图(按Pod统计) + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + pod: + type: mixed + value: '{{#17430589567120.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '17430610599980' position: - x: 66.65989952932614 - y: 458.53248979265527 + x: 2462 + y: 1369 positionAbsolute: - x: 1461.0181844423819 - y: 648.0087122952768 + x: 2462 + y: 1369 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 + width: 244 zIndex: 1002 - data: desc: '' @@ -925,7 +5526,7 @@ workflow: options: [] placeholder: null precision: null - required: true + required: false scope: null template: null type: string @@ -949,7 +5550,7 @@ workflow: options: [] placeholder: null precision: null - required: true + required: false scope: null template: null type: string @@ -1010,42 +5611,109 @@ workflow: provider_name: apo_select provider_type: builtin selected: false - title: 容器CPU使用率(使用Containerd容器运行时,按容器和Pod统计) - tool_configurations: {} - tool_label: 容器CPU使用率(使用Containerd容器运行时,按容器和Pod统计) - tool_name: 查询容器CPU利用率 - tool_parameters: - endTime: - type: variable - value: - - '1741227526517' - - endTime - namespace: - type: mixed - value: '{{#1741497181784.namespace#}}' - pod: - type: mixed - value: '{{#1741497181784.pod#}}' - startTime: - type: variable - value: - - '1741227526517' - - startTime - type: tool - height: 53 - id: '1741498509378' - parentId: '1741497176064' + title: 容器网络RTT + tool_configurations: {} + tool_label: Query container rtt + tool_name: 查询容器网络与下游RTT + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + namespace: + type: mixed + value: '{{#17430589567120.namespace#}}' + pod: + type: mixed + value: '{{#17430589567120.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: tool + height: 54 + id: '17430610640640' + position: + x: 2766 + y: 1369 + positionAbsolute: + x: 2766 + y: 1369 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + context: + enabled: false + variable_selector: [] + desc: '' + isInIteration: true + iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.7 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + prompt_template: + - id: 1f3e7592-c8f0-455a-8abb-23c74aaf5fb8 + role: system + text: 你是一个可观测性领域的智能助手 + - id: 9ed18fa7-b43f-4f11-ba13-2dcd03fc16c9 + role: user + text: '# 目的 + + 总结以下数据(异步与网络总结报告),使其简洁易懂: + + 1. 应用所有线程在 epoll 类型上的执行耗时数据 + + 2. 应用的网络 RTT 指标数据 + + + # 注意 + + 1. 输出总结可以带上线程数量相关描述,还可给出大部分线程的平均值耗时变化 + + 2. 耗时单位为纳秒(ns),输出中保留单位 + + 3. RTT 指标单位为秒,若值小于 0.05 秒,则可附带说明“网络正常” + + 4. 确保描述简洁且用户易于理解 + + + # 数据 + + epoll 耗时(单位:纳秒,ns): + + {{#17430610599980.text#}} + + 网络 RTT 指标(单位:秒,若值 < 0.05 则网络正常): + + {{#17430610640640.text#}}' + selected: false + title: epoll分析 (1) + type: llm + variables: [] + vision: + enabled: false + height: 90 + id: '17430610680150' position: - x: 410.6883607221529 - y: 350.869732101604 + x: 3374 + y: 1351 positionAbsolute: - x: 1805.0466456352087 - y: 540.3459546042255 + x: 3374 + y: 1351 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 + width: 244 zIndex: 1002 - data: desc: '' @@ -1058,47 +5726,23 @@ workflow: default: null form: llm human_description: - en_US: Specified pod name - ja_JP: Specified pod name - pt_BR: Specified pod name - zh_Hans: 指定的容器POD名称 + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 label: - en_US: pod - ja_JP: pod - pt_BR: pod - zh_Hans: pod - llm_description: Specified pod name + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name max: null min: null name: pod options: [] placeholder: null precision: null - required: true - scope: null - template: null - type: string - - auto_generate: null - default: null - form: llm - human_description: - en_US: Specified namespace - ja_JP: Specified namespace - pt_BR: Specified namespace - zh_Hans: 指定的容器所在Namespace - label: - en_US: namespace - ja_JP: namespace - pt_BR: namespace - zh_Hans: namespace - llm_description: Specified namespace - max: null - min: null - name: namespace - options: [] - placeholder: null - precision: null - required: true + required: false scope: null template: null type: string @@ -1106,8 +5750,8 @@ workflow: default: null form: llm human_description: - en_US: Data query start time - ja_JP: Data query start time + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) pt_BR: Data query start time zh_Hans: 开始时间 (微秒) label: @@ -1115,7 +5759,7 @@ workflow: ja_JP: startTime pt_BR: startTime zh_Hans: startTime - llm_description: Data query start time + llm_description: Data query start time(Microsecond) max: null min: null name: startTime @@ -1130,16 +5774,16 @@ workflow: default: null form: llm human_description: - en_US: Data query end time - ja_JP: Data query end time - pt_BR: Data query end time + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) zh_Hans: 结束时间 (微秒) label: en_US: endTime ja_JP: endTime pt_BR: endTime zh_Hans: endTime - llm_description: Data query start time + llm_description: Data query end time(Microsecond) max: null min: null name: endTime @@ -1152,49 +5796,44 @@ workflow: type: number params: endTime: '' - namespace: '' pod: '' startTime: '' provider_id: apo_select provider_name: apo_select provider_type: builtin selected: false - title: 容器与下游服务的网络往返时间(RTT,按命名空间和Pod统计) + title: 线程在运行队列上的耗时折线图(按Pod统计) (1) tool_configurations: {} - tool_label: 容器与下游服务的网络往返时间(RTT,按命名空间和Pod统计) - tool_name: 查询容器网络与下游RTT + tool_label: 线程在运行队列上的耗时折线图(按Pod统计) + tool_name: 线程在运行队列上的耗时折线图(按Pod统计) tool_parameters: endTime: type: variable value: - '1741227526517' - endTime - namespace: - type: mixed - value: '{{#1741497181784.namespace#}}' pod: type: mixed - value: '{{#1741497181784.pod#}}' + value: '{{#17430589567120.pod#}}' startTime: type: variable value: - '1741227526517' - startTime type: tool - height: 53 - id: '1741498527215' - parentId: '1741497176064' + height: 54 + id: '17430610719970' position: - x: 410.6883607221529 - y: 443.869732101604 + x: 2462 + y: 1499 positionAbsolute: - x: 1805.0466456352087 - y: 633.3459546042255 + x: 2462 + y: 1499 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 + width: 244 zIndex: 1002 - data: desc: '' @@ -1308,10 +5947,10 @@ workflow: provider_name: apo_select provider_type: builtin selected: false - title: 容器磁盘读取耗时每秒(使用Containerd,按Pod和容器统计) + title: 容器CPU节流时间 tool_configurations: {} - tool_label: 容器磁盘读取耗时每秒(使用Containerd,按Pod和容器统计) - tool_name: select_container_cpu + tool_label: 容器CPU节流时长(使用Containerd容器运行时,按容器和Pod统计) + tool_name: 容器CPU节流时长(使用Containerd容器运行时,按容器和Pod统计) tool_parameters: endTime: type: variable @@ -1320,59 +5959,123 @@ workflow: - endTime namespace: type: mixed - value: '{{#1741497181784.namespace#}}' + value: '{{#17430589567120.namespace#}}' pod: type: mixed - value: '{{#1741497181784.pod#}}' + value: '{{#17430589567120.pod#}}' startTime: type: variable value: - '1741227526517' - startTime type: tool - height: 53 - id: '1741498907941' - parentId: '1741497176064' + height: 54 + id: '17430610756270' position: - x: 432.9644565654511 - y: 510.4168682876872 + x: 2766 + y: 1499 positionAbsolute: - x: 1827.322741478507 - y: 699.8930907903087 + x: 2766 + y: 1499 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 + width: 244 zIndex: 1002 - data: + context: + enabled: false + variable_selector: [] desc: '' isInIteration: true - is_team_authorization: true iteration_id: '1741497176064' + model: + completion_params: + temperature: 0.7 + mode: chat + name: deepseek-chat + provider: langgenius/deepseek/deepseek + prompt_template: + - id: b4463776-4368-40e5-b3ea-28a179ebc11c + role: system + text: 你是一个可观测性领域的智能助手 + - id: 44df105c-0a0a-4147-ae4a-7e4bda7bb3af + role: user + text: '# 目的 + + 总结以下数据,使其简洁易懂: + + 1. 应用所有线程在 runq 类型上的执行耗时数据 + + 2. 应用的 CPU Throttle Time 指标数据 + + + # 注意 + + 1. 输出总结可以带上线程数量相关描述 + + 2. 耗时单位为纳秒(ns),输出中保留单位 + + 3. 确保描述简洁且用户易于理解 + + + # 数据 + + runq 耗时(单位:纳秒,ns): + + {{#17430610719970.text#}} + + + CPU Throttle Time 指标: + + {{#17430610756270.text#}}' + selected: false + title: runq分析 (1) + type: llm + variables: [] + vision: + enabled: false + height: 90 + id: '17430610794990' + position: + x: 3374 + y: 1481 + positionAbsolute: + x: 3374 + y: 1481 + selected: false + sourcePosition: right + targetPosition: left + type: custom + width: 244 + zIndex: 1002 + - data: + desc: '' + is_team_authorization: true output_schema: null paramSchemas: - auto_generate: null default: null form: llm human_description: - en_US: Specified host name - ja_JP: Specified host name - pt_BR: Specified host name - zh_Hans: 指定的主机名 + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 label: - en_US: node - ja_JP: node - pt_BR: node - zh_Hans: node - llm_description: Specified host name + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name max: null min: null - name: node + name: pod options: [] placeholder: null precision: null - required: true + required: false scope: null template: null type: string @@ -1380,8 +6083,32 @@ workflow: default: null form: llm human_description: - en_US: Data query start time - ja_JP: Data query start time + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) + label: + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) + llm_description: Type (cpu,net,file,epoll,runq) + max: null + min: null + name: type + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) pt_BR: Data query start time zh_Hans: 开始时间 (微秒) label: @@ -1389,7 +6116,7 @@ workflow: ja_JP: startTime pt_BR: startTime zh_Hans: startTime - llm_description: Data query start time + llm_description: Data query start time(Microsecond) max: null min: null name: startTime @@ -1404,16 +6131,16 @@ workflow: default: null form: llm human_description: - en_US: Data query end time - ja_JP: Data query end time - pt_BR: Data query end time + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) zh_Hans: 结束时间 (微秒) label: en_US: endTime ja_JP: endTime pt_BR: endTime zh_Hans: endTime - llm_description: Data query start time + llm_description: Data query end time(Microsecond) max: null min: null name: endTime @@ -1426,74 +6153,74 @@ workflow: type: number params: endTime: '' - node: '' + pod: '' startTime: '' + type: '' provider_id: apo_select provider_name: apo_select provider_type: builtin selected: false - title: 宿主机IO等待CPU繁忙率 + title: CPU P90 tool_configurations: {} - tool_label: 宿主机IO等待CPU繁忙率 - tool_name: host_cpu_iowait + tool_label: Thread Polaris Metrics P90 + tool_name: 线程北极星P90数据 tool_parameters: endTime: type: variable value: - '1741227526517' - endTime - node: + pod: type: mixed - value: '{{#1741227526517.nodeName#}}' + value: '{{#17430589567120.pod#}}' startTime: type: variable value: - '1741227526517' - startTime + type: + type: mixed + value: cpu type: tool - height: 53 - id: '1741499376556' - parentId: '1741497176064' + height: 54 + id: '1743149089034' position: - x: 453.5013338953919 - y: 647.741739700495 + x: 3070 + y: 979 positionAbsolute: - x: 1847.8596188084475 - y: 837.2179622031166 + x: 3070 + y: 979 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 - zIndex: 1002 + width: 244 - data: desc: '' - isInIteration: true is_team_authorization: true - iteration_id: '1741497176064' output_schema: null paramSchemas: - auto_generate: null default: null form: llm human_description: - en_US: Specified host name - ja_JP: Specified host name - pt_BR: Specified host name - zh_Hans: 指定的主机名 + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 label: - en_US: node - ja_JP: node - pt_BR: node - zh_Hans: node - llm_description: Specified host name + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name max: null min: null - name: node + name: pod options: [] placeholder: null precision: null - required: true + required: false scope: null template: null type: string @@ -1501,8 +6228,32 @@ workflow: default: null form: llm human_description: - en_US: Data query start time - ja_JP: Data query start time + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) + label: + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) + llm_description: Type (cpu,net,file,epoll,runq) + max: null + min: null + name: type + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) pt_BR: Data query start time zh_Hans: 开始时间 (微秒) label: @@ -1510,7 +6261,7 @@ workflow: ja_JP: startTime pt_BR: startTime zh_Hans: startTime - llm_description: Data query start time + llm_description: Data query start time(Microsecond) max: null min: null name: startTime @@ -1525,16 +6276,16 @@ workflow: default: null form: llm human_description: - en_US: Data query end time - ja_JP: Data query end time - pt_BR: Data query end time + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) zh_Hans: 结束时间 (微秒) label: en_US: endTime ja_JP: endTime pt_BR: endTime zh_Hans: endTime - llm_description: Data query start time + llm_description: Data query end time(Microsecond) max: null min: null name: endTime @@ -1547,100 +6298,74 @@ workflow: type: number params: endTime: '' - node: '' + pod: '' startTime: '' + type: '' provider_id: apo_select provider_name: apo_select provider_type: builtin selected: false - title: 宿主机当前打开文件描述符数 + title: file P90 tool_configurations: {} - tool_label: 宿主机当前打开文件描述符数 - tool_name: host_cpu_fd_open + tool_label: Thread Polaris Metrics P90 + tool_name: 线程北极星P90数据 tool_parameters: endTime: type: variable value: - '1741227526517' - endTime - node: + pod: type: mixed - value: '{{#1741227526517.nodeName#}}' + value: '{{#17430589567120.pod#}}' startTime: type: variable value: - '1741227526517' - startTime + type: + type: mixed + value: file type: tool - height: 53 - id: '1741501265259' - parentId: '1741497176064' - position: - x: 454.9055541105341 - y: 582.0321151443305 - positionAbsolute: - x: 1849.2638390235898 - y: 771.5083376469521 - selected: false - sourcePosition: right - targetPosition: left - type: custom - width: 243 - zIndex: 1002 - - data: - desc: '' - isInIteration: true - iteration_id: '1741497176064' - selected: false - template: '当前类型为futex - - 程序可能发生gc或者lock。还可能处于睡眠状态' - title: 模板转换 2 - type: template-transform - variables: [] - height: 53 - id: '1741502665376' - parentId: '1741497176064' + height: 54 + id: '17431493591600' position: - x: 594.3764406471525 - y: 826.6378781039763 + x: 3070 + y: 1109 positionAbsolute: - x: 1988.7347255602083 - y: 1016.1141006065978 + x: 3070 + y: 1109 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 - zIndex: 1002 + width: 244 - data: desc: '' - isInIteration: true is_team_authorization: true - iteration_id: '1741497176064' output_schema: null paramSchemas: - auto_generate: null default: null form: llm human_description: - en_US: Specified pod name - ja_JP: Specified pod name - pt_BR: Specified pod name - zh_Hans: 指定的容器POD名称 + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 label: - en_US: pod - ja_JP: pod - pt_BR: pod - zh_Hans: pod - llm_description: Specified pod name + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name max: null min: null name: pod options: [] placeholder: null precision: null - required: true + required: false scope: null template: null type: string @@ -1648,23 +6373,23 @@ workflow: default: null form: llm human_description: - en_US: Specified namespace - ja_JP: Specified namespace - pt_BR: Specified namespace - zh_Hans: 指定的容器所在Namespace + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) label: - en_US: namespace - ja_JP: namespace - pt_BR: namespace - zh_Hans: namespace - llm_description: Specified namespace + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) + llm_description: Type (cpu,net,file,epoll,runq) max: null min: null - name: namespace + name: type options: [] placeholder: null precision: null - required: true + required: false scope: null template: null type: string @@ -1672,8 +6397,8 @@ workflow: default: null form: llm human_description: - en_US: Data query start time - ja_JP: Data query start time + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) pt_BR: Data query start time zh_Hans: 开始时间 (微秒) label: @@ -1681,7 +6406,7 @@ workflow: ja_JP: startTime pt_BR: startTime zh_Hans: startTime - llm_description: Data query start time + llm_description: Data query start time(Microsecond) max: null min: null name: startTime @@ -1696,16 +6421,16 @@ workflow: default: null form: llm human_description: - en_US: Data query end time - ja_JP: Data query end time - pt_BR: Data query end time + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) zh_Hans: 结束时间 (微秒) label: en_US: endTime ja_JP: endTime pt_BR: endTime zh_Hans: endTime - llm_description: Data query start time + llm_description: Data query end time(Microsecond) max: null min: null name: endTime @@ -1718,78 +6443,74 @@ workflow: type: number params: endTime: '' - namespace: '' pod: '' startTime: '' + type: '' provider_id: apo_select provider_name: apo_select provider_type: builtin selected: false - title: 容器CPU节流时长(使用Containerd容器运行时,按容器和Pod统计) + title: net P90 tool_configurations: {} - tool_label: 容器CPU节流时长(使用Containerd容器运行时,按容器和Pod统计) - tool_name: 容器CPU节流时长(使用Containerd容器运行时,按容器和Pod统计) + tool_label: Thread Polaris Metrics P90 + tool_name: 线程北极星P90数据 tool_parameters: endTime: type: variable value: - '1741227526517' - - endTime - namespace: - type: mixed - value: '{{#1741497181784.namespace#}}' + - endTime pod: type: mixed - value: '{{#1741497181784.pod#}}' + value: '{{#17430589567120.pod#}}' startTime: type: variable value: - '1741227526517' - startTime + type: + type: mixed + value: net type: tool - height: 53 - id: '1741502699500' - parentId: '1741497176064' + height: 54 + id: '17431493623970' position: - x: 445.14779795415495 - y: 708.438700581942 + x: 3070 + y: 1239 positionAbsolute: - x: 1839.5060828672108 - y: 897.9149230845636 + x: 3070 + y: 1239 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 - zIndex: 1002 + width: 244 - data: desc: '' - isInIteration: true is_team_authorization: true - iteration_id: '1741497176064' output_schema: null paramSchemas: - auto_generate: null default: null form: llm human_description: - en_US: time series metric data - ja_JP: time series metric data - pt_BR: time series metric data - zh_Hans: 时序指标数据 + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 label: - en_US: metricData - ja_JP: metricData - pt_BR: metricData - zh_Hans: metricData - llm_description: Time series indicator data + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name max: null min: null - name: metricData + name: pod options: [] placeholder: null precision: null - required: true + required: false scope: null template: null type: string @@ -1797,19 +6518,19 @@ workflow: default: null form: llm human_description: - en_US: threshold - ja_JP: threshold - pt_BR: threshold - zh_Hans: 趋势分析阈值 + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) label: - en_US: threshold - ja_JP: threshold - pt_BR: threshold - zh_Hans: threshold - llm_description: threshold + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) + llm_description: Type (cpu,net,file,epoll,runq) max: null min: null - name: threshold + name: type options: [] placeholder: null precision: null @@ -1817,174 +6538,124 @@ workflow: scope: null template: null type: string - params: - metricData: '' - threshold: '' - provider_id: apo_analysis - provider_name: apo_analysis - provider_type: builtin - selected: false - title: 趋势分析 - tool_configurations: {} - tool_label: 趋势分析 - tool_name: trend - tool_parameters: - metricData: - type: mixed - value: '{{#1741498509378.text#}}' - type: tool - height: 53 - id: '1741502729293' - parentId: '1741497176064' - position: - x: 714.6883607221529 - y: 350.869732101604 - positionAbsolute: - x: 2109.0466456352087 - y: 540.3459546042255 - selected: false - sourcePosition: right - targetPosition: left - type: custom - width: 243 - zIndex: 1002 - - data: - desc: '' - outputs: - - value_selector: - - '1741512806512' - - text - variable: text - selected: false - title: 结束 - type: end - height: 89 - id: '1741502839759' - position: - x: 5453.136568447093 - y: 290.623155579663 - positionAbsolute: - x: 5453.136568447093 - y: 290.623155579663 - selected: false - sourcePosition: right - targetPosition: left - type: custom - width: 243 - - data: - desc: '' - isInIteration: true - is_team_authorization: true - iteration_id: '1741497176064' - output_schema: null - paramSchemas: - auto_generate: null default: null form: llm human_description: - en_US: time series metric data - ja_JP: time series metric data - pt_BR: time series metric data - zh_Hans: 时序指标数据 + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) label: - en_US: metricData - ja_JP: metricData - pt_BR: metricData - zh_Hans: metricData - llm_description: Time series indicator data + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) max: null min: null - name: metricData + name: startTime options: [] placeholder: null precision: null required: true scope: null template: null - type: string + type: number - auto_generate: null default: null form: llm human_description: - en_US: threshold - ja_JP: threshold - pt_BR: threshold - zh_Hans: 趋势分析阈值 + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) label: - en_US: threshold - ja_JP: threshold - pt_BR: threshold - zh_Hans: threshold - llm_description: threshold + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) max: null min: null - name: threshold + name: endTime options: [] placeholder: null precision: null - required: false + required: true scope: null template: null - type: string + type: number params: - metricData: '' - threshold: '' - provider_id: apo_analysis - provider_name: apo_analysis + endTime: '' + pod: '' + startTime: '' + type: '' + provider_id: apo_select + provider_name: apo_select provider_type: builtin selected: false - title: 趋势分析 + title: epoll P90 tool_configurations: {} - tool_label: 趋势分析 - tool_name: trend + tool_label: Thread Polaris Metrics P90 + tool_name: 线程北极星P90数据 tool_parameters: - metricData: + endTime: + type: variable + value: + - '1741227526517' + - endTime + pod: type: mixed - value: '{{#1741498527215.text#}}' + value: '{{#17430589567120.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: + type: mixed + value: epoll type: tool - height: 53 - id: '1741506670648' - parentId: '1741497176064' + height: 54 + id: '17431493655610' position: - x: 714.6883607221529 - y: 443.869732101604 + x: 3070 + y: 1369 positionAbsolute: - x: 2109.0466456352087 - y: 633.3459546042255 + x: 3070 + y: 1369 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 - zIndex: 1002 + width: 244 - data: desc: '' - isInIteration: true is_team_authorization: true - iteration_id: '1741497176064' output_schema: null paramSchemas: - auto_generate: null default: null form: llm human_description: - en_US: time series metric data - ja_JP: time series metric data - pt_BR: time series metric data - zh_Hans: 时序指标数据 + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 label: - en_US: metricData - ja_JP: metricData - pt_BR: metricData - zh_Hans: metricData - llm_description: Time series indicator data + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name max: null min: null - name: metricData + name: pod options: [] placeholder: null precision: null - required: true + required: false scope: null template: null type: string @@ -1992,19 +6663,19 @@ workflow: default: null form: llm human_description: - en_US: threshold - ja_JP: threshold - pt_BR: threshold - zh_Hans: 趋势分析阈值 + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) label: - en_US: threshold - ja_JP: threshold - pt_BR: threshold - zh_Hans: threshold - llm_description: threshold + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) + llm_description: Type (cpu,net,file,epoll,runq) max: null min: null - name: threshold + name: type options: [] placeholder: null precision: null @@ -2012,123 +6683,98 @@ workflow: scope: null template: null type: string - params: - metricData: '' - threshold: '' - provider_id: apo_analysis - provider_name: apo_analysis - provider_type: builtin - selected: false - title: 趋势分析 - tool_configurations: {} - tool_label: 趋势分析 - tool_name: trend - tool_parameters: - metricData: - type: mixed - value: '{{#1741497181784.pod#}}' - type: tool - height: 53 - id: '1741506676593' - parentId: '1741497176064' - position: - x: 736.9644565654511 - y: 510.4168682876872 - positionAbsolute: - x: 2131.322741478507 - y: 699.8930907903087 - selected: false - sourcePosition: right - targetPosition: left - type: custom - width: 243 - zIndex: 1002 - - data: - desc: '' - isInIteration: true - is_team_authorization: true - iteration_id: '1741497176064' - output_schema: null - paramSchemas: - auto_generate: null default: null form: llm human_description: - en_US: time series metric data - ja_JP: time series metric data - pt_BR: time series metric data - zh_Hans: 时序指标数据 + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) label: - en_US: metricData - ja_JP: metricData - pt_BR: metricData - zh_Hans: metricData - llm_description: Time series indicator data + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) max: null min: null - name: metricData + name: startTime options: [] placeholder: null precision: null required: true scope: null template: null - type: string + type: number - auto_generate: null default: null form: llm human_description: - en_US: threshold - ja_JP: threshold - pt_BR: threshold - zh_Hans: 趋势分析阈值 + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) label: - en_US: threshold - ja_JP: threshold - pt_BR: threshold - zh_Hans: threshold - llm_description: threshold + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) max: null min: null - name: threshold + name: endTime options: [] placeholder: null precision: null - required: false + required: true scope: null template: null - type: string + type: number params: - metricData: '' - threshold: '' - provider_id: apo_analysis - provider_name: apo_analysis + endTime: '' + pod: '' + startTime: '' + type: '' + provider_id: apo_select + provider_name: apo_select provider_type: builtin selected: false - title: 趋势分析 + title: Runq P90 tool_configurations: {} - tool_label: 趋势分析 - tool_name: trend + tool_label: Thread Polaris Metrics P90 + tool_name: 线程北极星P90数据 tool_parameters: - metricData: + endTime: + type: variable + value: + - '1741227526517' + - endTime + pod: + type: mixed + value: '{{#17430589567120.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: type: mixed - value: '{{#1741501265259.text#}}' + value: runq type: tool - height: 53 - id: '1741506693125' - parentId: '1741497176064' + height: 54 + id: '17431493682530' position: - x: 736.9170936623195 - y: 579.6300240013376 + x: 3070 + y: 1499 positionAbsolute: - x: 2131.2753785753753 - y: 769.1062465039591 + x: 3070 + y: 1499 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 - zIndex: 1002 + width: 244 - data: desc: '' isInIteration: true @@ -2140,23 +6786,23 @@ workflow: default: null form: llm human_description: - en_US: time series metric data - ja_JP: time series metric data - pt_BR: time series metric data - zh_Hans: 时序指标数据 + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 label: - en_US: metricData - ja_JP: metricData - pt_BR: metricData - zh_Hans: metricData - llm_description: Time series indicator data + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name max: null min: null - name: metricData + name: pod options: [] placeholder: null precision: null - required: true + required: false scope: null template: null type: string @@ -2164,19 +6810,19 @@ workflow: default: null form: llm human_description: - en_US: threshold - ja_JP: threshold - pt_BR: threshold - zh_Hans: 趋势分析阈值 + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) label: - en_US: threshold - ja_JP: threshold - pt_BR: threshold - zh_Hans: threshold - llm_description: threshold + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) + llm_description: Type (cpu,net,file,epoll,runq) max: null min: null - name: threshold + name: type options: [] placeholder: null precision: null @@ -2184,231 +6830,128 @@ workflow: scope: null template: null type: string - params: - metricData: '' - threshold: '' - provider_id: apo_analysis - provider_name: apo_analysis - provider_type: builtin - selected: false - title: 趋势分析 - tool_configurations: {} - tool_label: 趋势分析 - tool_name: trend - tool_parameters: - metricData: - type: mixed - value: '{{#1741499376556.text#}}' - type: tool - height: 53 - id: '1741506702729' - parentId: '1741497176064' - position: - x: 757.5013338953919 - y: 647.741739700495 - positionAbsolute: - x: 2151.8596188084475 - y: 837.2179622031166 - selected: false - sourcePosition: right - targetPosition: left - type: custom - width: 243 - zIndex: 1002 - - data: - desc: '' - isInIteration: true - is_team_authorization: true - iteration_id: '1741497176064' - output_schema: null - paramSchemas: - auto_generate: null default: null form: llm human_description: - en_US: time series metric data - ja_JP: time series metric data - pt_BR: time series metric data - zh_Hans: 时序指标数据 + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) label: - en_US: metricData - ja_JP: metricData - pt_BR: metricData - zh_Hans: metricData - llm_description: Time series indicator data + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) max: null min: null - name: metricData + name: startTime options: [] placeholder: null precision: null required: true scope: null template: null - type: string + type: number - auto_generate: null default: null form: llm human_description: - en_US: threshold - ja_JP: threshold - pt_BR: threshold - zh_Hans: 趋势分析阈值 + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) label: - en_US: threshold - ja_JP: threshold - pt_BR: threshold - zh_Hans: threshold - llm_description: threshold + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) max: null min: null - name: threshold + name: endTime options: [] - placeholder: null - precision: null - required: false - scope: null - template: null - type: string - params: - metricData: '' - threshold: '' - provider_id: apo_analysis - provider_name: apo_analysis - provider_type: builtin - selected: false - title: 趋势分析 - tool_configurations: {} - tool_label: 趋势分析 - tool_name: trend - tool_parameters: - metricData: - type: mixed - value: '{{#1741502699500.text#}}' - type: tool - height: 53 - id: '1741506711511' - parentId: '1741497176064' - position: - x: 731.553574904796 - y: 710.0381754046111 - positionAbsolute: - x: 2125.911859817852 - y: 899.5143979072327 - selected: false - sourcePosition: right - targetPosition: left - type: custom - width: 243 - zIndex: 1002 - - data: - desc: '' - isInIteration: true - iteration_id: '1741497176064' - output_type: string - selected: false - title: 变量聚合器 - type: variable-aggregator - variables: - - - '1741502729293' - - text - - - '1741506670648' - - text - - - '1741506676593' - - text - - - '1741506693125' - - text - - - '1741506702729' - - text - - - '1741506711511' - - text - - - '1741502665376' - - output - height: 238 - id: '1741506718903' - parentId: '1741497176064' - position: - x: 1073.8586854551645 - y: 369.8785970965338 - positionAbsolute: - x: 2468.2169703682202 - y: 559.3548195991553 - selected: false - sourcePosition: right - targetPosition: left - type: custom - width: 243 - zIndex: 1002 - - data: - context: - enabled: false - variable_selector: [] - desc: '' - isInIteration: true - iteration_id: '1741497176064' - model: - completion_params: - temperature: 0.7 - mode: chat - name: deepseek-chat - provider: langgenius/deepseek/deepseek - prompt_template: - - id: cd35fff4-a037-4e72-af99-2ff8299fc5d2 - role: system - text: '' - - id: 2b2ad468-efcd-4bcc-aeb9-d53d2f2770ad - role: user - text: "# 当前程序信息\npod {{#1741497181784.pod#}}\n其发生类型{{#1741498403828.class_name#}}的变化\n\ - 变化趋势为{{#1741506718903.output#}}\n\n 注意变化趋势为true说明是抖动,为false说明剧烈变化,该类型不可忽略\n\ - # 目的\n请从变化趋势分析该服务是否有问题\n请接口指标数据和发生的异常类型,给出你认为最有课能发生问题的方向。\n如果类型,直接给出{{#1741497181784.pod#}}存在问题,\n\ - # 输出\n直接给出该服务是否出现问题的结论\n# 服务指标数据\n{{#1741497216474.text#}}\n" + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + endTime: '' + pod: '' + startTime: '' + type: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin selected: false - title: LLM 2 - type: llm - variables: [] - vision: - enabled: false - height: 89 - id: '1741506766037' + title: CPU P90分析 + tool_configurations: {} + tool_label: Thread Polaris Metrics P90 + tool_name: 线程北极星P90数据 + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + pod: + type: mixed + value: '{{#1741497181784.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: + type: mixed + value: cpu + type: tool + height: 54 + id: '1743149606391' parentId: '1741497176064' position: - x: 1419.0118583614708 - y: 389.9745550824946 + x: 1184.215435237168 + y: 391.23328277163773 positionAbsolute: - x: 2813.3701432745265 - y: 579.4507775851162 + x: 5691.541480358738 + y: 1192.9513673055594 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 + width: 244 zIndex: 1002 - data: desc: '' + isInIteration: true is_team_authorization: true + iteration_id: '1741497176064' output_schema: null paramSchemas: - auto_generate: null default: null form: llm human_description: - en_US: Specified node name - ja_JP: Specified node name - pt_BR: Specified pod name - zh_Hans: 指定的主机名称 + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 label: - en_US: node_name - ja_JP: node_name - pt_BR: node_name - zh_Hans: node_name - llm_description: Specified pod name + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name max: null min: null - name: node_name + name: pod options: [] placeholder: null precision: null - required: true + required: false scope: null template: null type: string @@ -2416,19 +6959,19 @@ workflow: default: null form: llm human_description: - en_US: Specified Process ID - ja_JP: Specified Process ID - pt_BR: Specified Process ID - zh_Hans: 指定的进程ID + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) label: - en_US: pid - ja_JP: pid - pt_BR: pid - zh_Hans: pid - llm_description: Specified Process ID + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) + llm_description: Type (cpu,net,file,epoll,runq) max: null min: null - name: pid + name: type options: [] placeholder: null precision: null @@ -2440,8 +6983,8 @@ workflow: default: null form: llm human_description: - en_US: Data query start time - ja_JP: Data query start time + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) pt_BR: Data query start time zh_Hans: 开始时间 (微秒) label: @@ -2449,7 +6992,7 @@ workflow: ja_JP: startTime pt_BR: startTime zh_Hans: startTime - llm_description: Data query start time + llm_description: Data query start time(Microsecond) max: null min: null name: startTime @@ -2464,16 +7007,16 @@ workflow: default: null form: llm human_description: - en_US: Data query end time - ja_JP: Data query end time - pt_BR: Data query end time + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) zh_Hans: 结束时间 (微秒) label: en_US: endTime ja_JP: endTime pt_BR: endTime zh_Hans: endTime - llm_description: Data query start time + llm_description: Data query end time(Microsecond) max: null min: null name: endTime @@ -2486,320 +7029,227 @@ workflow: type: number params: endTime: '' - node_name: '' - pid: '' + pod: '' startTime: '' + type: '' provider_id: apo_select provider_name: apo_select provider_type: builtin selected: false - title: 查询节点上被监控的服务列表 + title: Net P90分析 tool_configurations: {} - tool_label: 查询节点上被监控的服务列表 - tool_name: originx_service_monitor + tool_label: Thread Polaris Metrics P90 + tool_name: 线程北极星P90数据 tool_parameters: endTime: type: variable value: - '1741227526517' - endTime - node_name: + pod: type: mixed - value: '{{#1741227526517.nodeName#}}' + value: '{{#1741497181784.pod#}}' startTime: type: variable value: - '1741227526517' - startTime + type: + type: mixed + value: net type: tool - height: 53 - id: '1741508508177' - position: - x: -247.4257908482209 - y: 30.40374262430791 - positionAbsolute: - x: -247.4257908482209 - y: 30.40374262430791 - selected: false - sourcePosition: right - targetPosition: left - type: custom - width: 243 - - data: - code: "\ndef main(arg: str) -> dict:\n data = json.loads(arg)\n \ - \ \n timeseries = data[\"data\"][\"timeseries\"]\n \n pod_info\ - \ = []\n \n for item in timeseries:\n labels = item[\"\ - labels\"]\n info = {\n \"namespace\": labels.get(\"namespace\"\ - , \"\"),\n \"pod\": labels.get(\"pod\", \"\")\n }\n \ - \ info_str = json.dumps(info)\n pod_info.append(info_str)\n\ - \ return {\n \"monitor\": pod_info,\n }\n" - code_language: python3 - desc: '' - outputs: - monitor: - children: null - type: array[string] - selected: false - title: 获取服务监控列表 - type: code - variables: - - value_selector: - - '1741597274153' - - output - variable: arg - height: 53 - id: '1741509454645' - position: - x: 685.1268015573559 - y: -116.29377758571027 - positionAbsolute: - x: 685.1268015573559 - y: -116.29377758571027 - selected: false - sourcePosition: right - targetPosition: left - type: custom - width: 243 - - data: - context: - enabled: false - variable_selector: [] - desc: '' - model: - completion_params: - temperature: 0.7 - mode: chat - name: deepseek-chat - provider: langgenius/deepseek/deepseek - prompt_template: - - id: 169877de-aa4a-44db-90ef-2cc8f68882c4 - role: system - text: 你是一个可观测性领域的智能助手 - - id: c9d29276-dfa5-4042-b1c6-562260f9cc7c - role: user - text: '汇总当前系统的情况 - - {{#1741497176064.output#}} - - # 目的 - - 从当前前怀疑的根因节点信息,同时提出怀疑的方向,根据方向给出建议 - - # 输出 - - 列出服务名,并给出相关建议' - selected: false - title: LLM 3 - type: llm - variables: [] - vision: - enabled: false - height: 89 - id: '1741512806512' - position: - x: 4785.148170866247 - y: 229.4507825525987 - positionAbsolute: - x: 4785.148170866247 - y: 229.4507825525987 - selected: false - sourcePosition: right - targetPosition: left - type: custom - width: 243 - - data: - cases: - - case_id: 'true' - conditions: - - comparison_operator: empty - id: 3a1b34fd-9d82-4b24-88a5-938bd0528a2b - value: '' - varType: string - variable_selector: - - '1741594373498' - - service - - comparison_operator: not empty - id: 82010d67-eb3d-4b38-913d-cf16321398f1 - value: '' - varType: string - variable_selector: - - '1741227526517' - - nodeName - - comparison_operator: empty - id: 2e61c0d3-3104-41b2-b957-88f99ddab311 - value: '' - varType: string - variable_selector: - - '1741594373498' - - pod - id: 'true' - logical_operator: and - - case_id: 456042b9-6979-4f20-b255-14d1e41754df - conditions: - - comparison_operator: not empty - id: 751d0cc0-a1f7-4a1d-b188-e31380c4e3a3 - value: '' - varType: string - variable_selector: - - '1741594373498' - - service - - comparison_operator: empty - id: 0010de77-ddd1-4b14-be1d-b4755a0eb583 - value: '' - varType: string - variable_selector: - - '1741594373498' - - pod - id: 456042b9-6979-4f20-b255-14d1e41754df - logical_operator: and - - case_id: a687d810-ff81-4b8a-a2a4-b47b8c532039 - conditions: - - comparison_operator: not empty - id: ba128d4b-353d-4efa-833d-6ff468b246b5 - value: '' - varType: string - variable_selector: - - '1741594373498' - - pod - - comparison_operator: not empty - id: 3d377325-fbe3-4629-bf95-37196a8a43a5 - value: '' - varType: string - variable_selector: - - '1741594373498' - - namespace - id: a687d810-ff81-4b8a-a2a4-b47b8c532039 - logical_operator: and - desc: '' - selected: false - title: 条件分支 - type: if-else - height: 325 - id: '1741592086921' - position: - x: -774.8309098969905 - y: -4.710416810258039 - positionAbsolute: - x: -774.8309098969905 - y: -4.710416810258039 - selected: false - sourcePosition: right - targetPosition: left - type: custom - width: 243 - - data: - desc: '' - selected: false - template: 服务和节点信息均为空,目前暂时无法分析根因 - title: 模板转换 2 - type: template-transform - variables: [] - height: 53 - id: '1741592094819' + height: 54 + id: '1743150910103' + parentId: '1741497176064' position: - x: -197.1978677863928 - y: 320.9672037476066 + x: 1183.3553424127522 + y: 574.6824876720586 positionAbsolute: - x: -197.1978677863928 - y: 320.9672037476066 + x: 5690.681387534322 + y: 1376.4005722059803 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 + width: 244 + zIndex: 1002 - data: desc: '' - outputs: - - value_selector: - - '1741592094819' - - output - variable: output + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) + label: + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) + llm_description: Type (cpu,net,file,epoll,runq) + max: null + min: null + name: type + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + endTime: '' + pod: '' + startTime: '' + type: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin selected: false - title: 结束 2 - type: end - height: 89 - id: '1741592144815' - position: - x: 106.8021322136072 - y: 320.9672037476066 - positionAbsolute: - x: 106.8021322136072 - y: 320.9672037476066 - selected: false - sourcePosition: right - targetPosition: left - type: custom - width: 243 - - data: - code: "\ndef get_value(data, keys):\n for key in keys:\n value =\ - \ data.get(key)\n if value is not None:\n return value\n\ - \ return \"\"\n\nimport json\ndef main(arg: str) -> dict:\n data =\ - \ json.loads(arg)\n return {\n \"service\": get_value(data, [\"\ - svc_name\", \"service\"]),\n \"endpoint\": get_value(data,[\"endpoint\"\ - , \"content_key\"]),\n \"pod\": get_value(data, [\"pod\"]),\n \ - \ \"namespace\": get_value(data, [\"namespace\"])\n }\n" - code_language: python3 - desc: '' - outputs: - endpoint: - children: null - type: string - namespace: - children: null - type: string + title: FILE P90分析 + tool_configurations: {} + tool_label: Thread Polaris Metrics P90 + tool_name: 线程北极星P90数据 + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime pod: - children: null - type: string - service: - children: null - type: string - selected: false - title: 参数获取 - type: code - variables: - - value_selector: - - '1741227526517' - - params - variable: arg - height: 53 - id: '1741594373498' + type: mixed + value: '{{#1741497181784.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: + type: mixed + value: file + type: tool + height: 54 + id: '1743152043813' + parentId: '1741497176064' position: - x: -1157.0364551459677 - y: 1.3437486094946962 + x: 1156.6165679157248 + y: 475.1754672301147 positionAbsolute: - x: -1157.0364551459677 - y: 1.3437486094946962 + x: 5663.942613037295 + y: 1276.8935517640364 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 + width: 244 + zIndex: 1002 - data: desc: '' + isInIteration: true is_team_authorization: true + iteration_id: '1741497176064' output_schema: null paramSchemas: - auto_generate: null default: null form: llm human_description: - en_US: Specified service name - ja_JP: Specified service name - pt_BR: Specified service name - zh_Hans: 指定的服务名 + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 label: - en_US: service_name - ja_JP: service_name - pt_BR: service_name - zh_Hans: service_name - llm_description: Specified service name + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name max: null min: null - name: service_name + name: pod options: [] placeholder: null precision: null - required: true + required: false scope: null template: null type: string @@ -2807,8 +7257,32 @@ workflow: default: null form: llm human_description: - en_US: Data query start time - ja_JP: Data query start time + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) + label: + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) + llm_description: Type (cpu,net,file,epoll,runq) + max: null + min: null + name: type + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) pt_BR: Data query start time zh_Hans: 开始时间 (微秒) label: @@ -2816,7 +7290,7 @@ workflow: ja_JP: startTime pt_BR: startTime zh_Hans: startTime - llm_description: Data query start time + llm_description: Data query start time(Microsecond) max: null min: null name: startTime @@ -2831,16 +7305,16 @@ workflow: default: null form: llm human_description: - en_US: Data query end time - ja_JP: Data query end time - pt_BR: Data query end time + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) zh_Hans: 结束时间 (微秒) label: en_US: endTime ja_JP: endTime pt_BR: endTime zh_Hans: endTime - llm_description: Data query start time + llm_description: Data query end time(Microsecond) max: null min: null name: endTime @@ -2853,109 +7327,200 @@ workflow: type: number params: endTime: '' - service_name: '' + pod: '' startTime: '' + type: '' provider_id: apo_select provider_name: apo_select provider_type: builtin selected: false - title: 列出该服务下的所有实例 + title: EPOLL P90分析 tool_configurations: {} - tool_label: 列出该服务下的所有实例 - tool_name: originx_service_instance + tool_label: Thread Polaris Metrics P90 + tool_name: 线程北极星P90数据 tool_parameters: endTime: type: variable value: - '1741227526517' - endTime - service_name: + pod: type: mixed - value: '{{#1741594373498.service#}}' + value: '{{#1741497181784.pod#}}' startTime: type: variable value: - '1741227526517' - startTime + type: + type: mixed + value: epoll type: tool - height: 53 - id: '1741597223833' - position: - x: -294.32927017894997 - y: 157.59734137834707 - positionAbsolute: - x: -294.32927017894997 - y: 157.59734137834707 - selected: false - sourcePosition: right - targetPosition: left - type: custom - width: 243 - - data: - desc: '' - output_type: string - selected: false - title: 变量聚合器 2 - type: variable-aggregator - variables: - - - '1741508508177' - - text - - - '1741597223833' - - text - - - '1741599658821' - - result - height: 150 - id: '1741597274153' + height: 54 + id: '1743152103020' + parentId: '1741497176064' position: - x: 193.14802823419802 - y: -202.82454235582486 + x: 1180.802273988861 + y: 721.6803898302928 positionAbsolute: - x: 193.14802823419802 - y: -202.82454235582486 + x: 5688.128319110431 + y: 1523.3984743642145 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 + width: 244 + zIndex: 1002 - data: - code: "\nimport json\ndef main(arg1: str, arg2: str) -> dict:\n data =\ - \ {\n \"data\": {\n \"timeseries\": [\n \ - \ {\n \"labels\": {\n \"namespace\"\ - : arg2,\n \"pod\": arg1,\n }\n\ - \ }\n ]\n }\n }\n return {\n \ - \ \"result\": json.dumps(data),\n }\n" - code_language: python3 desc: '' - outputs: - result: - children: null - type: string + isInIteration: true + is_team_authorization: true + iteration_id: '1741497176064' + output_schema: null + paramSchemas: + - auto_generate: null + default: null + form: llm + human_description: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + label: + en_US: Pod name + ja_JP: Pod name + pt_BR: Pod name + zh_Hans: Pod名称 + llm_description: Pod name + max: null + min: null + name: pod + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) + label: + en_US: Type (cpu,net,file,epoll,runq) + ja_JP: Type (cpu,net,file,epoll,runq) + pt_BR: Type (cpu,net,file,epoll,runq) + zh_Hans: 线程执行类型(cpu,net,file,epoll,runq) + llm_description: Type (cpu,net,file,epoll,runq) + max: null + min: null + name: type + options: [] + placeholder: null + precision: null + required: false + scope: null + template: null + type: string + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query start time(Microsecond) + ja_JP: Data query start time(Microsecond) + pt_BR: Data query start time + zh_Hans: 开始时间 (微秒) + label: + en_US: startTime + ja_JP: startTime + pt_BR: startTime + zh_Hans: startTime + llm_description: Data query start time(Microsecond) + max: null + min: null + name: startTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + - auto_generate: null + default: null + form: llm + human_description: + en_US: Data query end time(Microsecond) + ja_JP: Data query end time(Microsecond) + pt_BR: Data query end time(Microsecond) + zh_Hans: 结束时间 (微秒) + label: + en_US: endTime + ja_JP: endTime + pt_BR: endTime + zh_Hans: endTime + llm_description: Data query end time(Microsecond) + max: null + min: null + name: endTime + options: [] + placeholder: null + precision: null + required: true + scope: null + template: null + type: number + params: + endTime: '' + pod: '' + startTime: '' + type: '' + provider_id: apo_select + provider_name: apo_select + provider_type: builtin selected: false - title: 代码执行 4 - type: code - variables: - - value_selector: - - '1741594373498' - - pod - variable: arg1 - - value_selector: - - '1741594373498' - - namespace - variable: arg2 - height: 53 - id: '1741599658821' + title: RUNQ P90分析 + tool_configurations: {} + tool_label: Thread Polaris Metrics P90 + tool_name: 线程北极星P90数据 + tool_parameters: + endTime: + type: variable + value: + - '1741227526517' + - endTime + pod: + type: mixed + value: '{{#1741497181784.pod#}}' + startTime: + type: variable + value: + - '1741227526517' + - startTime + type: + type: mixed + value: runq + type: tool + height: 54 + id: '1743152169252' + parentId: '1741497176064' position: - x: -247.4257908482209 - y: 229.4507825525987 + x: 1185.1766094380573 + y: 848.576845109292 positionAbsolute: - x: -247.4257908482209 - y: 229.4507825525987 + x: 5692.502654559627 + y: 1650.2949296432137 selected: false sourcePosition: right targetPosition: left type: custom - width: 243 + width: 244 + zIndex: 1002 viewport: - x: 728.0843922944858 - y: 258.48402054971007 - zoom: 0.3789291416275996 + x: -569.8149689320526 + y: -16.852750271002947 + zoom: 0.25