The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/docs/sources/developers/kinds/composable/textpanelcfg/schema-reference.md

3.4 KiB

keywords title
[grafana schema] TextPanelCfg kind

Both documentation generation and kinds schemas are in active development and subject to change without prior notice.

TextPanelCfg

Maturity: experimental

Version: 0.0

Property Type Required Default Description
CodeLanguage string Yes plaintext Possible values are: plaintext, yaml, xml, typescript, sql, go, markdown, html, json.
CodeOptions object Yes
PanelOptions object Yes
TextMode string Yes Possible values are: html, markdown, code.

CodeOptions

Property Type Required Default Description
language string Yes plaintext Possible values are: plaintext, yaml, xml, typescript, sql, go, markdown, html, json.
showLineNumbers boolean Yes false
showMiniMap boolean Yes false

PanelOptions

Property Type Required Default Description
content string Yes `# Title
For markdown syntax help: commonmark.org/help`
mode string Yes Possible values are: html, markdown, code.
code CodeOptions No