Remove prometheus config
This commit is contained in:
parent
7319e7f198
commit
00a16364ec
1 changed files with 0 additions and 4 deletions
|
@ -35,8 +35,6 @@ async def run() -> None:
|
||||||
redis_host = redis_config.pop("host")
|
redis_host = redis_config.pop("host")
|
||||||
|
|
||||||
redis = await aioredis.from_url(redis_host, decode_responses=True, **redis_config)
|
redis = await aioredis.from_url(redis_host, decode_responses=True, **redis_config)
|
||||||
job = jconfig.prometheus.get("job", "naff")
|
|
||||||
gateway = jconfig.prometheus.get("gateway", "http://localhost:9091")
|
|
||||||
|
|
||||||
jarvis = Jarvis(
|
jarvis = Jarvis(
|
||||||
intents=intents,
|
intents=intents,
|
||||||
|
@ -44,8 +42,6 @@ async def run() -> None:
|
||||||
delete_unused_application_cmds=True,
|
delete_unused_application_cmds=True,
|
||||||
send_command_tracebacks=False,
|
send_command_tracebacks=False,
|
||||||
redis=redis,
|
redis=redis,
|
||||||
job=job,
|
|
||||||
gateway=gateway,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if jconfig.log_level == "DEBUG":
|
if jconfig.log_level == "DEBUG":
|
||||||
|
|
Loading…
Add table
Reference in a new issue