Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[collector] support trigger and grading multiple subtasks through -_- placeholder expression #418

Merged
merged 3 commits into from
Nov 6, 2022

Conversation

tomsun28
Copy link
Contributor

@tomsun28 tomsun28 commented Nov 6, 2022

No description provided.

@tomsun28 tomsun28 added enhancement New feature or request good first pull request Good for newcomers labels Nov 6, 2022
@tomsun28
Copy link
Contributor Author

tomsun28 commented Nov 6, 2022

Before, we can run the task to obtain the pre-index parameters in a monitoring, and then assign this index as a variable to the next collection task. For example, we first log in with the account and password to obtain the token, and then use the token for the next task to authenticate.

But, In some case, eg: we need to collect multiple docker ids, and then traverse these ids to request the http api to obtain container detail info. The key here is that there are multiple ids, that is, there will be multiple task collections in the next step.

That's what this PR is trying to solve.

When the pre ids is multi, we trigger multiple subtasks thread to collect it, and merge their response data at the end.

@tomsun28 tomsun28 merged commit 145ab43 into dev Nov 6, 2022
@tomsun28 tomsun28 deleted the subtask branch November 6, 2022 14:51
tomsun28 added a commit that referenced this pull request Nov 6, 2022
… placeholder expression (#418)

* [collector] support more powerful replace placeholder ^_^ and -_-

* [collector] support trigger and grading multiple subtasks through -_- placeholder expression
tomsun28 added a commit that referenced this pull request Jan 16, 2024
… placeholder expression (#418)

* [collector] support more powerful replace placeholder ^_^ and -_-

* [collector] support trigger and grading multiple subtasks through -_- placeholder expression
tomsun28 added a commit that referenced this pull request Mar 9, 2024
… placeholder expression (#418)

* [collector] support more powerful replace placeholder ^_^ and -_-

* [collector] support trigger and grading multiple subtasks through -_- placeholder expression
tomsun28 added a commit that referenced this pull request Mar 9, 2024
… placeholder expression (#418)

* [collector] support more powerful replace placeholder ^_^ and -_-

* [collector] support trigger and grading multiple subtasks through -_- placeholder expression
tomsun28 added a commit that referenced this pull request Mar 10, 2024
… placeholder expression (#418)

  [collector] support more powerful replace placeholder ^_^ and -_-

  [collector] support trigger and grading multiple subtasks through -_- placeholder expression
tomsun28 added a commit that referenced this pull request Mar 10, 2024
… placeholder expression (#418)

  [collector] support more powerful replace placeholder ^_^ and -_-

  [collector] support trigger and grading multiple subtasks through -_- placeholder expression
tomsun28 added a commit that referenced this pull request Mar 11, 2024
… placeholder expression (#418)

  [collector] support more powerful replace placeholder ^_^ and -_-

  [collector] support trigger and grading multiple subtasks through -_- placeholder expression
tomsun28 added a commit that referenced this pull request Mar 11, 2024
… placeholder expression (#418)

  [collector] support more powerful replace placeholder ^_^ and -_-

  [collector] support trigger and grading multiple subtasks through -_- placeholder expression
tomsun28 added a commit that referenced this pull request Mar 11, 2024
… placeholder expression (#418)

  [collector] support more powerful replace placeholder ^_^ and -_-

  [collector] support trigger and grading multiple subtasks through -_- placeholder expression
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first pull request Good for newcomers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant