Skip to content

Commit

Permalink
Merge branch 'main' into container-insights-sll
Browse files Browse the repository at this point in the history
  • Loading branch information
bhanuba authored Oct 3, 2023
2 parents d00375c + 66f1a8c commit c74d8aa
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/PR-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
if: needs.changes.outputs.lint == 'true'
uses: actions/setup-go@v4
with:
go-version: ~1.20.7
go-version: ~1.21.1
cache: false

- name: Check out code
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
if: needs.changes.outputs.build == 'true'
uses: actions/setup-go@v4
with:
go-version: ~1.20.7
go-version: ~1.21.1
cache: false

- name: Check out code
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: ~1.20.7
go-version: ~1.21.1

- name: Generate matrix
id: set-matrix
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ~1.19.2
go-version: ~1.21.1

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
Expand Down Expand Up @@ -327,7 +327,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: ~1.20.7
go-version: ~1.21.1

- name: SetOutputs
id: set-outputs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/otel-fork-replace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: ~1.20.7
go-version: ~1.21.1
cache: false
- name: Update OTel fork components version
id: set-matrix
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: ~1.20.7
go-version: ~1.21.1
cache: false

- name: Install rpm
Expand Down Expand Up @@ -161,7 +161,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: ~1.20.7
go-version: ~1.21.1

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
Expand Down Expand Up @@ -226,7 +226,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: ~1.20.7
go-version: ~1.21.1

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
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
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 c74d8aa

Please sign in to comment.