From 8436c6286b8054d0b33d08ce408325eaf64b3bd3 Mon Sep 17 00:00:00 2001 From: wangjian Date: Thu, 29 Oct 2020 10:52:38 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E9=A1=B9=E7=9B=AE=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/job_risk_third.json | 4 ++-- internal/services/services.go | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/config/job_risk_third.json b/config/job_risk_third.json index e31082f..76af1f0 100644 --- a/config/job_risk_third.json +++ b/config/job_risk_third.json @@ -17,8 +17,8 @@ }, "prometheus":{ "host": { - "address": "127.0.0.1", - "port": 9091 + "address": "http://prometheus.ningdatech.com", + "port": 80 }, "path": "/metrics" }, diff --git a/internal/services/services.go b/internal/services/services.go index 4db04af..bfa1100 100644 --- a/internal/services/services.go +++ b/internal/services/services.go @@ -18,7 +18,6 @@ type JobRiskThirdServices interface { PushUserInfo(req proto.PushUserInfoRequest) error //PushFeatureInfo 推送的风险结果信息 PushFeatureInfo(req proto.PushFeatureInfoRequest) error - // HealthCheck check service health status HealthCheck() bool }