def api_documentation(request):

    template = loader.get_template('isisdata/api.html')
    rest_endpoint = request.build_absolute_uri(reverse('rest_root'))
    context = RequestContext(request, {
        'active': 'about',
        'rest_endpoint': rest_endpoint,
    })
    return HttpResponse(template.render(context))
Starts a HTTP server for prometheus metrics as a daemon thread.
dataset/ETHPy150Open upconsulting/IsisCB/isiscb/isisdata/views.py/api_documentation--crossover with--dataset/ETHPy150Open prometheus/client_python/prometheus_client/exposition.py/start_http_server