Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The WEB GUI does not display any results. #178

Open
McLotos opened this issue Oct 26, 2021 · 2 comments
Open

The WEB GUI does not display any results. #178

McLotos opened this issue Oct 26, 2021 · 2 comments

Comments

@McLotos
Copy link

McLotos commented Oct 26, 2021

I have a Notice: PHP message: PHP Notice: SPX: spx_profiler_stop (): profiling is not enabled in index.php

// index.php
<?php
spx_profiler_start();
require 'kernel.php';
$router->resolve();
spx_profiler_stop()
// docker-php-ext-spx.ini
extension=spx.so
spx.http_enabled=1
spx.http_key="dev"
spx.http_ip_whitelist=175.10.0.100
spx.data_dir=/var/www/html/spx_dumps
//SPX Control Panel command line prefix value: 
SPX_REPORT=full SPX_ENABLED=1 SPX_SAMPLING_PERIOD=5 SPX_METRICS=ct,it,io,ior,iow

php8, nginx, alpine OS
The service processes about 1000 API requests per minute, but SPX Control Panel don't show statistics
Screenshot from 2021-10-26 09-58-28

@McLotos
Copy link
Author

McLotos commented Oct 29, 2021

spx_profiler_stop(): profiling is not enabled in logs

@NoiseByNorthwest
Copy link
Owner

Profiling is simply not enabled.
What is the PHP SAPI ? If it is a CLI script the command line prefix must be added on your own, the control panel only displays it for the sake of convenience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants