question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

InfluxDB Timeseries Query Not Working

See original GitHub issue

This may not be a bug or anything, but I am still struggling to write an influxdb query for worldmap in grafana. I am not even sure if I am sending out the right object to influxdb, so I would really appreciate any help. I don’t have a geohash, just longitude and latitude, so the influx example in this guide which is showing table format and using geohash doesn’t help me. Here is my object: { "key": "US", "latitude": latitude, "longitude": longitude, "name": "United States" }

And here’s my query: SELECT count("latitude"), count("longitude") FROM "autogen"."gMap" WHERE $timeFilter GROUP BY time($interval) gMap is just the measurement in influxdb that I am storing that object in.

The other thing that I am not sure of is in which format do I need to provide my latitude and longitude? Is it just direction+minutes and not direction+degrees+minutes?

As you can tell, I need some help with this because I am getting nowhere.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
amotlcommented, Jun 17, 2019

Good to hear that you made it through.

Happy mapping and with kind regards, Andreas.

1reaction
zamashalcommented, Jun 12, 2019

Yes, it was the metric field!! Thank you again!

Read more comments on GitHub >

github_iconTop Results From Across the Web

InfluxDB frequently asked questions - InfluxData Documentation
Common issues with InfluxDB OSS. ... How do I cancel a long-running query? Data types ... How do I query data with an...
Read more >
Data exploration using InfluxQL - InfluxData Documentation
Explore time series data using InfluxData's SQL-like query language. Understand how to use the SELECT statement to query data from measurements, tags, ...
Read more >
Troubleshoot InfluxDB | InfluxDB OSS 1.8 Documentation
Common issues with InfluxDB OSS. InfluxQL query management. Show, kill, and manage queries in InfluxQL. systemd permission errors. Troubleshoot errors with ...
Read more >
InfluxQL query management | InfluxDB OSS 1.8 Documentation
Manage your InfluxQL queries using the following: SHOW QUERIES to identify currently-running queries; KILL QUERIES to stop queries overloading your system ...
Read more >
InfluxDB error messages - InfluxData Documentation
The database name required error occurs when certain SHOW queries do not specify a database. Specify a database with an ON clause in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found