Verify the output
Your dashboard.json file should now exist in your project directory. Before deploying it, verify that the JSON is valid and contains the expected structure.
To verify your dashboard JSON, complete the following steps:
Check that
dashboard.jsonexists:ls -la dashboard.jsonInspect the JSON structure. Look for these key fields:
cat dashboard.json | python3 -m json.tool | head -30You should see:
"title": "My SDK Dashboard"(the dashboard title)"uid": "my-sdk-dashboard"(the stable identifier)"tags": ["generated", "foundation-sdk"](your tags)"panels": [...](an array containing your two panels)
Confirm the panels are present by checking for their titles in the JSON:
grep '"title"' dashboard.jsonExpected output should include:
"title": "My SDK Dashboard" "title": "Version" "title": "Request Rate"
What to check
If all fields match, your dashboard JSON is valid and deployment-ready. You can commit this file to Git, import it into Grafana manually, or deploy it with Terraform (covered in the next learning path).
Please tell us what didn't work: