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

Documentation: To get Timeseries working in grafana exactly one column should have the name timestamp #2

Open
larswitte opened this issue Aug 31, 2021 · 0 comments

Comments

@larswitte
Copy link

Grafana needs one column of type time to know how to display time series data. Otherwise it will display the error ``
The united manufacturing hub datasource is configured to only change the column type of the column with columnName timestamp! This needs to be documented in the documentation, because it is not obvious.

if (columnName === 'timestamp') {
frame.addField({
name: columnName,
type: FieldType.time,
values: datapoints[queryIndex][columnIndex],
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant