Click or drag to resize
Grid Solutions Framework

AnnotationExtensionsExtractQueryRequest Method

Extracts a Grafana QueryRequest from an AnnotationRequest.

Namespace: GrafanaAdapters
Assembly: GrafanaAdapters (in GrafanaAdapters.dll) Version: 2.4.158-beta
Syntax
public static QueryRequest ExtractQueryRequest(
	this AnnotationRequest request,
	IEnumerable<string> targets,
	int maxDataPoints
)
View Source

Parameters

request  AnnotationRequest
Annotation request.
targets  IEnumerableString
List of desired targets.
maxDataPoints  Int32
Maximum points to return.

Return Value

QueryRequest
Grafana query request object from an annotation request.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type AnnotationRequest. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also