helm(minor): add service monitors

This commit is contained in:
Langhammer, Jens
2019-11-08 12:24:02 +01:00
parent e4fbcd3735
commit 3d73aac3ab
5 changed files with 43 additions and 3 deletions

View File

@ -1,10 +1,12 @@
"""Metrics view"""
from base64 import b64encode
from django.conf import settings
from django.http import Http404, HttpRequest, HttpResponse
from django.views import View
from django.http import HttpRequest, HttpResponse, Http404
from django_prometheus.exports import ExportToDjangoView
class MetricsView(View):
"""Wrapper around ExportToDjangoView, using http-basic auth"""