You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the Value Type is "", the attribute is interpreted as String in the new versions 5.0.0+
Value Type is used when AF Link is active.
This leads to interpretation of the values as String and not as e.g. Float thus leads to "Data is missing a number field".
If the Value Type is set to e.g. "Single" it works perfectly fine.
Please fix this.
The text was updated successfully, but these errors were encountered:
I'm not sure there is a perfect resolution for this. In the v4 side of the plugin, this likely worked because the javascript side of the plugin just resolved to a type at the end. With the backend being in go, we transmit this as a dataframe, which requires a field to have a concrete type https://pkg.go.dev/github.com/grafana/grafana-plugin-sdk-go/data#Field
It could be possible to allow a per query override to try to force an anything to resolve to a type. But it would need to skip not convertible values, or return nulls. Today the plugin defaults to returning nulls, as that produces trend lines most similar to how PI System Explorer would.
Affected Versions 5.0.0 and 5.1.0
If the Value Type is "", the attribute is interpreted as String in the new versions 5.0.0+
Value Type is used when AF Link is active.
This leads to interpretation of the values as String and not as e.g. Float thus leads to "Data is missing a number field".
If the Value Type is set to e.g. "Single" it works perfectly fine.
Please fix this.
![Screenshot 2024-11-25 075558](https://private-user-images.githubusercontent.com/83341719/389409926-50a904a7-737d-4d5e-8268-327f9081afd7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMTE0MDIsIm5iZiI6MTczOTMxMTEwMiwicGF0aCI6Ii84MzM0MTcxOS8zODk0MDk5MjYtNTBhOTA0YTctNzM3ZC00ZDVlLTgyNjgtMzI3ZjkwODFhZmQ3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDIxNTgyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQxYmNiNmE5OWMzMmY0MmJjMWFjODQwNGJhYjJmZWNjNGQ4ZDc5NGZhODhhNGU5ZmM1ZDlkMDY0Zjg3OGNmM2UmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.l0zgMXOj4ktm9K-_Ys6N-Z20JgI1fgQnKniQBi-NpXg)
The text was updated successfully, but these errors were encountered: