-
Notifications
You must be signed in to change notification settings - Fork 505
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10294 from fcfang123/issue-10232
feat:获取job执行最大并发/项目活跃用户度量数据 #10232
- Loading branch information
Showing
34 changed files
with
383 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...ics/api-metrics/src/main/kotlin/com/tencent/devops/metrics/pojo/vo/MaxJobConcurrencyVO.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package com.tencent.devops.metrics.pojo.vo | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema | ||
|
||
@Schema(title = "JOB执行最大并发") | ||
data class MaxJobConcurrencyVO( | ||
@get:Schema(title = "项目ID") | ||
val projectId: String, | ||
@get:Schema(title = "VM最大并发") | ||
val dockerVm: Int, | ||
@get:Schema(title = "DevCloud-Linux最大并发") | ||
val dockerDevcloud: Int, | ||
@get:Schema(title = "DevCloud-macOS最大并发") | ||
val macosDevcloud: Int, | ||
@get:Schema(title = "DevCloud-Windows最大并发") | ||
val windowsDevcloud: Int, | ||
@get:Schema(title = "无编译环境最大并发") | ||
val buildLess: Int, | ||
@get:Schema(title = "第三方构建机最大并发") | ||
val other: Int | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...rics/api-metrics/src/main/kotlin/com/tencent/devops/metrics/pojo/vo/ProjectUserCountV0.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package com.tencent.devops.metrics.pojo.vo | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema | ||
|
||
@Schema(title = "项目活跃用户数") | ||
data class ProjectUserCountV0( | ||
@get:Schema(title = "项目ID") | ||
val projectId: String, | ||
@get:Schema(title = "用户数") | ||
val userCount: Int, | ||
@get:Schema(title = "用户名单") | ||
val users: String | ||
) |
Oops, something went wrong.