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

Persist partition #952

Merged
merged 5 commits into from
Jul 25, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Regen docs
shanson7 committed Jun 29, 2018
commit 26003a6ab728b7206539d764aa4a8e3fe469ccf8
9 changes: 5 additions & 4 deletions docs/config.md
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ Metrictank comes with an [example main config file](https://github.com/grafana/m
a [storage-schemas.conf file](https://github.com/grafana/metrictank/blob/master/scripts/config/storage-schemas.conf) and
a [storage-aggregation.conf file](https://github.com/grafana/metrictank/blob/master/scripts/config/storage-aggregation.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.
@@ -24,8 +24,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 ##

```
@@ -456,7 +456,7 @@ match-cache-size = 1000
# (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.
#
@@ -525,3 +525,4 @@ aggregationMethod = avg,min,max
```

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