Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cni-metrics-helper metrics: do type assertion before type casting #3152

Merged
merged 2 commits into from
Jan 2, 2025

Conversation

dshehbaj
Copy link
Member

@dshehbaj dshehbaj commented Dec 12, 2024

What type of PR is this?

Bug fix

Which issue does this PR fix?:

#3144

Testing done on this change:

Added unit tests for code path for publishing CloudWatch and Prometheus Metrics and also pasted debug logs to confirm that no panic happens.

Built metrics helper image successfully using make docker-metrics.

Unit tests passing


// Cloud watch unit test

$> go test -timeout 30s -run ^TestProduceCloudWatchMetrics$ github.com/aws/amazon-vpc-cni-k8s/cmd/cni-metrics-helper/metrics

ok  	github.com/aws/amazon-vpc-cni-k8s/cmd/cni-metrics-helper/metrics


// Prometheus Unit Test

$> go test -timeout 30s -run ^TestProducePrometheusMetrics$ github.com/aws/amazon-vpc-cni-k8s/cmd/cni-metrics-helper/metrics

ok  	github.com/aws/amazon-vpc-cni-k8s/cmd/cni-metrics-helper/metrics

Debug logs before the change

// LIST MAINTAINED BY CNI METRICS HELPER

{"msg":"Printing out all the Prometheus Mappings"}
{"msg":"Metric Name: awscni_eni_max, Metric Type: *prometheus.gauge"}
{"msg":"Metric Name: awscni_del_ip_req_count, Metric Type: *prometheus.CounterVec"}
{"msg":"Metric Name: awscni_total_ip_addresses, Metric Type: *prometheus.gauge"}
{"msg":"Metric Name: awscni_assigned_ip_addresses, Metric Type: *prometheus.gauge"}
{"msg":"Metric Name: awscni_no_available_ip_addresses, Metric Type: *prometheus.counter"}
{"msg":"Metric Name: awscni_total_ipv4_prefixes, Metric Type: *prometheus.gauge"}
{"msg":"Metric Name: awscni_ip_max, Metric Type: *prometheus.gauge"}
{"msg":"Metric Name: awscni_add_ip_req_count, Metric Type: *prometheus.counter"}
{"msg":"Metric Name: awscni_eni_allocated, Metric Type: *prometheus.gauge"}
{"msg":"Metric Name: awscni_force_removed_enis, Metric Type: *prometheus.counter"}
{"msg":"Metric Name: awscni_force_removed_ips, Metric Type: *prometheus.counter"}

// LIST RECIEVED FROM CNI

{"msg":"Printing out all the families recieved"}
{"msg":"Metric Name: awscni_ipamd_action_inprogress, Metric Type: GAUGE"}
{"msg":"Metric Name: awscni_reconcile_count, Metric Type: COUNTER"}
{"msg":"Metric Name: awscni_assigned_ip_per_cidr, Metric Type: GAUGE"}
{"msg":"Metric Name: awscni_ip_max, Metric Type: GAUGE"}
{"msg":"Metric Name: awscni_aws_api_latency_ms, Metric Type: SUMMARY"}
{"msg":"Metric Name: awscni_force_removed_enis, Metric Type: GAUGE"}
panic: interface conversion: *prometheus.counter is not prometheus.Gauge: missing method Dec

goroutine 1 [running]:
github.com/aws/amazon-vpc-cni-k8s/cmd/cni-metrics-helper/metrics.producePrometheusMetrics({0x35e8190, 0xc0004a6960}, 0xc0004a2150, 0xc0001aea50)
        /go/src/github.com/aws/amazon-vpc-cni-k8s/cmd/cni-metrics-helper/metrics/metrics.go:393 +0xce5
github.com/aws/amazon-vpc-cni-k8s/cmd/cni-metrics-helper/metrics.Handler({0x35e2690?, 0xc0001d7090?}, {0x35e8190, 0xc0004a6960})
        /go/src/github.com/aws/amazon-vpc-cni-k8s/cmd/cni-metrics-helper/metrics/metrics.go:479 +0x16a
