def METHOD_NAME(self):
    try:
        if version := get_gitlab_version(self.http, self.log, self.config.gitlab_url, self.config.api_token):
            self.log.debug("Set version %s for GitLab", version)
            self.set_metadata("version", version)
    except Exception as e:
        self.log.debug("Could not determine gitlab version: %s", str(e))