Skip to content

Commit

Permalink
Bump to 0.8.0
Browse files Browse the repository at this point in the history
This release inaugurates the work of making cernan an at-once delivery
kind of system. This is John K's main show. We've also included the
feedback of end-users into the prometheus sink, making it behave more
like what folks expect and not breaking the bank in doing so:

  * da543d3 :: Introducing chan-signal & Signal Handling (#333)
  * c038a77 :: Remove any unwrap / excepts in prometheus critical path (#338)
  * 9b274cb :: Dramatically improve prometheus write speed, report CPU
  * 428bf5b :: Allow end-users to configure statsd error bounds (#341)
  * c5aaad4 :: Allow an 'enabled' flag to be set for firehose sink (#342)
  * c084e60 :: Windowing for prometheus sink's Summaries (#344)

Signed-off-by: Brian L. Troutwine <blt@postmates.com>
  • Loading branch information
Brian L. Troutwine committed Nov 27, 2017
1 parent e2cc2f0 commit f490b17
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "MIT"
name = "cernan"
readme = "README.md"
repository = "https://github.com/postmates/cernan"
version = "0.8.0-pre"
version = "0.8.0"

[[bin]]
name = "cernan"
Expand Down
2 changes: 1 addition & 1 deletion src/sink/console.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ impl Console {
/// let config = ConsoleConfig { config_path:
/// Some("sinks.console".to_string()),
/// bin_width: 2, flush_interval: 60 };
/// let c = Console::new(config);
/// let c = Console::new(&config);
/// ```
pub fn new(config: &ConsoleConfig) -> Console {
Console {
Expand Down
2 changes: 1 addition & 1 deletion src/sink/influxdb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ mod test {
tags: tags.clone(),
flush_interval: 60,
};
let mut influxdb = InfluxDB::new(config);
let mut influxdb = InfluxDB::new(&config);
let dt_0 = Utc.ymd(1990, 6, 12).and_hms_milli(9, 10, 11, 00);
let dt_1 = Utc.ymd(1990, 6, 12).and_hms_milli(9, 10, 12, 00);
let dt_2 = Utc.ymd(1990, 6, 12).and_hms_milli(9, 10, 13, 00);
Expand Down
2 changes: 1 addition & 1 deletion src/sink/prometheus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ mod test {
|probe| probe.partial_cmp(&telem.name_tag_hash()).unwrap(),
) {
Ok(hsh_idx) => {
let mut prev = values.index_mut(hsh_idx);
let prev = values.index_mut(hsh_idx);
if prev.kind() == telem.kind() {
prev.insert(telem);
} else {
Expand Down
2 changes: 1 addition & 1 deletion src/source/file/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ mod test {
let path = dir.path().join("a_file.log");
let mut fp = fs::File::create(&path).expect("could not create");
let mut fw =
FileWatcher::new(path.clone()).expect("must be able to create");
FileWatcher::new(&path).expect("must be able to create");

let mut expected_read = Vec::new();

Expand Down

0 comments on commit f490b17

Please sign in to comment.