I'm trying to capture custom metrics in Signoz fro...
# support
h
I'm trying to capture custom metrics in Signoz from a RoR application. I have set up a signoz cloud account, connected the app and traces are flowing through. I'm trying to send a measure with the following code from a Rails console:
Copy code
OpenTelemetry::SDK::Trace::Export::MetricsReporter.record_value('test', value: 6, labels: { stack: '001', account: 'wheres-wally'})
s
There is no metric explorer as of now. One way to verify this is to create a dashboard panel with metrics. We are working on the metrics explorer.
h
I'm trying to debug if the metric is even making it to SigNoz at the moment
s
Yes, I understand. As there is no metric explorer, the alternative is to search for metrics using a dashboard or alert (you don't have to save them). This is obviously not how it should be but till the metric explorer is added, the suggested way is to use alternative.
h
do you happen to have a postman request or a curl example I can use to send data to either the otel collector or straight to signoz to get a custom metric in there?
s
h
thanks