Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upError sending samples to remote storage #3732
Comments
tomwilkie
added
the
component/remote storage
label
Feb 1, 2018
This comment has been minimized.
This comment has been minimized.
|
Thanks for the report @kalinux. I think the remote storage adapters have rotted a little. As of influx v1.4.0 you don't need the remote storage adapter IIRC, influx supports our remote read/write APIs natively. |
This comment has been minimized.
This comment has been minimized.
|
Hi @tomwilkie Regards |
This comment has been minimized.
This comment has been minimized.
|
Or you meant ? remote_read:
- url: http://domain.com:8086/
remote_write:
- url: http://domain.com:8086/ |
This comment has been minimized.
This comment has been minimized.
|
I've not used it before, but this blog post has some details: https://www.influxdata.com/blog/influxdb-now-supports-prometheus-remote-read-write-natively/ |
This comment has been minimized.
This comment has been minimized.
fmoessbauer
commented
Feb 4, 2018
|
By now there is also official documentation on how to use the native API: https://docs.influxdata.com/influxdb/v1.4/supported_protocols/prometheus#prometheus-remote-read-and-write-api-support However until influxdata/influxdb#9244 is not resolved, the native backend is not backwards compatible with the remote_storage_adapter. |
This comment has been minimized.
This comment has been minimized.
|
Hi @tomwilkie @fmoessbauer , so that means we can close this issue until InfluxDB fixes issue/adds feature ? |
This comment has been minimized.
This comment has been minimized.
fmoessbauer
commented
Feb 6, 2018
|
@kalinux this depends on how the prometheus team is going to proceed with the remote_storage_adapter. If support is going to be dropped in favor of the influxdb native one, this issue should be at least documented as a known error. |
This comment has been minimized.
This comment has been minimized.
|
I chatted to @brian-brazil this weekend at FOSDEM and remote_storage_adapter is going to hang around a little longer, as it serves as a good example. I'm going to update it, add it to our CI etc. I'll chat to influx and see if we should remove the influx path from the adapter or not. |
This comment has been minimized.
This comment has been minimized.
|
@tomwilkie the same from me , chatted with @brian-brazil at FOSDEM about how to solve this Influxdb and remote_storage_adapter story , seems only way so far is just to use |
This comment has been minimized.
This comment has been minimized.
|
@kalinux That's a different problem you're thinking of. I note that our influx adpater is the only example of a read adapter we have, though others (such as the CrateDB adapter) also exist out there. |
This comment has been minimized.
This comment has been minimized.
|
so what is solution ? use remote_storage_adapter or not ? use |
This comment has been minimized.
This comment has been minimized.
simonszu
commented
Feb 21, 2018
|
When referring to the original issue in the first post, i now have the same problem as well. I won't drop |
This comment has been minimized.
This comment has been minimized.
|
@simonszu you can use as temporary solution putting all in URL, that's works for as well, but again - as temporary solution. |
This comment has been minimized.
This comment has been minimized.
simonszu
commented
Feb 21, 2018
|
What do you mean @kalinux ? Adding username and password as GET parameters to the remote storage adapter url? |
This comment has been minimized.
This comment has been minimized.
|
copied from Docs.
Insecure I know , but there is no other solution so far , |
This comment has been minimized.
This comment has been minimized.
simonszu
commented
Feb 21, 2018
|
Yeah, ok, this is for InfluxDBs new native Prometheus API. Unfortunately there's influxdata/influxdb#9244 which causes the data sent by Prometheus not properly written into InfluxDBs storage. |
This comment has been minimized.
This comment has been minimized.
weih1214
commented
Jun 28, 2018
•
@gangsta Does this mean that basic_auth config doesn't work at all? |
This comment has been minimized.
This comment has been minimized.
weih1214
commented
Jun 28, 2018
|
Hi all, I am trying to config adapter for prometheus. I want to use basic_auth for the authentication, but I got error from adapter "err="{"error":"unable to parse authentication credentials"}", which I guess is something wrong in the authentication. How can I use adapter to communicate with influxdb using certain credentials? |
This comment has been minimized.
This comment has been minimized.
|
@weih1214 I`m using influxdburl+credentials as remote storage url, as far as I get, basic_auth works from Prometheus side, but Influxdb is not supporting it , probably thats why you get this error. |
gangsta commentedJan 24, 2018
Hi ,
Getting