1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
//! Cernan is a telemetry and logging aggregation server. It exposes multiple
//! interfaces for ingestion and can emit to mutiple aggregation sources while
//! doing in-flight manipulation of data. Cernan has minimal CPU and memory
//! requirements and is intended to service bursty telemetry _without_ load
//! shedding. Cernan aims to be _reliable_ and _convenient_ to use, both for
//! application engineers and operations staff.
//!
//! Why you might choose to use cernan:
//!
//!  * You need to ingest telemetry from multiple protocols.
//!  * You need to multiplex telemetry over aggregation services.
//!  * You want to convert log lines into telemetry.
//!  * You want to convert telemetry into log lines.
//!  * You want to transform telemetry or log lines in-flight.
//!
//! If you'd like to learn more, please do have a look in
//! our [wiki](https://github.com/postmates/cernan/wiki/).
#![allow(unknown_lints)]
#![deny(trivial_numeric_casts, missing_docs, unstable_features, unused_import_braces)]
extern crate base64;
extern crate byteorder;
extern crate chrono;
extern crate clap;
extern crate coco;
extern crate elastic;
extern crate flate2;
extern crate futures;
extern crate glob;
extern crate hopper;
extern crate libc;
extern crate mio;
extern crate mond;
extern crate protobuf;
extern crate quantiles;
extern crate rand;
extern crate rdkafka;
extern crate regex;
extern crate reqwest;
extern crate seahash;
extern crate serde_avro;
#[macro_use]
extern crate serde_json;
extern crate slab;
extern crate toml;
extern crate url;
extern crate uuid;

#[macro_use]
extern crate log;

#[macro_use]
extern crate lazy_static;

#[macro_use]
extern crate serde_derive;

#[cfg(test)]
extern crate quickcheck;

pub mod sink;
pub mod buckets;
pub mod config;
pub mod metric;
pub mod time;
pub mod source;
pub mod filter;
pub mod util;
pub mod constants;
pub mod thread;
pub mod protocols;
pub mod http;
pub mod matrix;