Is there any documentation around migration from grafonnet-lib to grafonnet. #98
-
The new grafonnet library seems to have completely different code structure compared to the deprecated version. Is there any useful documentation around migration across the two? My team has a project which was based on grafonnet-lib and we are looking to migrate to the new version. As of now, it seems like almost everything needs a re-write. Would be extremely useful to have some guidance around it. P.S. Was also curious if there are any upcoming CONTRIBUTING guidelines for the project? :) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
One of the authors of Jsonnet pointed out to us thst the builder pattern we were using was not performant in Jsonnet, so we moved away from it. We haven't yet written a migration guide (contributions like that very welcome!!). While the code structure is different, the dashboard JSON isn't. This means there should be strong parallels between the two. Also, you can easily test your migration. If you run the code before and after your migration, you should get (mostly) the same json. |
Beta Was this translation helpful? Give feedback.
One of the authors of Jsonnet pointed out to us thst the builder pattern we were using was not performant in Jsonnet, so we moved away from it.
We haven't yet written a migration guide (contributions like that very welcome!!).
While the code structure is different, the dashboard JSON isn't. This means there should be strong parallels between the two. Also, you can easily test your migration. If you run the code before and after your migration, you should get (mostly) the same json.