Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClickHouseCollector ¶
type ClickHouseCollector struct {
// contains filtered or unexported fields
}
ClickHouseCollector collects clickhouse metrics.
func NewClickHouseCollector ¶
func NewClickHouseCollector(db *sqlx.DB) *ClickHouseCollector
NewClickHouseCollector returns an initialized ClickHouseCollector.
func (*ClickHouseCollector) Collect ¶
func (c *ClickHouseCollector) Collect(ch chan<- prometheus.Metric)
Collect fetches the metrics from clickhouse.
func (*ClickHouseCollector) Describe ¶
func (c *ClickHouseCollector) Describe(ch chan<- *prometheus.Desc)
Describe describes all the metrics.
Click to show internal directories.
Click to hide internal directories.