[修改]promethus service的地址
This commit is contained in:
@@ -6,7 +6,7 @@ use GuzzleHttp\Client;
|
|||||||
class PrometheusService
|
class PrometheusService
|
||||||
{
|
{
|
||||||
protected $client;
|
protected $client;
|
||||||
protected $baseUri = 'http://localhost:9090/api/v1/'; // Prometheus 的默认地址
|
protected $baseUri = 'http://prometheus:9090/api/v1/'; // Prometheus 的默认地址
|
||||||
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user