Skip to content

Commit

Permalink
Merge pull request #811 from kubecost/develop
Browse files Browse the repository at this point in the history
Merge develop into master
  • Loading branch information
AjayTripathy authored Mar 9, 2021
2 parents 7af224b + 959a574 commit b18212b
Show file tree
Hide file tree
Showing 16 changed files with 416 additions and 211 deletions.
4 changes: 2 additions & 2 deletions cost-analyzer/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
appVersion: "1.75.1"
appVersion: "1.76.0"
description: A Helm chart that sets up Kubecost, Prometheus, and Grafana to monitor
cloud costs.
name: cost-analyzer
version: 1.75.1
version: 1.76.0
29 changes: 24 additions & 5 deletions cost-analyzer/attached-disks.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "default-kubecost",
"datasource": "${datasource}",
"fill": 1,
"gridPos": {
"h": 9,
Expand Down Expand Up @@ -107,7 +107,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "default-kubecost",
"datasource": "${datasource}",
"fill": 1,
"gridPos": {
"h": 9,
Expand Down Expand Up @@ -191,7 +191,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "default-kubecost",
"datasource": "${datasource}",
"fill": 1,
"gridPos": {
"h": 9,
Expand Down Expand Up @@ -275,7 +275,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "default-kubecost",
"datasource": "${datasource}",
"fill": 1,
"gridPos": {
"h": 9,
Expand Down Expand Up @@ -369,7 +369,7 @@
"text": "All",
"value": "$__all"
},
"datasource": "default-kubecost",
"datasource": "${datasource}",
"hide": 0,
"includeAll": true,
"label": null,
Expand All @@ -386,6 +386,25 @@
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {
"selected": true,
"text": "default-kubecost",
"value": "default-kubecost"
},
"error": null,
"hide": 0,
"includeAll": false,
"label": null,
"multi": false,
"name": "datasource",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
}
]
},
Expand Down
49 changes: 34 additions & 15 deletions cost-analyzer/cluster-metrics.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "default-kubecost",
"datasource": "${datasource}",
"decimals": 2,
"description": "Monthly run rate of CPU + GPU costs based on currently provisioned resources.",
"format": "currencyUSD",
Expand Down Expand Up @@ -132,7 +132,7 @@
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "default-kubecost",
"datasource": "${datasource}",
"decimals": 2,
"description": "Monthly run rate of memory costs based on currently provisioned expenses.",
"format": "currencyUSD",
Expand Down Expand Up @@ -220,7 +220,7 @@
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "default-kubecost",
"datasource": "${datasource}",
"decimals": 2,
"description": "Monthly run rate of attached storage and PV costs based on currently provisioned resources.",
"format": "currencyUSD",
Expand Down Expand Up @@ -308,7 +308,7 @@
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "default-kubecost",
"datasource": "${datasource}",
"decimals": 2,
"description": "Sum of compute, memory, storage and network costs.",
"format": "currencyUSD",
Expand Down Expand Up @@ -396,7 +396,7 @@
"rgba(50, 172, 45, 0.97)",
"#c15c17"
],
"datasource": "default-kubecost",
"datasource": "${datasource}",
"decimals": 2,
"description": "Current CPU use from applications divided by allocatable CPUs",
"editable": true,
Expand Down Expand Up @@ -486,7 +486,7 @@
"rgba(50, 172, 45, 0.97)",
"#c15c17"
],
"datasource": "default-kubecost",
"datasource": "${datasource}",
"decimals": 2,
"description": "Current CPU reservation requests from applications vs allocatable CPU",
"editable": true,
Expand Down Expand Up @@ -574,7 +574,7 @@
"rgba(50, 172, 45, 0.97)",
"#c15c17"
],
"datasource": "default-kubecost",
"datasource": "${datasource}",
"description": "Current RAM use vs RAM available",
"editable": true,
"error": false,
Expand Down Expand Up @@ -670,7 +670,7 @@
"rgba(50, 172, 45, 0.97)",
"#c15c17"
],
"datasource": "default-kubecost",
"datasource": "${datasource}",
"description": "Current RAM requests vs RAM available",
"editable": true,
"error": false,
Expand Down Expand Up @@ -758,7 +758,7 @@
"rgba(50, 172, 45, 0.97)",
"#c15c17"
],
"datasource": "default-kubecost",
"datasource": "${datasource}",
"decimals": 2,
"description": "This gauge shows the current standard storage use, including cluster storage, vs storage available",
"editable": true,
Expand Down Expand Up @@ -844,7 +844,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "default-kubecost",
"datasource": "${datasource}",
"description": "Monthly run rate of CPU + GPU costs",
"fill": 1,
"gridPos": {
Expand Down Expand Up @@ -930,7 +930,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "default-kubecost",
"datasource": "${datasource}",
"description": "Monthly run rate of memory costs",
"fill": 1,
"gridPos": {
Expand Down Expand Up @@ -1016,7 +1016,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "default-kubecost",
"datasource": "${datasource}",
"description": "Monthly run rate of attached disk + PV storage costs",
"fill": 1,
"gridPos": {
Expand Down Expand Up @@ -1102,7 +1102,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "default-kubecost",
"datasource": "${datasource}",
"description": "Sum of compute, memory, and storage costs",
"fill": 1,
"gridPos": {
Expand Down Expand Up @@ -1185,7 +1185,7 @@
},
{
"columns": [],
"datasource": "default-kubecost",
"datasource": "${datasource}",
"description": "Cost of by resource class of currently provisioned nodes",
"fontSize": "100%",
"gridPos": {
Expand Down Expand Up @@ -1372,7 +1372,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "default-kubecost",
"datasource": "${datasource}",
"description": "Monthly run rate of attached disk + PV storage costs based on currently provisioned resources.",
"fill": 1,
"gridPos": {
Expand Down Expand Up @@ -1624,6 +1624,25 @@
"query": ".12",
"skipUrlSync": false,
"type": "constant"
},
{
"current": {
"selected": true,
"text": "default-kubecost",
"value": "default-kubecost"
},
"error": null,
"hide": 0,
"includeAll": false,
"label": null,
"multi": false,
"name": "datasource",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
}
]
},
Expand Down
Loading

0 comments on commit b18212b

Please sign in to comment.