Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApacheCollector ¶
type ApacheCollector struct { WebsocketConnections *prometheus.Desc ClientConnections *prometheus.Desc UniqueClientConnections *prometheus.Desc UniqueWebsocketClients *prometheus.Desc // contains filtered or unexported fields }
func NewApacheCollector ¶
func NewApacheCollector(logger *slog.Logger) *ApacheCollector
type ApacheMetrics ¶
type Collector ¶
type Collector struct { sync.Mutex ApacheStatus string Fqdn string ActivePuns *prometheus.Desc // contains filtered or unexported fields }
func NewCollector ¶
func (*Collector) Collect ¶
func (c *Collector) Collect(ch chan<- prometheus.Metric)
func (*Collector) Describe ¶
func (c *Collector) Describe(ch chan<- *prometheus.Desc)
type PassengerAppMetrics ¶ added in v0.4.0
type PassengerCollector ¶ added in v0.4.0
type PassengerCollector struct { Instances *prometheus.Desc Count *prometheus.Desc ProcCount *prometheus.Desc RSS *prometheus.Desc CPU *prometheus.Desc RealMemory *prometheus.Desc Requests *prometheus.Desc AvgRuntime *prometheus.Desc // contains filtered or unexported fields }
func NewPassengerCollector ¶ added in v0.4.0
func NewPassengerCollector(logger *slog.Logger) *PassengerCollector
type PassengerGroup ¶ added in v0.4.0
type PassengerGroup struct { AppRoot string `xml:"app_root"` Processes []PassengerProcess `xml:"processes>process"` }
type PassengerInfo ¶ added in v0.4.0
type PassengerInfo struct {
SuperGroups []PassengerSuperGroup `xml:"supergroups>supergroup"`
}
type PassengerProcess ¶ added in v0.4.0
type PassengerProcessMetrics ¶ added in v0.4.0
type PassengerSuperGroup ¶ added in v0.4.0
type PassengerSuperGroup struct {
Group PassengerGroup `xml:"group"`
}
type ProcessCollector ¶
type ProcessCollector struct { RackApps *prometheus.Desc NodeApps *prometheus.Desc PunCpuTime *prometheus.Desc PunMemory *prometheus.Desc PunMemoryPercent *prometheus.Desc // contains filtered or unexported fields }
func NewProcessCollector ¶
func NewProcessCollector(logger *slog.Logger) *ProcessCollector
Click to show internal directories.
Click to hide internal directories.