Constructor and Description |
---|
Dashboard(java.lang.String title,
TimeRange timeRange,
Refresh refresh,
Tags tags,
Variables variables,
Panels panels,
Annotations annotations)
Dashboard. Represents root of JSON-document, used for importing into Grafana.
|
Modifier and Type | Method and Description |
---|---|
org.json.JSONObject |
toJson()
returns object as JSON.
|
public Dashboard(java.lang.String title, TimeRange timeRange, Refresh refresh, Tags tags, Variables variables, Panels panels, Annotations annotations)
Dashboard. Represents root of JSON-document, used for importing into Grafana.
title
- Display titletimeRange
- Metrics time rangerefresh
- Metrics refresh ratetags
- Tagsvariables
- Variables that should be reused for querying metricspanels
- Panelsannotations
- Annotations that displayed on graphs. Has default value for backward compatibility.