Skip to content

Commit

Permalink
[dashboard] fix cf size related panels
Browse files Browse the repository at this point in the history
There was a rename of the metrics for RocksDB properties.

Closes: aptos-labs#229
  • Loading branch information
msmouse authored and aptos-bot committed Mar 17, 2022
1 parent 7e627c4 commit 729b958
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion execution/executor-benchmark/src/db_generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ pub fn run(
])
.get();
let data_size = DIEM_STORAGE_ROCKSDB_PROPERTIES
.with_label_values(&[JELLYFISH_MERKLE_NODE_CF_NAME, "aptos_rocksdb_cf_size_bytes"])
.with_label_values(&[JELLYFISH_MERKLE_NODE_CF_NAME, "aptos_rocksdb_total-sst-files-size"])
.get();
let reads = DIEM_JELLYFISH_STORAGE_READS.get();
let leaf_bytes = DIEM_JELLYFISH_LEAF_ENCODED_BYTES.get();
Expand Down
36 changes: 18 additions & 18 deletions terraform/helm/validator/files/dashboards/storage.json
Original file line number Diff line number Diff line change
Expand Up @@ -19263,7 +19263,7 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by (owner, kubernetes_pod_name) (aptos_rocksdb_properties{property_name=\"aptos_rocksdb_cf_size_bytes\", owner=~\"$owner\", role=~\"$role\", cf_name=~\"$cf_name\"})",
"expr": "sum by (owner, kubernetes_pod_name) (aptos_rocksdb_properties{property_name=\"aptos_rocksdb_total-sst-files-size\", owner=~\"$owner\", role=~\"$role\", cf_name=~\"$cf_name\"})",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
Expand Down Expand Up @@ -19373,7 +19373,7 @@
"steppedLine": false,
"targets": [
{
"expr": "aptos_rocksdb_properties{property_name=\"aptos_rocksdb_cf_size_bytes\", owner=~\"$owner\", role=~\"$role\", cf_name=\"$cf_name\"}",
"expr": "aptos_rocksdb_properties{property_name=\"aptos_rocksdb_total-sst-files-size\", owner=~\"$owner\", role=~\"$role\", cf_name=\"$cf_name\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
Expand Down Expand Up @@ -19483,7 +19483,7 @@
"steppedLine": false,
"targets": [
{
"expr": "aptos_rocksdb_properties{property_name=\"aptos_rocksdb_cf_size_bytes\", owner=~\"$owner\", role=~\"$role\", cf_name=\"$cf_name\"}",
"expr": "aptos_rocksdb_properties{property_name=\"aptos_rocksdb_total-sst-files-size\", owner=~\"$owner\", role=~\"$role\", cf_name=\"$cf_name\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
Expand Down Expand Up @@ -19592,7 +19592,7 @@
"steppedLine": false,
"targets": [
{
"expr": "aptos_rocksdb_properties{property_name=\"aptos_rocksdb_cf_size_bytes\", owner=~\"$owner\", role=~\"$role\", cf_name=\"$cf_name\"}",
"expr": "aptos_rocksdb_properties{property_name=\"aptos_rocksdb_total-sst-files-size\", owner=~\"$owner\", role=~\"$role\", cf_name=\"$cf_name\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
Expand Down Expand Up @@ -19702,7 +19702,7 @@
"steppedLine": false,
"targets": [
{
"expr": "aptos_rocksdb_properties{property_name=\"aptos_rocksdb_cf_size_bytes\", owner=~\"$owner\", role=~\"$role\", cf_name=\"$cf_name\"}",
"expr": "aptos_rocksdb_properties{property_name=\"aptos_rocksdb_total-sst-files-size\", owner=~\"$owner\", role=~\"$role\", cf_name=\"$cf_name\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
Expand Down Expand Up @@ -19812,7 +19812,7 @@
"steppedLine": false,
"targets": [
{
"expr": "aptos_rocksdb_properties{property_name=\"aptos_rocksdb_cf_size_bytes\", owner=~\"$owner\", role=~\"$role\", cf_name=\"$cf_name\"}",
"expr": "aptos_rocksdb_properties{property_name=\"aptos_rocksdb_total-sst-files-size\", owner=~\"$owner\", role=~\"$role\", cf_name=\"$cf_name\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
Expand Down Expand Up @@ -19922,7 +19922,7 @@
"steppedLine": false,
"targets": [
{
"expr": "aptos_rocksdb_properties{property_name=\"aptos_rocksdb_cf_size_bytes\", owner=~\"$owner\", role=~\"$role\", cf_name=\"$cf_name\"}",
"expr": "aptos_rocksdb_properties{property_name=\"aptos_rocksdb_total-sst-files-size\", owner=~\"$owner\", role=~\"$role\", cf_name=\"$cf_name\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
Expand Down Expand Up @@ -20032,7 +20032,7 @@
"steppedLine": false,
"targets": [
{
"expr": "aptos_rocksdb_properties{property_name=\"aptos_rocksdb_cf_size_bytes\", owner=~\"$owner\", role=~\"$role\", cf_name=\"$cf_name\"}",
"expr": "aptos_rocksdb_properties{property_name=\"aptos_rocksdb_total-sst-files-size\", owner=~\"$owner\", role=~\"$role\", cf_name=\"$cf_name\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
Expand Down Expand Up @@ -20142,7 +20142,7 @@
"steppedLine": false,
"targets": [
{
"expr": "aptos_rocksdb_properties{property_name=\"aptos_rocksdb_cf_size_bytes\", owner=~\"$owner\", role=~\"$role\", cf_name=\"$cf_name\"}",
"expr": "aptos_rocksdb_properties{property_name=\"aptos_rocksdb_total-sst-files-size\", owner=~\"$owner\", role=~\"$role\", cf_name=\"$cf_name\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
Expand Down Expand Up @@ -20252,7 +20252,7 @@
"steppedLine": false,
"targets": [
{
"expr": "aptos_rocksdb_properties{property_name=\"aptos_rocksdb_cf_size_bytes\", owner=~\"$owner\", role=~\"$role\", cf_name=\"$cf_name\"}",
"expr": "aptos_rocksdb_properties{property_name=\"aptos_rocksdb_total-sst-files-size\", owner=~\"$owner\", role=~\"$role\", cf_name=\"$cf_name\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
Expand Down Expand Up @@ -20362,7 +20362,7 @@
"steppedLine": false,
"targets": [
{
"expr": "aptos_rocksdb_properties{property_name=\"aptos_rocksdb_cf_size_bytes\", owner=~\"$owner\", role=~\"$role\", cf_name=\"$cf_name\"}",
"expr": "aptos_rocksdb_properties{property_name=\"aptos_rocksdb_total-sst-files-size\", owner=~\"$owner\", role=~\"$role\", cf_name=\"$cf_name\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
Expand Down Expand Up @@ -20472,7 +20472,7 @@
"steppedLine": false,
"targets": [
{
"expr": "aptos_rocksdb_properties{property_name=\"aptos_rocksdb_cf_size_bytes\", owner=~\"$owner\", role=~\"$role\", cf_name=\"$cf_name\"}",
"expr": "aptos_rocksdb_properties{property_name=\"aptos_rocksdb_total-sst-files-size\", owner=~\"$owner\", role=~\"$role\", cf_name=\"$cf_name\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
Expand Down Expand Up @@ -20582,7 +20582,7 @@
"steppedLine": false,
"targets": [
{
"expr": "aptos_rocksdb_properties{property_name=\"aptos_rocksdb_cf_size_bytes\", owner=~\"$owner\", role=~\"$role\", cf_name=\"$cf_name\"}",
"expr": "aptos_rocksdb_properties{property_name=\"aptos_rocksdb_total-sst-files-size\", owner=~\"$owner\", role=~\"$role\", cf_name=\"$cf_name\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
Expand Down Expand Up @@ -20692,7 +20692,7 @@
"steppedLine": false,
"targets": [
{
"expr": "aptos_rocksdb_properties{property_name=\"aptos_rocksdb_cf_size_bytes\", owner=~\"$owner\", role=~\"$role\", cf_name=\"$cf_name\"}",
"expr": "aptos_rocksdb_properties{property_name=\"aptos_rocksdb_total-sst-files-size\", owner=~\"$owner\", role=~\"$role\", cf_name=\"$cf_name\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
Expand Down Expand Up @@ -20802,7 +20802,7 @@
"steppedLine": false,
"targets": [
{
"expr": "aptos_rocksdb_properties{property_name=\"aptos_rocksdb_cf_size_bytes\", owner=~\"$owner\", role=~\"$role\", cf_name=\"$cf_name\"}",
"expr": "aptos_rocksdb_properties{property_name=\"aptos_rocksdb_total-sst-files-size\", owner=~\"$owner\", role=~\"$role\", cf_name=\"$cf_name\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
Expand Down Expand Up @@ -20912,7 +20912,7 @@
"steppedLine": false,
"targets": [
{
"expr": "aptos_rocksdb_properties{property_name=\"aptos_rocksdb_cf_size_bytes\", owner=~\"$owner\", role=~\"$role\", cf_name=\"$cf_name\"}",
"expr": "aptos_rocksdb_properties{property_name=\"aptos_rocksdb_total-sst-files-size\", owner=~\"$owner\", role=~\"$role\", cf_name=\"$cf_name\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
Expand Down Expand Up @@ -21231,7 +21231,7 @@
"steppedLine": false,
"targets": [
{
"expr": "aptos_rocksdb_properties{property_name=\"aptos_rocksdb_cf_size_bytes\", owner=~\"$owner\", role=~\"$role\", cf_name=\"jellyfish_merkle_node\"}",
"expr": "aptos_rocksdb_properties{property_name=\"aptos_rocksdb_total-sst-files-size\", owner=~\"$owner\", role=~\"$role\", cf_name=\"jellyfish_merkle_node\"}",
"interval": "",
"legendFormat": "{{owner}} {{kubernetes_pod_name}} rocksdb",
"refId": "A"
Expand Down Expand Up @@ -21438,7 +21438,7 @@
"steppedLine": false,
"targets": [
{
"expr": "avg by(cf_name)(aptos_rocksdb_properties{property_name=\"aptos_rocksdb_cf_size_bytes\", owner=~\"$owner\", role=~\"$role\"})",
"expr": "avg by(cf_name)(aptos_rocksdb_properties{property_name=\"aptos_rocksdb_total-sst-files-size\", owner=~\"$owner\", role=~\"$role\"})",
"format": "time_series",
"hide": false,
"instant": false,
Expand Down
Binary file modified terraform/helm/validator/files/dashboards/storage.json.gz
Binary file not shown.

0 comments on commit 729b958

Please sign in to comment.