Documentation
¶
Index ¶
- func HandleError(s *store.Store, scope string, err error)
- func HealthzExporter(s *store.Store) http.HandlerFunc
- func LogTSVExporter(s *store.Store) http.HandlerFunc
- func MetricsExporter(s *store.Store) http.HandlerFunc
- func New(s *store.Store) http.Handler
- func StatusHTMLExporter(s *store.Store) http.HandlerFunc
- func StatusJSONExporter(s *store.Store) http.HandlerFunc
- func StatusTextExporter(s *store.Store) http.HandlerFunc
- type LogFilter
- type LogGenerator
- type LogReader
- type LogScanner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HealthzExporter ¶
func HealthzExporter(s *store.Store) http.HandlerFunc
func LogTSVExporter ¶ added in v0.8.0
func LogTSVExporter(s *store.Store) http.HandlerFunc
func MetricsExporter ¶
func MetricsExporter(s *store.Store) http.HandlerFunc
func StatusHTMLExporter ¶ added in v0.7.0
func StatusHTMLExporter(s *store.Store) http.HandlerFunc
func StatusJSONExporter ¶ added in v0.7.0
func StatusJSONExporter(s *store.Store) http.HandlerFunc
func StatusTextExporter ¶ added in v0.7.0
func StatusTextExporter(s *store.Store) http.HandlerFunc
Types ¶
type LogFilter ¶ added in v0.8.0
type LogFilter struct {
Scanner LogScanner
Targets []string
}
type LogGenerator ¶ added in v0.8.0
type LogGenerator struct {
// contains filtered or unexported fields
}
func NewLogGenerator ¶ added in v0.8.0
func NewLogGenerator(s *store.Store, since, until time.Time) *LogGenerator
func (*LogGenerator) Bytes ¶ added in v0.8.0
func (g *LogGenerator) Bytes() []byte
func (*LogGenerator) Close ¶ added in v0.8.0
func (g *LogGenerator) Close() error
func (LogGenerator) Len ¶ added in v0.8.0
func (g LogGenerator) Len() int
func (LogGenerator) Less ¶ added in v0.8.0
func (g LogGenerator) Less(i, j int) bool
func (*LogGenerator) Record ¶ added in v0.8.0
func (g *LogGenerator) Record() api.Record
func (*LogGenerator) Scan ¶ added in v0.8.0
func (g *LogGenerator) Scan() bool
func (LogGenerator) Swap ¶ added in v0.8.0
func (g LogGenerator) Swap(i, j int)
type LogReader ¶ added in v0.8.0
type LogReader struct {
// contains filtered or unexported fields
}
func NewLogReader ¶ added in v0.8.0
func NewLogReaderFromReader ¶ added in v0.8.0
func NewLogReaderFromReader(f io.ReadCloser, since, until time.Time) *LogReader
type LogScanner ¶ added in v0.8.0
func NewLogScanner ¶ added in v0.8.0
Click to show internal directories.
Click to hide internal directories.