Skip to content

Commit 7be0f55

Browse files
committed
Updated the db_config V1 metric to the new database_syncer_config V2 metric.
1 parent 50342e5 commit 7be0f55

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

redis_enterprise_prometheus/assets/dashboards/redis_enterprise-prometheus_database.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
{
120120
"data_source": "metrics",
121121
"name": "query1",
122-
"query": "avg:rdse2.db_config{*} by {cluster,db_name,db}",
122+
"query": "avg:rdse2.database_syncer_config{*} by {cluster,db_name,db}",
123123
"aggregator": "avg"
124124
}
125125
],
@@ -720,4 +720,4 @@
720720
"layout_type": "ordered",
721721
"notify_list": [],
722722
"reflow_type": "fixed"
723-
}
723+
}

redis_enterprise_prometheus/assets/dashboards/redis_enterprise-prometheus_overview.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
{
4646
"data_source": "metrics",
4747
"name": "query1",
48-
"query": "avg:rdse2.db_config{$cluster} by {cluster,db_name}",
48+
"query": "avg:rdse2.database_syncer_config{$cluster} by {cluster,db_name}",
4949
"aggregator": "avg"
5050
}
5151
],
@@ -1060,7 +1060,7 @@
10601060
{
10611061
"data_source": "metrics",
10621062
"name": "query1",
1063-
"query": "count:rdse2.db_config{$cluster}",
1063+
"query": "count:rdse2.database_syncer_config{$cluster}",
10641064
"aggregator": "last"
10651065
}
10661066
],
@@ -1104,4 +1104,4 @@
11041104
"layout_type": "ordered",
11051105
"notify_list": [],
11061106
"reflow_type": "fixed"
1107-
}
1107+
}

redis_enterprise_prometheus/metadata.csv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ rdse2.database_syncer_state,gauge,30,entry,,Internal state of the shard syncer,1
1919
rdse2.database_syncer_syncer_repl_offset,gauge,30,offset,,Offset of the last command handled by the syncer,1,redis_enterprise_prometheus,database_syncer_syncer_repl_offset,
2020
rdse2.database_syncer_total_requests,gauge,30,write,,Number of destination writes,1,redis_enterprise_prometheus,database_syncer_total_requests,
2121
rdse2.database_syncer_total_responses,count,30,write,,Number of destination writes acknowledged,1,redis_enterprise_prometheus,database_syncer_total_responses,
22-
rdse2.db_config,gauge,600,unit,,Configuration of the database,0,redis_enterprise_prometheus,db_config,
22+
rdse2.database_syncer_config,gauge,600,unit,,Configuration of the database,0,redis_enterprise_prometheus,database_syncer_config,
2323
rdse2.db_memory_limit_bytes,gauge,600,byte,,Configured memory limit for the database,0,redis_enterprise_prometheus,db_memory_limit_bytes,
2424
rdse2.db_status,gauge,60,unit,,The status of the DB,0,redis_enterprise_prometheus,db_status,
2525
rdse2.directory_cache_hits,count,30,hit,,"Count the number of cache hits, excluding those that trigger a cache refresh (include wrong password)",1,redis_enterprise_prometheus,directory_cache_hits,
@@ -436,4 +436,4 @@ rdse2.x509_cert_not_after,gauge,30,second,,Indicates the certificate's not after
436436
rdse2.x509_cert_not_before,gauge,30,second,,Indicates the certificate's not before timestamp,1,redis_enterprise_prometheus,x509_cert_not_before,
437437
rdse2.x509_cert_valid_since_seconds,gauge,30,second,,Indicates the elapsed time since the certificate's not before timestamp,1,redis_enterprise_prometheus,x509_cert_valid_since_seconds,
438438
rdse2.x509_exporter_build_info,gauge,30,second,,"A metric with a constant '1' value labeled with version, revision, build date, Go version, Go OS, and Go architecture",1,redis_enterprise_prometheus,x509_exporter_build_info,
439-
rdse2.x509_read_errors,gauge,30,error,,Indicates the number of read failure(s),1,redis_enterprise_prometheus,x509_read_errors,
439+
rdse2.x509_read_errors,gauge,30,error,,Indicates the number of read failure(s),1,redis_enterprise_prometheus,x509_read_errors,

redis_enterprise_prometheus/tests/support.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
'rdse2.total_nodes_count',
7474
],
7575
'REDIS2.DATABASE': [
76-
'rdse2.db_config',
76+
'rdse2.database_syncer_config',
7777
'rdse2.db_memory_limit_bytes',
7878
# 'rdse2.db_status',
7979
'rdse2.endpoint_client_connection_expired.count',

0 commit comments

Comments
 (0)