Skip to content

Commit 1ce169e

Browse files
committed
clean up/unify Cargo metadata + prep metrics-exporter-dogstatsd for release
1 parent b12f4d0 commit 1ce169e

File tree

11 files changed

+76
-35
lines changed

11 files changed

+76
-35
lines changed

Cargo.toml

+6
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ members = [
1111
"metrics-util",
1212
]
1313

14+
[workspace.package]
15+
edition = "2021"
16+
license = "MIT"
17+
repository = "https://github.com/metrics-rs/metrics"
18+
homepage = "https://github.com/metrics-rs/metrics"
19+
1420
[workspace.dependencies]
1521
ahash = { version = "0.8", default-features = false }
1622
aho-corasick = { version = "1", default-features = false }

metrics-exporter-dogstatsd/CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010

1111
### Added
1212

13-
- Genesis.
13+
- Genesis of the new version of this crate. This version of the exporter is a successor to the original
14+
`metrics-exporter-dogstatsd` exporter written by [Valentino Volonghi](https://github.com/dialtone), and starts after
15+
the last version of that crate (`0.8.0`) to indicate the SemVer-incompatible changes that have been made. This new
16+
crate is MIT licenses just as the original one was. The old code can be found
17+
[here](https://github.com/dialtone/metrics-exporter-dogstatsd).

metrics-exporter-dogstatsd/Cargo.toml

+14-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
11
[package]
22
name = "metrics-exporter-dogstatsd"
3-
version = "0.1.0"
4-
edition = "2021"
3+
version = "0.9.0"
4+
edition = { workspace = true}
5+
rust-version = "1.71.1"
6+
7+
description = "A metrics-compatible exporter for sending metrics to the Datadog Agent."
8+
license = { workspace = true }
9+
authors = ["Toby Lawrence <[email protected]>"]
10+
repository = { workspace = true }
11+
homepage = { workspace = true }
12+
documentation = "https://docs.rs/metrics-exporter-dogstatsd"
13+
readme = "README.md"
14+
15+
categories = ["development-tools::debugging"]
16+
keywords = ["metrics", "telemetry", "dogstatsd", "Datadog"]
517

618
[dependencies]
719
bytes = { version = "1", default-features = false }

metrics-exporter-dogstatsd/README.md

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# metrics-exporter-dogstatsd
2+
3+
[![conduct-badge][]][conduct] [![downloads-badge][] ![release-badge][]][crate] [![docs-badge][]][docs] [![license-badge][]](#license)
4+
5+
[conduct-badge]: https://img.shields.io/badge/%E2%9D%A4-code%20of%20conduct-blue.svg
6+
[downloads-badge]: https://img.shields.io/crates/d/metrics-exporter-dogstatsd.svg
7+
[release-badge]: https://img.shields.io/crates/v/metrics-exporter-dogstatsd.svg
8+
[license-badge]: https://img.shields.io/crates/l/metrics-exporter-dogstatsd.svg
9+
[docs-badge]: https://docs.rs/metrics-exporter-dogstatsd/badge.svg
10+
[conduct]: https://github.com/metrics-rs/metrics/blob/master/CODE_OF_CONDUCT.md
11+
[crate]: https://crates.io/crates/metrics-exporter-dogstatsd
12+
[docs]: https://docs.rs/metrics-exporter-dogstatsd
13+
14+
__metrics-exporter-dogstatsd__ is a `metrics`-compatible exporter sending metrics to the Datadog Agent.
15+
16+
## previous versions (0.8.0 and earlier) of this crate
17+
18+
Up until the 0.9.0 release, this crate was based on a different codebase
19+
(http://github.com/dialtone/metrics-exporter-dogstatsd) written by [Valentino Volonghi](http://github.com/dialtone). The
20+
new version (0.9.0) are officially supported by the metrics-rs team, and are SemVer-incompatible with the previous
21+
versions.
22+
23+
## code of conduct
24+
25+
**NOTE**: All conversations and contributions to this project shall adhere to the [Code of Conduct][conduct].

metrics-exporter-prometheus/Cargo.toml

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
[package]
22
name = "metrics-exporter-prometheus"
33
version = "0.16.1"
4-
authors = ["Toby Lawrence <[email protected]>"]
54
edition = "2018"
65
rust-version = "1.71.1"
76

8-
license = "MIT"
9-
107
description = "A metrics-compatible exporter for sending metrics to Prometheus."
11-
homepage = "https://github.com/metrics-rs/metrics"
12-
repository = "https://github.com/metrics-rs/metrics"
8+
license = { workspace = true }
9+
authors = ["Toby Lawrence <[email protected]>"]
10+
repository = { workspace = true }
11+
homepage = { workspace = true }
1312
documentation = "https://docs.rs/metrics-exporter-prometheus"
1413
readme = "README.md"
1514

metrics-exporter-prometheus/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
[crate]: https://crates.io/crates/metrics-exporter-prometheus
1212
[docs]: https://docs.rs/metrics-exporter-prometheus
1313

14-
__metrics-exporter-prometheus__ is a `metrics`-compatible exporter that serves a Prometheus scrape endpoint.
14+
__metrics-exporter-prometheus__ is a `metrics`-compatible exporter for sending metrics to Prometheus.
1515

1616
## code of conduct
1717

metrics-exporter-tcp/Cargo.toml

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
[package]
22
name = "metrics-exporter-tcp"
33
version = "0.11.0"
4-
authors = ["Toby Lawrence <[email protected]>"]
54
edition = "2018"
65
rust-version = "1.71.1"
76

8-
license = "MIT"
9-
107
description = "A metrics-compatible exporter that outputs metrics to clients over TCP."
11-
homepage = "https://github.com/metrics-rs/metrics"
12-
repository = "https://github.com/metrics-rs/metrics"
8+
license = { workspace = true }
9+
authors = ["Toby Lawrence <[email protected]>"]
10+
repository = { workspace = true }
11+
homepage = { workspace = true }
1312
documentation = "https://docs.rs/metrics-exporter-tcp"
1413
readme = "README.md"
1514

metrics-observer/Cargo.toml

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
[package]
22
name = "metrics-observer"
33
version = "0.4.0"
4-
authors = ["Toby Lawrence <[email protected]>"]
54
edition = "2018"
65
rust-version = "1.74.0"
76

8-
license = "MIT"
9-
107
description = "Text-based UI for metrics-exporter-tcp."
11-
homepage = "https://github.com/metrics-rs/metrics"
12-
repository = "https://github.com/metrics-rs/metrics"
8+
license = { workspace = true }
9+
authors = ["Toby Lawrence <[email protected]>"]
10+
repository = { workspace = true }
11+
homepage = { workspace = true }
1312
documentation = "https://docs.rs/metrics"
1413
readme = "README.md"
1514

metrics-tracing-context/Cargo.toml

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
[package]
22
name = "metrics-tracing-context"
33
version = "0.18.0"
4-
authors = ["MOZGIII <[email protected]>"]
54
edition = "2018"
65
rust-version = "1.71.1"
76

8-
license = "MIT"
9-
107
description = "A crate to use tracing context as metrics labels."
11-
homepage = "https://github.com/metrics-rs/metrics"
12-
repository = "https://github.com/metrics-rs/metrics"
13-
documentation = "https://docs.rs/metrics"
8+
license = { workspace = true }
9+
authors = ["MOZGIII <[email protected]>"]
10+
repository = { workspace = true }
11+
homepage = { workspace = true }
12+
documentation = "https://docs.rs/metrics-tracing-context"
1413
readme = "README.md"
1514

1615
categories = ["development-tools::debugging"]

metrics-util/Cargo.toml

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
[package]
22
name = "metrics-util"
33
version = "0.19.0"
4-
authors = ["Toby Lawrence <[email protected]>"]
54
edition = "2018"
65
rust-version = "1.71.1"
76

8-
license = "MIT"
9-
107
description = "Helper types/functions used by the metrics ecosystem."
11-
homepage = "https://github.com/metrics-rs/metrics"
12-
repository = "https://github.com/metrics-rs/metrics"
8+
license = { workspace = true }
9+
authors = ["Toby Lawrence <[email protected]>"]
10+
repository = { workspace = true }
11+
homepage = { workspace = true }
1312
documentation = "https://docs.rs/metrics-util"
1413
readme = "README.md"
1514

metrics/Cargo.toml

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
[package]
22
name = "metrics"
33
version = "0.24.1"
4-
authors = ["Toby Lawrence <[email protected]>"]
54
edition = "2018"
65
rust-version = "1.71.1"
76

8-
license = "MIT"
9-
107
description = "A lightweight metrics facade."
11-
homepage = "https://github.com/metrics-rs/metrics"
12-
repository = "https://github.com/metrics-rs/metrics"
8+
license = { workspace = true }
9+
authors = ["Toby Lawrence <[email protected]>"]
10+
repository = { workspace = true }
11+
homepage = { workspace = true }
1312
documentation = "https://docs.rs/metrics"
1413
readme = "README.md"
1514

0 commit comments

Comments
 (0)