-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
InfluxDB 2.0 support #66
Comments
Could you please set |
Also, what is the result of the following code (please change scheme, hostname and port accordingly) ? library(httr)
res <- GET(url = "",
scheme = "https",
hostname = "host-address.com",
port = 8086,
path = "/ping")
res$all_headers |
... which version of packageVersion("influxdbr") |
... and of course your |
Error: lexical error: invalid char in json text. |
[[1]] [[1]]$version [[1]]$headers $ $ $etag $ $ attr(,"class") |
packageVersion('influxdbr') |
R version 3.6.1 (2019-07-05) Matrix products: default locale: attached base packages: other attached packages: loaded via a namespace (and not attached): |
Thanks. Do you know which InfluxDB is behind InfluxDB Cloud (i.e. 1.x or 2.0)? |
No probs. Thank you! The InfluxDB Cloud is using 2.0 -- I guess this means we're at an impass here. Would love an update if / when you manage to integrate. Thanks for all your work in this package. It's really interesting, and I'm sure it'll be super useful once I can get our InfluxDB to run. |
Any news on influxdb v2 compatibility? |
no |
Hi. Thank you for your work on this package, it's extremely helpful. Is there any info about when Influx 2.0 compatibility might come? |
Thanks. Unfortunately, I won‘t work on this. Please see my response to #63. |
@dleutnant, can you explain briefly what we have to do to support InfluxDB 2.0 ? |
@bilbaoba Well, I'd suggest to contact people at InfluxData and seek for some guidance in this respect. My experience with InfluxDB is limited to the 1.x versions. |
InfluxDB 2 has a completely different interface, however, it has a backward compatibility layer below /query and /write . I managed to debug the problem by using see docs here: https://docs.influxdata.com/influxdb/v2.0/upgrade/v1-to-v2/manual-upgrade/ Other than that one needs to create a mapping for influx 1 DBs to influx 2 buckets manually, which is also described. The 2.0 API is totally different and uses a different query language (flux), so I would really suggest a fork of the library instead of generating compat interfaces (one in the client and one in the server) Seems that it works for me now including the |
(I work for Influxdata.)
This is correct. The client should work for basic write and query endpoints against 2.x. The compatibility endpoints (including for influxql) are documented here: https://docs.influxdata.com/influxdb/cloud/reference/api/influxdb-1x/ |
Hi Dominik,
Ich beschäftige mich ehrlicher Weise gerade zum ersten Mal mit diesr Thematik. Ich versuche ein Influx DB mit R Studio zu verbinden. Das Influx DB läuft derzeit auf der Influx Cloud. Dazu lasse ich folgenden Code laufen:
Habe versucht verschiedene JSON leser auf das Ergebnisse anzusetzen. Bisher ohne Erfolg. ist hier etwas grundlegend falsch?
debug gibt folgendes Ergebnis:
Danke und VG.
The text was updated successfully, but these errors were encountered: