DataqueryBuilder
Constructor
Methods
build
Builds the object.
alias
public dataqueryBuilder alias(String alias)
channel
public dataqueryBuilder channel(String channel)
csvContent
public dataqueryBuilder csvContent(String csvContent)
csvFileName
public dataqueryBuilder csvFileName(String csvFileName)
csvWave
public dataqueryBuilder csvWave(List<com.grafana.foundation.cog.Builder<CSVWave>> csvWave)
datasource
For mixed data sources the selected datasource is on the query level.
For non mixed scenarios this is undefined.
TODO find a better way to do this ^ that's friendly to schema
TODO this shouldn't be unknown but DataSourceRef | null
public dataqueryBuilder datasource(Object datasource)
dropPercent
Drop percentage (the chance we will lose a point 0-100)
public dataqueryBuilder dropPercent(Double dropPercent)
errorType
public dataqueryBuilder errorType(DataqueryErrorType errorType)
flamegraphDiff
public dataqueryBuilder flamegraphDiff(Boolean flamegraphDiff)
hide
true if query is disabled (ie should not be returned to the dashboard)
Note this does not always imply that the query should not be executed since
the results from a hidden query may be used as the input to other queries (SSE etc)
public dataqueryBuilder hide(Boolean hide)
labels
public dataqueryBuilder labels(String labels)
levelColumn
public dataqueryBuilder levelColumn(Boolean levelColumn)
lines
public dataqueryBuilder lines(Long lines)
nodes
public dataqueryBuilder nodes(com.grafana.foundation.cog.Builder<NodesQuery> nodes)
points
public dataqueryBuilder points(List<List<StringOrInt64>> points)
pulseWave
public dataqueryBuilder pulseWave(com.grafana.foundation.cog.Builder<PulseWaveQuery> pulseWave)
queryType
Specify the query flavor
TODO make this required and give it a default
public dataqueryBuilder queryType(String queryType)
rawFrameContent
public dataqueryBuilder rawFrameContent(String rawFrameContent)
refId
A unique identifier for the query within the list of targets.
In server side expressions, the refId is used as a variable name to identify results.
By default, the UI will assign A->Z; however setting meaningful names may be useful.
public dataqueryBuilder refId(String refId)
scenarioId
public dataqueryBuilder scenarioId(TestDataQueryType scenarioId)
seriesCount
public dataqueryBuilder seriesCount(Integer seriesCount)
sim
public dataqueryBuilder sim(com.grafana.foundation.cog.Builder<SimulationQuery> sim)
spanCount
public dataqueryBuilder spanCount(Integer spanCount)
stream
public dataqueryBuilder stream(com.grafana.foundation.cog.Builder<StreamingQuery> stream)
public dataqueryBuilder stringInput(String stringInput)
usa
public dataqueryBuilder usa(com.grafana.foundation.cog.Builder<USAQuery> usa)
See also