Logging
Last updated
Last updated
By default, logs will be pushed to using fluent-bit. API logs are tagged with labels to help with log aggregation and filtering. Below are some sample Stackdriver queries:
RealtimeAPI:
TaskAPI:
Please make sure to navigate to the project containing your cluster and adjust the time range accordingly before running queries.
You can use Cortex's logger in your Python code to log in JSON, which will enrich your logs with Cortex's metadata, and enable you to add custom metadata to the logs. See the structured logging docs for and APIs.