Comments (2)
I just added an integration test to make sure that count queries work, I can't reproduce the issue. Your problem might be the start/end time of the query. By default the start time is set to now () - 1 hour. Try
select count(instantaneous_ops_per_sec) from info where time > now() - 10d group by serverId limit 10;
If this doesn't work, it could be something special with your data. Can you provide a script that will reproduce the bug.
from influxdb.
Influx> select instantaneous_ops_per_sec from info group by serverId where time > now() - 10d limit 10;
┌───────────────┬─────────────────┬───────────────────────────┬──────────────────────────┐
│ time │ sequence_number │ instantaneous_ops_per_sec │ serverId │
├───────────────┼─────────────────┼───────────────────────────┼──────────────────────────┤
│ 1383996650387 │ 1186 │ 1 │ 514883646ff643576b000035 │
│ 1383996650378 │ 1185 │ 1 │ 526d71e23202e35309000001 │
│ 1383996644384 │ 1184 │ 1 │ 514883646ff643576b000035 │
│ 1383996644375 │ 1183 │ 1 │ 526d71e23202e35309000001 │
│ 1383996638379 │ 1182 │ 1 │ 514883646ff643576b000035 │
│ 1383996638368 │ 1181 │ 1 │ 526d71e23202e35309000001 │
│ 1383996632380 │ 1180 │ 1 │ 514883646ff643576b000035 │
│ 1383996632372 │ 1179 │ 1 │ 526d71e23202e35309000001 │
│ 1383996626380 │ 1178 │ 1 │ 514883646ff643576b000035 │
│ 1383996626372 │ 1177 │ 1 │ 526d71e23202e35309000001 │
└───────────────┴─────────────────┴───────────────────────────┴──────────────────────────┘
Influx> select count(instantaneous_ops_per_sec) from info where time > now() - 10d group by serverId limit 10;
Influx> (returns nothing)
GET http://localhost:8086/db/redsmin/series?u=root&p=root&q=select%20count(instantaneous_ops_per_sec)%20from%20info%20where%20time%20%3E%20now()%20-%2010d%20group%20by%20serverId%20limit%2010%3B&time_precision=m&chunked=false
=> []
I send you a zip file of my data via twitter DM ;)
from influxdb.
Related Issues (20)
- Provide installation instructions for developers HOT 4
- v1 InfluxQL query API HOT 5
- Inconsistent group key behavior when specifying parameters in a record/object
- Add ability to do historical backfill
- Capture passed precision argument in WAL
- Enable password authentication via the `p` URL parameter
- Add segment start time and segment key to PersistedSegment
- Update InfluxDB 1.x to InfluxQL v1.2.0
- bucket update shard-group-duration will change retention time
- Backport #24764 to 1.11
- Delete Timeouts on 2.7.4 HOT 1
- Support alternative formats in v1 Query API
- Handling of multiple statements in v1 query API
- Fix FlightSQL queries from Grafana HOT 1
- Build, package, and sign binary builds, deb/rpms, and Docker for Releases HOT 1
- The code in setting up with python in influx dB is wrong on "Write data" page
- v1 write API
- v2 write API
- Select into not working on v2.7.4 HOT 2
- Delete where value > 6000 not working on v2.7.4 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from influxdb.