-
Type:
Problem report
-
Resolution: Unresolved
-
Priority:
Trivial
-
Affects Version/s: 8.0.1rc1
-
Component/s: API (A), Frontend (F)
-
Prev.Sprint, S26-W44/45
-
1
Precondition:
- Frontend runs on PHP 8.5.
- Global APM data source (Administration > Data source > APM) points to ClickHouse with a user that ClickHouse rejects for the query, e.g. a user without SELECT on the otel tables:
CREATE USER qa_noperm IDENTIFIED WITH plaintext_password BY 'qa_noperm' - Administration > Data source > APM: Username/Password qa_noperm, click Update
Steps to reproduce:
- Open Monitoring > APM > Traces
- Click Apply
Result: Depricated error message appears =>
Function curl_close() is deprecated since 8.5, as it has no effect since PHP 8.0 [zabbix.php:17 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerDataTable->doAction() → CControllerApmTraceListData->getData() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CApmTrace->get() → CApmTrace->getFromClickHouse() → ApmDbClickHouse->fetch() in include/classes/db/ApmDbClickHouse.php:143] Database error occurred.
Expected: No PHP deprecation message, only "Database error occurred.".
Affected places: All APM pages that read ClickHouse through ApmDbClickHouse::fetch() (Traces, Logs, Metrics).
- related to
-
ZBXNEXT-10083 Trace visualization
-
- Merging
-