I have started playing around with Influxdb v0.13 and I have some dummy values in my test db where id is a tag and value is a field:
> SELECT * FROM dummy
name: dummy
--------------
time id value
1468276508161069051 1234 …
I have grafana 3.0.4 / influxdb 0.13.0 / telegraf 0.13.1
I am trying to graph overall CPU usage by %.
When I create a query using the idle time, I get exactly that (I'm looking for 100 - idle time) (usage)
I switched to manual mode and did exactly…
I use telegraf plugin nginx to read Nginx's basic status information (ngx_http_stub_status_module)
This is my query
raw sql:
SELECT derivative(mean("requests"), 1s) FROM "nginx" WHERE $timeFilter GROUP BY time($interval) fill(null)
This is my…
I had data from last 7 days in influx. I applied retention policy and suddenly all data got deleted. i have single instance of influx running.
CREATE RETENTION POLICY stats_30_day ON server_stats DURATION 30d REPLICATION 1
ALTER RETENTION POLICY…
I'm collecting cpu usage measured in jiffies by Collectd 5.4.0 and then storing the results in InfluxDB 0.9.4. I use the following query to get cpu percentage from InfluxDB:
SELECT MEAN(value) FROM cpu_value WHERE time >= '' and time <= '' GROUP BY…
how to get all databases use http api from influxdb in v0.8?
but I can use this query in v0.9:
curl -G http://localhost:8086/query --data-urlencode "u=todd" \
--data-urlencode "p=influxdb4ever" --data-urlencode "q=SHOW DATABASES"
I can't get any…
I'm trying to create grafana dashboards from a template with the api from grafana. I use grafana v2.0.2 at the moment.
I have an api key and I'm able to get the dashboards with curl, but I'm unable to create dashboards.
When I do the following…
I want to store trades as well as best ask/bid data, where the latter updates much more rapidly than the former, in InfluxDB.
I want to, if possible, use a schema that allows me to query: "for each trade on market X, find the best ask/bid on market…
We use InfluxDB tags as variables in Grafana and we would like to limit tags by time range selected there.
Using $timeFrame is supported for select InfluxDB queries but tags are returned by "SHOW TAGS" which doesn't support $timeFrame:…
I'm trying to query data based on tag values. Is it possible to include multiple queries in the where clause . I could not find an operator similar to the IN operator in SQL.
select * from students where rollNumber='1' limit 10
students is the…
I am trying to use InfluxDB's Python client's to retrieve data stored on InfluxDB, but can't more than 10k lines. The examples I am (unsuccessfully) following are here. In summary:
import influxdb
dfclient = influxdb.DataFrameClient('localhost',…
I have the following stick script
stream
|from()
.measurement('mymetric_value')
|deadman(1.0, 10s)
.message('service is down!')
.log('/tmp/alerts.log')
.email('myemail@company.com')
It send an alert every 10 seconds that the…
I am facing to a problem: database for process plants. There are up to 50,000 sensors at sampling rate of 50 ms. All measured values need to be stored at least 3 years and must support real-time queries (i.e. users can see historical data with delay…