__Steps to reproduce:__
List the minimal actions needed to reproduce the behavior.
url: "http://30.23.4.174:9999/api/v2/write?org=prometheus&bucket=prometheus&precision=s"
bearer_token: "XXXXX"
remote_read:
url: "http://30.23.4.174:9999/api/v2/read?org=prometheus&bucket=prometheus&precision=s"
bearer_token: "XXXXX"
__Expected behavior:__
Describe what you expected to happen.
__Actual behavior:__
Describe What actually happened.
__Environment info:__
uname -srm and copy the output hereinfluxd version and copy the output here__Config:__
Copy any non-default config values here or attach the full config as a gist or file.
__Logs:__
Include snippet of errors in log.
__Performance:__
Generate profiles with the following commands for bugs related to performance, locking, out of memory (OOM), etc.
# Commands should be run when the bug is actively.
# Note: This command will run for at least 30 seconds.
curl -o profiles.tar.gz "http://localhost:8086/debug/pprof/all?cpu=true"
curl -o vars.txt "http://localhost:8086/debug/vars"
iostat -xd 1 30 > iostat.txt
# Attach the `profiles.tar.gz`, `vars.txt`, and `iostat.txt` output files.
because prometheus use bearer token not "Authorization: Token XXXXX" ,So now prometheus can no longer use influxdb2
@DemoLiang Our API team is in the process of vetting the potential for supporting both the Bearer and Token auth schemas.
We have prepared pull request https://github.com/micrometer-metrics/micrometer/pull/1423 to micrometer.io framework with InfluxDB 2 support. Before it will be merged we need to be sure that authorization API (using proprietary “token” header) will be supported in future.
Even if we added the Bearer support, I think Prometheus would need to be updated to understand the new data format for reading and writing to InfluxDB 2.0.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had recent activity. Please reopen if this issue is still important to you. Thank you for your contributions.
Hello
I have the same problem. I used InfluxDB 2.0.0 beta and Prometheus 2.15.x.
I would like a prevision for this solution. :-)
Thank you for job with InfluxDB 2... The interface web is beautiful.
The remote write API has not yet been implemented. We are discussing our Q2 plans at the moment. There is an outstanding issue that we are aware of, even if we enable the remote write API...which is related to NaN and +/- INF. These will not be initially supported.
We are looking for feedback about how big an issue this is for our user base. I'm sure for some users/use cases it will be an issue given https://github.com/influxdata/influxdb/issues/4089 But, looking for some pointers about how pervasive this issue is for the community.
The remote write API has not yet been implemented. We are discussing our Q2 plans at the moment. There is an outstanding issue that we are aware of, even if we enable the remote write API...which is related to NaN and +/- INF. These will not be initially supported.
We are looking for feedback about how big an issue this is for our user base. I'm sure for some users/use cases it will be an issue given #4089 But, looking for some pointers about how pervasive this issue is for the community.
Hi.
We were about to look into the use of InfluxDB as a downscaling-capable remote storage for prometheus.
The inability of using remote write/read capabilities with InfluxDB 2.0 prevents us from moving towards this goal.
So I'd say it's a pretty useful feature.
@mveroone use InfluxDB 1.8.x in the meantime?
Sure, that's my plan, but you seemed to ask for use cases to decide whether it was worth the effort, so I thought I'd chip in.
And I gotta say, whether it's its GUI or its CLI, InfluxDB 2.0 is way sexier than 1.x. (Congrats on that !)
Most helpful comment
@DemoLiang Our API team is in the process of vetting the potential for supporting both the Bearer and Token auth schemas.