Resolving API Dashboard Issue
TLDR Pankaj faced an issue with an API dashboard. Prashant suggested a different dashboard to import, which solved the problem. Tim faced a similar issue, which was also resolved by Prashant's solution.
2
2
1
Sep 14, 2023 (2 months ago)
Pankaj
07:08 AMAPI responded with 400 - json: cannot unmarshal number into Go struct field CompositeQuery.compositeQuery.queryType of type v3.QueryType
1
Srikanth
07:22 AMPankaj
07:22 AMfor node in $(kubectl get nodes -o name | sed -e "s/^node\///");
do
curl -sL \
| HOSTNAME="$node" DASHBOARD_TITLE="HostMetrics Dashboard for $node" bash
done
Pankaj
07:22 AMPankaj
07:23 AMPankaj
07:23 AMPrashant
07:34 AMhttps://github.com/SigNoz/dashboards/blob/main/hostmetrics/hostmetrics-k8s.json
Prashant
07:35 AMPrashant
07:35 AMPankaj
08:27 AM2
Tim
05:29 PMTim
05:31 PMPrashant
05:57 PMYou will need to import the following dashboard:
https://github.com/SigNoz/dashboards/blob/main/hostmetrics/hostmetrics-with-variable.json
1
Sep 15, 2023 (2 months ago)
Tim
12:11 AM1
SigNoz Community
Indexed 1023 threads (61% resolved)
Similar Threads
Viewing Host Level Metrics with SigNoz Docker App
Priya wanted to view host level metrics in SigNoz's standalone docker app. Ashu guided them to enable a dashboard and import a JSON to view metrics. After more queries, Prashant clarified how to display metrics correctly for different hosts.
Troubleshooting k8s-metrics Dashboards in SigNoz v0.19.0
kmpartner encountered issues displaying k8s-metrics dashboards in SigNoz, while hostmetrics-k8s.json mostly works. Srikanth suggested checking SigNoz's documentation for a solution.
Extracting Custom Fields as Attributes from Log in SigNoz
Harald wants to have custom fields from their body parsed as attributes in the SigNoz logger. They have tried implementing suggestions from nitya-signoz and Prashant, but the issue remains unsolved due to a potential race condition encountered while executing the code. They have provided a full example using Kind for further assistance.
JSON Parsing Issue with Logs in Signoz
Androw had trouble parsing logs with JSON in Signoz. nitya-signoz suggested changes to config, which resolved the issue after Androw added the missing field 'logsCollection'.
Missing k8s_pod_* Metrics in SigNoz Dashboard
Narasimhamurthi asked for help with missing k8s_pod_* metrics in the SigNoz dashboard. Prashant identified a Digital Ocean K8s issue, now tracked in a GitHub ticket.