main.main()
        /go/src/github.com/aws/amazon-vpc-cni-k8s/cmd/cni-metrics-helper/main.go:176 +0xf7c

Debug logs after the change

// LIST MAINTAINED BY CNI METRICS HELPER

{"msg":"Printing out all the Prometheus Mappings"}
{"msg":"Metric Name: awscni_eni_max, Metric Type: *prometheus.gauge"}
{"msg":"Metric Name: awscni_total_ip_addresses, Metric Type: *prometheus.gauge"}
{"msg":"Metric Name: awscni_force_removed_ips, Metric Type: *prometheus.counter"}
{"msg":"Metric Name: awscni_total_ipv4_prefixes, Metric Type: *prometheus.gauge"}
{"msg":"Metric Name: awscni_ip_max, Metric Type: *prometheus.gauge"}
{"msg":"Metric Name: awscni_add_ip_req_count, Metric Type: *prometheus.counter"}
{"msg":"Metric Name: awscni_del_ip_req_count, Metric Type: *prometheus.CounterVec"}
{"msg":"Metric Name: awscni_eni_allocated, Metric Type: *prometheus.gauge"}
{"msg":"Metric Name: awscni_assigned_ip_addresses, Metric Type: *prometheus.gauge"}
{"msg":"Metric Name: awscni_force_removed_enis, Metric Type: *prometheus.counter"}
{"msg":"Metric Name: awscni_no_available_ip_addresses, Metric Type: *prometheus.counter"}
{"msg":"\n\n"}

// LIST RECIEVED FROM CNI

{"msg":"Printing out all the families recieved"}
{"msg":"Metric Name: awscni_eni_max, Metric Type: GAUGE"}
{"msg":"Metric Name: awscni_assigned_ip_per_cidr, Metric Type: GAUGE"}
{"msg":"Metric Name: awscni_ipamd_action_inprogress, Metric Type: GAUGE"}
{"msg":"Metric Name: awscni_assigned_ip_addresses, Metric Type: GAUGE"}
{"msg":"Metric Name: awscni_reconcile_count, Metric Type: COUNTER"}
{"msg":"Metric Name: awscni_eni_allocated, Metric Type: GAUGE"}
{"msg":"Metric Name: awscni_del_ip_req_count, Metric Type: COUNTER"}
{"msg":"Metric Name: awscni_ec2api_req_count, Metric Type: COUNTER"}
{"msg":"Metric Name: awscni_ec2api_error_count, Metric Type: COUNTER"}

// TYPE ASSERTION CHECK
{"msg":"Metric Name: awscni_force_removed_ips, Metric Type: GAUGE"}
{"msg":"Metric awscni_force_removed_ips is not a Gauge type, skipping"}

// TYPE ASSERTION CHECK
{"msg":"Metric Name: awscni_force_removed_enis, Metric Type: GAUGE"}
{"msg":"Metric awscni_force_removed_enis is not a Gauge type, skipping"}

{"msg":"Metric Name: awscni_ip_max, Metric Type: GAUGE"}
{"msg":"Metric Name: awscni_aws_api_latency_ms, Metric Type: SUMMARY"}
{"msg":"Metric Name: awscni_aws_api_error_count, Metric Type: GAUGE"}

// TYPE ASSERTION CHECK
{"msg":"Metric Name: awscni_add_ip_req_count, Metric Type: GAUGE"}
{"msg":"Metric awscni_add_ip_req_count is not a Gauge type, skipping"}

{"msg":"Metric Name: awscni_total_ipv4_prefixes, Metric Type: GAUGE"}
{"msg":"Metric Name: awscni_total_ip_addresses, Metric Type: GAUGE"}


// NO PANIC HAPPENS

