# NextGen Metering Configuration with Reporter Example
env: "dev"
vendor: "aws"
region: "us-west-2"
bucket: "your-bucket"
logLevel: "info"

nextGenMetering:
  # Metering task configuration
  startTime: 1704067200  # 2024-01-01 00:00:00 UTC
  taskInterval: 5        # Metering task interval (minutes)
  delayMinutes: 5        # Metering delay (minutes)
  enableRecompute: true
  recomputeDays: 7
  
  # DeltaLake configuration
  deltaTablePath: "s3://your-bucket/delta-tables/metering-data"
  checkpointPrefix: "checkpoints/nextgen"  # Prefix for checkpoint files
  cachePath: "./cachepath"                 # Local cache path for temporary files
  
  # Storage options (used for Delta Lake)
  storageOptions:
    region: "us-east-1"
    AWS_REGION: "us-east-1"
  
  # Reporter configuration
  enableReporter: true           # Enable reporting functionality
  reporterInterval: 60          # Reporter task interval (minutes), executed hourly

  # Maintenance configuration (daily compact/delete/vacuum)
  maintenance:
    enable: true
    intervalMinutes: 1440       # Run once per day by default
    enableDelete: true
    deleteRetentionDays: 90
    deleteBeforeTimestamp: 0
    enableVacuum: true
    vacuumRetentionHours: 168
    vacuumDryRun: false