View and merge changes in GitHub
After creating a pull request from Grafana, you view and review the changes in GitHub. Pull requests display the dashboard JSON modifications, allow team members to comment and review, and provide merge controls when changes are approved.
To view and merge changes in GitHub, complete the following steps:
In the GitHub pull request that opened automatically, review the PR title and description. The title includes your branch name, and the description contains your commit message.
Click the Files changed tab to view the dashboard JSON modifications. The diff view shows additions in green and deletions in red, highlighting exactly what changed in the dashboard definition.
Review the changes to ensure they match your intended modifications. For dashboard changes, look for new panel definitions, modified queries, or updated visualization settings.
Optionally, add reviewers by clicking the gear icon next to Reviewers and selecting team members. Reviewers receive notifications and can approve or request changes to the pull request.
Optionally, add comments to specific lines in the diff by clicking the plus icon next to line numbers. Use comments to ask questions, suggest improvements, or document decisions.
When the changes are approved and ready to merge, click Merge pull request.
Click Confirm merge to complete the merge to the main branch.
Optionally, click Delete branch to remove the feature branch after merging.
The pull request is merged to the main branch. Git Sync detects the change in the repository and updates the dashboard in Grafana automatically during the next sync interval. The dashboard in Grafana now reflects the merged changes.
In the next milestone, you’ll complete this learning journey.
Please tell us what didn't work:
At this point in your journey, you can explore the following paths:
