当前位置:网站首页>Prometheus remote_write InfluxDB,unable to parse authentication credentials,authorization failed
Prometheus remote_write InfluxDB,unable to parse authentication credentials,authorization failed
2022-07-07 18:13:00 【leboop-L】
这里Prometheus是通过如下方式启动的:
systemctl start prometheus.service
执行如下命令,查看Prometheus日志:
journalctl -u prometheus -f
错误:unable to parse authentication credentials,authorization failed
查看Prometheus配置文件prometheus.yml,如下:
remote_write:
- url: "http://bigdata111:8086/api/v1/prom/write?db=combeye&u=combeye&p=#Wtt2&Me"如果不仔细研究,无法看出问题,后来发现,是因为密码中包含了url的特殊字符,例如这里#和&,需要使用编码代替,#对应编码%23,$对应编码%26,修改为如下:
remote_write:
- url: "http://bigdata111:8086/api/v1/prom/write?db=combeye&u=combeye&p=%23Wtt2%26Me"成功!
边栏推荐
猜你喜欢

国家网信办公布《数据出境安全评估办法》:累计向境外提供10万人信息需申报

The state cyberspace Office released the measures for data exit security assessment: 100000 information provided overseas needs to be declared

Force buckle 599 Minimum index sum of two lists

Mongodb由浅入深学习

ASP. Net learning & ASP's one word

网络原理(1)——基础原理概述

MRS离线数据分析:通过Flink作业处理OBS数据

Cloud 组件发展升级

机器学习笔记 - 使用Streamlit探索对象检测数据集

Some important knowledge of MySQL
随机推荐
Force buckle 599 Minimum index sum of two lists
Oracle 存儲過程之遍曆
EasyGBS级联时,上级平台重启导致推流失败、画面卡住该如何解决?
Mrs offline data analysis: process OBS data through Flink job
kubernetes之创建mysql8
rk3128投影仪lcd显示四周显示不完整解决
sql 常用优化
pom.xml 配置文件标签:dependencies 和 dependencyManagement 区别
About cv2 dnn. Readnetfromonnx (path) reports error during processing node with 3 inputs and 1 outputs [exclusive release]
CSDN syntax description
Graduation season | regretful and lucky graduation season
线性基
JVM GC garbage collection brief
Gorilla official: sample code for golang to open websocket client
力扣 88.合并两个有序数组
Implement secondary index with Gaussian redis
Cloud component development and upgrading
Vulnhub tre1
vulnhub之Funfox2
Open source heavy ware! Chapter 9 the open source project of ylarn causal learning of Yunji datacanvas company will be released soon!