The Grafana Foundation SDK for TypeScript is organized into several specialized packages. These packages are categorized by their purpose, such as core functionality, panel configurations, or data query implementations. Use the following categorization to find the relevant package for your development needs:
Core Packages
These provide fundamental SDK functionality:
alertingdashboarddashboardv2beta1librarypanelpreferencespublicdashboardteam
Panel Configuration Packages (package-variant-panelcfg)
These packages define configurations for specific Grafana UI panels:
annotationslist, barchart, bargauge, candlestick, canvas, dashboardlist, datagrid, debug, gauge, geomap, heatmap, histogram, logs, news, nodegraph, piechart, stat, statetimeline, statushistory, table, text, timeseries, trend, `xychart
Data Query Packages (package-variant-dataquery)
These packages handle data source specific queries and expressions:
athena, azuremonitor, bigquery, cloudwatch, datasource, elasticsearch, expr, googlecloudmonitoring, grafanapyroscope, loki, parca, prometheus, tempo, `testdata
Other Packages
common: Shared utilities and types.dashboardv2: Dashboard version 2 definitions.folderv1 / folderv1beta1: Folder management.playlistv0alpha1 / playlistv1: Playlist management.resource, starsv1alpha1, units: Miscellaneous domain models.