Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { HttpPort int UdpPort int DefaultNamespace string DefaultSubsystem string MetricsFile string // contains filtered or unexported fields }
func NewApplication ¶
func NewApplication(log *log.Logger) (*Application, error)
func (*Application) Run ¶
func (a *Application) Run() (err error)
type HttpServer ¶
type HttpServer struct { HttpPort int // contains filtered or unexported fields }
func NewHttpServer ¶
func NewHttpServer(log *log.Logger, httpPort int) (hs *HttpServer, err error)
func (*HttpServer) Run ¶
func (hs *HttpServer) Run() (err error)
type Metric ¶
type Metric struct { Namespace string `json:"namespace"` Subsystem string `json:"subsystem"` Type string `json:"type"` Name string `json:"name"` Labels []string `json:"labels"` Help string `json:"help"` Buckets []float64 `json:"buckets"` // contains filtered or unexported fields }
func (*Metric) GetFullName ¶
func (*Metric) HandleMessage ¶
func (*Metric) SetNamespace ¶
func (*Metric) SetSubsystem ¶
type Receiver ¶
type Receiver struct {
// contains filtered or unexported fields
}
func NewReceiver ¶
Click to show internal directories.
Click to hide internal directories.