#general

Exporting Metrics to SigNoz UI with Custom Dashboard

TLDR Ansu is having trouble exporting metrics to the SigNoz UI using a custom dashboard. Srikanth advises checking if the metrics are being scraped, but no resolution has been reached yet.

Powered by Struct AI
Apr 10, 2023 (8 months ago)
Ansu
Photo of md5-d9ca032e3941589aafa8433269974f96
Ansu
06:59 AM
Hi,I have a kubernetes application that stores metrics in prometheus. I instlled signoz in the cluster using Helm. I would like to export those metrics in the signoz UI using custom Dash board. Is this functionality available with free version of signoz?
I followed this doc https://signoz.io/docs/userguide/send-metrics/#enable-a-prometheus-receiver and configured my prometheus server ip in the targets section of receivers in my-release-signoz-otel-collector-metrics configmap. When I try a new custom dashboard with the metric "container_cpu_usage_seconds_total" from PromQL, it is showing No Data. Please help me here.
Srikanth
Photo of md5-ce04a9988e2fd758a659dc55be6f2543
Srikanth
07:12 AM
It’s available in the free version. Are the metrics being successfully scraped? You could confirm this by using the query builder. If the metric name shows up, it could be the query.
Ansu
Photo of md5-d9ca032e3941589aafa8433269974f96
Ansu
07:17 AM
I don't see this metric in the query builder. I added the scrape config as below
Image 1 for I don't see this metric in the query builder. I added the scrape config as below
Srikanth
Photo of md5-ce04a9988e2fd758a659dc55be6f2543
Srikanth
07:35 AM
> configured my prometheus server ip in the targets section of receivers in my-release-signoz-otel-collector-metrics configmap
Did you mean the Prometheus endpoint, which exposes metrics, or the Prometheus server?
Ansu
Photo of md5-d9ca032e3941589aafa8433269974f96
Ansu
07:51 AM
This is the prometheus server pod ip and port.
Srikanth
Photo of md5-ce04a9988e2fd758a659dc55be6f2543
Srikanth
10:05 AM
These are scrape jobs i.e this is like Prometheus server scraping form the endpoint.