How does the Panel ID numbering work?

If I create a new (empty) Dashboard in Grafana the first panel has id 2. I don’t know how the backend works, but why the first panel don’t have id 1? (for me it would be more logical)

The second panel has id 4, the third has id 6 … As you create more panels the ID seems to increment by 2. Is there a reason for this increment? Is there a setting in the grafana.ini file or database that determine the panel increment?

Would it be more logical if the panels are create with logical ID’s?
Can you set these increment to 1: vb. 1,2,3,4,5,6 …

3 Likes

Hello!
I’m also new in Grafana, so I don’t know whether my solution to the problem is ok or not.
Well, I found that you can change it in panel>inspect Panel JSON (you can set your own id there). Hope I helped somebody to solve this problem.