dogstatsd-rs icon indicating copy to clipboard operation
dogstatsd-rs copied to clipboard

A Dogstatsd Client for Rust

Results 12 dogstatsd-rs issues
Sort by recently updated
recently updated
newest added

Trying to provide a clean API that has lots of optional fields is pretty verbose right now, as was made clear by service checks, not to mention all the options...

I'm grateful you wrote this crate, thank you! Spared me having to learn how `statsd` works. You're probably not going to love this PR. Some issues that come to mind:...

I'm working on an async networking service that will need to emit metrics, soon. After looking at the existing crates available, `dogstatsd` is one of my top choices. Unfortunately for...

We currently perform name resolution on every metric that is sent. This pull request moves name resolution into the `Options` constructor. One consequence of this change is `Options::new` is now...

This allows people to write custom implementations of the Tag trait rather than having to rely on format! or similar and passing in tags as str/String. The Tag trait has...

The need to use `&'static str` as the message type for `ServiceCheckOptions` is very restrictive. Is there any clear reason you need the static lifetime? Could you instead make do...

Various updates: - support for passing ints and floats in client methods - use `enum` for metrics - `rated` variants to match the [Go client](https://github.com/DataDog/datadog-go/blob/19be5e3f81ca0166e94b4f79afb835bc55756b9f/statsd/statsd.go#L325-L327) - extra options for events...

Options like sample_rate, hostname, timestamp, etc. We have a lot of missing options

Might be nice to offer a `batch` block, so that multiple metrics that are sent together frequently can be batched into one packet

# Problem Sometimes users might want to start a new process in sandboxed environment without network access, for example from systemd [PrivateNetwork](https://www.freedesktop.org/software/systemd/man/systemd.exec.html#PrivateNetwork=) or any other userspace sandboxing using [network namespaces](https://man7.org/linux/man-pages/man7/network_namespaces.7.html)....