Documentation
¶
Index ¶
- func ParseTimeSecOrRFC(raw string, def time.Time) (time.Time, error)
- func PromError(code int, msg string, w http.ResponseWriter)
- func RunPreRequestPlugins(r *http.Request) (context.Context, error)
- type Controller
- type MiscController
- func (uc *MiscController) Buildinfo(w http.ResponseWriter, r *http.Request)
- func (uc *MiscController) Config(w http.ResponseWriter, r *http.Request)
- func (uc *MiscController) Metadata(w http.ResponseWriter, r *http.Request)
- func (uc *MiscController) Ready(w http.ResponseWriter, r *http.Request)
- func (uc *MiscController) Rules(w http.ResponseWriter, r *http.Request)
- type ProfController
- func (pc *ProfController) AnalyzeQuery(w http.ResponseWriter, r *http.Request)
- func (pc *ProfController) LabelNames(w http.ResponseWriter, r *http.Request)
- func (pc *ProfController) LabelValues(w http.ResponseWriter, r *http.Request)
- func (pc *ProfController) MergeProfiles(w http.ResponseWriter, r *http.Request)
- func (pc *ProfController) NotImplemented(w http.ResponseWriter, r *http.Request)
- func (pc *ProfController) ProfileStats(w http.ResponseWriter, r *http.Request)
- func (pc *ProfController) ProfileTypes(w http.ResponseWriter, r *http.Request)
- func (pc *ProfController) RenderDiff(w http.ResponseWriter, r *http.Request)
- func (pc *ProfController) SelectMergeStackTraces(w http.ResponseWriter, r *http.Request)
- func (pc *ProfController) SelectSeries(w http.ResponseWriter, r *http.Request)
- func (pc *ProfController) Series(w http.ResponseWriter, r *http.Request)
- func (pc *ProfController) Settings(w http.ResponseWriter, r *http.Request)
- type PromQueryLabelsController
- func (p *PromQueryLabelsController) LabelValues(w http.ResponseWriter, r *http.Request)
- func (p *PromQueryLabelsController) Metadata(w http.ResponseWriter, r *http.Request)
- func (p *PromQueryLabelsController) PromLabels(w http.ResponseWriter, r *http.Request)
- func (p *PromQueryLabelsController) Series(w http.ResponseWriter, r *http.Request)
- type PromQueryRangeController
- type QueryLabelsController
- type QueryRangeController
- type QueryRangeProps
- type SeriesParams
- type TempoController
- func (t *TempoController) Echo(w http.ResponseWriter, r *http.Request)
- func (t *TempoController) Search(w http.ResponseWriter, r *http.Request)
- func (t *TempoController) Tags(w http.ResponseWriter, r *http.Request)
- func (t *TempoController) TagsV2(w http.ResponseWriter, r *http.Request)
- func (t *TempoController) Trace(w http.ResponseWriter, r *http.Request)
- func (t *TempoController) Values(w http.ResponseWriter, r *http.Request)
- func (t *TempoController) ValuesV2(w http.ResponseWriter, r *http.Request)
- type ValuesParams
- type VolumeController
- func (q *VolumeController) DetectedFields(w http.ResponseWriter, r *http.Request)
- func (q *VolumeController) DetectedLabels(w http.ResponseWriter, r *http.Request)
- func (q *VolumeController) Patterns(w http.ResponseWriter, r *http.Request)
- func (q *VolumeController) Volume(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Controller ¶
type Controller struct {
}
type MiscController ¶
type MiscController struct {
Version string
}
func (*MiscController) Buildinfo ¶
func (uc *MiscController) Buildinfo(w http.ResponseWriter, r *http.Request)
func (*MiscController) Config ¶
func (uc *MiscController) Config(w http.ResponseWriter, r *http.Request)
func (*MiscController) Metadata ¶
func (uc *MiscController) Metadata(w http.ResponseWriter, r *http.Request)
func (*MiscController) Ready ¶
func (uc *MiscController) Ready(w http.ResponseWriter, r *http.Request)
func (*MiscController) Rules ¶
func (uc *MiscController) Rules(w http.ResponseWriter, r *http.Request)
type ProfController ¶
type ProfController struct {
Controller
ProfService *service.ProfService
}
func (*ProfController) AnalyzeQuery ¶
func (pc *ProfController) AnalyzeQuery(w http.ResponseWriter, r *http.Request)
func (*ProfController) LabelNames ¶
func (pc *ProfController) LabelNames(w http.ResponseWriter, r *http.Request)
func (*ProfController) LabelValues ¶
func (pc *ProfController) LabelValues(w http.ResponseWriter, r *http.Request)
func (*ProfController) MergeProfiles ¶
func (pc *ProfController) MergeProfiles(w http.ResponseWriter, r *http.Request)
func (*ProfController) NotImplemented ¶
func (pc *ProfController) NotImplemented(w http.ResponseWriter, r *http.Request)
func (*ProfController) ProfileStats ¶
func (pc *ProfController) ProfileStats(w http.ResponseWriter, r *http.Request)
func (*ProfController) ProfileTypes ¶
func (pc *ProfController) ProfileTypes(w http.ResponseWriter, r *http.Request)
func (*ProfController) RenderDiff ¶
func (pc *ProfController) RenderDiff(w http.ResponseWriter, r *http.Request)
func (*ProfController) SelectMergeStackTraces ¶
func (pc *ProfController) SelectMergeStackTraces(w http.ResponseWriter, r *http.Request)
func (*ProfController) SelectSeries ¶
func (pc *ProfController) SelectSeries(w http.ResponseWriter, r *http.Request)
func (*ProfController) Series ¶
func (pc *ProfController) Series(w http.ResponseWriter, r *http.Request)
func (*ProfController) Settings ¶
func (pc *ProfController) Settings(w http.ResponseWriter, r *http.Request)
type PromQueryLabelsController ¶
type PromQueryLabelsController struct {
Controller
QueryLabelsService *service.QueryLabelsService
}
func (*PromQueryLabelsController) LabelValues ¶
func (p *PromQueryLabelsController) LabelValues(w http.ResponseWriter, r *http.Request)
func (*PromQueryLabelsController) Metadata ¶
func (p *PromQueryLabelsController) Metadata(w http.ResponseWriter, r *http.Request)
func (*PromQueryLabelsController) PromLabels ¶
func (p *PromQueryLabelsController) PromLabels(w http.ResponseWriter, r *http.Request)
func (*PromQueryLabelsController) Series ¶
func (p *PromQueryLabelsController) Series(w http.ResponseWriter, r *http.Request)
type PromQueryRangeController ¶
type PromQueryRangeController struct {
Controller
Api *api_v1.API
Storage *service.CLokiQueriable
Stats bool
}
func (*PromQueryRangeController) QueryInstant ¶
func (q *PromQueryRangeController) QueryInstant(w http.ResponseWriter, r *http.Request)
func (*PromQueryRangeController) QueryRange ¶
func (q *PromQueryRangeController) QueryRange(w http.ResponseWriter, r *http.Request)
type QueryLabelsController ¶
type QueryLabelsController struct {
Controller
QueryLabelsService *service.QueryLabelsService
}
func (*QueryLabelsController) Labels ¶
func (q *QueryLabelsController) Labels(w http.ResponseWriter, r *http.Request)
func (*QueryLabelsController) Series ¶
func (q *QueryLabelsController) Series(w http.ResponseWriter, r *http.Request)
func (*QueryLabelsController) Values ¶
func (q *QueryLabelsController) Values(w http.ResponseWriter, r *http.Request)
type QueryRangeController ¶
type QueryRangeController struct {
Controller
QueryRangeService *service.QueryRangeService
}
func (*QueryRangeController) Query ¶
func (q *QueryRangeController) Query(w http.ResponseWriter, r *http.Request)
func (*QueryRangeController) QueryRange ¶
func (q *QueryRangeController) QueryRange(w http.ResponseWriter, r *http.Request)
func (*QueryRangeController) Tail ¶
func (q *QueryRangeController) Tail(w http.ResponseWriter, r *http.Request)
type QueryRangeProps ¶
type SeriesParams ¶
type SeriesParams struct {
ValuesParams
Match []string `query:"match[]"`
Raw struct {
Match []string `query:"match[]"`
Query string `query:"query"`
}
}
func ParseLogSeriesParamsV2 ¶
type TempoController ¶
type TempoController struct {
Controller
Service model.ITempoService
}
func (*TempoController) Echo ¶
func (t *TempoController) Echo(w http.ResponseWriter, r *http.Request)
func (*TempoController) Search ¶
func (t *TempoController) Search(w http.ResponseWriter, r *http.Request)
func (*TempoController) Tags ¶
func (t *TempoController) Tags(w http.ResponseWriter, r *http.Request)
func (*TempoController) TagsV2 ¶
func (t *TempoController) TagsV2(w http.ResponseWriter, r *http.Request)
func (*TempoController) Trace ¶
func (t *TempoController) Trace(w http.ResponseWriter, r *http.Request)
func (*TempoController) Values ¶
func (t *TempoController) Values(w http.ResponseWriter, r *http.Request)
func (*TempoController) ValuesV2 ¶
func (t *TempoController) ValuesV2(w http.ResponseWriter, r *http.Request)
type ValuesParams ¶
type ValuesParams struct {
Start time.Time
End time.Time
Raw struct {
Start string `query:"start"`
End string `query:"end"`
}
}
func ParseTimeParamsV2 ¶
type VolumeController ¶
type VolumeController struct {
Controller
QueryRangeService *service.QueryRangeService
}
func (*VolumeController) DetectedFields ¶
func (q *VolumeController) DetectedFields(w http.ResponseWriter, r *http.Request)
func (*VolumeController) DetectedLabels ¶
func (q *VolumeController) DetectedLabels(w http.ResponseWriter, r *http.Request)
func (*VolumeController) Patterns ¶
func (q *VolumeController) Patterns(w http.ResponseWriter, r *http.Request)
func (*VolumeController) Volume ¶
func (q *VolumeController) Volume(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.