Documentation ¶
Index ¶
Constants ¶
View Source
const (
Namespace = "wowza"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { Name string `xml:"Name"` Status string `xml:"Status"` TimeRunning float64 `xml:"TimeRunning"` ConnectionsCurrent int `xml:"ConnectionsCurrent"` ConnectionsTotal int `xml:"ConnectionsTotal"` ConnectionsTotalAccepted int `xml:"ConnectionsTotalAccepted"` ConnectionsTotalRejected int `xml:"ConnectionsTotalRejected"` MessagesInBytesRate float64 `xml:"MessagesBytesRate"` MessagesOutBytesRate float64 `xml:"MessagesOutBytesRate"` ApplicationInstance []ApplicationInstance `xml:"ApplicationInstance"` }
type ApplicationInstance ¶
type ApplicationInstance struct { Name string `xml:"Name"` Status string `xml:"Status"` TimeRunning float64 `xml:"TimeRunning"` ConnectionsCurrent int `xml:"ConnectionsCurrent"` ConnectionsTotal int `xml:"ConnectionsTotal"` ConnectionsTotalAccepted int `xml:"ConnectionsTotalAccepted"` ConnectionsTotalRejected int `xml:"ConnectionsTotalRejected"` MessagesInBytesRate float64 `xml:"MessagesBytesRate"` MessagesOutBytesRate float64 `xml:"MessagesOutBytesRate"` Stream []interface{} `xml:"Stream"` }
type Exporter ¶
type Exporter struct {
// contains filtered or unexported fields
}
Exporter collects metrics from a wowza server.
func (*Exporter) Collect ¶
func (e *Exporter) Collect(ch chan<- prometheus.Metric)
Collect fetches the statistics from the configured wowza server, and delivers them as Prometheus metrics. It implements prometheus.Collector.
func (*Exporter) Describe ¶
func (e *Exporter) Describe(ch chan<- *prometheus.Desc)
Describe describes all the metrics exported by the wowza exporter. It implements prometheus.Collector.
type Response ¶
type Response struct { ConnectionsCurrent int `xml:"ConnectionsCurrent"` ConnectionsTotal int `xml:"ConnectionsTotal"` ConnectionsTotalAccepted int `xml:"ConnectionsTotalAccepted"` ConnectionsTotalRejected int `xml:"ConnectionsTotalRejected"` MessagesInBytesRate float64 `xml:"MessagesBytesRate"` MessagesOutBytesRate float64 `xml:"MessagesOutBytesRate"` VHost []VHost `xml:"VHost"` }
type VHost ¶
type VHost struct { Name string `xml:"Name"` TimeRunning float64 `xml:"TimeRunning"` ConnectionsLimit int `xml:"ConnectionsLimit"` ConnectionsCurrent int `xml:"ConnectionsCurrent"` ConnectionsTotal int `xml:"ConnectionsTotal"` ConnectionsTotalAccepted int `xml:"ConnectionsTotalAccepted"` ConnectionsTotalRejected int `xml:"ConnectionsTotalRejected"` MessagesInBytesRate float64 `xml:"MessagesBytesRate"` MessagesOutBytesRate float64 `xml:"MessagesOutBytesRate"` Application []Application `xml:"Application"` }
Click to show internal directories.
Click to hide internal directories.