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

pcm scensor server: Using docker & granfana front-ended error #679

Open
kimiliu666 opened this issue Feb 20, 2024 · 7 comments
Open

pcm scensor server: Using docker & granfana front-ended error #679

kimiliu666 opened this issue Feb 20, 2024 · 7 comments

Comments

@kimiliu666
Copy link

Grafana is running,but no data on the page. The post request failed and the error message is :
A
Status: 500. Message: InfluxDB returned error: error parsing query: found /, expected identifier, string, number, bool at line 1, char 316

I have tried the lateset master branch and the "202311 Release" code gz, both two ways result in the same error.

@kimiliu666
Copy link
Author

POST query :
SELECT mean("Core Aggregate_Core Counters_L2 Cache Misses")/mean("Core Aggregate_Core Counters_Instructions Retired Any") FROM "http" WHERE ("url" = 'http://10.143.208.207:9738/persecond/') AND $timeFilter GROUP BY time($__interval) fill(null).
Post Response:
"error": "InfluxDB returned error: error parsing query: found \/, expected identifier, string, number, bool at line 1, char 177",

So, i think there might be some error near "http://"

@rdementi
Copy link
Contributor

are you using the start.sh script to start the containers and generate the dashboard?

@kimiliu666
Copy link
Author

are you using the start.sh script to start the containers and generate the dashboard?

Yes! # sudo sh start.sh http://10.143.208.232:9738

@rdementi
Copy link
Contributor

I tried the most recent version of pcm and grafana scripts (start.sh/stop.sh) from the master branch and the issue is not reproducible on my end. InfluxDB accepts the queries. Which version of pcm are you using?

@kimiliu666
Copy link
Author

I tried the most recent version of pcm and grafana scripts (start.sh/stop.sh) from the master branch and the issue is not reproducible on my end. InfluxDB accepts the queries. Which version of pcm are you using?

I first tried master branch last day, but it didn't work.
I have checked the containers with "docker ps ",influxdb and grafana are both running。
So I aslo tried "202311 Release" :
https://github.com/intel/pcm/releases/tag/202311
Also result in the same error.

@kimiliu666
Copy link
Author

I tried the most recent version of pcm and grafana scripts (start.sh/stop.sh) from the master branch and the issue is not reproducible on my end. InfluxDB accepts the queries. Which version of pcm are you using?

I first tried master branch last day, but it didn't work. I have checked the containers with "docker ps ",influxdb and grafana are both running。 So I aslo tried "202311 Release" : https://github.com/intel/pcm/releases/tag/202311 Also result in the same error.

First ,with master branch, the docker cannnot start influxdb correctly, because the "network" word is at the wrong place, I fixed it and found you fixed it last day. @.@
But this front end error confused me for hours, and I cannot fix it by myself.

@rdementi
Copy link
Contributor

ok. Perhaps you can try to stop the containers (stop.sh), delete your old container volumes (rm -rf *_volume), use the most recent version from scratch? It works flawlessly for me

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

2 participants