Re-enable Observability Features
How to enable gated observability features via COVA_FEATURE_* env vars
Several observability features in CoreValue are gated behind COVA_FEATURE_* environment variables. This means they are not always available out of the box — you must explicitly opt in at deploy time by setting the appropriate environment variable.
All gated observability features are scheduled for deprecation by milestone M6. Plan your migration accordingly.
Gated Features
| Feature | Env Var | Default | Category |
|---|---|---|---|
| Sessions | COVA_FEATURE_SESSIONS | ON | tracing |
| Experiments | COVA_FEATURE_EXPERIMENTS | OFF | eval |
| Evaluators | COVA_FEATURE_EVALUATORS | OFF | eval |
| Datasets | COVA_FEATURE_DATASETS | OFF | eval |
| Playground | COVA_FEATURE_PLAYGROUND | OFF | dev-tooling |
| Prompts UI | COVA_FEATURE_PROMPTS_UI | OFF | dev-tooling |
How to Enable a Feature
Each feature is controlled by a boolean environment variable. Set the variable to "true" (or "on") at deploy time to enable the feature, or "false" (or "off") to disable it.
Cloud Run (staging / production)
Set the environment variable in your Cloud Run service configuration or via GCP Secret Manager:
gcloud run services update cova-core \
--set-env-vars "COVA_FEATURE_EXPERIMENTS=true,COVA_FEATURE_EVALUATORS=true" \
--region us-central1For secrets managed via GCP Secret Manager, add the variable to your .env.staging file and push with the secrets script:
# .env.staging
COVA_FEATURE_EXPERIMENTS=true
COVA_FEATURE_EVALUATORS=true
COVA_FEATURE_DATASETS=true
COVA_FEATURE_PLAYGROUND=true
COVA_FEATURE_PROMPTS_UI=true./infra/secrets/gcp-secrets.sh --env staging --env-file .env.stagingLocal Development
Set the environment variable in your local .env file before starting the Core API:
# server/core/.env
COVA_FEATURE_EXPERIMENTS=true
COVA_FEATURE_EVALUATORS=trueThen restart the Core API server for the changes to take effect.
Feature Categories
Tracing
- Sessions (
COVA_FEATURE_SESSIONS, default: ON) — Groups related requests into user sessions for tracing multi-step conversations and agent workflows. Enabled by default.
Eval
- Experiments (
COVA_FEATURE_EXPERIMENTS, default: OFF) — Spreadsheet-like experience for tuning LLM prompts against production data with custom evaluators. - Evaluators (
COVA_FEATURE_EVALUATORS, default: OFF) — LLM-as-a-judge and custom evaluators for scoring request quality. - Datasets (
COVA_FEATURE_DATASETS, default: OFF) — Curate and export LLM request/response data for fine-tuning, evaluation, and analysis.
Dev Tooling
- Playground (
COVA_FEATURE_PLAYGROUND, default: OFF) — Interactive LLM playground for testing prompts with different models and parameters. - Prompts UI (
COVA_FEATURE_PROMPTS_UI, default: OFF) — Prompt management interface for composing, versioning, and deploying prompts with dynamic variables.
Deprecation Notice
All gated observability features listed above are marked deprecateBy: M6. They will be removed from the platform at milestone M6. If you rely on any of these features, plan your migration path before M6.