├── .cargo └── config ├── .github └── workflows │ └── actions.yml ├── .gitignore ├── .travis.yml ├── Cargo.lock ├── Cargo.toml ├── Dockerfile ├── LICENSE ├── README.md ├── statsrelay-protobuf ├── Cargo.toml ├── build.rs ├── proto │ └── ext │ │ └── github.com │ │ ├── gogo │ │ └── protobuf │ │ │ └── gogoproto │ │ │ └── gogo.proto │ │ └── prometheus │ │ └── prometheus │ │ └── prompb │ │ ├── remote.proto │ │ └── types.proto └── src │ └── lib.rs └── statsrelay ├── Cargo.toml ├── benches └── statsd_benchmark.rs ├── build.rs ├── examples ├── processors-basic.json ├── source-example1.json ├── tugboat-discovery.json └── tugboat-legacy-basic.json └── src ├── admin.rs ├── backend.rs ├── backend_client ├── mod.rs ├── prom_client.rs └── statsd_client.rs ├── backends.rs ├── cmd ├── loadgen.rs └── statsrelay.rs ├── config.rs ├── cuckoofilter ├── LICENSE ├── bucket.rs ├── mod.rs └── util.rs ├── discovery.rs ├── lib.rs ├── processors ├── cardinality.rs ├── mod.rs ├── regex_filter.rs ├── sampler.rs └── tag.rs ├── shard.rs ├── stats.rs ├── statsd_proto.rs └── statsd_server.rs /.cargo/config: -------------------------------------------------------------------------------- 1 | [profile.release] 2 | lto = true 3 | -------------------------------------------------------------------------------- /.github/workflows/actions.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/.github/workflows/actions.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/.travis.yml -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/Cargo.toml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/README.md -------------------------------------------------------------------------------- /statsrelay-protobuf/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay-protobuf/Cargo.toml -------------------------------------------------------------------------------- /statsrelay-protobuf/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay-protobuf/build.rs -------------------------------------------------------------------------------- /statsrelay-protobuf/proto/ext/github.com/gogo/protobuf/gogoproto/gogo.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay-protobuf/proto/ext/github.com/gogo/protobuf/gogoproto/gogo.proto -------------------------------------------------------------------------------- /statsrelay-protobuf/proto/ext/github.com/prometheus/prometheus/prompb/remote.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay-protobuf/proto/ext/github.com/prometheus/prometheus/prompb/remote.proto -------------------------------------------------------------------------------- /statsrelay-protobuf/proto/ext/github.com/prometheus/prometheus/prompb/types.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay-protobuf/proto/ext/github.com/prometheus/prometheus/prompb/types.proto -------------------------------------------------------------------------------- /statsrelay-protobuf/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay-protobuf/src/lib.rs -------------------------------------------------------------------------------- /statsrelay/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay/Cargo.toml -------------------------------------------------------------------------------- /statsrelay/benches/statsd_benchmark.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay/benches/statsd_benchmark.rs -------------------------------------------------------------------------------- /statsrelay/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay/build.rs -------------------------------------------------------------------------------- /statsrelay/examples/processors-basic.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay/examples/processors-basic.json -------------------------------------------------------------------------------- /statsrelay/examples/source-example1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay/examples/source-example1.json -------------------------------------------------------------------------------- /statsrelay/examples/tugboat-discovery.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay/examples/tugboat-discovery.json -------------------------------------------------------------------------------- /statsrelay/examples/tugboat-legacy-basic.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay/examples/tugboat-legacy-basic.json -------------------------------------------------------------------------------- /statsrelay/src/admin.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay/src/admin.rs -------------------------------------------------------------------------------- /statsrelay/src/backend.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay/src/backend.rs -------------------------------------------------------------------------------- /statsrelay/src/backend_client/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay/src/backend_client/mod.rs -------------------------------------------------------------------------------- /statsrelay/src/backend_client/prom_client.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay/src/backend_client/prom_client.rs -------------------------------------------------------------------------------- /statsrelay/src/backend_client/statsd_client.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay/src/backend_client/statsd_client.rs -------------------------------------------------------------------------------- /statsrelay/src/backends.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay/src/backends.rs -------------------------------------------------------------------------------- /statsrelay/src/cmd/loadgen.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay/src/cmd/loadgen.rs -------------------------------------------------------------------------------- /statsrelay/src/cmd/statsrelay.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay/src/cmd/statsrelay.rs -------------------------------------------------------------------------------- /statsrelay/src/config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay/src/config.rs -------------------------------------------------------------------------------- /statsrelay/src/cuckoofilter/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay/src/cuckoofilter/LICENSE -------------------------------------------------------------------------------- /statsrelay/src/cuckoofilter/bucket.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay/src/cuckoofilter/bucket.rs -------------------------------------------------------------------------------- /statsrelay/src/cuckoofilter/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay/src/cuckoofilter/mod.rs -------------------------------------------------------------------------------- /statsrelay/src/cuckoofilter/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay/src/cuckoofilter/util.rs -------------------------------------------------------------------------------- /statsrelay/src/discovery.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay/src/discovery.rs -------------------------------------------------------------------------------- /statsrelay/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay/src/lib.rs -------------------------------------------------------------------------------- /statsrelay/src/processors/cardinality.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay/src/processors/cardinality.rs -------------------------------------------------------------------------------- /statsrelay/src/processors/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay/src/processors/mod.rs -------------------------------------------------------------------------------- /statsrelay/src/processors/regex_filter.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay/src/processors/regex_filter.rs -------------------------------------------------------------------------------- /statsrelay/src/processors/sampler.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay/src/processors/sampler.rs -------------------------------------------------------------------------------- /statsrelay/src/processors/tag.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay/src/processors/tag.rs -------------------------------------------------------------------------------- /statsrelay/src/shard.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay/src/shard.rs -------------------------------------------------------------------------------- /statsrelay/src/stats.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay/src/stats.rs -------------------------------------------------------------------------------- /statsrelay/src/statsd_proto.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay/src/statsd_proto.rs -------------------------------------------------------------------------------- /statsrelay/src/statsd_server.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyft/statsrelay/HEAD/statsrelay/src/statsd_server.rs --------------------------------------------------------------------------------