Grafana + Mimir + Minio

Hello,

I would like to setup Mimir in monolithic Mode with MinIo. I tried different configurations. The connection with MinIo works. I noticed that files are created in Minio. In know that the Data gets uploaded in interfalls. Currently there is 5MB stored in the bucket.

I wanted to test the setup. I restarted the Docker Service and wanted to check if I can access the previously collected data. For this I connected to grafana went do the Admin window and used the “Explore Datasource” Feature to query the Data. I saw the current Data but not the Data from yesterday. I’m not using Volumes.

My questions are:

  • Is this the right way to access the data stored in minio?
  • Is my mimir setup correct or is there something missing here

Mimir.yml:

multitenancy_enabled: false
target: distributor,ingester,querier,query-frontend,store-gateway,compactor


common:
  storage:
    backend: s3
    s3:
      endpoint: minio.something.com:9000
      access_key_id: user
      secret_access_key: passwort
      insecure: true

blocks_storage:
  storage_prefix: blocks
  s3:
    bucket_name: mimir-bucket

compactor:
  data_dir: /tmp/mimir/compactor
  deletion_delay: 1h
  sharding_ring:
    kvstore:
      store: memberlist

distributor:
  ring:
    kvstore:
      store: memberlist
    instance_addr: "127.0.0.1"

ingester:
  ring:
    kvstore:
      store: memberlist
    instance_addr: "127.0.0.1"
    replication_factor: 1

server:
  http_listen_port: 8080
  grpc_listen_address: "127.0.0.1"
  grpc_listen_port: 9095
  log_level: info

limits:
  max_label_names_per_series: 100
  max_global_series_per_user: 1000000
  #compactor_blocks_retention_period: 2d

store_gateway:
  sharding_ring:
    replication_factor: 1