@dshehbaj dshehbaj marked this pull request as ready for review December 12, 2024 20:29
@dshehbaj dshehbaj requested a review from a team as a code owner December 12, 2024 20:29
@dshehbaj dshehbaj force-pushed the shehbaj/metrics-helper-incompatibility-fix branch 2 times, most recently from 5394d02 to b6be2b9 Compare December 19, 2024 23:10
@dshehbaj dshehbaj requested a review from orsenthil December 19, 2024 23:14
@dshehbaj dshehbaj force-pushed the shehbaj/metrics-helper-incompatibility-fix branch from 76e366a to 2ae0160 Compare December 19, 2024 23:15
}

// Prometheus export supports only gauge metrics for now.

func producePrometheusMetrics(t metricsTarget, families map[string]*dto.MetricFamily, convertDef map[string]metricsConvert) {
func producePrometheusMetrics(t metricsTarget, families map[string]*dto.MetricFamily, convertDef map[string]metricsConvert) error {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dshehbaj , this is not directly related to code, but still related.

In this function

// This can be enhanced to get it programatically.
// Initial CNI metrics helper enhancement includes only Gauge. Doesn't support GaugeVec, Counter, CounterVec and Summary
func GetSupportedPrometheusCNIMetricsMapping() map[string]prometheus.Collector {
	var prometheusCNIMetrics = map[string]prometheus.Collector{
		"awscni_eni_max":                   EnisMax,
		"awscni_ip_max":                    IpMax,
		"awscni_add_ip_req_count":          AddIPCnt,
		"awscni_del_ip_req_count":          DelIPCnt,
		"awscni_eni_allocated":             Enis,
		"awscni_total_ip_addresses":        TotalIPs,
		"awscni_assigned_ip_addresses":     AssignedIPs,
		"awscni_force_removed_enis":        ForceRemovedENIs,
		"awscni_force_removed_ips":         ForceRemovedIPs,
		"awscni_total_ipv4_prefixes":       TotalPrefixes,
		"awscni_no_available_ip_addresses": NoAvailableIPAddrs,
	}
	return prometheusCNIMetrics
}

The presence of

		"awscni_add_ip_req_count":          AddIPCnt,
		"awscni_del_ip_req_count":          DelIPCnt,

	
		"awscni_force_removed_enis":        ForceRemovedENIs,
		"awscni_force_removed_ips":         ForceRemovedIPs,

		"awscni_no_available_ip_addresses": NoAvailableIPAddrs,

is wrong, and if we remove this, and then we don't need to typecast this too. Can we remove them from the above method? This exporter is only supposed to export Gauge metrics now.

@dshehbaj dshehbaj force-pushed the shehbaj/metrics-helper-incompatibility-fix branch from 2ae0160 to de79aac Compare January 2, 2025 21:45
@dshehbaj dshehbaj force-pushed the shehbaj/metrics-helper-incompatibility-fix branch from 33df5e2 to 6efa143 Compare January 2, 2025 21:58
Copy link
Member

@orsenthil orsenthil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@orsenthil orsenthil merged commit cc14878 into master Jan 2, 2025
4 checks passed
orsenthil added a commit that referenced this pull request Feb 19, 2025
* Update to Changelog, config and scripts. (#3095) (#3107)

* Update to Changelog, config and scripts.

* Add Version in Changelog.

Co-authored-by: Senthil Kumaran <[email protected]>

* Update NP strict mode doc (#3125)

* adding email to send log bundle  (#3134)

* Fix issues handling unmanaged ENIs with IPv6 only (#3122)

* Bump go.uber.org/zap from 1.26.0 to 1.27.0

Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.26.0 to 1.27.0.
- [Release notes](https://github.com/uber-go/zap/releases)
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md)
- [Commits](uber-go/zap@v1.26.0...v1.27.0)

---
updated-dependencies:
- dependency-name: go.uber.org/zap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump github.com/stretchr/testify from 1.9.0 to 1.10.0

Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](stretchr/testify@v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump github.com/onsi/gomega from 1.35.1 to 1.36.0

Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.35.1 to 1.36.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](onsi/gomega@v1.35.1...v1.36.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump github.com/prometheus/common from 0.60.0 to 0.60.1

Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.60.0 to 0.60.1.
- [Release notes](https://github.com/prometheus/common/releases)
- [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md)
- [Commits](prometheus/common@v0.60.0...v0.60.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog from release-1.19 branch to master branch. (#3136)

* Update to Changelog, config and scripts. (#3095) (#3107) (#3108)

* Update to Changelog, config and scripts.

* Add Version in Changelog.

Co-authored-by: Senthil Kumaran <[email protected]>

* Updating Manifest, Changelog and scripts (#3115)

* Update to Changelog, config and scripts. (#3095) (#3107) (#3118)

* Update to Changelog, config and scripts.
* Add Version in Changelog.

Co-authored-by: Senthil Kumaran <[email protected]>

* fixed the changelog.

---------

Co-authored-by: Jay Deokar <[email protected]>

* Bump github.com/onsi/ginkgo/v2 from 2.20.1 to 2.22.0

Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.20.1 to 2.22.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](onsi/ginkgo@v2.20.1...v2.22.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump golang.org/x/sys from 0.26.0 to 0.27.0 in /test/agent

Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.26.0 to 0.27.0.
- [Commits](golang/sys@v0.26.0...v0.27.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump golang.org/x/sys from 0.27.0 to 0.28.0 in /test/agent

Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.27.0 to 0.28.0.
- [Commits](golang/sys@v0.27.0...v0.28.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Fix KOps Integration Test (#3140)

* scripts lib integration: add more logging steps

* scripts lib cluster: increase kops control plane node size

* run make generate-limits to update the max pods file (#3141)

* Update AWS VPC CNI to SDK V2 Update - master branch (#3070)

* Update AWS SDK to Version 2 and Remove V1 Dependency. Fixes #3116

* Handle EKS Service for the Beta Endpoint. (#3143)

* Adding multus v4.1.4 manifest (#3154)

* scripts integration: capture exit codes from both tests (#3149)

* fix(test): add volume mount for docker-func-test target (#3160)

Signed-off-by: Omer Aplatony <[email protected]>

* cni-metrics-helper metrics: do type assertion before type casting (#3152)

* cni-metrics-helper metrics: do type assertion before type casting

* utils prometheusmetrics: remove counters from cni metrics mapping func

* Bump helm.sh/helm/v3 from 3.15.2 to 3.16.4

Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.15.2 to 3.16.4.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](helm/helm@v3.15.2...v3.16.4)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump github.com/aws/aws-sdk-go-v2/service/autoscaling

Bumps [github.com/aws/aws-sdk-go-v2/service/autoscaling](https://github.com/aws/aws-sdk-go-v2) from 1.50.0 to 1.51.2.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](aws/aws-sdk-go-v2@service/s3/v1.50.0...service/s3/v1.51.2)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/autoscaling
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump github.com/aws/aws-sdk-go-v2/service/iam from 1.38.1 to 1.38.3

Bumps [github.com/aws/aws-sdk-go-v2/service/iam](https://github.com/aws/aws-sdk-go-v2) from 1.38.1 to 1.38.3.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](aws/aws-sdk-go-v2@service/s3/v1.38.1...service/s3/v1.38.3)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/iam
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update Changelog and Version for CNI 1.19.2 (#3171)

* Bump github.com/aws/aws-sdk-go-v2/feature/ec2/imds (#3166)

Bumps [github.com/aws/aws-sdk-go-v2/feature/ec2/imds](https://github.com/aws/aws-sdk-go-v2) from 1.16.19 to 1.16.22.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](aws/aws-sdk-go-v2@service/ram/v1.16.19...service/ram/v1.16.22)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/feature/ec2/imds
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add CNINode to cache filter (#3164)

We should reduce the number of CNINode object VPC CNI watches for to
just the node it is managing as well.

Signed-off-by: Davanum Srinivas <[email protected]>
Co-authored-by: Hao Zhou <[email protected]>
Co-authored-by: Harish Kuna <[email protected]>

* fix: remove null creationTimestamp from CRD metadata (#3163)

Signed-off-by: Omer Aplatony <[email protected]>
Co-authored-by: Senthil Kumaran <[email protected]>

* Fix issue with primary ENI ip lookup when an ENI has both IPv4 and IPv6 address. (#3156)

* Use awshttp client instead of smithy httpclient. (#3193)

* Use awshttp client.

* Update .go-version.

* retryOnConflict shouldnt' retry on NotFound (#3192)

Co-authored-by: Senthil Kumaran <[email protected]>

* Update awsutils.go (#3191)

Updated typo for AssignPrivateIpv6Addresses to AssignIpv6Addresses

Co-authored-by: Senthil Kumaran <[email protected]>

* Bump github.com/aws/aws-sdk-go-v2/service/cloudwatch

Bumps [github.com/aws/aws-sdk-go-v2/service/cloudwatch](https://github.com/aws/aws-sdk-go-v2) from 1.43.0 to 1.43.12.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](aws/aws-sdk-go-v2@service/s3/v1.43.0...service/cloudwatch/v1.43.12)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/cloudwatch
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump github.com/aws/aws-sdk-go-v2/service/autoscaling

Bumps [github.com/aws/aws-sdk-go-v2/service/autoscaling](https://github.com/aws/aws-sdk-go-v2) from 1.51.2 to 1.51.10.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](aws/aws-sdk-go-v2@service/s3/v1.51.2...service/autoscaling/v1.51.10)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/autoscaling
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump github.com/prometheus/common from 0.60.1 to 0.62.0

Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.60.1 to 0.62.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md)
- [Commits](prometheus/common@v0.60.1...v0.62.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump golang.org/x/sys from 0.28.0 to 0.29.0 in /test/agent

Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.28.0 to 0.29.0.
- [Commits](golang/sys@v0.28.0...v0.29.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump golang.org/x/sys from 0.29.0 to 0.30.0 in /test/agent (#3198)

* Bump github.com/aws/aws-sdk-go-v2/service/cloudwatch (#3199)

* Bump github.com/aws/aws-sdk-go-v2/service/autoscaling

Bumps [github.com/aws/aws-sdk-go-v2/service/autoscaling](https://github.com/aws/aws-sdk-go-v2) from 1.51.10 to 1.51.12.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](aws/aws-sdk-go-v2@service/fsx/v1.51.10...service/autoscaling/v1.51.12)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/autoscaling
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump github.com/samber/lo from 1.39.0 to 1.49.1 (#3184)

* Bump github.com/aws/aws-sdk-go-v2/service/eks from 1.52.1 to 1.58.0 (#3200)

* Add grpc call to fetch networkpolicymode from NP (#3202)

* add rpc call to fetch np mode

* go generate

* nit: change print %t to %v

* Bug Fix: "utils prometheusmetrics: convert gauges to counters (#3093)""

This reverts commit e9af9f3 which
removed it in CNI 1.19.2 with fix in master.

* Fix issues handling unmanaged ENIs with IPv6 only (#3122)

This reverts commit 0a200d6 which
reverted only in CNI 1.19.2 with fix in master.

* Changes to attach probes at pod start

* minor error change

* do not ret error on grpc dial

* add dial with context

* update mocked grpc wrapper and unit tests

add new lines to satisfy format check

update unit tests for DialContext

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Omer Aplatony <[email protected]>
Signed-off-by: Davanum Srinivas <[email protected]>
Co-authored-by: Jay Deokar <[email protected]>
Co-authored-by: pavanipt <[email protected]>
Co-authored-by: Yash Thakkar <[email protected]>
Co-authored-by: Gavin Bunney <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Shehbaj Dhillon <[email protected]>
Co-authored-by: Todd Neal <[email protected]>
Co-authored-by: Omer Aplatony <[email protected]>
Co-authored-by: Davanum Srinivas <[email protected]>
Co-authored-by: Hao Zhou <[email protected]>
Co-authored-by: Harish Kuna <[email protected]>
Co-authored-by: Hao Zhou <[email protected]>
Co-authored-by: Parikshit Patel <[email protected]>
Co-authored-by: Pavani Panakanti <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants