anchor.diff:    # be split into those two shards deterministically by hashing the (database, serise)
     # tuple. That means that data for a given series will be written to a single shard
     # making querying efficient. That can be overridden with the next option.
  -  split = 1
  +  split = <%= @config['sharding']['short-term']['split'] %>
   
     # You can override the split behavior to have the data for series that match a
     # given regex be randomly distributed across the shards for a given interval.
  
positive.code: [sharding]
    # how many servers in the cluster should have a copy of each shard.
    # this will give you high availability and scalability on queries
    replication-factor = 1
  
    [sharding.short-term]
    # each shard will have this period of time. Note that it's best to have
    # group by time() intervals on all queries be < than this setting. If they are
    # then the aggregate is calculated locally. Otherwise, all that data gets sent
    # over the network when doing a query.
    duration = "7d"
  
    # split will determine how many shards to split each duration into. For example,
    # if we created a shard for 2014-02-10 and split was set to 2. Then two shards
  
negative.code:   # split-random = "/^hf.*/"
  
    [sharding.long-term]
    duration = "<%= @config['sharding']['long-term']['duration'] %>"
    split = <%= @config['sharding']['long-term']['split'] %>
    # split-random = "/^Hf.*/"
  
  [wal]
  
  dir   = "<%= @config['wal']['dir'] %>"
  flush-after = <%= @config['wal']['flush-after'] %> # the number of writes after which wal will be flushed, 0 for flushing on every write
  bookmark-after = <%= @config['wal']['bookmark-after'] %> # the number of writes after which a bookmark will be created
  
  # the number of writes after which an index entry is created pointing
  # to the offset of the first request, default to 1k
  index-after = <%= @config['wal']['index-after'] %>
  
  # the number of requests per one log file, if new requests came in a
  # new log file will be created
  requests-per-logfile = <%= @config['wal']['requests-per-logfile'] %>
  