当前位置:网站首页>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"成功!
边栏推荐
猜你喜欢

vulnhub之school 1

vulnhub之Funfox2

Force buckle 2319 Judge whether the matrix is an X matrix

YoloV6:YoloV6+Win10---训练自己得数据集

Force buckle 599 Minimum index sum of two lists

Ways to improve the utilization of openeuler resources 01: Introduction

Classification automatique des cellules de modules photovoltaïques par défaut dans les images de lecture électronique - notes de lecture de thèse

CIS芯片测试到底怎么测?

School 1 of vulnhub

CSDN syntax description
随机推荐
torch.nn.functional.pad(input, pad, mode=‘constant‘, value=None)记录
解决/bin/sh进去的容器运行可执行文件报not found的问题
关于cv2.dnn.readNetFromONNX(path)就报ERROR during processing node with 3 inputs and 1 outputs的解决过程【独家发布】
力扣 1037.有效的回旋镖
MSE API learning
力扣 912.排序数组
841. String hash
pom. Brief introduction of XML configuration file label function
力扣 599. 两个列表的最小索引总和
【Auto.js】自动化脚本
Force buckle 1037 Effective boomerang
力扣 88.合并两个有序数组
The boundary of Bi: what is bi not suitable for? Master data, Martech? How to expand?
With st7008, the Bluetooth test is completely grasped
有了ST7008, 蓝牙测试完全拿捏住了
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篇-基础篇】事务
When easygbs cascades, how to solve the streaming failure and screen jam caused by the restart of the superior platform?
Ways to improve the utilization of openeuler resources 01: Introduction