Fix prometheus port (#1078) and add unit test for opentelemetry (#1088) by tiationg-kho · Pull Request #1093 · aws/aws-node-termination-handler

Fix prometheus port (#1078) and add unit test for opentelemetry (#1088)

**Issue #, if available:
#1078
#1088

Description of changes:

  • When enablePrometheusServer config is false, we will not open the port
  • Add unit test for pkg/observability/opentelemetry.go file

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.