Skip to content

Commit

Permalink
Merge pull request #1 from Albibek/metric-tags
Browse files Browse the repository at this point in the history
Metric tags
  • Loading branch information
Albibek authored Jan 15, 2020
2 parents 93ff780 + fa37065 commit e31eb59
Show file tree
Hide file tree
Showing 8 changed files with 1,534 additions and 305 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# 0.2.0

* aggregation API has changed, supporting custom percentiles, specifying a list of aggregates, etc
* metric name is now a separate structure allowing to process tag information
* metrics can now have tags in (yet only one) graphite format
* tags are placed in sorted order during aggregation and parsing so they are always correct to be used without creating separate structure for them
* aggregation modes are not supported to put aggregate names in tags or name postfixes
* name prefixing is available per aggregate
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "bioyino-metric"
version = "0.1.0"
version = "0.2.0"
authors = ["Sergey Noskov aka Albibek <[email protected]>"]
description = "Library for handling metrics in bioyino and related projects"
edition = "2018"
license = "MIT"
repository = "https://github.com/Albibek/bioyino-metric"
keywords = ["statsd", "bioyino", "metric", "metrics"]
keywords = ["statsd", "bioyino", "metric", "metrics", "graphite", "tags"]
categories = ["parser-implementations", "network-programming"]

[dependencies]
Expand All @@ -18,7 +18,7 @@ capnp = "^0.10"
combine="^3.6"
bytes = { version = "^0.4", features = [ "serde" ] }
num-traits="^0.2"
lazysort="^0.2"

[build-dependencies]
capnpc = "^0.10"

2 changes: 2 additions & 0 deletions rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
max_width=160
ideal_width=80
Loading

0 comments on commit e31eb59

Please sign in to comment.