External databases
Patronus AI recommends using managed database services in production environments. For example, on AWS, use Aurora/RDS for PostgreSQL and ElastiCache for Redis or Valkey caches.
The following sections show how to configure external databases in the values.yaml file.
PostgreSQL
To use an external PostgreSQL database, enable the external option and disable the internal deployment.
Redis
To use an external Redis instance, enable the external option and disable the internal deployment.
ClickHouse
You can use ClickHouse Cloud for the OpenTelemetry Collector (optional), deploy your own ClickHouse instance, or use PostgreSQL to store evaluation logs.
Weaviate
You can use the Weaviate vector database for Patronus Trace Insights (optional). Alternatively, you can use PostgreSQL with the pgvector extension.
