Proposal
Use case. Why is this important?
“Nice to have” is not a good use case. :)
Bug Report
What did you do?
I'm used influxdb v2.0.0 and org=prometheus; bucket=prometheus; token=XXXXX
prometheus v2.7.0
I'm config the prometheus remote_write and remote_read:
remote_write:
remote_read:
but prometheus log is :
err="server returned HTTP status 401 Unauthorized:{"code":"unauthorized","message":"unauthorized access"}"
I'm try it by curl ,that token is ok
curl "http://30.23.4.174:9999/api/v2/write?org=prometheus&bucket=prometheus&precision=s" --header "Authorization: Token XXXXX" --data "mem,host=host1 used_percent=23 1560324751"
What did you expect to see?
remote write and remote read OK.
What did you see instead? Under which circumstances?
Environment
linux amd64
-
System information:
insert output of uname -srm here
-
Prometheus version:
insert output of prometheus --version here
-
Alertmanager version:
insert output of alertmanager --version here (if relevant to the issue)
-
Prometheus configuration file:
insert configuration here
- Alertmanager configuration file:
insert configuration here (if relevant to the issue)
insert Prometheus and Alertmanager logs relevant to the issue here
Proposal
Use case. Why is this important?
“Nice to have” is not a good use case. :)
Bug Report
What did you do?
I'm used influxdb v2.0.0 and org=prometheus; bucket=prometheus; token=XXXXX
prometheus v2.7.0
I'm config the prometheus remote_write and remote_read:
remote_write:
bearer_token: "XXXXX"
remote_read:
bearer_token: "XXXXX"
but prometheus log is :
err="server returned HTTP status 401 Unauthorized:{"code":"unauthorized","message":"unauthorized access"}"
I'm try it by curl ,that token is ok
curl "http://30.23.4.174:9999/api/v2/write?org=prometheus&bucket=prometheus&precision=s" --header "Authorization: Token XXXXX" --data "mem,host=host1 used_percent=23 1560324751"
What did you expect to see?
remote write and remote read OK.
What did you see instead? Under which circumstances?
Environment
linux amd64
System information:
insert output of
uname -srmherePrometheus version:
insert output of
prometheus --versionhereAlertmanager version:
insert output of
alertmanager --versionhere (if relevant to the issue)Prometheus configuration file: