Skip to content
Snippets Groups Projects
Commit 6bc48d0e authored by Adam Niedzielski's avatar Adam Niedzielski
Browse files

Allow GitLab instance to start when InfluxDB hostname cannot be resolved

Closes #24438
parent 361b2b13
No related branches found
No related tags found
2 merge requests!12073Add RC2 changes to 9-3-stable,!11356Allow GitLab instance to start when InfluxDB hostname cannot be resolved
Pipeline #
---
title: Allow GitLab instance to start when InfluxDB hostname cannot be resolved
merge_request: 11356
author:
Loading
Loading
@@ -49,6 +49,9 @@ module Gitlab
end
end
end
rescue Errno::EADDRNOTAVAIL, SocketError => ex
Gitlab::EnvironmentLogger.error('Cannot resolve InfluxDB address. GitLab Performance Monitoring will not work.')
Gitlab::EnvironmentLogger.error(ex)
end
 
def self.prepare_metrics(metrics)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment