-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
62 changed files
with
284 additions
and
423 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ _vendor/pkg | |
.vscode | ||
_gopath | ||
.DS_Store | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
github.com/lomik/go-carbon | ||
github.com/go-graphite/go-carbon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,5 +24,5 @@ deploy: | |
- "*.{deb,rpm}" | ||
- "build/go-carbon-*" | ||
on: | ||
repo: lomik/go-carbon | ||
repo: go-graphite/go-carbon | ||
tags: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,140 @@ | ||
##### version 0.10.0 | ||
Breaking changes: | ||
|
||
* common: logfile and log-level in common config section are deprecated | ||
* changed config defaults: | ||
* user changed to `carbon` | ||
* whisper directory changed to `/var/lib/graphite/whisper/` | ||
* schemas config changed to `/etc/go-carbon/storage-schemas.conf` | ||
* rpm: | ||
* binary moved to `/usr/bin/go-carbon` | ||
* configs moved to `/etc/go-carbon/` | ||
* deb: | ||
* binary moved to `/usr/bin/go-carbon` | ||
|
||
Other changes: | ||
|
||
* common: Requires Go 1.8 or newer | ||
* common: Logging refactored. Format changed to structured JSON. Added support of multiple logging handlers with separate output, level and encoding | ||
* dump/restore: New dump format. Added `go-carbon -cat filename` command for printing dump to console. New version of go-carbon can read old dump | ||
* dump/restore: [fix] go-carbon can not stop after dump (with enabled dump and carbonserver) | ||
* carbonserver: [feature] IdleTimeout is now configurable in carbonserver part | ||
* carbonserver: [feature] support /render query cache (query-cache-\* options in config file) | ||
* carbonserver: [feature] support /metrics/find cache (find-cache-\* option in config file) | ||
* carbonserver: [feature] support /metrics/details handler, that returns information about metrics (require enabled trigram-index) | ||
* carbonserver: [feature] Add config option to disable trigram index (before that to disable index you should set scan-interval to 0) | ||
* carbonserver: [fix] fix #146 (metrics_known was broken if metrics were not sent as counters) | ||
|
||
##### version 0.9.1 | ||
* Always stop on USR2 signal (previously did not stop with disabled dump/restore) #135 | ||
|
||
##### version 0.9.0 | ||
* Completely new internal architecture | ||
* Removed flush to whisper and stop on `USR2` signal. Use dump/restore instead | ||
* Removed global queue (channel) between receivers and cache, added optional per-receiver queues | ||
* Built-in [carbonserver](https://github.com/grobian/carbonserver) (thanks [Vladimir Smirnov](https://github.com/Civil)) | ||
* Added runtime tunables to internal metrics #70 | ||
|
||
##### version 0.8.1 | ||
* Bug fix: The synchronous config reload (HUP signal) and launch of the internal collecting statistics procedure (every "metric-interval") could cause deadlock (thanks [Maxim Ivanov](https://github.com/redbaron)) | ||
|
||
##### version 0.8.0 | ||
* Fully refactored and optimizer cache module (core of go-carbon) (thanks [Maxim Ivanov](https://github.com/redbaron)) | ||
* Added `noop` cache.write-strategy (thanks [Maxim Ivanov](https://github.com/redbaron)) | ||
* New optional dump/restore functional for minimize data loss on restart | ||
* Refactored internal stat mechanics. `common.graph-prefix` and `common.metric-interval` now can be changed without restart (on HUP signal) | ||
* Customizable internal metrics endpoint. `common.metric-endpoint` param. Valid values: "local" and "" (write directly to whisper), "tcp://host:port", "udp://host:port" | ||
|
||
##### version 0.7.3 | ||
* Added `cache.write-strategy` option (values "max" or "sorted") (thanks [Alexander Akulov](https://github.com/AlexAkulov)) | ||
* `commitedPoints` metric renamed to `committedPoints` | ||
|
||
##### version 0.7.2 | ||
* Added sparse file creation (`whisper.sparse-create` config option) | ||
* Enable reload in init script (thanks [Jose Riguera](https://github.com/jriguera)) | ||
* Clean up schemas parser code (thanks [Dieter Plaetinck](https://github.com/Dieterbe)) | ||
* Better go-whisper error handling (thanks [Hiroaki Nakamura](https://github.com/hnakamur)) | ||
* Don't try to create whisper file if exists with bad permissions #21 | ||
|
||
##### version 0.7.1 | ||
* Fixed problem: Points in queue (channel) between cache and persister subsystems was invisible for carbonlink | ||
|
||
##### version 0.7 | ||
* Grace stop on `USR2` signal: close all socket listeners, flush cache to disk and stop carbon | ||
* Reload persister config (`whisper` section of main config, `storage-schemas.conf` and `storage-aggregation.conf`) on `HUP` signal | ||
* Fix bug: Cache may start save points only after first checkpoint | ||
* Decimal numbers in log files instead of hexademical #22 | ||
* Fix bug: NaN values being saved in Whisper datafiles #17 (thanks [Andrew Hayworth](https://github.com/ahayworth)) | ||
* Fix bug: may crash on bad pickle message with big message size in header #30. Added option `pickle.max-message-size` with 64 MB default value | ||
* Improved throttling (max-updates-per-second) performance #32 | ||
|
||
##### version 0.6 | ||
* `metric-interval` option | ||
|
||
##### version 0.5.5 | ||
* Cache module optimization | ||
|
||
##### version 0.5.4 | ||
* Fix RPM init script | ||
|
||
##### version 0.5.3 | ||
* Improved validation of bad wsp files | ||
* RPM init script checks config before restart | ||
* Debug logging of bad pickle messages | ||
|
||
##### version 0.5.2 | ||
* Fix bug in go-whisper library: UpdateMany saves first point if many points has identical timestamp | ||
|
||
##### version 0.5.1 | ||
* Reduced error level of "bad messages" in tcp and pickle receivers. Now `info` | ||
* Configurable logging level. `log-level` option | ||
* Fix `wrong carbonlink request` error in log | ||
|
||
##### version 0.5.0 | ||
* `-check-config` validates schemas and aggregation configs | ||
* Fix broken internal metrics `tcp.active` and `pickle.active` | ||
* Optional udp incomplete messages logging: `log-incomplete` setting | ||
* Fixes for working on x86-32 | ||
* logging fsnotify: fix ONCE rotation bug | ||
|
||
##### version 0.4.3 | ||
* Optional whisper throttle setting #8: `max-updates-per-second` | ||
|
||
##### version 0.4.2 | ||
* Fix bug in go-whisper: points in long archives missed if metrics retention count >=3 | ||
|
||
##### version 0.4.1 | ||
* Bug fix schemas parser | ||
|
||
##### version 0.4 | ||
* Code refactoring and improved test coverage (thanks [Dave Rawks](https://github.com/drawks)) | ||
* Bug fixes | ||
|
||
##### version 0.3 | ||
* Log "create wsp" as debug | ||
* Log UDP checkpoint (calculate stats every minute) | ||
* Rotate logfile by inotify event (without HUP) | ||
* Check logfile opened | ||
* [storage-aggregation.conf](http://graphite.readthedocs.org/en/latest/config-carbon.html#storage-aggregation-conf) support | ||
* Create and chown logfile before daemonize and change user | ||
* Debian package (thanks [Dave Rawks](https://github.com/drawks)) | ||
|
||
##### version 0.2 | ||
* Git submodule dependencies | ||
* Init script for CentOS 6 | ||
* Makefile | ||
* "make rpm" script | ||
* Daemonize and run-as-user support | ||
* `-check-config` option | ||
* `-pidfile` option | ||
|
||
##### version 0.1 | ||
+ First full-functional public version | ||
+ Logging with HUP rotation support | ||
+ UDP receiver | ||
+ Tcp receiver | ||
+ Pickle receiver | ||
+ TOML-configs | ||
+ Carbonlink | ||
+ Multi-persister support | ||
+ storage-schemas.conf support |
Oops, something went wrong.