sanathp / statusok

Monitor your Website and APIs from your Computer. Get Notified through Slack, E-mail when your server is down or response time is more than expected.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I have issue with influxdb

hadifarnoud opened this issue · comments

It seems like influxdb+Grafana integration does not work. db connection is working.

config.json

{
"database":{
        "influxDb":{
            "host":"localhost",
            "port":8086,
            "databaseName":"statusok",
            "username":"",
            "password":""
        }
},
    "requests":[
        {
            "url":"https://camva.ir",
            "requestType":"GET",
            "checkEvery":30,
            "responseTime":800
        }
    ]
}

I checked the db. data is being logged.

this is the query I used to get the data. I added the local db on Grafana too.
screen shot 1395-02-13 at 14 07 15

fixed it. It needed an aggregate function such as mean or median in SELECT