问题描述
我在Prometheus(https://prometheus.io/docs/prometheus/latest/configuration/configuration/#consul_sd_config)中遇到// user
id: {
type: Sequelize.UUID,// Foreign key type should match with PK
allowNull: false,primaryKey: true,defaultValue: Sequelize.UUIDV4,}
// product
userId: {
type: Sequelize.UUID,// FK type should be the same as PK type
allowNull: false,references: {
model: 'Users',key: 'id',},
的问题。
我正在废弃Consul发现的所有服务,并且一切正常,但是我的服务之一是使用TLS,所以我的端点如下所示:consul_sd_config
,Prometheus在其仪表板上显示https://service:8080/metrics
(收到400错误请求)。正如我在文档中看到的那样,默认模式为https://service:8080/metrics
,但是Prometheus是否应该自动执行此操作?领事根据提供哪个URL?
是否可以使用模式https进行一项服务而无需执行以下技巧:
http
感谢您的帮助。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)