PromPHP / prometheus_client_php

Prometheus instrumentation library for PHP applications
https://prometheus.io/docs/concepts/metric_types/
Apache License 2.0
415 stars 91 forks source link

Warning: Redis::connect(): php_network_getaddresses: getaddrinfo for redis failed in C:\...\vendor\promphp\prometheus_client_php\src\Prometheus\Storage\Redis.php on line 226 #155

Closed AzizxonZufarov closed 3 months ago

AzizxonZufarov commented 3 months ago

Good day! When I open Yii2 advanced project in the browser, I get this error: Warning: Redis::connect(): php_network_getaddresses: getaddrinfo for redis failed: ���� ���� ����������. in C:\OSPanel\domains\localhost\mysite\vendor\promphp\prometheus_client_php\src\Prometheus\Storage\Redis.php on line 226 How can I fix this? Thanks!

LKaemmerling commented 3 months ago

Hey @AzizxonZufarov,

this is an issue with your local setup, most likely your DNS servers are not reachable. So this is sadly nothing we can help with.