Validating Prometheus Configuration and Grafana JSON Support
TLDR zane.chen asked how to validate Prometheus config and sought help with a Grafana JSON template. Srikanth advised on validation, discussing Grafana version compatibility.
Feb 23, 2023 (7 months ago)
zane.chen
10:31 AMSrikanth
12:14 PMFeb 24, 2023 (7 months ago)
zane.chen
01:14 AMzane.chen
01:15 AMzane.chen
01:16 AMzane.chen
01:16 AMzane.chen
01:29 AMzane.chen
01:29 AMzane.chen
01:30 AMSrikanth
01:58 AMzane.chen
02:09 AMSrikanth
02:10 AMzane.chen
02:12 AMzane.chen
02:12 AMSrikanth
02:12 AMzane.chen
02:15 AMSrikanth
02:15 AMzane.chen
02:23 AMzane.chen
02:24 AMSrikanth
02:25 AMzane.chen
02:26 AMSrikanth
02:27 AMzane.chen
02:27 AMzane.chen
02:29 AMSrikanth
02:29 AM$interval
is not supportedzane.chen
02:33 AMSrikanth
02:41 AMzane.chen
02:42 AMzane.chen
02:48 AMzane.chen
02:48 AM"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 16,
"links": [],
"liveNow": false,
"panels": [
{
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 0
},
"id": 2,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "X6_V2pO4z"
},
"exemplar": true,
"expr": "prometheus_engine_queries",
"interval": "",
"legendFormat": "",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "X6_V2pO4z"
},
"exemplar": true,
"expr": "prometheus_http_requests_total",
"hide": false,
"interval": "",
"legendFormat": "",
"refId": "B"
}
],
"title": "prometheus监控测试",
"type": "timeseries"
}
],
"schemaVersion": 35,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "prometheus监控测试",
"uid": "QWjgtZbVz",
"version": 1,
"weekStart": ""
}
zane.chen
02:48 AMSrikanth
02:49 AMzane.chen
02:50 AMzane.chen
02:50 AMzane.chen
02:51 AMSrikanth
02:51 AMzane.chen
02:51 AMzane.chen
02:53 AMSrikanth
02:54 AMzane.chen
02:56 AMSrikanth
02:57 AMzane.chen
02:58 AMSrikanth
02:59 AMzane.chen
03:00 AMzane.chen
03:01 AMzane.chen
03:01 AMzane.chen
03:03 AMzane.chen
03:03 AMzane.chen
03:04 AMSigNoz Community
Indexed 825 threads (61% resolved)
Similar Threads
Supporting go-zero Framework and Displaying Application Logs in SigNoz
zane.chen inquired about support for go-zero framework and displaying application logs in SigNoz. Srikanth and nitya-signoz suggested steps, but the issue remains unsolved.
SigNoz Log Format and JSON Parsing
Luke asked about the log format for SigNoz and using operators to convert loggers. nitya-signoz shared resources about specifications and recommended using operators. Travis had issues with JSON parsing but resolved them by updating `otel-agent-config.yaml`.

Removing SigNoz's Own Logs from Dashboard
Geoffrey wanted to remove SigNoz's own logs from the dashboard. nitya-signoz provided a solution referencing an existing issue and a filter for ingesting only desired logs.
Issues with SigNoz on DigitalOcean k8s After Upgrade
Thomas experienced issues with SigNoz on DigitalOcean k8s after upgrading to v0.19. Prashant identified a PR to address the issue and provided a solution.
SigNoz Production Feedback and Improvement Suggestions
Users shared their SigNoz experiences and feedback. Issues mentioned include memory consumption, UI/UX improvements, connection difficulties, and automation limitations.

