Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExpvarMetrics ¶
type ExpvarMetrics struct { Cmdline Cmdline `json:"cmdline"` Memstats Memstats `json:"memstats"` LibbeatMetrics }
func QueryExpvar ¶
func QueryExpvar(secret, raw string) (ExpvarMetrics, error)
QueryExpvar sends a request to an apm-server /debug/vars endpoint and parses the result.
type Info ¶
type Info struct { BuildDate time.Time `json:"build_date"` BuildSha string `json:"build_sha"` Version string `json:"version"` }
type LibbeatMetrics ¶
type Memstats ¶
Click to show internal directories.
Click to hide internal directories.