"Cortex/Prometheus combo" not adding any info/blocks to S3 bucket even the local storage is disabled in the Cortex configuration file

62 views
Skip to first unread message

Vikram Yerneni

unread,
Sep 9, 2020, 1:14:45 PM9/9/20
to Cortex Project
Fellas,
"Cortex/Prometheus combo" not adding any info/blocks to S3 bucket even the local storage is disabled in the Cortex configuration file...
The connection is successful to the S3 bucket (No errors when cortex started)
Looks like the data is still writing to local TSDB rather than dumping into S3 bucket

storage:
  engine: blocks

blocks_storage:
# tsdb:
#    dir: /tmp/cortex/tsdb

#  bucket_store:
#    sync_dir: /tmp/cortex/tsdb-sync

  # You can choose between local storage and Amazon S3, Google GCS and Azure storage. Each option requires additional configuration
  # as shown below. All options can be configured via flags as well which might be handy for secret inputs.
  backend: s3 # s3, gcs, azure or filesystem are valid options
  s3:
    bucket_name: bucketname
    endpoint: s3.amazonaws.com
    # Configure your S3 credentials below.
    secret_access_key: xxxxxxxxxxxxxxxxxxxxxxx
    access_key_id:     xxxxxxxxxxxxxxxxxxxxxxx


Am I missing something here?
Reply all
Reply to author
Forward
0 new messages