paveldanilin / grafana-csv-plugin

CSV datasource for Grafana 6.x.x / 7.x.x
MIT License
36 stars 12 forks source link

Metric Request Error #13

Closed cs-priyank-mankad closed 4 years ago

cs-priyank-mankad commented 4 years ago

Getting Metric Request Error while adding File with Datasource Plugin.

image

paveldanilin commented 4 years ago

@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 commented 4 years ago

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 commented 4 years ago

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

cs-priyank-mankad commented 4 years ago

grafana-csv-datasource @ 1.0.0

paveldanilin commented 4 years ago

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

cs-priyank-mankad commented 4 years ago

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

paveldanilin commented 4 years ago

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

cs-priyank-mankad commented 4 years ago

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

paveldanilin commented 4 years ago

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

paveldanilin commented 4 years ago

Check, please if executable grafana-csv-plugins linux_amd64 has the Execute permission?

ср, 17 июн. 2020 г. в 16:26, cs-priyank-mankad notifications@github.com:

[image: image] https://user-images.githubusercontent.com/46986647/84862778-6a656d80-b091-11ea-8b5a-e190b87f8183.png

Getting this error while saving the plugin.

in grafana.log no relevant error message is coming

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/paveldanilin/grafana-csv-plugin/issues/13#issuecomment-645178175, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAM3DNMIQIW6PIY27274SYLRXBOZVANCNFSM4N525N5Q .

cs-priyank-mankad commented 4 years ago

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

paveldanilin commented 4 years ago

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

cs-priyank-mankad commented 4 years ago

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 commented 4 years ago

What delimiter is? White space?

cs-priyank-mankad commented 4 years ago

yes it is whitespace

paveldanilin commented 4 years ago

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 commented 4 years ago

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

paveldanilin commented 4 years ago

@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!