def configure_config(graph):
    """
    Configure the health endpoint.

    :returns: the current service configuration
    """
    ns = Namespace(
        subject=Config,
    )

    convention = ConfigDiscoveryConvention(
        graph,
    )
    convention.configure(ns, retrieve=tuple())
    return convention.config_discovery
Configure the health endpoint.

    :returns: the current service configuration