Skip to content

Commit

Permalink
Merge pull request #162 from prometheus/mr/getool-docs
Browse files Browse the repository at this point in the history
Add changelog & documentation for #145
  • Loading branch information
matthiasr authored Sep 1, 2021
2 parents 3b07e8a + 22e4447 commit e1588d1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.11.0 / Unreleased

* [ENHANCEMENT] Add experimental tool for converting historical data ([#145](https://github.com/prometheus/graphite_exporter/pull/145))

This release adds the `getool` binary to the release tarball.

## 0.10.1 / 2021-05-12

No changes.
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,17 @@ docker run -d -p 9108:9108 -p 9109:9109 -p 9109:9109/udp \
prom/graphite-exporter --graphite.mapping-config=/tmp/graphite_mapping.conf
```

## Importing Whisper data

**EXPERIMENTAL**

Import data from Graphite using the bundled `getool`.
See `getool create-blocks --help` for usage.

To import long-term data in a reasonable amount of resources, increase the duration per generated TSDB block.
The `--block-duration` must be a power of two in hours, e.g. `4h`, `8h`, and so on.

To merge the data into an existing Prometheus storage directory, start Prometheus with the `--storage.tsdb.allow-overlapping-blocks` flag.

[circleci]: https://circleci.com/gh/prometheus/graphite_exporter
[hub]: https://hub.docker.com/r/prom/graphite-exporter/
Expand Down

0 comments on commit e1588d1

Please sign in to comment.