# Global o11yapi cost defaults.
# Applied after diagnosis-query env values so these override replica/resource sizing
# without touching diagnosis-query deployments.
#
# Region-specific overrides (optional):
#   envs/<env>-<vendor>-<logical_region>/values.yaml
replicaCount: 1

resources:
  limits:
    cpu: "500m"
    memory: 1Gi
  requests:
    cpu: "100m"
    memory: 256Mi

# Do NOT override persistence.storage or persistence.storageClassName here.
# Those fields are part of StatefulSet volumeClaimTemplates and cannot change
# after the first install. Inherit them from diagnosis-query env values instead.

# Athena: per logical-region workgroup o11y-olap-{logical_region}. Empty outputLocation =>
#   s3://{BUCKET_NAME}/athena-results/logs-query/ (per logical-region bucket).
athena:
  workgroup: ""
  database: o11y-logs
  catalog: AwsDataCatalog
  outputLocation: ""

# OLAP submit wait (maps to env OLAP_*_WAIT_SECONDS on the pod).
olap:
  defaultWaitSeconds: 50
  maxWaitSeconds: 60
