Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request to add to query options List data stream alias #225

Open
fridgepoet opened this issue Sep 28, 2023 · 1 comment
Open

Feature request to add to query options List data stream alias #225

fridgepoet opened this issue Sep 28, 2023 · 1 comment

Comments

@fridgepoet
Copy link
Member

Discussed in https://github.com/grafana/iot-sitewise-datasource/discussions/186

Originally posted by jhoulihan May 15, 2023
Greetings, I would like to request the feature to add to Query Type: "List Data Stream Alias" .

  • The output to be tabular - similar to "List asset models" query. Could I suggest table headings of:
    property alias, last value, last value update, asset property name(if it exists), asset name(if it exists) , creation date.

  • A filter on the property alias should be applied before querying (I have ~20,000 datastreams and growing!) , ideally to allow for wildcards mid-string, eg /Plant1/Device1/+/PV/VALUE or /Plant1/Device1/++

  • Some default dataset return limit eg 30 rows per page - to prevent performance degradation or similar

  • Create the ability to copy the property alias string to clipboard, to allow for pasting elsewhere. If possible, cater for selecting and copying data by the property alias column (ie select multiple rows in the property column)

My sitewise/grafan solution uses OPC-UA data streams and not asset models to display timeseries, because it's faster to deploy timeseries data for endusers to consume and enjoy the hardwork the Grafana iot sitewise datasource team have put in :-) - the feature would be a great capability to allow endusers to develop their own dashboards by simply using the list of property aliases with the convenience of this query to look up what data streams they require.

@tracy-french
Copy link
Collaborator

This could be partially implemented by creating a query for ListTimeSeries (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_ListTimeSeries.html) and exposing the timeSeriesType filter to pass in "DISASSOCIATED".

Including the latest value in the query result requires additional API requests. Could we separate the requirement to list the latest values and reuse the existing "Get Property Value" query?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

2 participants