메소드 | 설명 | |
---|---|---|
ExtractQueryRequest ( this request, IEnumerable |
Extracts a Grafana QueryRequest from an AnnotationRequest.
|
|
IsApplicable ( this type, double datapoint ) : bool |
Determines if the data point is applicable for specified annotation type.
|
|
ParseQueryType ( this annotation, bool &useFilterExpression ) : AnnotationType |
Parses query expression from annotation for annotation type.
|
|
ParseSourceDefinitions ( this annotation, AnnotationType type, |
Parses source definitions for an annotation query.
|
|
PopulateResponse ( this type, GrafanaAdapters.AnnotationResponse response, string target, |
Populates an annotation response title, text and tags for specified annotation type.
|
|
TableName ( this type ) : string |
Gets table name for specified annotation type.
|
|
TargetFieldName ( this type ) : string |
Gets the target field name for Guid based point IDs for table used with specified annotation type.
|
메소드 | 설명 | |
---|---|---|
GetAlarmCondition ( |
||
GetMetaData ( |
||
GetTargetFromGuid ( string guidID ) : |
||
GetTargetMetaData ( |
||
KeyFromTag ( this pointTag, |
Looks up measurement key from point tag. This function uses the DataTable.Select(string) function which uses a linear search algorithm that can be slow for large data sets, it is recommended that any results for calls to this function be cached to improve performance. |
|
TagFromKey ( this key, |
Looks up point tag from measurement key value. This function uses the DataTable.Select(string) function which uses a linear search algorithm that can be slow for large data sets, it is recommended that any results for calls to this function be cached to improve performance. |
|
Translate ( this tableName ) : string |
public static ExtractQueryRequest ( this request, IEnumerable |
||
request | this | Annotation request. |
targets | IEnumerable |
List of desired targets. |
maxDataPoints | int | Maximum points to return. |
리턴 | GrafanaAdapters.QueryRequest |
public static IsApplicable ( this type, double datapoint ) : bool | ||
type | this | Annotation type. |
datapoint | double | Time series values data point. |
리턴 | bool |
public static ParseQueryType ( this annotation, bool &useFilterExpression ) : AnnotationType | ||
annotation | this | Grafana annotation. |
useFilterExpression | bool | Determines if query is using a filter expression. |
리턴 | AnnotationType |
public static ParseSourceDefinitions ( this annotation, AnnotationType type, |
||
annotation | this | Grafana annotation. |
type | AnnotationType | Annotation type. |
source | Metadata of source definitions. | |
useFilterExpression | bool | Determines if query is using a filter expression. |
리턴 | DataRow>.Dictionary |
public static PopulateResponse ( this type, GrafanaAdapters.AnnotationResponse response, string target, |
||
type | this | Annotation type. |
response | GrafanaAdapters.AnnotationResponse | Annotation response. |
target | string | Target of annotation response. |
definition | Associated metadata definition for response. | |
datapoint | double | Time series values data point for response. |
source | Metadata of source definitions. | |
리턴 | void |
public static TableName ( this type ) : string | ||
type | this | Annotation type. |
리턴 | string |
public static TargetFieldName ( this type ) : string | ||
type | this | Annotation type. |
리턴 | string |