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

Metric Request Error #13

Closed
cs-priyank-mankad opened this issue Jun 15, 2020 · 18 comments
Closed

Metric Request Error #13

cs-priyank-mankad opened this issue Jun 15, 2020 · 18 comments
Labels
invalid This doesn't seem right

Comments

@cs-priyank-mankad
Copy link

Getting Metric Request Error while adding File with Datasource Plugin.

image

@paveldanilin
Copy link
Owner

@cs-priyank-mankad
could you check grafana.log for any errors and share them with me? Also, it would be helpful to see your CSV struct.

@cs-priyank-mankad
Copy link
Author

This got resolved it was permission issue. but now after adding required csv in plugin it is giving me error of unable to load graph.

@paveldanilin
Copy link
Owner

paveldanilin commented Jun 15, 2020

What version of the plugin do you use (you can check the version in logs)?
Please, share the error.

@cs-priyank-mankad
Copy link
Author

grafana-csv-datasource @ 1.0.0

@paveldanilin
Copy link
Owner

1.x.x does not support graphs, only tables :(
You can try this version, which supports graphs

@cs-priyank-mankad
Copy link
Author

it seems above mentioned version doesn't have grafana-csv-plugin_linux_amd64 file for linux

@paveldanilin
Copy link
Owner

You are right, I will add executable for Linux in the evening.

@cs-priyank-mankad
Copy link
Author

Ok thanks for the help. can you please update me here once you add linux executable.

@paveldanilin
Copy link
Owner

@cs-priyank-mankad I have added Linux executable. Could you try it?

@paveldanilin
Copy link
Owner

paveldanilin commented Jun 17, 2020 via email

@cs-priyank-mankad
Copy link
Author

image
Getting no data when i try to load CSV plugin with dashboard. although there is data inside .csv file.

@paveldanilin
Copy link
Owner

@cs-priyank-mankad could you share with me the first 5 rows from your file?

@cs-priyank-mankad
Copy link
Author

Timestamp CPU VMEM MEM
2020-06-16-12:31:24 41
2020-06-16-12:32:25 61
2020-06-16-12:33:25 64
2020-06-16-12:34:25 68
2020-06-16-12:35:25 71
2020-06-16-12:36:25 62
2020-06-16-12:37:25 44

@paveldanilin
Copy link
Owner

What delimiter is? White space?

@cs-priyank-mankad
Copy link
Author

yes it is whitespace

@paveldanilin
Copy link
Owner

I think the plugin is not able to recognize format since there are 4 columns and only 2 values in data rows.
I am going to investigate it more closely

@paveldanilin
Copy link
Owner

Also, take into consideration that by default delimiter is thecomma sign

@paveldanilin
Copy link
Owner

@cs-priyank-mankad I have replaced the white space separator by comma sign and removed columns without data. Now it works for me:
Timestamp,CPU
2020-06-16-12:31:24,41
2020-06-16-12:32:25,61
2020-06-16-12:33:25,64
2020-06-16-12:34:25,68
2020-06-16-12:35:25,71
2020-06-16-12:36:25,62
2020-06-16-12:37:25,44

I am going to check what is wrong with the white space sign as the separator. Thank you!

@paveldanilin paveldanilin added the invalid This doesn't seem right label Jun 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants