当前位置:网站首页>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"
成功!
边栏推荐
- Implement secondary index with Gaussian redis
- php 获取图片信息的方法
- EasyGBS级联时,上级平台重启导致推流失败、画面卡住该如何解决?
- Cloud 组件发展升级
- 数据孤岛是企业数字化转型遇到的第一道险关
- 一文读懂数仓中的pg_stat
- 力扣 989. 数组形式的整数加法
- Solve the problem of incomplete display around LCD display of rk3128 projector
- The boundary of Bi: what is bi not suitable for? Master data, Martech? How to expand?
- Graduation season | regretful and lucky graduation season
猜你喜欢
九章云极DataCanvas公司获评36氪「最受投资人关注的硬核科技企业」
Cloud component development and upgrading
Leetcode force buckle (Sword finger offer 36-39) 36 Binary search tree and bidirectional linked list 37 Serialize binary tree 38 Arrangement of strings 39 Numbers that appear more than half of the tim
【哲思与实战】程序设计之道
[MySQL - Basic] transactions
The state cyberspace Office released the measures for data exit security assessment: 100000 information provided overseas needs to be declared
开源重器!九章云极DataCanvas公司YLearn因果学习开源项目即将发布!
Openeuler prize catching activities, to participate in?
About cv2 dnn. Readnetfromonnx (path) reports error during processing node with 3 inputs and 1 outputs [exclusive release]
vulnhub之tre1
随机推荐
搞定带WebKitFormBoundary post登录
mysql 的一些重要知识
Splicing and splitting of integer ints
One click deployment of any version of redis
Get webkitformboundary post login
Jenkins 用户权限管理
Chapter 20 using work queue manager (3)
恢复持久卷上的备份数据
力扣 912.排序数组
Meta Force原力元宇宙系统开发佛萨奇模式
力扣 599. 两个列表的最小索引总和
LeetCode力扣(剑指offer 36-39)36. 二叉搜索树与双向链表37. 序列化二叉树38. 字符串的排列39. 数组中出现次数超过一半的数字
[MySQL - Basic] transactions
CSDN syntax description
TS快速入门-泛型
LeetCode_ 7_ five
使用 BR 恢复 Azure Blob Storage 上的备份数据
Some arrangements about oneself
Precautions for cjson memory leakage
Opencv学习笔记 高动态范围 (HDR) 成像