The query only returns 505 metrics instead of 997.
What did you expect to happen?
The count query in Grafana and influx should return 997 metrics instead of 505.
No data loss or filtering should occur.
Configuration Details
InfluxDB Bucket:testUTC_1krows
Timezone Used: UTC
Grafana Timezone: (Browser Time / UTC)
Server Timezone: Confirmed as Etc/UTC (+0000)
Command output:
date -u
Sun Mar 16 12:02:40 UTC 2025
timedatectl
Time zone: Etc/UTC (UTC, +0000)
Errors in Grafana UI or Logs?
No direct errors, but incorrect count() results.
Possible incorrect handling of time ranges or missing data points.
Did you follow any online instructions?
Yes, I followed:
InfluxDB count query documentation
Grafana Time-Series Data Debugging
Note : it is stored csv and not continous data. any help would be appriciated, also want to know if influxdb and grafana works for such data ?or just incoming data
If you run the same flux query in InfluxDB UI, does it give you result that is different from Grafana? All data that you inserted is within UTC time period that you specify in query (2024-02-07T12:55:00Z … 2024-02-07T15:49:10Z)?
2025-03-16T17:10:02Z D! [outputs.influxdb_v2] Wrote batch of 998 metrics in 12.074623ms
2025-03-16T17:10:02Z D! [outputs.influxdb_v2] Buffer fullness: 0 / 1010 metrics
this way it confirms right ?
have a look and let me know if im missing anything, this is 2000rows and it inserts 1997 rows in this case but when queried the start and last time it just retrived 1497.
Im using the telegraf to send send data and here is the conf file
[agent]
interval = “10s”
round_interval = true
metric_batch_size = 2500
metric_buffer_limit = 20000
flush_interval = “10s”
flush_jitter = “0s”
precision = “”
hostname = “msc-burge-influxdb”
omit_hostname = false
[[outputs.influxdb_v2]]
urls = [“http://141.26.156.220:8086”]
Token for authentication.
token = “$INFLUX_TOKEN”
Organization is the name of the organization you wish to write to; must exist.
organization = “University of Koblenz”
Destination bucket to write into.
bucket = “datapoints”
[[outputs.influxdb_v2]]
urls = [“http://141.26.156.220:8086”]
Token for authentication.
token = “$INFLUX_TOKEN”
Organization is the name of the organization you wish to write to; must exist.
organization = “University of Koblenz”
Destination bucket to write into.
bucket = “testUTC_1krows”