Slackbot
06/20/2023, 1:49 PMRo'e Katz
06/20/2023, 2:03 PM/
or /healthcheck
or /healthy
) - this has the same meaning and doesn’t require setting OPAL_OPA_HEALTH_CHECK_POLICY_ENABLED
(When off, you’ll have few logs less because OPAL won’t keep writing its status to OPA).
You still gonna have logs for each health probe, but these would be Gunicorn logs. Maybe you can play with gunicorn_conf.py
to hide them - as detailed hereBen Wallis
06/20/2023, 2:09 PM2023-06-20T14:08:10.419438+0000 | 7 | opal_client.policy_store.opa_client | INFO | OPA client health: True (policy: True, data: True)
2023-06-20T14:08:10.419639+0000 | 7 | uvicorn.protocols.http.httptools_impl | INFO | 10.244.0.5:43432 - "GET /healthy HTTP/1.1" 200
This has a similar issue in that I don't want to filter out all opal_client.policy_store.opa_client
logsRo'e Katz
06/20/2023, 2:23 PM… | grep -v "health"
? 😆