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

Problem with database OUTPUT name #14

Open
MohamedMesk opened this issue Jun 11, 2020 · 4 comments
Open

Problem with database OUTPUT name #14

MohamedMesk opened this issue Jun 11, 2020 · 4 comments
Assignees
Labels
question Further information is requested

Comments

@MohamedMesk
Copy link

Hi, i'm currently working with POWERAPI to estimate the power consumption. But actually i've got a little problem with influxDB output to display these data in Grafana.
I'm using a docker with powerapi-sensor, all is working at this point. I use another docker for rapl-formula. I use this command : docker run -td --net=host --name powerapi-formula powerapi/rapl-formula -s --input mongodb -u mongodb://localhost:8425 -d powerapi -c sensor --output influxdb --uri localhost --port 8086 --db power_consumption --name grafana_output All is working with this command.
But when i change the --db option to another name like --db test It doesn't work. The database is created but get no data. Do we have to name our database "power_consumption"?

@rouvoy rouvoy added the question Further information is requested label Jun 11, 2020
@altor
Copy link
Contributor

altor commented Jun 16, 2020

Hi !
What input data did you use ?
Does the powerapi-sensor is running while rapl-formula is executed or do you use a dataset created by powerapi-sensor ? (in this case how much items this dataset contains ?)

@MohamedMesk
Copy link
Author

Hi, thanks for your answer.
Powerapi-sensor is running while rapl-formula is executed. So rapl-formula take data from the mongoDB.

@altor
Copy link
Contributor

altor commented Jun 18, 2020

I can't achieve to reproduce the bug.

The behavior that you describe could appears when you use rapl-formula in stream mode (with -s parameter) on a dataset previously generated by powerapi-sensor.

Could you send me the output of the command docker ps -a and docker logs powerapi-formula after launching the sensor and the formula ?

@roda82
Copy link

roda82 commented Jul 29, 2022

Hello,

Do you have still problems with RALP Formula ?

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

No branches or pull requests

4 participants