References
abstract datatype: events()
metric_type() = c | g | ms | h | s
abstract datatype: metrics()
raw_request() = binary()
request() = metrics() | events() | service_check()
abstract datatype: service_check()
status() = status_ok | status_warn | status_crit | status_unknown
encode/1 | encode request for DogStatsD. |
new_events/3 | new a events request record. |
new_metrics/4 | new a metrics request record. |
new_service_check/3 | new a service check request record. |
encode(Metric::request()) -> raw_request()
encode request for DogStatsD
new_events(Name::string(), Text::string(), Opts::map()) -> events()
new a events request record
new_metrics(Name::string(), Type::metric_type(), Value::float(), Opts::map()) -> metrics()
new a metrics request record
new_service_check(Name::string(), Status::status(), Opts::map()) -> service_check()
new a service check request record.
Generated by EDoc