Color types in Drilldown output

This commit is contained in:
2022-08-02 17:10:41 +01:00
parent e4651c4ce1
commit 1ed7f6a24c
6 changed files with 27 additions and 13 deletions

View File

@@ -64,3 +64,4 @@ META_MAX_CHUNK_SIZE = 500
META_QUERY_SIZE = 10000
DEBUG = True
PROFILER = True

View File

@@ -135,13 +135,15 @@ REST_FRAMEWORK = {
}
from app.local_settings import * # noqa
if PROFILER:
if PROFILER: # noqa - trust me its there
import pyroscope
pyroscope.configure(
application_name = "neptune",
server_address = "http://pyroscope:4040",
auth_token = os.getenv("PYROSCOPE_AUTH_TOKEN", ""),
application_name="neptune",
server_address="http://pyroscope:4040",
auth_token=os.getenv("PYROSCOPE_AUTH_TOKEN", ""),
# tags = {
# "region": f'{os.getenv("REGION")}',
# }
)
)

View File

@@ -21,7 +21,7 @@ from django.views.generic import TemplateView
# Threshold API stuff
from core.api.views.threshold import ThresholdChans, ThresholdOnline, ThresholdUsers
from core.views import Billing, Cancel, About, Order, Portal, Signup
from core.views import About, Billing, Cancel, Order, Portal, Signup
from core.views.callbacks import Callback
from core.views.manage.threshold.irc import (
ThresholdIRCActions,