Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Commit

Permalink
Fix a couple ini files
Browse files Browse the repository at this point in the history
  • Loading branch information
shanson7 committed Apr 5, 2019
1 parent 0524df2 commit e104b43
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 6 additions & 5 deletions docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ a [storage-schemas.conf file](https://github.com/grafana/metrictank/blob/master/
a [storage-aggregation.conf file](https://github.com/grafana/metrictank/blob/master/scripts/config/storage-aggregation.conf)
an [index-rules.conf file](https://github.com/grafana/metrictank/blob/master/scripts/config/index-rules.conf)

The files themselves are well documented, but for your convenience, they are replicated below.
The files themselves are well documented, but for your convenience, they are replicated below.

Config values for the main ini config file can also be set, or overridden via environment variables.
They require the 'MT_' prefix. Any delimiter is represented as an underscore.
Expand All @@ -25,8 +25,8 @@ MT_KAFKA_MDM_IN_DATA_DIR: /your/data/dir # MT_<section_title>_<setting_name>
# Metrictank.ini


sample config for metrictank
the defaults here match the default behavior.
sample config for metrictank
the defaults here match the default behavior.
## misc ##

```
Expand Down Expand Up @@ -523,7 +523,7 @@ create-cf = true
# * Valid units are s/sec/secs/second/seconds, m/min/mins/minute/minutes, h/hour/hours, d/day/days, w/week/weeks, mon/month/months, y/year/years
[default]
pattern =
pattern =
max-stale = 0
```

Expand Down Expand Up @@ -564,7 +564,7 @@ aggregationMethod = avg,min,max
# (note in particular that if you remove archives here, we will no longer read from them)
# * Retentions must be specified in order of increasing interval and retention
# * The reorderBuffer an optional buffer that temporarily keeps data points in memory as raw data and allows insertion at random order. The specified value is how many datapoints, based on the raw interval specified in the first defined retention, should be kept before they are flushed out. This is useful if the metric producers cannot guarantee that the data will arrive in order, but it is relatively memory intensive. If you are unsure whether you need this, better leave it disabled to not waste memory.
#
#
# A given rule is made up of at least 3 lines: the name, regex pattern, retentions and optionally the reorder buffer size.
# The retentions line can specify multiple retention definitions. You need one or more, space separated.
#
Expand Down Expand Up @@ -614,3 +614,4 @@ retentions = 1s:35d:10min:7
```

This file is generated by [config-to-doc](https://github.com/grafana/metrictank/blob/master/scripts/dev/config-to-doc.sh)

2 changes: 0 additions & 2 deletions metrictank-sample.ini
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,6 @@ write-queue-size = 100000
prune-interval = 3h
# Number of partitions to load concurrently on startup.
init-load-concurrency = 1
# Number of partitions to load concurrently on startup.
init-load-concurrency = 1
# synchronize index changes to cassandra. not all your nodes need to do this.
update-cassandra-index = true
#frequency at which we should update flush changes to cassandra. only relevant if update-cassandra-index is true. valid time units are 'ns', 'us' (or 'µs'), 'ms', 's', 'm', 'h'. Setting to '0s' will cause instant updates.
Expand Down

0 comments on commit e104b43

Please sign in to comment.