Skip to content

Commit

Permalink
Fix es, mysql, rabbitmq dashboards typos and missing expressions. (ap…
Browse files Browse the repository at this point in the history
  • Loading branch information
weixiang1862 authored Jul 17, 2024
1 parent 9c5f4ab commit bd86b26
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 9 deletions.
1 change: 1 addition & 0 deletions docs/en/changes/changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
* Support aggregation operators in PromQL query.
* Update the kubernetes HTTP latency related metrics source unit from `ns` to `ms`.
* Support BanyanDB internal stream query execution tracing.
* Fix es, mysql, rabbitmq dashboards typos and missing expressions.

#### UI

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ metricsRules:

## cache and temporary file
- name: cache_hit_rate
exp: (pg_stat_database_blks_hit*100 / (pg_stat_database_blks_read + pg_stat_database_blks_hit)).sum(['service_instance_id','host_name'])
exp: (pg_stat_database_blks_hit*100 / (pg_stat_database_blks_read + pg_stat_database_blks_hit)).avg(['service_instance_id','host_name'])
- name: temporary_files_rate
exp: pg_stat_database_temp_bytes.sum(['service_instance_id','host_name']).rate('PT1M')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,10 @@
},
"widget": {
"title": "Documents (Primary Shards)"
}
},
"expressions": [
"meter_elasticsearch_index_indices_docs_primary"
]
},
{
"x": 8,
Expand All @@ -408,7 +411,10 @@
},
"widget": {
"title": "Documents Created Per Min (Primary Shards)"
}
},
"expressions": [
"meter_elasticsearch_index_indices_docs_primary_rate"
]
},
{
"x": 16,
Expand Down Expand Up @@ -584,7 +590,7 @@
"title": "Deleted Documents Count (Primary Shard)"
},
"expressions": [
"latest(meter_elasticsearch_index_indices_docs_primary)"
"latest(meter_elasticsearch_index_indices_deleted_docs_primary)"
]
},
{
Expand Down Expand Up @@ -627,7 +633,10 @@
},
"widget": {
"title": "Shards Documents"
}
},
"expressions": [
"meter_elasticsearch_index_indices_shards_docs"
]
}
],
"layer": "ELASTICSEARCH",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@
}
],
"expressions": [
"meter_mysql_slow_queries_rate"
"meter_mysql_instance_slow_queries_rate"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@
"title": "Cache Hit Rate (%)"
},
"expressions": [
"aggregate_labels(meter_pg_cache_hit_rate,sum)"
"aggregate_labels(meter_pg_cache_hit_rate,avg)"
],
"metricConfig": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"showUnit": true
},
"widget": {
"title": "Collections"
"title": "Connections"
},
"expressions": [
"latest(meter_rabbitmq_node_connections_total)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
}
],
"expressions": [
"aggregate_labels(meter_redis_hit_rate,sum)"
"aggregate_labels(meter_redis_hit_rate,avg)"
]
},
{
Expand Down

0 comments on commit bd86b26

Please sign in to comment.