def METHOD_NAME(prometheus_params: PrometheusParams) -> "CustomPrometheusConnect":
    # due to cli import dependency errors without prometheus package installed
    from prometrix import get_custom_prometheus_connect
    config = generate_prometheus_config(prometheus_params)
    return get_custom_prometheus_connect(config)