Package graphite defines structures for interacting with a Graphite server.
- type Context
- type DataPoint
- type Host
- type HostHeader
- type Request
- type Response
- type Series
DefaultClient is the default HTTP client for requests.
Context is the interface for querying a Graphite server.
type Host string
Host is a simple Graphite Context with no additional features.
type HostHeader ¶
Request holds query objects. Currently only absolute times are supported.
Query performs a request to Graphite at the given host. host specifies a hostname with optional port, and may optionally begin with a scheme (http, https) to specify the protocol (http is the default). header is the headers to send.