Documentation
¶
Index ¶
- Variables
- func ValidateAggregatedMetricQuery(ctx context.Context, req logql.QueryParams) error
- func ValidateQueryRequest(ctx context.Context, req logql.QueryParams, limits Limits) (time.Time, time.Time, error)
- func ValidateQueryTimeRangeLimits(ctx context.Context, userID string, limits TimeRangeLimits, ...) (time.Time, time.Time, error)
- type Limits
- type TimeRangeLimits
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInternalStreamsDrilldownOnly = fmt.Errorf("internal streams can only be queried from Logs Drilldown")
Functions ¶
func ValidateAggregatedMetricQuery ¶ added in v3.5.0
func ValidateAggregatedMetricQuery(ctx context.Context, req logql.QueryParams) error
ValidateAggregatedMetricQuery checks if the query is accessing __aggregated_metric__ or __pattern__ streams and ensures that only queries from Grafana Explore Logs can access them.
func ValidateQueryRequest ¶ added in v3.5.0
Types ¶
Click to show internal directories.
Click to hide internal directories.