Documentation
¶
Index ¶
- type Metric
- type NodeMetric
- func NewGcPoolCountMetric(pool string) *NodeMetric
- func NewGcPoolTimeMetric(pool string) *NodeMetric
- func NewHeapMetric(t string) *NodeMetric
- func NewMemPoolMetric(pool, t string) *NodeMetric
- func NewNodeMetric(name string, desc string, path string) *NodeMetric
- func NewRawMetric(op string) *NodeMetric
- func NewThreadPoolMetrics(pool string) []*NodeMetric
- func NewTotalAndMillisMetrics(m string) []*NodeMetric
- type NodeStatsJson
- type SirenLicenseMetric
- type SirenMemoryMetric
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeMetric ¶
type NodeMetric struct { Path string Gauge *prometheus.GaugeVec }
func NewGcPoolCountMetric ¶
func NewGcPoolCountMetric(pool string) *NodeMetric
func NewGcPoolTimeMetric ¶
func NewGcPoolTimeMetric(pool string) *NodeMetric
func NewHeapMetric ¶
func NewHeapMetric(t string) *NodeMetric
func NewMemPoolMetric ¶
func NewMemPoolMetric(pool, t string) *NodeMetric
func NewNodeMetric ¶
func NewNodeMetric(name string, desc string, path string) *NodeMetric
func NewRawMetric ¶
func NewRawMetric(op string) *NodeMetric
func NewThreadPoolMetrics ¶
func NewThreadPoolMetrics(pool string) []*NodeMetric
func NewTotalAndMillisMetrics ¶
func NewTotalAndMillisMetrics(m string) []*NodeMetric
func (*NodeMetric) Observe ¶
func (m *NodeMetric) Observe(object interface{}) error
func (*NodeMetric) String ¶
func (m *NodeMetric) String() string
type NodeStatsJson ¶
type NodeStatsJson struct {
Nodes map[string]*json.RawMessage `json:"nodes"`
}
func NewNodeStatsJson ¶
func NewNodeStatsJson(r io.Reader) (*NodeStatsJson, error)
type SirenLicenseMetric ¶ added in v0.8.0
type SirenLicenseMetric struct {
Valid prometheus.Gauge
}
func NewSirenLicenseMetric ¶ added in v0.8.0
func NewSirenLicenseMetric() *SirenLicenseMetric
func (SirenLicenseMetric) Observe ¶ added in v0.8.0
func (m SirenLicenseMetric) Observe(object interface{}) error
func (SirenLicenseMetric) String ¶ added in v0.8.0
func (m SirenLicenseMetric) String() string
type SirenMemoryMetric ¶
type SirenMemoryMetric struct { Peak *prometheus.GaugeVec Limit *prometheus.GaugeVec }
func NewSirenMemoryMetric ¶
func NewSirenMemoryMetric() *SirenMemoryMetric
func (SirenMemoryMetric) Observe ¶
func (m SirenMemoryMetric) Observe(object interface{}) error
func (SirenMemoryMetric) String ¶
func (m SirenMemoryMetric) String() string
Click to show internal directories.
Click to hide internal directories.