Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Arkindex
Frontend
Merge requests
!1834
Show worker costs
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Show worker costs
costs
into
release-1.7.2
Overview
4
Commits
4
Pipelines
0
Changes
4
All threads resolved!
Hide all comments
Merged
ml bonhomme
requested to merge
costs
into
release-1.7.2
2 months ago
Overview
4
Commits
4
Pipelines
0
Changes
4
All threads resolved!
Hide all comments
Expand
closes
#1527 (closed)
requires
backend!2514 (merged)
0
0
Merge request reports
Viewing commit
e2a31561
Prev
Next
Show latest version
4 files
+
7
−
7
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
e2a31561
costs are string
· e2a31561
ml bonhomme
authored
2 months ago
src/components/Process/Workers/WorkerRuns/WorkerTag.vue
+
1
−
1
Options
@@ -33,7 +33,7 @@ export default defineComponent({
return
WORKER_TYPE_COLORS
[
this
.
workerType
]?.
cssClass
??
WORKER_TYPE_COLORS
.
default
.
cssClass
},
hasCost
()
{
return
this
.
worker
.
cost_gpu_hour
|
this
.
worker
.
cost_cpu_hour
|
this
.
worker
.
cost_1k_elements
return
parseFloat
(
this
.
worker
.
cost_gpu_hour
)
>
0
||
parseFloat
(
this
.
worker
.
cost_cpu_hour
)
>
0
||
parseFloat
(
this
.
worker
.
cost_1k_elements
)
>
0
}
}
})
Loading