Hi everyone! I was hoping you can steer me in the right direction: I have setup a Signoz self hoste...
l
Hi everyone! I was hoping you can steer me in the right direction: I have setup a Signoz self hosted instance and managed to send custom metric data from our PHP application:
Copy code
$meter ??= Globals::meterProvider()->getMeter('swoole_stats');
$histrogramConnectionNum = $meter->createUpDownCounter('swoole.connection_num');
$histrogramConnectionNum->add($stats['connection_num']);
Globals::meterProvider()->forceFlush();
The metrics are showing up if I search them on the Signoz dashboard 🙌 My question: I would like to query that value via some sort of API. Reason: I want to use KEDA (https://keda.sh/) to query that value every second(s) to determine whether to scale my application instances. The issue I'm having is I cannot figure out a way to query custom metrics without using the interface. All roads say "use prometheus". Do I need to setup an additional prometheus instance and rather push my metrics there? I feel that I'm possibly missing some key piece of information somehwere. Thank you!