Giter VIP home page Giter VIP logo

Comments (2)

jvshahid avatar jvshahid commented on May 7, 2024

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.

FGRibreau avatar FGRibreau commented on May 7, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.