Documentation ¶
Index ¶
- func CheckMetricSelector(s string) (string, bool)
- func CreateSchema(db *sqlx.DB) error
- func NewBatchInserter(db *sqlx.DB, maxBatch int64) (*metricBatchInserter, error)
- func RowsOf(rows *sqlx.Rows, err error) rh
- func SplitMetricKey(s string) (string, string)
- func ValueFromValidSelector(selector, label string) (string, bool)
- func VersionParts(version string) (major, minor, micro int, stream string, t time.Time, pre string, ok bool)
- type DB
- type Int64Range
- type OutputMetric
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckMetricSelector ¶
func CreateSchema ¶
func NewBatchInserter ¶
func SplitMetricKey ¶
func ValueFromValidSelector ¶
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) JobCountsByName ¶
func (*DB) JobsByName ¶
func (*DB) MetricsByName ¶
type Int64Range ¶
func (Int64Range) Includes ¶
func (r Int64Range) Includes(v int64) bool
type OutputMetric ¶
Click to show internal directories.
Click to hide internal directories.