Skip to content

Commit

Permalink
fix apiserver_storage_db_total_size_in_bytes (#886)
Browse files Browse the repository at this point in the history
  • Loading branch information
chadpatel authored Oct 2, 2023
1 parent 2c2a9dd commit 66f1a8c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ exporters:
label_matchers: [ ]
metric_name_selectors:
- apiserver_storage_size_bytes
- apiserver_storage_size_bytes
- apiserver_storage_db_total_size_in_bytes
- etcd_db_total_size_in_bytes
- etcd_request_duration_seconds
- dimensions: [ [ClusterName, resource], [ ClusterName ] ]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ exporters:
label_matchers: [ ]
metric_name_selectors:
- apiserver_storage_size_bytes
- apiserver_storage_size_bytes
- apiserver_storage_db_total_size_in_bytes
- etcd_db_total_size_in_bytes
- etcd_request_duration_seconds
- dimensions: [ [ ClusterName, resource ], [ ClusterName ] ]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ exporters:
label_matchers: [ ]
metric_name_selectors:
- apiserver_storage_size_bytes
- apiserver_storage_size_bytes
- apiserver_storage_db_total_size_in_bytes
- etcd_db_total_size_in_bytes
- etcd_request_duration_seconds
- dimensions: [ [ ClusterName, resource ], [ ClusterName ] ]
Expand Down
2 changes: 1 addition & 1 deletion translator/translate/otel/exporter/awsemf/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ func getControlPlaneMetricDeclarations(conf *confmap.Conf) []*awsemfexporter.Met
Dimensions: [][]string{{"ClusterName", "endpoint"}, {"ClusterName"}},
MetricNameSelectors: []string{
"apiserver_storage_size_bytes",
"apiserver_storage_size_bytes",
"apiserver_storage_db_total_size_in_bytes",
"etcd_db_total_size_in_bytes",
"etcd_request_duration_seconds",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ func TestTranslator(t *testing.T) {
},
{
Dimensions: [][]string{{"ClusterName", "endpoint"}, {"ClusterName"}},
MetricNameSelectors: []string{"apiserver_storage_size_bytes", "apiserver_storage_size_bytes", "etcd_db_total_size_in_bytes", "etcd_request_duration_seconds"},
MetricNameSelectors: []string{"apiserver_storage_size_bytes", "apiserver_storage_db_total_size_in_bytes", "etcd_db_total_size_in_bytes", "etcd_request_duration_seconds"},
},
{
Dimensions: [][]string{{"ClusterName", "resource"}, {"ClusterName"}},
Expand Down

0 comments on commit 66f1a8c

Please sign in to comment.