Skip to main content

Grafana FAQ

SchemaVersion

schemaVersion关键变更对应 Grafana 版本
2-8早期 filter/timepicker/InfluxDB 迁移很早期
9-13singlestat→stat, graph→timeseries 等面板迁移~v5-v6
16Grid layout 布局迁移~v5
24Angular table→table-oldv7.0
27移除 repeated panels, constant 变量转换~v7.x
30value mappings 升级~v8.x
33datasource name → uid/type object 引用v8.3
36annotations/variables 中 datasource 引用迁移~v9.x
37-39legend, table cellOptions, timeseries transform~v10.x
40-41refresh 属性、timepicker cleanup~v11.x
42hideFrom.viz 迁移,标记为 v1 API 最终版本v12.0+

Public

  • 公开访问
  • 开启后可以绑定 org+role

TypeTimeSeriesLong TypeTable

  • TypeTimeSeriesLong
    • 数据不是按列展开,而是按行堆叠
    • Time, Value, Labels/Tags
TimeMetric NameValueHost
10:00cpu_usage20server-A
10:00cpu_usage25server-B
10:01cpu_usage22server-A
  • TypeTable
    • 每一行是一个独立的记录,每一列是一个字段
IDNameStatusLastLogin
1AdminOnline2024-04-09
2GuestOffline2024-04-01
  • TypeTimeSeriesWide
timebitable-A/429bitable-B/429
2026-04-09 10:0035.212.1
2026-04-09 10:0138.58.3

每个 series 是一列,列名/labels 就是维度标识。适合多 series 对比。