{"id":13583859,"url":"https://github.com/grafana/grafonnet","last_synced_at":"2025-04-08T10:18:53.076Z","repository":{"id":152281810,"uuid":"599010000","full_name":"grafana/grafonnet","owner":"grafana","description":"Jsonnet library for generating Grafana dashboards.","archived":false,"fork":false,"pushed_at":"2024-12-16T19:24:33.000Z","size":33599,"stargazers_count":419,"open_issues_count":10,"forks_count":23,"subscribers_count":134,"default_branch":"main","last_synced_at":"2025-04-01T08:44:38.364Z","etag":null,"topics":["grafana","jsonnet","jsonnet-lib"],"latest_commit_sha":null,"homepage":"https://grafana.github.io/grafonnet/","language":"Jsonnet","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/grafana.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-08T09:07:53.000Z","updated_at":"2025-03-29T15:55:43.000Z","dependencies_parsed_at":"2024-01-04T10:34:35.497Z","dependency_job_id":"69124f27-c378-44c2-88b9-b4fd2c2c4e90","html_url":"https://github.com/grafana/grafonnet","commit_stats":{"total_commits":136,"total_committers":11,"mean_commits":"12.363636363636363","dds":"0.16176470588235292","last_synced_commit":"733beadbc8dab55c5fe1bcdcf0d8a2d215759a55"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grafana%2Fgrafonnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grafana%2Fgrafonnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grafana%2Fgrafonnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grafana%2Fgrafonnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grafana","download_url":"https://codeload.github.com/grafana/grafonnet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247819940,"owners_count":21001394,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["grafana","jsonnet","jsonnet-lib"],"created_at":"2024-08-01T15:03:51.217Z","updated_at":"2025-04-08T10:18:53.024Z","avatar_url":"https://github.com/grafana.png","language":"Jsonnet","funding_links":[],"categories":["Jsonnet"],"sub_categories":[],"readme":"# Grafonnet\n\nJsonnet library for generating Grafana dashboards.\n\n## Introduction\n\nThis library is generated from OpenAPI documents in [grafana-foundation-sdk](https://github.com/grafana/grafana-foundation-sdk),\nthese are generated from the Grafana repository to ensure Grafonnet can\nkeep up with Grafana development.\n\nGrafonnet is the spiritual successor of [grafonnet-lib](https://github.com/grafana/grafonnet-lib).\nAs grafonnet-lib was manually written, it had a hard time to keep up with Grafana\ndevelopment, this resulted in it being under-maintained. Besides that, it also came with\na performance penalty in jsonnet as it used the builder pattern, although visually\nappealing it becomes very slow for environments that need to manage many dashboards.\n\n\u003e **This library is experimental**\n\u003e\n\u003e The code in this repository should be considered experimental. Documentation is only\n\u003e available alongside the code. It comes without support, but we are keen to receive\n\u003e feedback on the product and suggestions on how to improve it, though we cannot commit to\n\u003e resolution of any particular issue. No SLAs are available. It is not meant to be used in\n\u003e production environments, and the risks are unknown/high.\n\u003e\n\u003e Additional information can be found in [Release life cycle for Grafana Labs](https://grafana.com/docs/release-life-cycle/).\n\n## Requirements\n\nGrafonnet uses the [Jsonnet](https://jsonnet.org/) programming language.\n\n\u003e **NOTE**: There is a significant performance issue with the C implementation of Jsonnet. You are strongly\nrecommended to use the newer [go-jsonnet](https://github.com/google/go-jsonnet) Jsonnet implementation.\nThis is also the implementation recommended by the Jsonnet developers themselves.\n\nThe library can be installed with [jsonnet-bundler](https://github.com/jsonnet-bundler/jsonnet-bundler/).\n\n## Install\n\nTo add grafonnet to a jsonnet project:\n\n```console\njb install github.com/grafana/grafonnet/gen/grafonnet-latest@main\n```\n\n## Usage\n\n```jsonnet\n// dashboard.jsonnet\nlocal grafonnet = import 'github.com/grafana/grafonnet/gen/grafonnet-latest/main.libsonnet';\n\ngrafonnet.dashboard.new('My Dashboard')\n```\n\n```console\njsonnet -J vendor dashboard.jsonnet\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrafana%2Fgrafonnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrafana%2Fgrafonnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrafana%2Fgrafonnet/lists"}