View Source Hui.Query.Metrics (Hui v0.11.0)
Struct for querying metrics.
See: Metrics API.
example
Example
iex> x = %Hui.Query.Metrics{group: "core", type: "timer", property: ["mean_ms", "max_ms", "p99_ms"], wt: "xml"}
%Hui.Query.Metrics{
compact: nil,
group: "core",
key: nil,
prefix: nil,
property: ["mean_ms", "max_ms", "p99_ms"],
regex: nil,
type: "timer",
wt: "xml"
}
iex> x |> Hui.Encoder.encode
"group=core&property=mean_ms&property=max_ms&property=p99_ms&type=timer&wt=xml"
Link to this section Summary
Link to this section Types
Link to this section Functions
@spec new() :: t()