jonas-werner / EdgeX_Tutorial

Repository holding files for EdgeX Foundry tutorial (NOTE: Work in progress as of August 2020)
14 stars 9 forks source link

Grafana not picking up data in InfluxDB #4

Closed C-monC closed 3 years ago

C-monC commented 3 years ago

Hi Jonas,

In the last section of your tutorial after linking Grafana to the influxDB database I am struggling to get the data to show.

Running http://195.168.1.5:48080/api/v1/reading shows that the python script sending data is indeed working.

In Grafana's interface the db links successfully but it seems like influxdb is not being populated. I am also certain the Grafana query is correct (copied the strings from the above request). Is there a way for me to check the influxdb contents? It also seems like at no stage I directly linked the influxdb docker with the other dockers - is this automatically done by the docker-compose?

I've checked the InfluxDB docker and the db sensordata is not being populated.

Kind regards, Simon

C-monC commented 3 years ago

The issue was in the eclipse-mosquitto docker. It failed to start the broker. Running a mosquitto broker in the virtualbox fixed all the issues.

jonas-werner commented 3 years ago

Thanks for letting me know!

On Tue, 9 Feb 2021, 17:09 Simon Harvey, notifications@github.com wrote:

The issue was in the eclipse-mosquitto docker. It failed to start the broker. Running a mosquitto broker in the virtualbox fixed all the issues.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jonas-werner/EdgeX_Tutorial/issues/4#issuecomment-775751467, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIRJZSWK2WLS3FMMEMVONYLS6DUTXANCNFSM4XJCTVMQ .