Ondemand and dynamodb

Hi,

I can’t get the ‘on demand’ dynamodb working. Whenever I set the provisioner_config to ondemand I get:

failed parsing config: /etc/loki/loki.yaml: yaml: unmarshal errors:
  line 48: field inactive_throughput_on_demand_mode not found in type chunk.ProvisionConfig
  line 51: field provisioned_throughput_on_demand_mode not found in type chunk.ProvisionConfig
  line 55: field inactive_throughput_on_demand_mode not found in type chunk.ProvisionConfig
  line 58: field provisioned_throughput_on_demand_mode not found in type chunk.ProvisionConfig

My config (via k8s secret):

limits_config:
  enforce_metric_name: false
  reject_old_samples: true
  reject_old_samples_max_age: 168h
schema_config:
  configs:
  - from: "2020-10-24"
    index:
      period: 24h
      prefix: index_
      tags: {}
    object_store: s3
    schema: v11
    store: aws
server:
  http_listen_port: 3100
storage_config:
  aws:
    dynamodb:
      dynamodb_url: dynamodb://eu-west-1
    s3: s3://eu-west-1/****************
  boltdb_shipper:
    active_index_directory: /data/loki/boltdb-shipper-active
    cache_location: /data/loki/boltdb-shipper-cache
    cache_ttl: 24h
    shared_store: filesystem
  filesystem:
    directory: /data/loki/chunks
table_manager:
  chunk_tables_provisioning:
    inactive_read_throughput: 0
    inactive_throughput_on_demand_mode: true
    inactive_write_throughput: 0
    provisioned_read_throughput: 0
    provisioned_throughput_on_demand_mode: true
    provisioned_write_throughput: 0
  index_tables_provisioning:
    inactive_read_throughput: 0
    inactive_throughput_on_demand_mode: true
    inactive_write_throughput: 0
    provisioned_read_throughput: 0
    provisioned_throughput_on_demand_mode: true
    provisioned_write_throughput: 0
  retention_deletes_enabled: true
  retention_period: 168h

Version: 2.4.1
Platform: kubernetes 1.21
Deployment: Official Helm chart

Anyone who can help?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.