Available for Portkey Enterprise users.
Portkey Enterprise lets you store all LLM logs in MongoDB for scalable, high-performance logging in production AI apps.
Prerequisites
- Portkey Enterprise account
- MongoDB instance
- Kubernetes cluster
Helm Charts Repo
Ready-to-use Kubernetes configs
Configuration
Add these values to your values.yaml:
MONGO_DB_CONNECTION_URL:
MONGO_DATABASE:
MONGO_COLLECTION_NAME:
MONGO_GENERATION_HOOKS_COLLECTION_NAME:
PEM File Authentication
Add PEM File
In resources-config.yaml, add your certificate:data:
document_db.pem: |
-----BEGIN CERTIFICATE-----
Your certificate content here
-----END CERTIFICATE-----
Configure Volumes
In values.yaml:volumes:
- name: shared-folder
configMap:
name: resource-config
volumeMounts:
- name: shared-folder
mountPath: /etc/shared/<shared_pem>
subPath: <shared_pem>
Update Connection URL
mongodb://<user>:<password>@<host>?tls=true&tlsCAFile=/etc/shared/document_db.pem&retryWrites=false
Cloud Deployment
Deploy Portkey with MongoDB on:
Get started with Portkey Enterprise →