Documentation ¶
Index ¶
- Constants
- func AggregationField(length int, name string) *data.Field
- func AnomalyScoreField(length int) *data.Field
- func ArnField(length int) *data.Field
- func CompositeModelsField(length int) *data.Field
- func CreationDateField(length int) *data.Field
- func DescriptionField(length int) *data.Field
- func DiagnosticField(length int, assetId string) *data.Field
- func FieldTypeForPropertyValue(property *iotsitewise.DescribeAssetPropertyOutput) data.FieldType
- func HierarchiesField(length int) *data.Field
- func IdField(length int) *data.Field
- func LastUpdateField(length int) *data.Field
- func ModelIdField(length int) *data.Field
- func NameField(length int) *data.Field
- func NewFieldWithName(name string, fieldType data.FieldType, length int) *data.Field
- func PredictionReasonField(length int) *data.Field
- func PropertiesField(length int) *data.Field
- func PropertyValueField(property *iotsitewise.DescribeAssetPropertyOutput, length int) *data.Field
- func PropertyValueFieldForQuery(query models.AssetPropertyValueQuery, ...) *data.Field
- func PropertyValueFieldNamed(name string, property *iotsitewise.DescribeAssetPropertyOutput, length int) *data.Field
- func QualityField(length int) *data.Field
- func StatusErrorField(length int) *data.Field
- func StatusStateField(length int) *data.Field
- func TimeField(length int) *data.Field
- func ToGrafanaUnit(unit *string) string
Constants ¶
View Source
const ( Name = "name" Arn = "arn" Description = "description" Id = "id" CreationDate = "creation_date" LastUpdate = "last_update" Status = "status" StatusError = "error" StatusState = "state" ModelId = "model_id" Properties = "properties" Hierarchies = "hierarchies" Time = "time" Quality = "quality" CompositeModels = "composite_models" AnomalyScore = "anomaly_score" PredictionReason = "prediction_reason" )
Variables ¶
This section is empty.
Functions ¶
func AnomalyScoreField ¶ added in v1.18.0
func CompositeModelsField ¶ added in v1.1.0
func CreationDateField ¶
func DescriptionField ¶
Description fields are optional
func DiagnosticField ¶ added in v1.18.0
func FieldTypeForPropertyValue ¶
func FieldTypeForPropertyValue(property *iotsitewise.DescribeAssetPropertyOutput) data.FieldType
func HierarchiesField ¶
func LastUpdateField ¶
func ModelIdField ¶
func NewFieldWithName ¶
func PredictionReasonField ¶ added in v1.18.0
func PropertiesField ¶
func PropertyValueField ¶
func PropertyValueField(property *iotsitewise.DescribeAssetPropertyOutput, length int) *data.Field
func PropertyValueFieldForQuery ¶ added in v1.2.3
func PropertyValueFieldForQuery(query models.AssetPropertyValueQuery, property *iotsitewise.DescribeAssetPropertyOutput, length int) *data.Field
func PropertyValueFieldNamed ¶ added in v1.2.3
func PropertyValueFieldNamed(name string, property *iotsitewise.DescribeAssetPropertyOutput, length int) *data.Field
func QualityField ¶
func StatusErrorField ¶
func StatusStateField ¶
func ToGrafanaUnit ¶
Map values from ???:
https://docs.microsoft.com/en-us/rest/api/monitor/metrics/list#unit
to
https://github.com/grafana/grafana/blob/master/packages/grafana-data/src/valueFormats/categories.ts#L24
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.