Fixing review comments. added the ttl adaptation logic in the HttpMetricsIngestionHandler