From ac64eff0900926f5a9cdfcf6788886da4505c9f7 Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Fri, 4 Oct 2024 15:16:03 +0200 Subject: [PATCH 1/5] Update grafonnet from v10.4.0 to v11.1.0 --- dashboards/activity.jsonnet | 2 +- dashboards/cluster.jsonnet | 2 +- dashboards/common.libsonnet | 12 +- dashboards/homedirs.jsonnet | 2 +- dashboards/jupyterhub.jsonnet | 2 +- dashboards/jupyterhub.libsonnet | 2 +- dashboards/support.jsonnet | 2 +- dashboards/usage-report.jsonnet | 2 +- dashboards/user.jsonnet | 2 +- jsonnetfile.json | 2 +- jsonnetfile.lock.json | 6 +- .../clean/alerting/contactPoint.libsonnet | 19 - .../clean/alerting/messageTemplate.libsonnet | 8 - .../clean/alerting/muteTiming.libsonnet | 69 - .../alerting/notificationPolicy.libsonnet | 57 - .../clean/alerting/ruleGroup.libsonnet | 75 - .../clean/panel/alertGroups.libsonnet | 20 - .../clean/panel/alertList.libsonnet | 125 -- .../clean/panel/barChart.libsonnet | 163 -- .../clean/panel/barGauge.libsonnet | 64 - .../clean/panel/candlestick.libsonnet | 231 --- .../clean/panel/canvas.libsonnet | 198 -- .../clean/panel/gauge.libsonnet | 58 - .../clean/panel/geomap.libsonnet | 156 -- .../clean/panel/heatmap.libsonnet | 281 --- .../clean/panel/histogram.libsonnet | 127 -- .../clean/panel/pieChart.libsonnet | 134 -- .../clean/panel/stat.libsonnet | 60 - .../clean/panel/stateTimeline.libsonnet | 102 -- .../clean/panel/statusHistory.libsonnet | 100 -- .../clean/panel/table.libsonnet | 303 ---- .../clean/panel/text.libsonnet | 31 - .../clean/panel/timeSeries.libsonnet | 194 -- .../clean/panel/trend.libsonnet | 188 -- .../clean/panel/xyChart.libsonnet | 348 ---- .../clean/query/prometheus.libsonnet | 38 - .../clean/query/tempo.libsonnet | 89 - .../alerting/muteTiming/interval/times.md | 32 - .../grafonnet-v10.4.0/docs/librarypanel.md | 334 ---- .../docs/panel/alertGroups/index.md | 646 ------- .../barGauge/queryOptions/transformation.md | 115 -- .../panel/barGauge/standardOptions/mapping.md | 457 ----- .../standardOptions/threshold/step.md | 34 - .../queryOptions/transformation.md | 115 -- .../candlestick/standardOptions/mapping.md | 457 ----- .../standardOptions/threshold/step.md | 34 - .../canvas/queryOptions/transformation.md | 115 -- .../panel/canvas/standardOptions/mapping.md | 457 ----- .../canvas/standardOptions/threshold/step.md | 34 - .../queryOptions/transformation.md | 115 -- .../dashboardList/standardOptions/mapping.md | 457 ----- .../standardOptions/threshold/step.md | 34 - .../datagrid/queryOptions/transformation.md | 115 -- .../panel/datagrid/standardOptions/mapping.md | 457 ----- .../standardOptions/threshold/step.md | 34 - .../debug/queryOptions/transformation.md | 115 -- .../panel/debug/standardOptions/mapping.md | 457 ----- .../debug/standardOptions/threshold/step.md | 34 - .../gauge/queryOptions/transformation.md | 115 -- .../panel/gauge/standardOptions/mapping.md | 457 ----- .../gauge/standardOptions/threshold/step.md | 34 - .../geomap/queryOptions/transformation.md | 115 -- .../panel/geomap/standardOptions/mapping.md | 457 ----- .../geomap/standardOptions/threshold/step.md | 34 - .../heatmap/queryOptions/transformation.md | 115 -- .../panel/heatmap/standardOptions/mapping.md | 457 ----- .../heatmap/standardOptions/threshold/step.md | 34 - .../histogram/queryOptions/transformation.md | 115 -- .../histogram/standardOptions/mapping.md | 457 ----- .../standardOptions/threshold/step.md | 34 - .../panel/logs/queryOptions/transformation.md | 115 -- .../panel/logs/standardOptions/mapping.md | 457 ----- .../logs/standardOptions/threshold/step.md | 34 - .../panel/news/queryOptions/transformation.md | 115 -- .../panel/news/standardOptions/mapping.md | 457 ----- .../news/standardOptions/threshold/step.md | 34 - .../nodeGraph/queryOptions/transformation.md | 115 -- .../nodeGraph/standardOptions/mapping.md | 457 ----- .../standardOptions/threshold/step.md | 34 - .../pieChart/queryOptions/transformation.md | 115 -- .../panel/pieChart/standardOptions/mapping.md | 457 ----- .../standardOptions/threshold/step.md | 34 - .../panel/stat/queryOptions/transformation.md | 115 -- .../panel/stat/standardOptions/mapping.md | 457 ----- .../stat/standardOptions/threshold/step.md | 34 - .../queryOptions/transformation.md | 115 -- .../stateTimeline/standardOptions/mapping.md | 457 ----- .../standardOptions/threshold/step.md | 34 - .../queryOptions/transformation.md | 115 -- .../statusHistory/standardOptions/mapping.md | 457 ----- .../standardOptions/threshold/step.md | 34 - .../table/queryOptions/transformation.md | 115 -- .../panel/table/standardOptions/mapping.md | 457 ----- .../table/standardOptions/threshold/step.md | 34 - .../panel/text/queryOptions/transformation.md | 115 -- .../panel/text/standardOptions/mapping.md | 457 ----- .../text/standardOptions/threshold/step.md | 34 - .../timeSeries/queryOptions/transformation.md | 115 -- .../timeSeries/standardOptions/mapping.md | 457 ----- .../standardOptions/threshold/step.md | 34 - .../trend/queryOptions/transformation.md | 115 -- .../panel/trend/standardOptions/mapping.md | 457 ----- .../trend/standardOptions/threshold/step.md | 34 - .../xyChart/queryOptions/transformation.md | 115 -- .../panel/xyChart/standardOptions/mapping.md | 457 ----- .../panel/xyChart/standardOptions/override.md | 244 --- .../xyChart/standardOptions/threshold/step.md | 34 - .../gen/grafonnet-v10.4.0/main.libsonnet | 26 - .../gen/grafonnet-v10.4.0/panel.libsonnet | 31 - .../gen/grafonnet-v10.4.0/query.libsonnet | 14 - .../raw/accesspolicy.libsonnet | 46 - .../raw/alerting/contactPoint.libsonnet | 18 - .../raw/alerting/muteTiming.libsonnet | 68 - .../raw/alerting/notificationPolicy.libsonnet | 74 - .../raw/alerting/ruleGroup.libsonnet | 89 - .../grafonnet-v10.4.0/raw/dashboard.libsonnet | 334 ---- .../raw/librarypanel.libsonnet | 65 - .../gen/grafonnet-v10.4.0/raw/panel.libsonnet | 391 ---- .../raw/panel/alertGroups.libsonnet | 19 - .../raw/panel/alertList.libsonnet | 124 -- .../raw/panel/annotationsList.libsonnet | 39 - .../raw/panel/barChart.libsonnet | 174 -- .../raw/panel/barGauge.libsonnet | 63 - .../raw/panel/candlestick.libsonnet | 278 --- .../raw/panel/canvas.libsonnet | 524 ------ .../raw/panel/dashboardList.libsonnet | 41 - .../raw/panel/datagrid.libsonnet | 15 - .../raw/panel/debug.libsonnet | 43 - .../raw/panel/gauge.libsonnet | 57 - .../raw/panel/geomap.libsonnet | 216 --- .../raw/panel/heatmap.libsonnet | 437 ----- .../raw/panel/histogram.libsonnet | 138 -- .../raw/panel/logs.libsonnet | 31 - .../raw/panel/news.libsonnet | 17 - .../raw/panel/nodeGraph.libsonnet | 100 -- .../raw/panel/pieChart.libsonnet | 190 -- .../raw/panel/stat.libsonnet | 59 - .../raw/panel/stateTimeline.libsonnet | 113 -- .../raw/panel/statusHistory.libsonnet | 111 -- .../raw/panel/table.libsonnet | 314 ---- .../raw/panel/text.libsonnet | 47 - .../raw/panel/timeSeries.libsonnet | 205 --- .../raw/panel/trend.libsonnet | 199 -- .../raw/panel/xyChart.libsonnet | 516 ------ .../raw/query/loki.libsonnet | 28 - .../raw/query/testData.libsonnet | 174 -- .../raw/rolebinding.libsonnet | 44 - .../grafonnet-v11.1.0/accesspolicy.libsonnet | 90 + .../alerting.libsonnet | 2 +- .../clean/alerting/contactPoint.libsonnet | 33 + .../clean/alerting/muteTiming.libsonnet | 135 ++ .../alerting/notificationPolicy.libsonnet | 97 + .../alerting/notificationTemplate.libsonnet} | 14 +- .../clean/alerting/ruleGroup.libsonnet | 147 ++ .../custom/alerting/contactPoint.libsonnet | 0 .../custom/alerting/muteTiming.libsonnet | 0 .../alerting/notificationPolicy.libsonnet | 0 .../custom/alerting/ruleGroup.libsonnet | 0 .../custom/dashboard.libsonnet | 5 + .../custom/dashboard/annotation.libsonnet | 0 .../custom/dashboard/link.libsonnet | 0 .../custom/dashboard/variable.libsonnet | 11 +- .../custom/panel.libsonnet | 0 .../custom/query/azureMonitor.libsonnet | 17 + .../custom/query/cloudWatch.libsonnet | 23 + .../custom/query/elasticsearch.libsonnet | 20 + .../custom/query/expr.libsonnet | 12 + .../query/googleCloudMonitoring.libsonnet | 17 + .../custom/query/grafanaPyroscope.libsonnet | 17 + .../custom/query/loki.libsonnet | 1 + .../custom/query/parca.libsonnet | 17 + .../custom/query/prometheus.libsonnet | 1 + .../custom/query/tempo.libsonnet | 1 + .../custom/query/testData.libsonnet | 17 + .../custom/row.libsonnet | 0 .../custom/util/dashboard.libsonnet | 0 .../custom/util/grid.libsonnet | 161 +- .../custom/util/main.libsonnet | 0 .../custom/util/panel.libsonnet | 99 + .../custom/util/string.libsonnet | 0 .../dashboard.libsonnet | 581 ++++-- .../docs/README.md | 6 +- .../docs/accesspolicy/index.md | 8 +- .../docs/accesspolicy/rules.md | 18 +- .../docs/alerting/contactPoint.md | 23 +- .../docs/alerting/index.md | 2 +- .../docs/alerting/muteTiming/index.md | 0 .../alerting/muteTiming/interval/index.md | 48 + .../interval/time_intervals}/index.md | 2 +- .../interval/time_intervals/times.md | 32 + .../docs/alerting/notificationPolicy/index.md | 32 +- .../alerting/notificationPolicy/matcher.md | 2 +- .../docs/alerting/notificationTemplate.md} | 16 +- .../docs/alerting/ruleGroup/index.md | 2 +- .../docs/alerting/ruleGroup/rule/data.md | 19 +- .../docs/alerting/ruleGroup/rule/index.md | 43 +- .../docs/dashboard/annotation.md | 16 +- .../docs/dashboard/index.md | 11 +- .../docs/dashboard/link.md | 0 .../docs/dashboard/variable.md | 18 +- .../docs/folder.md | 0 .../docs/librarypanel/index.md | 1599 +++++++++++++++++ .../fieldConfig/defaults/thresholds/steps.md | 34 + .../model/fieldConfig/overrides/index.md | 104 ++ .../model/fieldConfig/overrides/properties.md | 45 + .../docs/librarypanel/model/links.md} | 2 +- .../librarypanel/model/transformations.md | 140 ++ .../docs/panel/alertList/index.md | 38 + .../panel/alertList}/panelOptions/link.md | 0 .../alertList}/queryOptions/transformation.md | 29 +- .../alertList/standardOptions/mapping.md | 32 +- .../alertList}/standardOptions/override.md | 0 .../standardOptions/threshold/step.md | 2 +- .../docs/panel/annotationsList/index.md | 38 + .../annotationsList}/panelOptions/link.md | 0 .../queryOptions/transformation.md | 29 +- .../standardOptions/mapping.md | 32 +- .../standardOptions/override.md | 0 .../standardOptions/threshold/step.md | 2 +- .../docs/panel/barChart/index.md | 91 +- .../docs/panel/barChart}/panelOptions/link.md | 0 .../barChart}/queryOptions/transformation.md | 29 +- .../barChart}/standardOptions/mapping.md | 32 +- .../barChart}/standardOptions/override.md | 0 .../standardOptions/threshold/step.md | 2 +- .../docs/panel/barGauge/index.md | 58 +- .../docs/panel/barGauge}/panelOptions/link.md | 0 .../barGauge}/queryOptions/transformation.md | 29 +- .../barGauge}/standardOptions/mapping.md | 32 +- .../barGauge}/standardOptions/override.md | 0 .../standardOptions/threshold/step.md | 2 +- .../docs/panel/candlestick/index.md | 184 +- .../panel/candlestick}/panelOptions/link.md | 0 .../queryOptions/transformation.md | 140 ++ .../candlestick/standardOptions/mapping.md | 445 +++++ .../candlestick}/standardOptions/override.md | 0 .../standardOptions/threshold/step.md | 34 + .../docs/panel/canvas/index.md | 59 +- .../root/elements/connections/index.md} | 136 +- .../root/elements/connections/vertices.md | 32 + .../canvas/options/root/elements/index.md | 44 +- .../docs/panel/canvas}/panelOptions/link.md | 0 .../canvas/queryOptions/transformation.md | 140 ++ .../panel/canvas/standardOptions/mapping.md | 445 +++++ .../panel/canvas}/standardOptions/override.md | 0 .../canvas/standardOptions/threshold/step.md | 34 + .../docs/panel/dashboardList/index.md | 51 + .../panel/dashboardList}/panelOptions/link.md | 0 .../queryOptions/transformation.md | 140 ++ .../dashboardList/standardOptions/mapping.md | 445 +++++ .../standardOptions/override.md | 0 .../standardOptions/threshold/step.md | 34 + .../docs/panel/datagrid/index.md | 38 + .../docs/panel/datagrid}/panelOptions/link.md | 0 .../datagrid/queryOptions/transformation.md | 140 ++ .../panel/datagrid/standardOptions/mapping.md | 445 +++++ .../datagrid}/standardOptions/override.md | 0 .../standardOptions/threshold/step.md | 34 + .../docs/panel/debug/index.md | 38 + .../docs/panel/debug}/panelOptions/link.md | 0 .../debug/queryOptions/transformation.md | 140 ++ .../panel/debug/standardOptions/mapping.md | 445 +++++ .../panel/debug}/standardOptions/override.md | 0 .../debug/standardOptions/threshold/step.md | 34 + .../docs/panel/gauge/index.md | 43 +- .../docs/panel/gauge}/panelOptions/link.md | 0 .../gauge/queryOptions/transformation.md | 140 ++ .../panel/gauge/standardOptions/mapping.md | 445 +++++ .../panel/gauge}/standardOptions/override.md | 0 .../gauge/standardOptions/threshold/step.md | 34 + .../docs/panel/geomap/index.md | 70 +- .../docs/panel/geomap/options/layers.md | 32 +- .../docs/panel/geomap}/panelOptions/link.md | 0 .../geomap/queryOptions/transformation.md | 140 ++ .../panel/geomap/standardOptions/mapping.md | 445 +++++ .../panel/geomap}/standardOptions/override.md | 0 .../geomap/standardOptions/threshold/step.md | 34 + .../docs/panel/heatmap/index.md | 353 ++-- .../docs/panel/heatmap}/panelOptions/link.md | 0 .../heatmap/queryOptions/transformation.md | 140 ++ .../panel/heatmap/standardOptions/mapping.md | 445 +++++ .../heatmap}/standardOptions/override.md | 0 .../heatmap/standardOptions/threshold/step.md | 34 + .../docs/panel/histogram/index.md | 120 +- .../panel/histogram}/panelOptions/link.md | 0 .../histogram/queryOptions/transformation.md | 140 ++ .../histogram/standardOptions/mapping.md | 445 +++++ .../histogram}/standardOptions/override.md | 0 .../standardOptions/threshold/step.md | 34 + .../docs/panel/index.md | 1 - .../docs/panel/logs/index.md | 38 + .../docs/panel/logs}/panelOptions/link.md | 0 .../panel/logs/queryOptions/transformation.md | 140 ++ .../panel/logs/standardOptions/mapping.md | 445 +++++ .../panel/logs}/standardOptions/override.md | 0 .../logs/standardOptions/threshold/step.md | 34 + .../docs/panel/news/index.md | 38 + .../docs/panel/news}/panelOptions/link.md | 0 .../panel/news/queryOptions/transformation.md | 140 ++ .../panel/news/standardOptions/mapping.md | 445 +++++ .../panel/news}/standardOptions/override.md | 0 .../news/standardOptions/threshold/step.md | 34 + .../docs/panel/nodeGraph/index.md | 38 + .../panel/nodeGraph/options/nodes/arcs.md | 0 .../panel/nodeGraph}/panelOptions/link.md | 0 .../nodeGraph/queryOptions/transformation.md | 140 ++ .../nodeGraph/standardOptions/mapping.md | 445 +++++ .../nodeGraph}/standardOptions/override.md | 0 .../standardOptions/threshold/step.md | 34 + .../docs/panel/pieChart/index.md | 38 + .../docs/panel/pieChart}/panelOptions/link.md | 0 .../pieChart/queryOptions/transformation.md | 140 ++ .../panel/pieChart/standardOptions/mapping.md | 445 +++++ .../pieChart}/standardOptions/override.md | 0 .../standardOptions/threshold/step.md | 34 + .../docs/panel/row.md | 0 .../docs/panel/stat/index.md | 72 +- .../docs/panel/stat}/panelOptions/link.md | 0 .../panel/stat/queryOptions/transformation.md | 140 ++ .../panel/stat/standardOptions/mapping.md | 445 +++++ .../panel/stat}/standardOptions/override.md | 0 .../stat/standardOptions/threshold/step.md | 34 + .../docs/panel/stateTimeline/index.md | 74 +- .../panel/stateTimeline}/panelOptions/link.md | 0 .../queryOptions/transformation.md | 140 ++ .../stateTimeline/standardOptions/mapping.md | 445 +++++ .../standardOptions/override.md | 0 .../standardOptions/threshold/step.md | 34 + .../docs/panel/statusHistory/index.md | 66 +- .../panel/statusHistory}/panelOptions/link.md | 0 .../queryOptions/transformation.md | 140 ++ .../statusHistory/standardOptions/mapping.md | 445 +++++ .../standardOptions/override.md | 0 .../standardOptions/threshold/step.md | 34 + .../docs/panel/table/index.md | 265 +-- .../docs/panel/table/options/sortBy.md | 0 .../docs/panel/table}/panelOptions/link.md | 0 .../table/queryOptions/transformation.md | 140 ++ .../panel/table/standardOptions/mapping.md | 445 +++++ .../panel/table}/standardOptions/override.md | 0 .../table/standardOptions/threshold/step.md | 34 + .../docs/panel/text/index.md | 47 +- .../docs/panel/text}/panelOptions/link.md | 0 .../panel/text/queryOptions/transformation.md | 140 ++ .../panel/text/standardOptions/mapping.md | 445 +++++ .../panel/text}/standardOptions/override.md | 0 .../text/standardOptions/threshold/step.md | 34 + .../docs/panel/timeSeries/index.md | 107 +- .../panel/timeSeries}/panelOptions/link.md | 0 .../timeSeries/queryOptions/transformation.md | 140 ++ .../timeSeries/standardOptions/mapping.md | 445 +++++ .../timeSeries}/standardOptions/override.md | 0 .../standardOptions/threshold/step.md | 34 + .../docs/panel/trend/index.md | 84 +- .../docs/panel/trend}/panelOptions/link.md | 0 .../trend/queryOptions/transformation.md | 140 ++ .../panel/trend/standardOptions/mapping.md | 445 +++++ .../panel/trend}/standardOptions/override.md | 0 .../trend/standardOptions/threshold/step.md | 34 + .../docs/panel/xyChart/index.md | 74 +- .../docs/panel/xyChart/options/series.md | 16 +- .../docs/panel/xyChart}/panelOptions/link.md | 0 .../xyChart/queryOptions/transformation.md | 140 ++ .../panel/xyChart/standardOptions/mapping.md | 445 +++++ .../xyChart}/standardOptions/override.md | 0 .../xyChart/standardOptions/threshold/step.md | 34 + .../docs/preferences.md | 8 +- .../docs/publicdashboard.md | 0 .../azureMonitor/dimensionFilters.md | 0 .../azureMonitor/azureMonitor/resources.md | 0 .../query/azureMonitor/azureTraces/filters.md | 0 .../docs/query/azureMonitor/index.md | 133 +- .../CloudWatchLogsQuery/logGroups.md | 0 .../parameters.md | 7 +- .../sql/orderBy}/parameters.md | 7 +- .../sql/select}/parameters.md | 7 +- .../docs/query/cloudWatch/index.md | 104 +- .../bucketAggs/Filters/settings/filters.md | 0 .../query/elasticsearch/bucketAggs/index.md | 42 +- .../docs/query/elasticsearch/index.md | 9 +- .../BucketScript/pipelineVariables.md | 0 .../BucketScript/pipelineVariables.md | 0 .../docs/query/elasticsearch/metrics/index.md | 161 +- .../expr/TypeClassicConditions/conditions.md | 205 +++ .../query/expr/TypeClassicConditions/index.md | 324 ++++ .../docs/query/expr/TypeMath.md | 308 ++++ .../docs/query/expr/TypeReduce.md | 385 ++++ .../docs/query/expr/TypeResample.md | 358 ++++ .../docs/query/expr/TypeSql.md | 308 ++++ .../query/expr/TypeThreshold/conditions.md | 163 ++ .../docs/query/expr/TypeThreshold/index.md | 336 ++++ .../docs/query/expr/index.md | 12 + .../docs/query/googleCloudMonitoring.md | 14 +- .../docs/query/grafanaPyroscope.md | 9 +- .../docs/query/index.md | 1 + .../docs/query/loki.md | 4 +- .../docs/query/parca.md | 9 +- .../docs/query/prometheus.md | 62 +- .../docs/query/tempo/filters.md | 0 .../docs/query/tempo/groupBy.md | 0 .../docs/query/tempo/index.md | 6 +- .../docs/query/testData/csvWave.md | 0 .../docs/query/testData/index.md | 374 +++- .../docs/role.md | 0 .../docs/rolebinding.md | 20 +- .../docs/team.md | 0 .../docs/util.md | 43 + .../folder.libsonnet | 12 +- .../jsonnetfile.json | 0 .../grafonnet-v11.1.0/librarypanel.libsonnet | 1130 ++++++++++++ .../gen/grafonnet-v11.1.0/main.libsonnet | 26 + .../panel.libsonnet | 785 ++++++-- .../panel/alertList.libsonnet | 341 ++++ .../panel/annotationsList.libsonnet | 90 +- .../panel/barChart.libsonnet | 553 ++++++ .../panel/barGauge.libsonnet | 168 ++ .../panel/candlestick.libsonnet | 850 +++++++++ .../grafonnet-v11.1.0/panel/canvas.libsonnet | 544 ++++++ .../panel/dashboardList.libsonnet | 102 +- .../panel/datagrid.libsonnet | 20 +- .../panel/debug.libsonnet | 56 +- .../grafonnet-v11.1.0/panel/gauge.libsonnet | 150 ++ .../grafonnet-v11.1.0/panel/geomap.libsonnet | 486 +++++ .../grafonnet-v11.1.0/panel/heatmap.libsonnet | 845 +++++++++ .../panel/histogram.libsonnet | 486 +++++ .../panel/logs.libsonnet | 68 +- .../panel/news.libsonnet | 26 +- .../panel/nodeGraph.libsonnet | 104 +- .../panel/pieChart.libsonnet | 380 ++++ .../panel/row.libsonnet | 98 +- .../grafonnet-v11.1.0/panel/stat.libsonnet | 162 ++ .../panel/stateTimeline.libsonnet | 298 +++ .../panel/statusHistory.libsonnet | 292 +++ .../grafonnet-v11.1.0/panel/table.libsonnet | 1334 ++++++++++++++ .../grafonnet-v11.1.0/panel/text.libsonnet | 73 + .../panel/timeSeries.libsonnet | 756 ++++++++ .../grafonnet-v11.1.0/panel/trend.libsonnet | 738 ++++++++ .../grafonnet-v11.1.0/panel/xyChart.libsonnet | 1070 +++++++++++ .../grafonnet-v11.1.0/panelindex.libsonnet | 30 + .../preferences.libsonnet | 86 +- .../publicdashboard.libsonnet | 24 +- .../gen/grafonnet-v11.1.0/query.libsonnet | 15 + .../query/azureMonitor.libsonnet | 905 +++++++--- .../query/cloudWatch.libsonnet | 769 ++++++-- .../query/elasticsearch.libsonnet | 1387 ++++++++++---- .../grafonnet-v11.1.0/query/expr.libsonnet | 996 ++++++++++ .../query/googleCloudMonitoring.libsonnet | 299 ++- .../query/grafanaPyroscope.libsonnet | 73 +- .../query/loki.libsonnet | 58 +- .../query/parca.libsonnet | 33 +- .../query/prometheus.libsonnet | 74 +- .../query/tempo.libsonnet | 171 +- .../query/testData.libsonnet | 500 ++++++ .../raw => grafonnet-v11.1.0}/role.libsonnet | 20 +- .../grafonnet-v11.1.0/rolebinding.libsonnet | 92 + .../raw => grafonnet-v11.1.0}/team.libsonnet | 8 +- vendor/grafonnet | 2 +- 457 files changed, 37835 insertions(+), 25877 deletions(-) delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/alerting/contactPoint.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/alerting/messageTemplate.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/alerting/muteTiming.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/alerting/notificationPolicy.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/alerting/ruleGroup.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/alertGroups.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/alertList.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/barChart.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/barGauge.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/candlestick.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/canvas.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/gauge.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/geomap.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/heatmap.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/histogram.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/pieChart.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/stat.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/stateTimeline.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/statusHistory.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/table.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/text.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/timeSeries.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/trend.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/xyChart.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/query/prometheus.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/query/tempo.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/alerting/muteTiming/interval/times.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/librarypanel.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/alertGroups/index.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barGauge/queryOptions/transformation.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barGauge/standardOptions/mapping.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barGauge/standardOptions/threshold/step.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/candlestick/queryOptions/transformation.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/candlestick/standardOptions/mapping.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/candlestick/standardOptions/threshold/step.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/canvas/queryOptions/transformation.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/canvas/standardOptions/mapping.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/canvas/standardOptions/threshold/step.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/dashboardList/queryOptions/transformation.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/dashboardList/standardOptions/mapping.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/dashboardList/standardOptions/threshold/step.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/datagrid/queryOptions/transformation.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/datagrid/standardOptions/mapping.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/datagrid/standardOptions/threshold/step.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/debug/queryOptions/transformation.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/debug/standardOptions/mapping.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/debug/standardOptions/threshold/step.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/gauge/queryOptions/transformation.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/gauge/standardOptions/mapping.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/gauge/standardOptions/threshold/step.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/geomap/queryOptions/transformation.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/geomap/standardOptions/mapping.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/geomap/standardOptions/threshold/step.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/heatmap/queryOptions/transformation.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/heatmap/standardOptions/mapping.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/heatmap/standardOptions/threshold/step.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/histogram/queryOptions/transformation.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/histogram/standardOptions/mapping.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/histogram/standardOptions/threshold/step.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/logs/queryOptions/transformation.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/logs/standardOptions/mapping.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/logs/standardOptions/threshold/step.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/news/queryOptions/transformation.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/news/standardOptions/mapping.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/news/standardOptions/threshold/step.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/nodeGraph/queryOptions/transformation.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/nodeGraph/standardOptions/mapping.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/nodeGraph/standardOptions/threshold/step.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/pieChart/queryOptions/transformation.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/pieChart/standardOptions/mapping.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/pieChart/standardOptions/threshold/step.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stat/queryOptions/transformation.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stat/standardOptions/mapping.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stat/standardOptions/threshold/step.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stateTimeline/queryOptions/transformation.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stateTimeline/standardOptions/mapping.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stateTimeline/standardOptions/threshold/step.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/statusHistory/queryOptions/transformation.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/statusHistory/standardOptions/mapping.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/statusHistory/standardOptions/threshold/step.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/table/queryOptions/transformation.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/table/standardOptions/mapping.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/table/standardOptions/threshold/step.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/text/queryOptions/transformation.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/text/standardOptions/mapping.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/text/standardOptions/threshold/step.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/timeSeries/queryOptions/transformation.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/timeSeries/standardOptions/mapping.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/timeSeries/standardOptions/threshold/step.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/trend/queryOptions/transformation.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/trend/standardOptions/mapping.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/trend/standardOptions/threshold/step.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/xyChart/queryOptions/transformation.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/xyChart/standardOptions/mapping.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/xyChart/standardOptions/override.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/xyChart/standardOptions/threshold/step.md delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/main.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/panel.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/query.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/accesspolicy.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/alerting/contactPoint.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/alerting/muteTiming.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/alerting/notificationPolicy.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/alerting/ruleGroup.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/dashboard.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/librarypanel.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/alertGroups.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/alertList.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/annotationsList.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/barChart.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/barGauge.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/candlestick.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/canvas.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/dashboardList.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/datagrid.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/debug.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/gauge.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/geomap.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/heatmap.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/histogram.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/logs.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/news.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/nodeGraph.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/pieChart.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/stat.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/stateTimeline.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/statusHistory.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/table.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/text.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/timeSeries.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/trend.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/xyChart.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/loki.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/testData.libsonnet delete mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/rolebinding.libsonnet create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/accesspolicy.libsonnet rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/alerting.libsonnet (82%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/clean/alerting/contactPoint.libsonnet create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/clean/alerting/muteTiming.libsonnet create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/clean/alerting/notificationPolicy.libsonnet rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/raw/alerting/messageTemplate.libsonnet => grafonnet-v11.1.0/clean/alerting/notificationTemplate.libsonnet} (63%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/clean/alerting/ruleGroup.libsonnet rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/custom/alerting/contactPoint.libsonnet (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/custom/alerting/muteTiming.libsonnet (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/custom/alerting/notificationPolicy.libsonnet (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/custom/alerting/ruleGroup.libsonnet (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/custom/dashboard.libsonnet (92%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/custom/dashboard/annotation.libsonnet (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/custom/dashboard/link.libsonnet (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/custom/dashboard/variable.libsonnet (97%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/custom/panel.libsonnet (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/azureMonitor.libsonnet create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/cloudWatch.libsonnet create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/elasticsearch.libsonnet create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/expr.libsonnet create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/googleCloudMonitoring.libsonnet create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/grafanaPyroscope.libsonnet rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/custom/query/loki.libsonnet (92%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/parca.libsonnet rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/custom/query/prometheus.libsonnet (95%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/custom/query/tempo.libsonnet (93%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/testData.libsonnet rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/custom/row.libsonnet (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/custom/util/dashboard.libsonnet (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/custom/util/grid.libsonnet (55%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/custom/util/main.libsonnet (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/custom/util/panel.libsonnet (74%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/custom/util/string.libsonnet (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/clean => grafonnet-v11.1.0}/dashboard.libsonnet (63%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/README.md (79%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/accesspolicy/index.md (93%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/accesspolicy/rules.md (62%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/alerting/contactPoint.md (67%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/alerting/index.md (80%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/alerting/muteTiming/index.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/muteTiming/interval/index.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/alerting/muteTiming/interval => grafonnet-v11.1.0/docs/alerting/muteTiming/interval/time_intervals}/index.md (98%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/muteTiming/interval/time_intervals/times.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/alerting/notificationPolicy/index.md (59%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/alerting/notificationPolicy/matcher.md (90%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/alerting/messageTemplate.md => grafonnet-v11.1.0/docs/alerting/notificationTemplate.md} (57%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/alerting/ruleGroup/index.md (97%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/alerting/ruleGroup/rule/data.md (67%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/alerting/ruleGroup/rule/index.md (76%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/dashboard/annotation.md (96%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/dashboard/index.md (97%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/dashboard/link.md (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/dashboard/variable.md (98%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/folder.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/librarypanel/index.md create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/librarypanel/model/fieldConfig/defaults/thresholds/steps.md create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/librarypanel/model/fieldConfig/overrides/index.md create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/librarypanel/model/fieldConfig/overrides/properties.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/xyChart/panelOptions/link.md => grafonnet-v11.1.0/docs/librarypanel/model/links.md} (99%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/librarypanel/model/transformations.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/alertList/index.md (96%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/alertGroups => grafonnet-v11.1.0/docs/panel/alertList}/panelOptions/link.md (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/barChart => grafonnet-v11.1.0/docs/panel/alertList}/queryOptions/transformation.md (80%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/alertList/standardOptions/mapping.md (94%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/alertGroups => grafonnet-v11.1.0/docs/panel/alertList}/standardOptions/override.md (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/alertList/standardOptions/threshold/step.md (95%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/annotationsList/index.md (95%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/alertList => grafonnet-v11.1.0/docs/panel/annotationsList}/panelOptions/link.md (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/alertList => grafonnet-v11.1.0/docs/panel/annotationsList}/queryOptions/transformation.md (80%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/annotationsList/standardOptions/mapping.md (94%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/alertList => grafonnet-v11.1.0/docs/panel/annotationsList}/standardOptions/override.md (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/alertGroups => grafonnet-v11.1.0/docs/panel/annotationsList}/standardOptions/threshold/step.md (95%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/barChart/index.md (93%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/annotationsList => grafonnet-v11.1.0/docs/panel/barChart}/panelOptions/link.md (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/annotationsList => grafonnet-v11.1.0/docs/panel/barChart}/queryOptions/transformation.md (80%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/alertGroups => grafonnet-v11.1.0/docs/panel/barChart}/standardOptions/mapping.md (94%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/annotationsList => grafonnet-v11.1.0/docs/panel/barChart}/standardOptions/override.md (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/barChart/standardOptions/threshold/step.md (95%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/barGauge/index.md (93%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/barChart => grafonnet-v11.1.0/docs/panel/barGauge}/panelOptions/link.md (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/alertGroups => grafonnet-v11.1.0/docs/panel/barGauge}/queryOptions/transformation.md (80%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/barChart => grafonnet-v11.1.0/docs/panel/barGauge}/standardOptions/mapping.md (94%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/barChart => grafonnet-v11.1.0/docs/panel/barGauge}/standardOptions/override.md (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/annotationsList => grafonnet-v11.1.0/docs/panel/barGauge}/standardOptions/threshold/step.md (95%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/candlestick/index.md (90%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/barGauge => grafonnet-v11.1.0/docs/panel/candlestick}/panelOptions/link.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/candlestick/queryOptions/transformation.md create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/candlestick/standardOptions/mapping.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/barGauge => grafonnet-v11.1.0/docs/panel/candlestick}/standardOptions/override.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/candlestick/standardOptions/threshold/step.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/canvas/index.md (93%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/canvas/options/root/elements/connections.md => grafonnet-v11.1.0/docs/panel/canvas/options/root/elements/connections/index.md} (64%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/canvas/options/root/elements/connections/vertices.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/canvas/options/root/elements/index.md (91%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/candlestick => grafonnet-v11.1.0/docs/panel/canvas}/panelOptions/link.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/canvas/queryOptions/transformation.md create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/canvas/standardOptions/mapping.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/candlestick => grafonnet-v11.1.0/docs/panel/canvas}/standardOptions/override.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/canvas/standardOptions/threshold/step.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/dashboardList/index.md (94%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/canvas => grafonnet-v11.1.0/docs/panel/dashboardList}/panelOptions/link.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/dashboardList/queryOptions/transformation.md create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/dashboardList/standardOptions/mapping.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/canvas => grafonnet-v11.1.0/docs/panel/dashboardList}/standardOptions/override.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/dashboardList/standardOptions/threshold/step.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/datagrid/index.md (94%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/dashboardList => grafonnet-v11.1.0/docs/panel/datagrid}/panelOptions/link.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/datagrid/queryOptions/transformation.md create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/datagrid/standardOptions/mapping.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/dashboardList => grafonnet-v11.1.0/docs/panel/datagrid}/standardOptions/override.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/datagrid/standardOptions/threshold/step.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/debug/index.md (95%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/datagrid => grafonnet-v11.1.0/docs/panel/debug}/panelOptions/link.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/debug/queryOptions/transformation.md create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/debug/standardOptions/mapping.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/datagrid => grafonnet-v11.1.0/docs/panel/debug}/standardOptions/override.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/debug/standardOptions/threshold/step.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/gauge/index.md (95%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/debug => grafonnet-v11.1.0/docs/panel/gauge}/panelOptions/link.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/gauge/queryOptions/transformation.md create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/gauge/standardOptions/mapping.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/debug => grafonnet-v11.1.0/docs/panel/gauge}/standardOptions/override.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/gauge/standardOptions/threshold/step.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/geomap/index.md (94%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/geomap/options/layers.md (83%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/gauge => grafonnet-v11.1.0/docs/panel/geomap}/panelOptions/link.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/geomap/queryOptions/transformation.md create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/geomap/standardOptions/mapping.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/gauge => grafonnet-v11.1.0/docs/panel/geomap}/standardOptions/override.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/geomap/standardOptions/threshold/step.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/heatmap/index.md (83%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/geomap => grafonnet-v11.1.0/docs/panel/heatmap}/panelOptions/link.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/heatmap/queryOptions/transformation.md create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/heatmap/standardOptions/mapping.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/geomap => grafonnet-v11.1.0/docs/panel/heatmap}/standardOptions/override.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/heatmap/standardOptions/threshold/step.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/histogram/index.md (90%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/heatmap => grafonnet-v11.1.0/docs/panel/histogram}/panelOptions/link.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/histogram/queryOptions/transformation.md create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/histogram/standardOptions/mapping.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/heatmap => grafonnet-v11.1.0/docs/panel/histogram}/standardOptions/override.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/histogram/standardOptions/threshold/step.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/index.md (95%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/logs/index.md (95%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/histogram => grafonnet-v11.1.0/docs/panel/logs}/panelOptions/link.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/logs/queryOptions/transformation.md create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/logs/standardOptions/mapping.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/histogram => grafonnet-v11.1.0/docs/panel/logs}/standardOptions/override.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/logs/standardOptions/threshold/step.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/news/index.md (94%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/logs => grafonnet-v11.1.0/docs/panel/news}/panelOptions/link.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/news/queryOptions/transformation.md create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/news/standardOptions/mapping.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/logs => grafonnet-v11.1.0/docs/panel/news}/standardOptions/override.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/news/standardOptions/threshold/step.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/nodeGraph/index.md (95%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/nodeGraph/options/nodes/arcs.md (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/news => grafonnet-v11.1.0/docs/panel/nodeGraph}/panelOptions/link.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/nodeGraph/queryOptions/transformation.md create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/nodeGraph/standardOptions/mapping.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/news => grafonnet-v11.1.0/docs/panel/nodeGraph}/standardOptions/override.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/nodeGraph/standardOptions/threshold/step.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/pieChart/index.md (96%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/nodeGraph => grafonnet-v11.1.0/docs/panel/pieChart}/panelOptions/link.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/pieChart/queryOptions/transformation.md create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/pieChart/standardOptions/mapping.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/nodeGraph => grafonnet-v11.1.0/docs/panel/pieChart}/standardOptions/override.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/pieChart/standardOptions/threshold/step.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/row.md (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/stat/index.md (91%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/pieChart => grafonnet-v11.1.0/docs/panel/stat}/panelOptions/link.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stat/queryOptions/transformation.md create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stat/standardOptions/mapping.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/pieChart => grafonnet-v11.1.0/docs/panel/stat}/standardOptions/override.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stat/standardOptions/threshold/step.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/stateTimeline/index.md (92%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/stat => grafonnet-v11.1.0/docs/panel/stateTimeline}/panelOptions/link.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stateTimeline/queryOptions/transformation.md create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stateTimeline/standardOptions/mapping.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/stat => grafonnet-v11.1.0/docs/panel/stateTimeline}/standardOptions/override.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stateTimeline/standardOptions/threshold/step.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/statusHistory/index.md (93%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/stateTimeline => grafonnet-v11.1.0/docs/panel/statusHistory}/panelOptions/link.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/statusHistory/queryOptions/transformation.md create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/statusHistory/standardOptions/mapping.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/stateTimeline => grafonnet-v11.1.0/docs/panel/statusHistory}/standardOptions/override.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/statusHistory/standardOptions/threshold/step.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/table/index.md (89%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/table/options/sortBy.md (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/statusHistory => grafonnet-v11.1.0/docs/panel/table}/panelOptions/link.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/table/queryOptions/transformation.md create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/table/standardOptions/mapping.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/statusHistory => grafonnet-v11.1.0/docs/panel/table}/standardOptions/override.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/table/standardOptions/threshold/step.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/text/index.md (93%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/table => grafonnet-v11.1.0/docs/panel/text}/panelOptions/link.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/text/queryOptions/transformation.md create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/text/standardOptions/mapping.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/table => grafonnet-v11.1.0/docs/panel/text}/standardOptions/override.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/text/standardOptions/threshold/step.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/timeSeries/index.md (92%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/text => grafonnet-v11.1.0/docs/panel/timeSeries}/panelOptions/link.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/timeSeries/queryOptions/transformation.md create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/timeSeries/standardOptions/mapping.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/text => grafonnet-v11.1.0/docs/panel/timeSeries}/standardOptions/override.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/timeSeries/standardOptions/threshold/step.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/trend/index.md (94%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/timeSeries => grafonnet-v11.1.0/docs/panel/trend}/panelOptions/link.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/trend/queryOptions/transformation.md create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/trend/standardOptions/mapping.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/timeSeries => grafonnet-v11.1.0/docs/panel/trend}/standardOptions/override.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/trend/standardOptions/threshold/step.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/xyChart/index.md (95%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/panel/xyChart/options/series.md (97%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/trend => grafonnet-v11.1.0/docs/panel/xyChart}/panelOptions/link.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/xyChart/queryOptions/transformation.md create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/xyChart/standardOptions/mapping.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/panel/trend => grafonnet-v11.1.0/docs/panel/xyChart}/standardOptions/override.md (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/xyChart/standardOptions/threshold/step.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/preferences.md (96%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/publicdashboard.md (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/query/azureMonitor/azureMonitor/dimensionFilters.md (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/query/azureMonitor/azureMonitor/resources.md (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/query/azureMonitor/azureTraces/filters.md (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/query/azureMonitor/index.md (92%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/query/cloudWatch/CloudWatchLogsQuery/logGroups.md (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/query/cloudWatch/CloudWatchMetricsQuery/sql/orderBy => grafonnet-v11.1.0/docs/query/cloudWatch/CloudWatchMetricsQuery/sql/from/QueryEditorFunctionExpression}/parameters.md (68%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/query/cloudWatch/CloudWatchMetricsQuery/sql/select => grafonnet-v11.1.0/docs/query/cloudWatch/CloudWatchMetricsQuery/sql/orderBy}/parameters.md (68%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/docs/query/cloudWatch/CloudWatchMetricsQuery/sql/from/QueryEditorFunctionExpression => grafonnet-v11.1.0/docs/query/cloudWatch/CloudWatchMetricsQuery/sql/select}/parameters.md (68%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/query/cloudWatch/index.md (92%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/query/elasticsearch/bucketAggs/Filters/settings/filters.md (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/query/elasticsearch/bucketAggs/index.md (92%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/query/elasticsearch/index.md (82%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/query/elasticsearch/metrics/MetricAggregationWithSettings/BucketScript/pipelineVariables.md (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/query/elasticsearch/metrics/PipelineMetricAggregation/BucketScript/pipelineVariables.md (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/query/elasticsearch/metrics/index.md (93%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/TypeClassicConditions/conditions.md create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/TypeClassicConditions/index.md create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/TypeMath.md create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/TypeReduce.md create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/TypeResample.md create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/TypeSql.md create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/TypeThreshold/conditions.md create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/TypeThreshold/index.md create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/index.md rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/query/googleCloudMonitoring.md (95%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/query/grafanaPyroscope.md (83%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/query/index.md (94%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/query/loki.md (91%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/query/parca.md (74%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/query/prometheus.md (81%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/query/tempo/filters.md (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/query/tempo/groupBy.md (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/query/tempo/index.md (94%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/query/testData/csvWave.md (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/query/testData/index.md (55%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/role.md (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/rolebinding.md (88%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/team.md (100%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/docs/util.md (86%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/raw => grafonnet-v11.1.0}/folder.libsonnet (79%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0 => grafonnet-v11.1.0}/jsonnetfile.json (100%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/librarypanel.libsonnet create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/main.libsonnet rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/clean => grafonnet-v11.1.0}/panel.libsonnet (59%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/alertList.libsonnet rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/clean => grafonnet-v11.1.0}/panel/annotationsList.libsonnet (52%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/barChart.libsonnet create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/barGauge.libsonnet create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/candlestick.libsonnet create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/canvas.libsonnet rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/clean => grafonnet-v11.1.0}/panel/dashboardList.libsonnet (50%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/clean => grafonnet-v11.1.0}/panel/datagrid.libsonnet (57%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/clean => grafonnet-v11.1.0}/panel/debug.libsonnet (53%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/gauge.libsonnet create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/geomap.libsonnet create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/heatmap.libsonnet create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/histogram.libsonnet rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/clean => grafonnet-v11.1.0}/panel/logs.libsonnet (55%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/clean => grafonnet-v11.1.0}/panel/news.libsonnet (59%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/clean => grafonnet-v11.1.0}/panel/nodeGraph.libsonnet (57%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/pieChart.libsonnet rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/raw => grafonnet-v11.1.0}/panel/row.libsonnet (70%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/stat.libsonnet create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/stateTimeline.libsonnet create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/statusHistory.libsonnet create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/table.libsonnet create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/text.libsonnet create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/timeSeries.libsonnet create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/trend.libsonnet create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/xyChart.libsonnet create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panelindex.libsonnet rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/raw => grafonnet-v11.1.0}/preferences.libsonnet (58%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/raw => grafonnet-v11.1.0}/publicdashboard.libsonnet (75%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query.libsonnet rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/raw => grafonnet-v11.1.0}/query/azureMonitor.libsonnet (51%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/raw => grafonnet-v11.1.0}/query/cloudWatch.libsonnet (50%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/raw => grafonnet-v11.1.0}/query/elasticsearch.libsonnet (53%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/expr.libsonnet rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/raw => grafonnet-v11.1.0}/query/googleCloudMonitoring.libsonnet (59%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/raw => grafonnet-v11.1.0}/query/grafanaPyroscope.libsonnet (57%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/clean => grafonnet-v11.1.0}/query/loki.libsonnet (62%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/raw => grafonnet-v11.1.0}/query/parca.libsonnet (56%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/raw => grafonnet-v11.1.0}/query/prometheus.libsonnet (58%) rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/raw => grafonnet-v11.1.0}/query/tempo.libsonnet (70%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/testData.libsonnet rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/raw => grafonnet-v11.1.0}/role.libsonnet (76%) create mode 100644 vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/rolebinding.libsonnet rename vendor/github.com/grafana/grafonnet/gen/{grafonnet-v10.4.0/raw => grafonnet-v11.1.0}/team.libsonnet (80%) diff --git a/dashboards/activity.jsonnet b/dashboards/activity.jsonnet index bd5aba0..ad6813c 100644 --- a/dashboards/activity.jsonnet +++ b/dashboards/activity.jsonnet @@ -1,5 +1,5 @@ #!/usr/bin/env -S jsonnet -J ../vendor -local grafonnet = import 'github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/main.libsonnet'; +local grafonnet = import 'github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/main.libsonnet'; local dashboard = grafonnet.dashboard; local ts = grafonnet.panel.timeSeries; local prometheus = grafonnet.query.prometheus; diff --git a/dashboards/cluster.jsonnet b/dashboards/cluster.jsonnet index 79b64c8..d20eff1 100755 --- a/dashboards/cluster.jsonnet +++ b/dashboards/cluster.jsonnet @@ -1,6 +1,6 @@ #!/usr/bin/env -S jsonnet -J ../vendor // Deploys a dashboard showing cluster-wide information -local grafonnet = import 'github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/main.libsonnet'; +local grafonnet = import 'github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/main.libsonnet'; local dashboard = grafonnet.dashboard; local ts = grafonnet.panel.timeSeries; local barChart = grafonnet.panel.barChart; diff --git a/dashboards/common.libsonnet b/dashboards/common.libsonnet index 573cbb0..34fc57f 100644 --- a/dashboards/common.libsonnet +++ b/dashboards/common.libsonnet @@ -1,4 +1,4 @@ -local grafonnet = import 'github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/main.libsonnet'; +local grafonnet = import 'github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/main.libsonnet'; local ts = grafonnet.panel.timeSeries; local barChart = grafonnet.panel.barChart; local barGauge = grafonnet.panel.barGauge; @@ -14,10 +14,10 @@ local var = grafonnet.dashboard.variable; * - Y axes to start from 0 -- withMin(0) * - Legend tooltip to show all values -- withTooltip({mode: 'multi'}) * - * ref: https://grafana.com/docs/grafana/v10.4/panels-visualizations/configure-panel-options/ + * ref: https://grafana.com/docs/grafana/v11.1/panels-visualizations/configure-panel-options/ */ - // grafana ref: https://grafana.com/docs/grafana/v10.4/panels-visualizations/visualizations/time-series/ + // grafana ref: https://grafana.com/docs/grafana/v11.1/panels-visualizations/visualizations/time-series/ // grafonnet ref: https://grafana.github.io/grafonnet/API/panel/timeSeries/index.html tsOptions: ts.standardOptions.withMin(0) @@ -26,20 +26,20 @@ local var = grafonnet.dashboard.variable; + ts.fieldConfig.defaults.custom.withFillOpacity(10) , - // grafana ref: https://grafana.com/docs/grafana/v10.4/panels-visualizations/visualizations/bar-chart/ + // grafana ref: https://grafana.com/docs/grafana/v11.1/panels-visualizations/visualizations/bar-chart/ // grafonnet ref: https://grafana.github.io/grafonnet/API/panel/barChart/index.html barChartOptions: barChart.standardOptions.withMin(0) + barChart.options.withTooltip({ mode: 'multi' }) , - // grafana ref: https://grafana.com/docs/grafana/v10.4/panels-visualizations/visualizations/bar-gauge/ + // grafana ref: https://grafana.com/docs/grafana/v11.1/panels-visualizations/visualizations/bar-gauge/ // grafonnet ref: https://grafana.github.io/grafonnet/API/panel/barGauge/index.html barGaugeOptions: barGauge.standardOptions.withMin(0) , - // grafana ref: https://grafana.com/docs/grafana/v10.4/panels-visualizations/visualizations/heatmap/ + // grafana ref: https://grafana.com/docs/grafana/v11.1/panels-visualizations/visualizations/heatmap/ // grafonnet ref: https://grafana.github.io/grafonnet/API/panel/heatmap/index.html heatmapOptions: heatmap.options.withCalculate(true) diff --git a/dashboards/homedirs.jsonnet b/dashboards/homedirs.jsonnet index 87d2500..cc2132c 100755 --- a/dashboards/homedirs.jsonnet +++ b/dashboards/homedirs.jsonnet @@ -1,5 +1,5 @@ #!/usr/bin/env -S jsonnet -J ../vendor -local grafonnet = import 'github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/main.libsonnet'; +local grafonnet = import 'github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/main.libsonnet'; local dashboard = grafonnet.dashboard; local prometheus = grafonnet.query.prometheus; local table = grafonnet.panel.table; diff --git a/dashboards/jupyterhub.jsonnet b/dashboards/jupyterhub.jsonnet index 9c8daa9..ce437d8 100755 --- a/dashboards/jupyterhub.jsonnet +++ b/dashboards/jupyterhub.jsonnet @@ -1,7 +1,7 @@ #!/usr/bin/env -S jsonnet -J ../vendor // Deploys one dashboard - "JupyterHub dashboard", // with useful stats about usage & diagnostics. -local grafonnet = import 'github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/main.libsonnet'; +local grafonnet = import 'github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/main.libsonnet'; local dashboard = grafonnet.dashboard; local ts = grafonnet.panel.timeSeries; local prometheus = grafonnet.query.prometheus; diff --git a/dashboards/jupyterhub.libsonnet b/dashboards/jupyterhub.libsonnet index 9f3a8bf..432f888 100644 --- a/dashboards/jupyterhub.libsonnet +++ b/dashboards/jupyterhub.libsonnet @@ -1,4 +1,4 @@ -local grafonnet = import 'github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/main.libsonnet'; +local grafonnet = import 'github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/main.libsonnet'; local ts = grafonnet.panel.timeSeries; local prometheus = grafonnet.query.prometheus; diff --git a/dashboards/support.jsonnet b/dashboards/support.jsonnet index a5d0246..4644784 100755 --- a/dashboards/support.jsonnet +++ b/dashboards/support.jsonnet @@ -1,6 +1,6 @@ #!/usr/bin/env -S jsonnet -J ../vendor // Deploys a dashboard showing information about support resources -local grafonnet = import 'github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/main.libsonnet'; +local grafonnet = import 'github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/main.libsonnet'; local dashboard = grafonnet.dashboard; local ts = grafonnet.panel.timeSeries; local prometheus = grafonnet.query.prometheus; diff --git a/dashboards/usage-report.jsonnet b/dashboards/usage-report.jsonnet index 670e0d8..4edc7ed 100755 --- a/dashboards/usage-report.jsonnet +++ b/dashboards/usage-report.jsonnet @@ -1,5 +1,5 @@ #!/usr/bin/env -S jsonnet -J ../vendor -local grafonnet = import 'github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/main.libsonnet'; +local grafonnet = import 'github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/main.libsonnet'; local dashboard = grafonnet.dashboard; local barGauge = grafonnet.panel.barGauge; local prometheus = grafonnet.query.prometheus; diff --git a/dashboards/user.jsonnet b/dashboards/user.jsonnet index f7e5993..bda8bd5 100755 --- a/dashboards/user.jsonnet +++ b/dashboards/user.jsonnet @@ -1,5 +1,5 @@ #!/usr/bin/env -S jsonnet -J ../vendor -local grafonnet = import 'github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/main.libsonnet'; +local grafonnet = import 'github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/main.libsonnet'; local dashboard = grafonnet.dashboard; local ts = grafonnet.panel.timeSeries; local prometheus = grafonnet.query.prometheus; diff --git a/jsonnetfile.json b/jsonnetfile.json index 39a0b57..a862d51 100644 --- a/jsonnetfile.json +++ b/jsonnetfile.json @@ -6,7 +6,7 @@ "source": { "git": { "remote": "https://github.com/grafana/grafonnet.git", - "subdir": "gen/grafonnet-v10.4.0" + "subdir": "gen/grafonnet-v11.1.0" } }, "version": "main" diff --git a/jsonnetfile.lock.json b/jsonnetfile.lock.json index 23ffc1b..d7a4a05 100644 --- a/jsonnetfile.lock.json +++ b/jsonnetfile.lock.json @@ -5,11 +5,11 @@ "source": { "git": { "remote": "https://github.com/grafana/grafonnet.git", - "subdir": "gen/grafonnet-v10.4.0" + "subdir": "gen/grafonnet-v11.1.0" } }, - "version": "6ac1593ca787638da223380ff4a3fd0f96e953e1", - "sum": "ZSmDT7i/qU9P8ggmuPuJT+jonq1ZEsBRCXycW/H5L/A=", + "version": "1ce5aec95ce32336fe47c8881361847c475b5254", + "sum": "41w7p/rwrNsITqNHMXtGSJAfAyKmnflg6rFhKBduUxM=", "name": "grafonnet" }, { diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/alerting/contactPoint.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/alerting/contactPoint.libsonnet deleted file mode 100644 index b242533..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/alerting/contactPoint.libsonnet +++ /dev/null @@ -1,19 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.alerting.contactPoint', name: 'contactPoint' }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withDisableResolveMessage(value=true): { disableResolveMessage: value }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is used as grouping key in the UI. Contact points with the\nsame name will be grouped in the UI.' } }, - withName(value): { name: value }, - '#withProvenance': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withProvenance(value): { provenance: value }, - '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettings(value): { settings: value }, - '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsMixin(value): { settings+: value }, - '#withType': { 'function': { args: [{ default: null, enums: ['alertmanager', ' dingding', ' discord', ' email', ' googlechat', ' kafka', ' line', ' opsgenie', ' pagerduty', ' pushover', ' sensugo', ' slack', ' teams', ' telegram', ' threema', ' victorops', ' webhook', ' wecom'], name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique identifier of the contact point. The UID can be\nset by the user.' } }, - withUid(value): { uid: value }, -} -+ (import '../../custom/alerting/contactPoint.libsonnet') diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/alerting/messageTemplate.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/alerting/messageTemplate.libsonnet deleted file mode 100644 index 788905e..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/alerting/messageTemplate.libsonnet +++ /dev/null @@ -1,8 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.alerting.messageTemplate', name: 'messageTemplate' }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { name: value }, - '#withTemplate': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withTemplate(value): { template: value }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/alerting/muteTiming.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/alerting/muteTiming.libsonnet deleted file mode 100644 index f723bcd..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/alerting/muteTiming.libsonnet +++ /dev/null @@ -1,69 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.alerting.muteTiming', name: 'muteTiming' }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { name: value }, - '#withTimeIntervals': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withTimeIntervals(value): { time_intervals: (if std.isArray(value) - then value - else [value]) }, - '#withTimeIntervalsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withTimeIntervalsMixin(value): { time_intervals+: (if std.isArray(value) - then value - else [value]) }, - interval+: - { - '#': { help: '', name: 'interval' }, - '#withDaysOfMonth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDaysOfMonth(value): { days_of_month: (if std.isArray(value) - then value - else [value]) }, - '#withDaysOfMonthMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDaysOfMonthMixin(value): { days_of_month+: (if std.isArray(value) - then value - else [value]) }, - '#withLocation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLocation(value): { location: value }, - '#withMonths': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withMonths(value): { months: (if std.isArray(value) - then value - else [value]) }, - '#withMonthsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withMonthsMixin(value): { months+: (if std.isArray(value) - then value - else [value]) }, - '#withTimes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withTimes(value): { times: (if std.isArray(value) - then value - else [value]) }, - '#withTimesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withTimesMixin(value): { times+: (if std.isArray(value) - then value - else [value]) }, - times+: - { - '#': { help: '', name: 'times' }, - '#withFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFrom(value): { from: value }, - '#withTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withTo(value): { to: value }, - }, - '#withWeekdays': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withWeekdays(value): { weekdays: (if std.isArray(value) - then value - else [value]) }, - '#withWeekdaysMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withWeekdaysMixin(value): { weekdays+: (if std.isArray(value) - then value - else [value]) }, - '#withYears': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withYears(value): { years: (if std.isArray(value) - then value - else [value]) }, - '#withYearsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withYearsMixin(value): { years+: (if std.isArray(value) - then value - else [value]) }, - }, -} -+ (import '../../custom/alerting/muteTiming.libsonnet') diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/alerting/notificationPolicy.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/alerting/notificationPolicy.libsonnet deleted file mode 100644 index ed0d096..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/alerting/notificationPolicy.libsonnet +++ /dev/null @@ -1,57 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.alerting.notificationPolicy', name: 'notificationPolicy' }, - '#withContinue': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withContinue(value=true): { continue: value }, - '#withGroupInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withGroupInterval(value): { group_interval: value }, - '#withGroupWait': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withGroupWait(value): { group_wait: value }, - '#withRepeatInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withRepeatInterval(value): { repeat_interval: value }, - '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withGroupBy(value): { group_by: (if std.isArray(value) - then value - else [value]) }, - '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withGroupByMixin(value): { group_by+: (if std.isArray(value) - then value - else [value]) }, - '#withMatchers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Matchers is a slice of Matchers that is sortable, implements Stringer, and\nprovides a Matches method to match a LabelSet against all Matchers in the\nslice. Note that some users of Matchers might require it to be sorted.' } }, - withMatchers(value): { matchers: (if std.isArray(value) - then value - else [value]) }, - '#withMatchersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Matchers is a slice of Matchers that is sortable, implements Stringer, and\nprovides a Matches method to match a LabelSet against all Matchers in the\nslice. Note that some users of Matchers might require it to be sorted.' } }, - withMatchersMixin(value): { matchers+: (if std.isArray(value) - then value - else [value]) }, - '#withMuteTimeIntervals': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withMuteTimeIntervals(value): { mute_time_intervals: (if std.isArray(value) - then value - else [value]) }, - '#withMuteTimeIntervalsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withMuteTimeIntervalsMixin(value): { mute_time_intervals+: (if std.isArray(value) - then value - else [value]) }, - '#withReceiver': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withReceiver(value): { receiver: value }, - '#withRoutes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withRoutes(value): { routes: (if std.isArray(value) - then value - else [value]) }, - '#withRoutesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withRoutesMixin(value): { routes+: (if std.isArray(value) - then value - else [value]) }, - matcher+: - { - '#': { help: '', name: 'matcher' }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { Name: value }, - '#withType': { 'function': { args: [{ default: null, enums: ['=', '!=', '=~', '!~'], name: 'value', type: ['string'] }], help: 'MatchType is an enum for label matching types.' } }, - withType(value): { Type: value }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withValue(value): { Value: value }, - }, -} -+ (import '../../custom/alerting/notificationPolicy.libsonnet') diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/alerting/ruleGroup.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/alerting/ruleGroup.libsonnet deleted file mode 100644 index 4106009..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/alerting/ruleGroup.libsonnet +++ /dev/null @@ -1,75 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.alerting.ruleGroup', name: 'ruleGroup' }, - '#withFolderUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFolderUid(value): { folderUid: value }, - '#withInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withInterval(value): { interval: value }, - '#withRules': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withRules(value): { rules: (if std.isArray(value) - then value - else [value]) }, - '#withRulesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withRulesMixin(value): { rules+: (if std.isArray(value) - then value - else [value]) }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withTitle(value): { title: value }, - rule+: - { - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withAnnotations(value): { annotations: value }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withAnnotationsMixin(value): { annotations+: value }, - '#withCondition': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withCondition(value): { condition: value }, - '#withData': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withData(value): { data: (if std.isArray(value) - then value - else [value]) }, - '#withDataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDataMixin(value): { data+: (if std.isArray(value) - then value - else [value]) }, - '#withExecErrState': { 'function': { args: [{ default: null, enums: ['OK', 'Alerting', 'Error'], name: 'value', type: ['string'] }], help: '' } }, - withExecErrState(value): { execErrState: value }, - '#withFor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A Duration represents the elapsed time between two instants\nas an int64 nanosecond count. The representation limits the\nlargest representable duration to approximately 290 years.' } }, - withFor(value): { 'for': value }, - '#withIsPaused': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withIsPaused(value=true): { isPaused: value }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLabels(value): { labels: value }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLabelsMixin(value): { labels+: value }, - '#withNoDataState': { 'function': { args: [{ default: null, enums: ['Alerting', 'NoData', 'OK'], name: 'value', type: ['string'] }], help: '' } }, - withNoDataState(value): { noDataState: value }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withTitle(value): { title: value }, - data+: - { - '#': { help: '', name: 'data' }, - '#withDatasourceUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "Grafana data source unique identifier; it should be '__expr__' for a Server Side Expression operation." } }, - withDatasourceUid(value): { datasourceUid: value }, - '#withModel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'JSON is the raw JSON query and includes the above properties as well as custom properties.' } }, - withModel(value): { model: value }, - '#withModelMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'JSON is the raw JSON query and includes the above properties as well as custom properties.' } }, - withModelMixin(value): { model+: value }, - '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'QueryType is an optional identifier for the type of query.\nIt can be used to distinguish different types of queries.' } }, - withQueryType(value): { queryType: value }, - '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'RefID is the unique identifier of the query, set by the frontend call.' } }, - withRefId(value): { refId: value }, - '#withRelativeTimeRange': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'RelativeTimeRange is the per query start and end time\nfor requests.' } }, - withRelativeTimeRange(value): { relativeTimeRange: value }, - '#withRelativeTimeRangeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'RelativeTimeRange is the per query start and end time\nfor requests.' } }, - withRelativeTimeRangeMixin(value): { relativeTimeRange+: value }, - relativeTimeRange+: - { - '#withFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A Duration represents the elapsed time between two instants\nas an int64 nanosecond count. The representation limits the\nlargest representable duration to approximately 290 years.' } }, - withFrom(value): { relativeTimeRange+: { from: value } }, - '#withTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A Duration represents the elapsed time between two instants\nas an int64 nanosecond count. The representation limits the\nlargest representable duration to approximately 290 years.' } }, - withTo(value): { relativeTimeRange+: { to: value } }, - }, - }, - }, -} -+ (import '../../custom/alerting/ruleGroup.libsonnet') diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/alertGroups.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/alertGroups.libsonnet deleted file mode 100644 index b75d7cc..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/alertGroups.libsonnet +++ /dev/null @@ -1,20 +0,0 @@ -// This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') -+ { - '#': { help: 'grafonnet.panel.alertGroups', name: 'alertGroups' }, - panelOptions+: - { - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'alertGroups' }, - }, - options+: - { - '#withAlertmanager': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the alertmanager used as a source for alerts' } }, - withAlertmanager(value): { options+: { alertmanager: value } }, - '#withExpandAll': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Expand all alert groups by default' } }, - withExpandAll(value=true): { options+: { expandAll: value } }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Comma-separated list of values used to filter alert results' } }, - withLabels(value): { options+: { labels: value } }, - }, -} -+ { panelOptions+: { '#withType':: {} } } diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/alertList.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/alertList.libsonnet deleted file mode 100644 index ebdd898..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/alertList.libsonnet +++ /dev/null @@ -1,125 +0,0 @@ -// This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') -+ { - '#': { help: 'grafonnet.panel.alertList', name: 'alertList' }, - panelOptions+: - { - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'alertlist' }, - }, - options+: - { - '#withAlertListOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withAlertListOptions(value): { options+: { AlertListOptions: value } }, - '#withAlertListOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withAlertListOptionsMixin(value): { options+: { AlertListOptions+: value } }, - AlertListOptions+: - { - '#withAlertName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withAlertName(value): { options+: { alertName: value } }, - '#withDashboardAlerts': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withDashboardAlerts(value=true): { options+: { dashboardAlerts: value } }, - '#withDashboardTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withDashboardTitle(value): { options+: { dashboardTitle: value } }, - '#withFolderId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withFolderId(value): { options+: { folderId: value } }, - '#withMaxItems': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxItems(value): { options+: { maxItems: value } }, - '#withShowOptions': { 'function': { args: [{ default: null, enums: ['current', 'changes'], name: 'value', type: ['string'] }], help: '' } }, - withShowOptions(value): { options+: { showOptions: value } }, - '#withSortOrder': { 'function': { args: [{ default: null, enums: [1, 2, 3, 4, 5], name: 'value', type: ['number'] }], help: '' } }, - withSortOrder(value): { options+: { sortOrder: value } }, - '#withStateFilter': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withStateFilter(value): { options+: { stateFilter: value } }, - '#withStateFilterMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withStateFilterMixin(value): { options+: { stateFilter+: value } }, - stateFilter+: - { - '#withAlerting': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAlerting(value=true): { options+: { stateFilter+: { alerting: value } } }, - '#withExecutionError': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withExecutionError(value=true): { options+: { stateFilter+: { execution_error: value } } }, - '#withNoData': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withNoData(value=true): { options+: { stateFilter+: { no_data: value } } }, - '#withOk': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withOk(value=true): { options+: { stateFilter+: { ok: value } } }, - '#withPaused': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withPaused(value=true): { options+: { stateFilter+: { paused: value } } }, - '#withPending': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withPending(value=true): { options+: { stateFilter+: { pending: value } } }, - }, - '#withTags': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withTags(value): { options+: { tags: (if std.isArray(value) - then value - else [value]) } }, - '#withTagsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withTagsMixin(value): { options+: { tags+: (if std.isArray(value) - then value - else [value]) } }, - }, - '#withUnifiedAlertListOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withUnifiedAlertListOptions(value): { options+: { UnifiedAlertListOptions: value } }, - '#withUnifiedAlertListOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withUnifiedAlertListOptionsMixin(value): { options+: { UnifiedAlertListOptions+: value } }, - UnifiedAlertListOptions+: - { - '#withAlertInstanceLabelFilter': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withAlertInstanceLabelFilter(value): { options+: { alertInstanceLabelFilter: value } }, - '#withAlertName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withAlertName(value): { options+: { alertName: value } }, - '#withDashboardAlerts': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withDashboardAlerts(value=true): { options+: { dashboardAlerts: value } }, - '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withDatasource(value): { options+: { datasource: value } }, - '#withFolder': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withFolder(value): { options+: { folder: value } }, - '#withFolderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withFolderMixin(value): { options+: { folder+: value } }, - folder+: - { - '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withId(value): { options+: { folder+: { id: value } } }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withTitle(value): { options+: { folder+: { title: value } } }, - }, - '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withGroupBy(value): { options+: { groupBy: (if std.isArray(value) - then value - else [value]) } }, - '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withGroupByMixin(value): { options+: { groupBy+: (if std.isArray(value) - then value - else [value]) } }, - '#withGroupMode': { 'function': { args: [{ default: null, enums: ['default', 'custom'], name: 'value', type: ['string'] }], help: '' } }, - withGroupMode(value): { options+: { groupMode: value } }, - '#withMaxItems': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxItems(value): { options+: { maxItems: value } }, - '#withShowInstances': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowInstances(value=true): { options+: { showInstances: value } }, - '#withSortOrder': { 'function': { args: [{ default: null, enums: [1, 2, 3, 4, 5], name: 'value', type: ['number'] }], help: '' } }, - withSortOrder(value): { options+: { sortOrder: value } }, - '#withStateFilter': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withStateFilter(value): { options+: { stateFilter: value } }, - '#withStateFilterMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withStateFilterMixin(value): { options+: { stateFilter+: value } }, - stateFilter+: - { - '#withError': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withError(value=true): { options+: { stateFilter+: { 'error': value } } }, - '#withFiring': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withFiring(value=true): { options+: { stateFilter+: { firing: value } } }, - '#withInactive': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withInactive(value=true): { options+: { stateFilter+: { inactive: value } } }, - '#withNoData': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withNoData(value=true): { options+: { stateFilter+: { noData: value } } }, - '#withNormal': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withNormal(value=true): { options+: { stateFilter+: { normal: value } } }, - '#withPending': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withPending(value=true): { options+: { stateFilter+: { pending: value } } }, - }, - '#withViewMode': { 'function': { args: [{ default: null, enums: ['list', 'stat'], name: 'value', type: ['string'] }], help: '' } }, - withViewMode(value): { options+: { viewMode: value } }, - }, - }, -} -+ { panelOptions+: { '#withType':: {} } } diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/barChart.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/barChart.libsonnet deleted file mode 100644 index 4badad0..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/barChart.libsonnet +++ /dev/null @@ -1,163 +0,0 @@ -// This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') -+ { - '#': { help: 'grafonnet.panel.barChart', name: 'barChart' }, - panelOptions+: - { - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'barchart' }, - }, - fieldConfig+: - { - defaults+: - { - custom+: - { - '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisBorderShow(value=true): { fieldConfig+: { defaults+: { custom+: { axisBorderShow: value } } } }, - '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisCenteredZero(value=true): { fieldConfig+: { defaults+: { custom+: { axisCenteredZero: value } } } }, - '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisColorMode(value): { fieldConfig+: { defaults+: { custom+: { axisColorMode: value } } } }, - '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisGridShow(value=true): { fieldConfig+: { defaults+: { custom+: { axisGridShow: value } } } }, - '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withAxisLabel(value): { fieldConfig+: { defaults+: { custom+: { axisLabel: value } } } }, - '#withAxisPlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'right', 'bottom', 'left', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisPlacement(value): { fieldConfig+: { defaults+: { custom+: { axisPlacement: value } } } }, - '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMax(value): { fieldConfig+: { defaults+: { custom+: { axisSoftMax: value } } } }, - '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMin(value): { fieldConfig+: { defaults+: { custom+: { axisSoftMin: value } } } }, - '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisWidth(value): { fieldConfig+: { defaults+: { custom+: { axisWidth: value } } } }, - '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistribution(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution: value } } } }, - '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistributionMixin(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: value } } } }, - scaleDistribution+: - { - '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLinearThreshold(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { linearThreshold: value } } } } }, - '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLog(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { log: value } } } } }, - '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withType(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { type: value } } } } }, - }, - '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFrom(value): { fieldConfig+: { defaults+: { custom+: { hideFrom: value } } } }, - '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFromMixin(value): { fieldConfig+: { defaults+: { custom+: { hideFrom+: value } } } }, - hideFrom+: - { - '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withLegend(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { legend: value } } } } }, - '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withTooltip(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { tooltip: value } } } } }, - '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withViz(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { viz: value } } } } }, - }, - '#withFillOpacity': { 'function': { args: [{ default: 80, enums: null, name: 'value', type: ['integer'] }], help: 'Controls the fill opacity of the bars.' } }, - withFillOpacity(value=80): { fieldConfig+: { defaults+: { custom+: { fillOpacity: value } } } }, - '#withGradientMode': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Set the mode of the gradient fill. Fill gradient is based on the line color. To change the color, use the standard color scheme field option.\nGradient appearance is influenced by the Fill opacity setting.' } }, - withGradientMode(value): { fieldConfig+: { defaults+: { custom+: { gradientMode: value } } } }, - '#withLineWidth': { 'function': { args: [{ default: 1, enums: null, name: 'value', type: ['integer'] }], help: 'Controls line width of the bars.' } }, - withLineWidth(value=1): { fieldConfig+: { defaults+: { custom+: { lineWidth: value } } } }, - '#withThresholdsStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withThresholdsStyle(value): { fieldConfig+: { defaults+: { custom+: { thresholdsStyle: value } } } }, - '#withThresholdsStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withThresholdsStyleMixin(value): { fieldConfig+: { defaults+: { custom+: { thresholdsStyle+: value } } } }, - thresholdsStyle+: - { - '#withMode': { 'function': { args: [{ default: null, enums: ['off', 'line', 'dashed', 'area', 'line+area', 'dashed+area', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { fieldConfig+: { defaults+: { custom+: { thresholdsStyle+: { mode: value } } } } }, - }, - }, - }, - }, - options+: - { - '#withLegend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLegend(value): { options+: { legend: value } }, - '#withLegendMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLegendMixin(value): { options+: { legend+: value } }, - legend+: - { - '#withAsTable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAsTable(value=true): { options+: { legend+: { asTable: value } } }, - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcs(value): { options+: { legend+: { calcs: (if std.isArray(value) - then value - else [value]) } } }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcsMixin(value): { options+: { legend+: { calcs+: (if std.isArray(value) - then value - else [value]) } } }, - '#withDisplayMode': { 'function': { args: [{ default: null, enums: ['list', 'table', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs\nNote: "hidden" needs to remain as an option for plugins compatibility' } }, - withDisplayMode(value): { options+: { legend+: { displayMode: value } } }, - '#withIsVisible': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withIsVisible(value=true): { options+: { legend+: { isVisible: value } } }, - '#withPlacement': { 'function': { args: [{ default: null, enums: ['bottom', 'right'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withPlacement(value): { options+: { legend+: { placement: value } } }, - '#withShowLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowLegend(value=true): { options+: { legend+: { showLegend: value } } }, - '#withSortBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withSortBy(value): { options+: { legend+: { sortBy: value } } }, - '#withSortDesc': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withSortDesc(value=true): { options+: { legend+: { sortDesc: value } } }, - '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withWidth(value): { options+: { legend+: { width: value } } }, - }, - '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltip(value): { options+: { tooltip: value } }, - '#withTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltipMixin(value): { options+: { tooltip+: value } }, - tooltip+: - { - '#withMaxHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxHeight(value): { options+: { tooltip+: { maxHeight: value } } }, - '#withMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxWidth(value): { options+: { tooltip+: { maxWidth: value } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['single', 'multi', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { options+: { tooltip+: { mode: value } } }, - '#withSort': { 'function': { args: [{ default: null, enums: ['asc', 'desc', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withSort(value): { options+: { tooltip+: { sort: value } } }, - }, - '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withText(value): { options+: { text: value } }, - '#withTextMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTextMixin(value): { options+: { text+: value } }, - text+: - { - '#withTitleSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Explicit title text size' } }, - withTitleSize(value): { options+: { text+: { titleSize: value } } }, - '#withValueSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Explicit value text size' } }, - withValueSize(value): { options+: { text+: { valueSize: value } } }, - }, - '#withBarRadius': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['number'] }], help: 'Controls the radius of each bar.' } }, - withBarRadius(value=0): { options+: { barRadius: value } }, - '#withBarWidth': { 'function': { args: [{ default: 0.96999999999999997, enums: null, name: 'value', type: ['number'] }], help: 'Controls the width of bars. 1 = Max width, 0 = Min width.' } }, - withBarWidth(value=0.96999999999999997): { options+: { barWidth: value } }, - '#withColorByField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Use the color value for a sibling field to color each bar value.' } }, - withColorByField(value): { options+: { colorByField: value } }, - '#withFullHighlight': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Enables mode which highlights the entire bar area and shows tooltip when cursor\nhovers over highlighted area' } }, - withFullHighlight(value=true): { options+: { fullHighlight: value } }, - '#withGroupWidth': { 'function': { args: [{ default: 0.69999999999999996, enums: null, name: 'value', type: ['number'] }], help: 'Controls the width of groups. 1 = max with, 0 = min width.' } }, - withGroupWidth(value=0.69999999999999996): { options+: { groupWidth: value } }, - '#withOrientation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Controls the orientation of the bar chart, either vertical or horizontal.' } }, - withOrientation(value): { options+: { orientation: value } }, - '#withShowValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'This controls whether values are shown on top or to the left of bars.' } }, - withShowValue(value): { options+: { showValue: value } }, - '#withStacking': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Controls whether bars are stacked or not, either normally or in percent mode.' } }, - withStacking(value): { options+: { stacking: value } }, - '#withXField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Manually select which field from the dataset to represent the x field.' } }, - withXField(value): { options+: { xField: value } }, - '#withXTickLabelMaxLength': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Sets the max length that a label can have before it is truncated.' } }, - withXTickLabelMaxLength(value): { options+: { xTickLabelMaxLength: value } }, - '#withXTickLabelRotation': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['integer'] }], help: 'Controls the rotation of the x axis labels.' } }, - withXTickLabelRotation(value=0): { options+: { xTickLabelRotation: value } }, - '#withXTickLabelSpacing': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['integer'] }], help: 'Controls the spacing between x axis labels.\nnegative values indicate backwards skipping behavior' } }, - withXTickLabelSpacing(value=0): { options+: { xTickLabelSpacing: value } }, - }, -} -+ { panelOptions+: { '#withType':: {} } } diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/barGauge.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/barGauge.libsonnet deleted file mode 100644 index ff60b6e..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/barGauge.libsonnet +++ /dev/null @@ -1,64 +0,0 @@ -// This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') -+ { - '#': { help: 'grafonnet.panel.barGauge', name: 'barGauge' }, - panelOptions+: - { - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'bargauge' }, - }, - options+: - { - '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withText(value): { options+: { text: value } }, - '#withTextMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTextMixin(value): { options+: { text+: value } }, - text+: - { - '#withTitleSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Explicit title text size' } }, - withTitleSize(value): { options+: { text+: { titleSize: value } } }, - '#withValueSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Explicit value text size' } }, - withValueSize(value): { options+: { text+: { valueSize: value } } }, - }, - '#withOrientation': { 'function': { args: [{ default: null, enums: ['auto', 'vertical', 'horizontal'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withOrientation(value): { options+: { orientation: value } }, - '#withReduceOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withReduceOptions(value): { options+: { reduceOptions: value } }, - '#withReduceOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withReduceOptionsMixin(value): { options+: { reduceOptions+: value } }, - reduceOptions+: - { - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'When !values, pick one value for the whole field' } }, - withCalcs(value): { options+: { reduceOptions+: { calcs: (if std.isArray(value) - then value - else [value]) } } }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'When !values, pick one value for the whole field' } }, - withCalcsMixin(value): { options+: { reduceOptions+: { calcs+: (if std.isArray(value) - then value - else [value]) } } }, - '#withFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Which fields to show. By default this is only numeric fields' } }, - withFields(value): { options+: { reduceOptions+: { fields: value } } }, - '#withLimit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'if showing all values limit' } }, - withLimit(value): { options+: { reduceOptions+: { limit: value } } }, - '#withValues': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true show each row value' } }, - withValues(value=true): { options+: { reduceOptions+: { values: value } } }, - }, - '#withDisplayMode': { 'function': { args: [{ default: null, enums: ['basic', 'lcd', 'gradient'], name: 'value', type: ['string'] }], help: 'Enum expressing the possible display modes\nfor the bar gauge component of Grafana UI' } }, - withDisplayMode(value): { options+: { displayMode: value } }, - '#withMaxVizHeight': { 'function': { args: [{ default: 300, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withMaxVizHeight(value=300): { options+: { maxVizHeight: value } }, - '#withMinVizHeight': { 'function': { args: [{ default: 16, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withMinVizHeight(value=16): { options+: { minVizHeight: value } }, - '#withMinVizWidth': { 'function': { args: [{ default: 8, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withMinVizWidth(value=8): { options+: { minVizWidth: value } }, - '#withNamePlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'left'], name: 'value', type: ['string'] }], help: 'Allows for the bar gauge name to be placed explicitly' } }, - withNamePlacement(value): { options+: { namePlacement: value } }, - '#withShowUnfilled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowUnfilled(value=true): { options+: { showUnfilled: value } }, - '#withSizing': { 'function': { args: [{ default: null, enums: ['auto', 'manual'], name: 'value', type: ['string'] }], help: 'Allows for the bar gauge size to be set explicitly' } }, - withSizing(value): { options+: { sizing: value } }, - '#withValueMode': { 'function': { args: [{ default: null, enums: ['color', 'text', 'hidden'], name: 'value', type: ['string'] }], help: 'Allows for the table cell gauge display type to set the gauge mode.' } }, - withValueMode(value): { options+: { valueMode: value } }, - }, -} -+ { panelOptions+: { '#withType':: {} } } diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/candlestick.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/candlestick.libsonnet deleted file mode 100644 index 29a76cd..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/candlestick.libsonnet +++ /dev/null @@ -1,231 +0,0 @@ -// This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') -+ { - '#': { help: 'grafonnet.panel.candlestick', name: 'candlestick' }, - panelOptions+: - { - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'candlestick' }, - }, - fieldConfig+: - { - defaults+: - { - custom+: - { - '#withLineColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLineColor(value): { fieldConfig+: { defaults+: { custom+: { lineColor: value } } } }, - '#withLineInterpolation': { 'function': { args: [{ default: null, enums: ['linear', 'smooth', 'stepBefore', 'stepAfter'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withLineInterpolation(value): { fieldConfig+: { defaults+: { custom+: { lineInterpolation: value } } } }, - '#withLineStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyle(value): { fieldConfig+: { defaults+: { custom+: { lineStyle: value } } } }, - '#withLineStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyleMixin(value): { fieldConfig+: { defaults+: { custom+: { lineStyle+: value } } } }, - lineStyle+: - { - '#withDash': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDash(value): { fieldConfig+: { defaults+: { custom+: { lineStyle+: { dash: (if std.isArray(value) - then value - else [value]) } } } } }, - '#withDashMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDashMixin(value): { fieldConfig+: { defaults+: { custom+: { lineStyle+: { dash+: (if std.isArray(value) - then value - else [value]) } } } } }, - '#withFill': { 'function': { args: [{ default: null, enums: ['solid', 'dash', 'dot', 'square'], name: 'value', type: ['string'] }], help: '' } }, - withFill(value): { fieldConfig+: { defaults+: { custom+: { lineStyle+: { fill: value } } } } }, - }, - '#withLineWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLineWidth(value): { fieldConfig+: { defaults+: { custom+: { lineWidth: value } } } }, - '#withSpanNulls': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'number'] }], help: 'Indicate if null values should be treated as gaps or connected.\nWhen the value is a number, it represents the maximum delta in the\nX axis that should be considered connected. For timeseries, this is milliseconds' } }, - withSpanNulls(value): { fieldConfig+: { defaults+: { custom+: { spanNulls: value } } } }, - '#withSpanNullsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'number'] }], help: 'Indicate if null values should be treated as gaps or connected.\nWhen the value is a number, it represents the maximum delta in the\nX axis that should be considered connected. For timeseries, this is milliseconds' } }, - withSpanNullsMixin(value): { fieldConfig+: { defaults+: { custom+: { spanNulls+: value } } } }, - '#withFillBelowTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFillBelowTo(value): { fieldConfig+: { defaults+: { custom+: { fillBelowTo: value } } } }, - '#withFillColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFillColor(value): { fieldConfig+: { defaults+: { custom+: { fillColor: value } } } }, - '#withFillOpacity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withFillOpacity(value): { fieldConfig+: { defaults+: { custom+: { fillOpacity: value } } } }, - '#withPointColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPointColor(value): { fieldConfig+: { defaults+: { custom+: { pointColor: value } } } }, - '#withPointSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withPointSize(value): { fieldConfig+: { defaults+: { custom+: { pointSize: value } } } }, - '#withPointSymbol': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPointSymbol(value): { fieldConfig+: { defaults+: { custom+: { pointSymbol: value } } } }, - '#withShowPoints': { 'function': { args: [{ default: null, enums: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withShowPoints(value): { fieldConfig+: { defaults+: { custom+: { showPoints: value } } } }, - '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisBorderShow(value=true): { fieldConfig+: { defaults+: { custom+: { axisBorderShow: value } } } }, - '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisCenteredZero(value=true): { fieldConfig+: { defaults+: { custom+: { axisCenteredZero: value } } } }, - '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisColorMode(value): { fieldConfig+: { defaults+: { custom+: { axisColorMode: value } } } }, - '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisGridShow(value=true): { fieldConfig+: { defaults+: { custom+: { axisGridShow: value } } } }, - '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withAxisLabel(value): { fieldConfig+: { defaults+: { custom+: { axisLabel: value } } } }, - '#withAxisPlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'right', 'bottom', 'left', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisPlacement(value): { fieldConfig+: { defaults+: { custom+: { axisPlacement: value } } } }, - '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMax(value): { fieldConfig+: { defaults+: { custom+: { axisSoftMax: value } } } }, - '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMin(value): { fieldConfig+: { defaults+: { custom+: { axisSoftMin: value } } } }, - '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisWidth(value): { fieldConfig+: { defaults+: { custom+: { axisWidth: value } } } }, - '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistribution(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution: value } } } }, - '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistributionMixin(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: value } } } }, - scaleDistribution+: - { - '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLinearThreshold(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { linearThreshold: value } } } } }, - '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLog(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { log: value } } } } }, - '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withType(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { type: value } } } } }, - }, - '#withBarAlignment': { 'function': { args: [{ default: null, enums: [-1, 0, 1], name: 'value', type: ['integer'] }], help: 'TODO docs' } }, - withBarAlignment(value): { fieldConfig+: { defaults+: { custom+: { barAlignment: value } } } }, - '#withBarMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withBarMaxWidth(value): { fieldConfig+: { defaults+: { custom+: { barMaxWidth: value } } } }, - '#withBarWidthFactor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withBarWidthFactor(value): { fieldConfig+: { defaults+: { custom+: { barWidthFactor: value } } } }, - '#withStacking': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withStacking(value): { fieldConfig+: { defaults+: { custom+: { stacking: value } } } }, - '#withStackingMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withStackingMixin(value): { fieldConfig+: { defaults+: { custom+: { stacking+: value } } } }, - stacking+: - { - '#withGroup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withGroup(value): { fieldConfig+: { defaults+: { custom+: { stacking+: { group: value } } } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['none', 'normal', 'percent'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { fieldConfig+: { defaults+: { custom+: { stacking+: { mode: value } } } } }, - }, - '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFrom(value): { fieldConfig+: { defaults+: { custom+: { hideFrom: value } } } }, - '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFromMixin(value): { fieldConfig+: { defaults+: { custom+: { hideFrom+: value } } } }, - hideFrom+: - { - '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withLegend(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { legend: value } } } } }, - '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withTooltip(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { tooltip: value } } } } }, - '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withViz(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { viz: value } } } } }, - }, - '#withDrawStyle': { 'function': { args: [{ default: null, enums: ['line', 'bars', 'points'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withDrawStyle(value): { fieldConfig+: { defaults+: { custom+: { drawStyle: value } } } }, - '#withGradientMode': { 'function': { args: [{ default: null, enums: ['none', 'opacity', 'hue', 'scheme'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withGradientMode(value): { fieldConfig+: { defaults+: { custom+: { gradientMode: value } } } }, - '#withThresholdsStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withThresholdsStyle(value): { fieldConfig+: { defaults+: { custom+: { thresholdsStyle: value } } } }, - '#withThresholdsStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withThresholdsStyleMixin(value): { fieldConfig+: { defaults+: { custom+: { thresholdsStyle+: value } } } }, - thresholdsStyle+: - { - '#withMode': { 'function': { args: [{ default: null, enums: ['off', 'line', 'dashed', 'area', 'line+area', 'dashed+area', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { fieldConfig+: { defaults+: { custom+: { thresholdsStyle+: { mode: value } } } } }, - }, - '#withTransform': { 'function': { args: [{ default: null, enums: ['constant', 'negative-Y'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withTransform(value): { fieldConfig+: { defaults+: { custom+: { transform: value } } } }, - }, - }, - }, - options+: - { - '#withLegend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLegend(value): { options+: { legend: value } }, - '#withLegendMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLegendMixin(value): { options+: { legend+: value } }, - legend+: - { - '#withAsTable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAsTable(value=true): { options+: { legend+: { asTable: value } } }, - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcs(value): { options+: { legend+: { calcs: (if std.isArray(value) - then value - else [value]) } } }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcsMixin(value): { options+: { legend+: { calcs+: (if std.isArray(value) - then value - else [value]) } } }, - '#withDisplayMode': { 'function': { args: [{ default: null, enums: ['list', 'table', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs\nNote: "hidden" needs to remain as an option for plugins compatibility' } }, - withDisplayMode(value): { options+: { legend+: { displayMode: value } } }, - '#withIsVisible': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withIsVisible(value=true): { options+: { legend+: { isVisible: value } } }, - '#withPlacement': { 'function': { args: [{ default: null, enums: ['bottom', 'right'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withPlacement(value): { options+: { legend+: { placement: value } } }, - '#withShowLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowLegend(value=true): { options+: { legend+: { showLegend: value } } }, - '#withSortBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withSortBy(value): { options+: { legend+: { sortBy: value } } }, - '#withSortDesc': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withSortDesc(value=true): { options+: { legend+: { sortDesc: value } } }, - '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withWidth(value): { options+: { legend+: { width: value } } }, - }, - '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltip(value): { options+: { tooltip: value } }, - '#withTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltipMixin(value): { options+: { tooltip+: value } }, - tooltip+: - { - '#withMaxHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxHeight(value): { options+: { tooltip+: { maxHeight: value } } }, - '#withMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxWidth(value): { options+: { tooltip+: { maxWidth: value } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['single', 'multi', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { options+: { tooltip+: { mode: value } } }, - '#withSort': { 'function': { args: [{ default: null, enums: ['asc', 'desc', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withSort(value): { options+: { tooltip+: { sort: value } } }, - }, - '#withCandleStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Sets the style of the candlesticks' } }, - withCandleStyle(value): { options+: { candleStyle: value } }, - '#withColorStrategy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Sets the color strategy for the candlesticks' } }, - withColorStrategy(value): { options+: { colorStrategy: value } }, - '#withColors': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withColors(value): { options+: { colors: value } }, - '#withColorsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withColorsMixin(value): { options+: { colors+: value } }, - colors+: - { - '#withDown': { 'function': { args: [{ default: 'red', enums: null, name: 'value', type: ['string'] }], help: '' } }, - withDown(value='red'): { options+: { colors+: { down: value } } }, - '#withFlat': { 'function': { args: [{ default: 'gray', enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFlat(value='gray'): { options+: { colors+: { flat: value } } }, - '#withUp': { 'function': { args: [{ default: 'green', enums: null, name: 'value', type: ['string'] }], help: '' } }, - withUp(value='green'): { options+: { colors+: { up: value } } }, - }, - '#withFields': { 'function': { args: [{ default: {}, enums: null, name: 'value', type: ['object'] }], help: 'Map fields to appropriate dimension' } }, - withFields(value={}): { options+: { fields: value } }, - '#withFieldsMixin': { 'function': { args: [{ default: {}, enums: null, name: 'value', type: ['object'] }], help: 'Map fields to appropriate dimension' } }, - withFieldsMixin(value): { options+: { fields+: value } }, - fields+: - { - '#withCandlestickFieldMap': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCandlestickFieldMap(value): { options+: { fields+: { CandlestickFieldMap: value } } }, - '#withCandlestickFieldMapMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCandlestickFieldMapMixin(value): { options+: { fields+: { CandlestickFieldMap+: value } } }, - CandlestickFieldMap+: - { - '#withClose': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Corresponds to the final (end) value of the given period' } }, - withClose(value): { options+: { fields+: { close: value } } }, - '#withHigh': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Corresponds to the highest value of the given period' } }, - withHigh(value): { options+: { fields+: { high: value } } }, - '#withLow': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Corresponds to the lowest value of the given period' } }, - withLow(value): { options+: { fields+: { low: value } } }, - '#withOpen': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Corresponds to the starting value of the given period' } }, - withOpen(value): { options+: { fields+: { open: value } } }, - '#withVolume': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Corresponds to the sample count in the given period. (e.g. number of trades)' } }, - withVolume(value): { options+: { fields+: { volume: value } } }, - }, - }, - '#withIncludeAllFields': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'When enabled, all fields will be sent to the graph' } }, - withIncludeAllFields(value=true): { options+: { includeAllFields: value } }, - '#withMode': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Sets which dimensions are used for the visualization' } }, - withMode(value): { options+: { mode: value } }, - }, -} -+ { panelOptions+: { '#withType':: {} } } diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/canvas.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/canvas.libsonnet deleted file mode 100644 index bacf551..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/canvas.libsonnet +++ /dev/null @@ -1,198 +0,0 @@ -// This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') -+ { - '#': { help: 'grafonnet.panel.canvas', name: 'canvas' }, - panelOptions+: - { - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'canvas' }, - }, - options+: - { - '#withInlineEditing': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Enable inline editing' } }, - withInlineEditing(value=true): { options+: { inlineEditing: value } }, - '#withPanZoom': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Enable pan and zoom' } }, - withPanZoom(value=true): { options+: { panZoom: value } }, - '#withRoot': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The root element of canvas (frame), where all canvas elements are nested\nTODO: Figure out how to define a default value for this' } }, - withRoot(value): { options+: { root: value } }, - '#withRootMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The root element of canvas (frame), where all canvas elements are nested\nTODO: Figure out how to define a default value for this' } }, - withRootMixin(value): { options+: { root+: value } }, - root+: - { - '#withElements': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'The list of canvas elements attached to the root element' } }, - withElements(value): { options+: { root+: { elements: (if std.isArray(value) - then value - else [value]) } } }, - '#withElementsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'The list of canvas elements attached to the root element' } }, - withElementsMixin(value): { options+: { root+: { elements+: (if std.isArray(value) - then value - else [value]) } } }, - elements+: - { - '#': { help: '', name: 'elements' }, - '#withBackground': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withBackground(value): { background: value }, - '#withBackgroundMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withBackgroundMixin(value): { background+: value }, - background+: - { - '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withColor(value): { background+: { color: value } }, - '#withColorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withColorMixin(value): { background+: { color+: value } }, - color+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { background+: { color+: { field: value } } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFixed(value): { background+: { color+: { fixed: value } } }, - }, - '#withImage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Links to a resource (image/svg path)' } }, - withImage(value): { background+: { image: value } }, - '#withImageMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Links to a resource (image/svg path)' } }, - withImageMixin(value): { background+: { image+: value } }, - image+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { background+: { image+: { field: value } } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFixed(value): { background+: { image+: { fixed: value } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['fixed', 'field', 'mapping'], name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { background+: { image+: { mode: value } } }, - }, - '#withSize': { 'function': { args: [{ default: null, enums: ['original', 'contain', 'cover', 'fill', 'tile'], name: 'value', type: ['string'] }], help: '' } }, - withSize(value): { background+: { size: value } }, - }, - '#withBorder': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withBorder(value): { border: value }, - '#withBorderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withBorderMixin(value): { border+: value }, - border+: - { - '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withColor(value): { border+: { color: value } }, - '#withColorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withColorMixin(value): { border+: { color+: value } }, - color+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { border+: { color+: { field: value } } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFixed(value): { border+: { color+: { fixed: value } } }, - }, - '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withWidth(value): { border+: { width: value } }, - }, - '#withConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'TODO: figure out how to define this (element config(s))' } }, - withConfig(value): { config: value }, - '#withConnections': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withConnections(value): { connections: (if std.isArray(value) - then value - else [value]) }, - '#withConnectionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withConnectionsMixin(value): { connections+: (if std.isArray(value) - then value - else [value]) }, - connections+: - { - '#': { help: '', name: 'connections' }, - '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withColor(value): { color: value }, - '#withColorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withColorMixin(value): { color+: value }, - color+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { color+: { field: value } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFixed(value): { color+: { fixed: value } }, - }, - '#withPath': { 'function': { args: [{ default: null, enums: ['straight'], name: 'value', type: ['string'] }], help: '' } }, - withPath(value): { path: value }, - '#withSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSize(value): { size: value }, - '#withSizeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSizeMixin(value): { size+: value }, - size+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { size+: { field: value } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withFixed(value): { size+: { fixed: value } }, - '#withMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMax(value): { size+: { max: value } }, - '#withMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMin(value): { size+: { min: value } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['linear', 'quad'], name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { size+: { mode: value } }, - }, - '#withSource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSource(value): { source: value }, - '#withSourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSourceMixin(value): { source+: value }, - source+: - { - '#withX': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withX(value): { source+: { x: value } }, - '#withY': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withY(value): { source+: { y: value } }, - }, - '#withTarget': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withTarget(value): { target: value }, - '#withTargetMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withTargetMixin(value): { target+: value }, - target+: - { - '#withX': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withX(value): { target+: { x: value } }, - '#withY': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withY(value): { target+: { y: value } }, - }, - '#withTargetName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withTargetName(value): { targetName: value }, - }, - '#withConstraint': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withConstraint(value): { constraint: value }, - '#withConstraintMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withConstraintMixin(value): { constraint+: value }, - constraint+: - { - '#withHorizontal': { 'function': { args: [{ default: null, enums: ['left', 'right', 'leftright', 'center', 'scale'], name: 'value', type: ['string'] }], help: '' } }, - withHorizontal(value): { constraint+: { horizontal: value } }, - '#withVertical': { 'function': { args: [{ default: null, enums: ['top', 'bottom', 'topbottom', 'center', 'scale'], name: 'value', type: ['string'] }], help: '' } }, - withVertical(value): { constraint+: { vertical: value } }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { name: value }, - '#withPlacement': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPlacement(value): { placement: value }, - '#withPlacementMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPlacementMixin(value): { placement+: value }, - placement+: - { - '#withBottom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withBottom(value): { placement+: { bottom: value } }, - '#withHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withHeight(value): { placement+: { height: value } }, - '#withLeft': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLeft(value): { placement+: { left: value } }, - '#withRight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withRight(value): { placement+: { right: value } }, - '#withTop': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withTop(value): { placement+: { top: value } }, - '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withWidth(value): { placement+: { width: value } }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the root element' } }, - withName(value): { options+: { root+: { name: value } } }, - '#withType': { 'function': { args: [{ default: null, enums: ['frame'], name: 'value', type: ['string'] }], help: 'Type of root element (frame)' } }, - withType(value): { options+: { root+: { type: value } } }, - }, - '#withShowAdvancedTypes': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Show all available element types' } }, - withShowAdvancedTypes(value=true): { options+: { showAdvancedTypes: value } }, - }, -} -+ { panelOptions+: { '#withType':: {} } } diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/gauge.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/gauge.libsonnet deleted file mode 100644 index 17c773e..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/gauge.libsonnet +++ /dev/null @@ -1,58 +0,0 @@ -// This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') -+ { - '#': { help: 'grafonnet.panel.gauge', name: 'gauge' }, - panelOptions+: - { - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'gauge' }, - }, - options+: - { - '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withText(value): { options+: { text: value } }, - '#withTextMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTextMixin(value): { options+: { text+: value } }, - text+: - { - '#withTitleSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Explicit title text size' } }, - withTitleSize(value): { options+: { text+: { titleSize: value } } }, - '#withValueSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Explicit value text size' } }, - withValueSize(value): { options+: { text+: { valueSize: value } } }, - }, - '#withOrientation': { 'function': { args: [{ default: null, enums: ['auto', 'vertical', 'horizontal'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withOrientation(value): { options+: { orientation: value } }, - '#withReduceOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withReduceOptions(value): { options+: { reduceOptions: value } }, - '#withReduceOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withReduceOptionsMixin(value): { options+: { reduceOptions+: value } }, - reduceOptions+: - { - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'When !values, pick one value for the whole field' } }, - withCalcs(value): { options+: { reduceOptions+: { calcs: (if std.isArray(value) - then value - else [value]) } } }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'When !values, pick one value for the whole field' } }, - withCalcsMixin(value): { options+: { reduceOptions+: { calcs+: (if std.isArray(value) - then value - else [value]) } } }, - '#withFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Which fields to show. By default this is only numeric fields' } }, - withFields(value): { options+: { reduceOptions+: { fields: value } } }, - '#withLimit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'if showing all values limit' } }, - withLimit(value): { options+: { reduceOptions+: { limit: value } } }, - '#withValues': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true show each row value' } }, - withValues(value=true): { options+: { reduceOptions+: { values: value } } }, - }, - '#withMinVizHeight': { 'function': { args: [{ default: 75, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withMinVizHeight(value=75): { options+: { minVizHeight: value } }, - '#withMinVizWidth': { 'function': { args: [{ default: 75, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withMinVizWidth(value=75): { options+: { minVizWidth: value } }, - '#withShowThresholdLabels': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowThresholdLabels(value=true): { options+: { showThresholdLabels: value } }, - '#withShowThresholdMarkers': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowThresholdMarkers(value=true): { options+: { showThresholdMarkers: value } }, - '#withSizing': { 'function': { args: [{ default: null, enums: ['auto', 'manual'], name: 'value', type: ['string'] }], help: 'Allows for the bar gauge size to be set explicitly' } }, - withSizing(value): { options+: { sizing: value } }, - }, -} -+ { panelOptions+: { '#withType':: {} } } diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/geomap.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/geomap.libsonnet deleted file mode 100644 index 623ef62..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/geomap.libsonnet +++ /dev/null @@ -1,156 +0,0 @@ -// This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') -+ { - '#': { help: 'grafonnet.panel.geomap', name: 'geomap' }, - panelOptions+: - { - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'geomap' }, - }, - options+: - { - '#withBasemap': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withBasemap(value): { options+: { basemap: value } }, - '#withBasemapMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withBasemapMixin(value): { options+: { basemap+: value } }, - basemap+: - { - '#withConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Custom options depending on the type' } }, - withConfig(value): { options+: { basemap+: { config: value } } }, - '#withFilterData': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Defines a frame MatcherConfig that may filter data for the given layer' } }, - withFilterData(value): { options+: { basemap+: { filterData: value } } }, - '#withLocation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLocation(value): { options+: { basemap+: { location: value } } }, - '#withLocationMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLocationMixin(value): { options+: { basemap+: { location+: value } } }, - location+: - { - '#withGazetteer': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Path to Gazetteer' } }, - withGazetteer(value): { options+: { basemap+: { location+: { gazetteer: value } } } }, - '#withGeohash': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Field mappings' } }, - withGeohash(value): { options+: { basemap+: { location+: { geohash: value } } } }, - '#withLatitude': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLatitude(value): { options+: { basemap+: { location+: { latitude: value } } } }, - '#withLongitude': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLongitude(value): { options+: { basemap+: { location+: { longitude: value } } } }, - '#withLookup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLookup(value): { options+: { basemap+: { location+: { lookup: value } } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['auto', 'geohash', 'coords', 'lookup'], name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { options+: { basemap+: { location+: { mode: value } } } }, - '#withWkt': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withWkt(value): { options+: { basemap+: { location+: { wkt: value } } } }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'configured unique display name' } }, - withName(value): { options+: { basemap+: { name: value } } }, - '#withOpacity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Common properties:\nhttps://openlayers.org/en/latest/apidoc/module-ol_layer_Base-BaseLayer.html\nLayer opacity (0-1)' } }, - withOpacity(value): { options+: { basemap+: { opacity: value } } }, - '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Check tooltip (defaults to true)' } }, - withTooltip(value=true): { options+: { basemap+: { tooltip: value } } }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { options+: { basemap+: { type: value } } }, - }, - '#withControls': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withControls(value): { options+: { controls: value } }, - '#withControlsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withControlsMixin(value): { options+: { controls+: value } }, - controls+: - { - '#withMouseWheelZoom': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'let the mouse wheel zoom' } }, - withMouseWheelZoom(value=true): { options+: { controls+: { mouseWheelZoom: value } } }, - '#withShowAttribution': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Lower right' } }, - withShowAttribution(value=true): { options+: { controls+: { showAttribution: value } } }, - '#withShowDebug': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Show debug' } }, - withShowDebug(value=true): { options+: { controls+: { showDebug: value } } }, - '#withShowMeasure': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Show measure' } }, - withShowMeasure(value=true): { options+: { controls+: { showMeasure: value } } }, - '#withShowScale': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Scale options' } }, - withShowScale(value=true): { options+: { controls+: { showScale: value } } }, - '#withShowZoom': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Zoom (upper left)' } }, - withShowZoom(value=true): { options+: { controls+: { showZoom: value } } }, - }, - '#withLayers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withLayers(value): { options+: { layers: (if std.isArray(value) - then value - else [value]) } }, - '#withLayersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withLayersMixin(value): { options+: { layers+: (if std.isArray(value) - then value - else [value]) } }, - layers+: - { - '#': { help: '', name: 'layers' }, - '#withConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Custom options depending on the type' } }, - withConfig(value): { config: value }, - '#withFilterData': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Defines a frame MatcherConfig that may filter data for the given layer' } }, - withFilterData(value): { filterData: value }, - '#withLocation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLocation(value): { location: value }, - '#withLocationMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLocationMixin(value): { location+: value }, - location+: - { - '#withGazetteer': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Path to Gazetteer' } }, - withGazetteer(value): { location+: { gazetteer: value } }, - '#withGeohash': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Field mappings' } }, - withGeohash(value): { location+: { geohash: value } }, - '#withLatitude': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLatitude(value): { location+: { latitude: value } }, - '#withLongitude': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLongitude(value): { location+: { longitude: value } }, - '#withLookup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLookup(value): { location+: { lookup: value } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['auto', 'geohash', 'coords', 'lookup'], name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { location+: { mode: value } }, - '#withWkt': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withWkt(value): { location+: { wkt: value } }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'configured unique display name' } }, - withName(value): { name: value }, - '#withOpacity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Common properties:\nhttps://openlayers.org/en/latest/apidoc/module-ol_layer_Base-BaseLayer.html\nLayer opacity (0-1)' } }, - withOpacity(value): { opacity: value }, - '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Check tooltip (defaults to true)' } }, - withTooltip(value=true): { tooltip: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, - }, - '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withTooltip(value): { options+: { tooltip: value } }, - '#withTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withTooltipMixin(value): { options+: { tooltip+: value } }, - tooltip+: - { - '#withMode': { 'function': { args: [{ default: null, enums: ['none', 'details'], name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { options+: { tooltip+: { mode: value } } }, - }, - '#withView': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withView(value): { options+: { view: value } }, - '#withViewMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withViewMixin(value): { options+: { view+: value } }, - view+: - { - '#withAllLayers': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAllLayers(value=true): { options+: { view+: { allLayers: value } } }, - '#withId': { 'function': { args: [{ default: 'zero', enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value='zero'): { options+: { view+: { id: value } } }, - '#withLastOnly': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withLastOnly(value=true): { options+: { view+: { lastOnly: value } } }, - '#withLat': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withLat(value=0): { options+: { view+: { lat: value } } }, - '#withLayer': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLayer(value): { options+: { view+: { layer: value } } }, - '#withLon': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withLon(value=0): { options+: { view+: { lon: value } } }, - '#withMaxZoom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withMaxZoom(value): { options+: { view+: { maxZoom: value } } }, - '#withMinZoom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withMinZoom(value): { options+: { view+: { minZoom: value } } }, - '#withPadding': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withPadding(value): { options+: { view+: { padding: value } } }, - '#withShared': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShared(value=true): { options+: { view+: { shared: value } } }, - '#withZoom': { 'function': { args: [{ default: 1, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withZoom(value=1): { options+: { view+: { zoom: value } } }, - }, - }, -} -+ { panelOptions+: { '#withType':: {} } } diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/heatmap.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/heatmap.libsonnet deleted file mode 100644 index b72f340..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/heatmap.libsonnet +++ /dev/null @@ -1,281 +0,0 @@ -// This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') -+ { - '#': { help: 'grafonnet.panel.heatmap', name: 'heatmap' }, - panelOptions+: - { - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'heatmap' }, - }, - fieldConfig+: - { - defaults+: - { - custom+: - { - '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFrom(value): { fieldConfig+: { defaults+: { custom+: { hideFrom: value } } } }, - '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFromMixin(value): { fieldConfig+: { defaults+: { custom+: { hideFrom+: value } } } }, - hideFrom+: - { - '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withLegend(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { legend: value } } } } }, - '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withTooltip(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { tooltip: value } } } } }, - '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withViz(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { viz: value } } } } }, - }, - '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistribution(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution: value } } } }, - '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistributionMixin(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: value } } } }, - scaleDistribution+: - { - '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLinearThreshold(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { linearThreshold: value } } } } }, - '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLog(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { log: value } } } } }, - '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withType(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { type: value } } } } }, - }, - }, - }, - }, - options+: - { - '#withCalculate': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Controls if the heatmap should be calculated from data' } }, - withCalculate(value=true): { options+: { calculate: value } }, - '#withCalculation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCalculation(value): { options+: { calculation: value } }, - '#withCalculationMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCalculationMixin(value): { options+: { calculation+: value } }, - calculation+: - { - '#withXBuckets': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withXBuckets(value): { options+: { calculation+: { xBuckets: value } } }, - '#withXBucketsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withXBucketsMixin(value): { options+: { calculation+: { xBuckets+: value } } }, - xBuckets+: - { - '#withMode': { 'function': { args: [{ default: null, enums: ['size', 'count'], name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { options+: { calculation+: { xBuckets+: { mode: value } } } }, - '#withScale': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScale(value): { options+: { calculation+: { xBuckets+: { scale: value } } } }, - '#withScaleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleMixin(value): { options+: { calculation+: { xBuckets+: { scale+: value } } } }, - scale+: - { - '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLinearThreshold(value): { options+: { calculation+: { xBuckets+: { scale+: { linearThreshold: value } } } } }, - '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLog(value): { options+: { calculation+: { xBuckets+: { scale+: { log: value } } } } }, - '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withType(value): { options+: { calculation+: { xBuckets+: { scale+: { type: value } } } } }, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The number of buckets to use for the axis in the heatmap' } }, - withValue(value): { options+: { calculation+: { xBuckets+: { value: value } } } }, - }, - '#withYBuckets': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withYBuckets(value): { options+: { calculation+: { yBuckets: value } } }, - '#withYBucketsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withYBucketsMixin(value): { options+: { calculation+: { yBuckets+: value } } }, - yBuckets+: - { - '#withMode': { 'function': { args: [{ default: null, enums: ['size', 'count'], name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { options+: { calculation+: { yBuckets+: { mode: value } } } }, - '#withScale': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScale(value): { options+: { calculation+: { yBuckets+: { scale: value } } } }, - '#withScaleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleMixin(value): { options+: { calculation+: { yBuckets+: { scale+: value } } } }, - scale+: - { - '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLinearThreshold(value): { options+: { calculation+: { yBuckets+: { scale+: { linearThreshold: value } } } } }, - '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLog(value): { options+: { calculation+: { yBuckets+: { scale+: { log: value } } } } }, - '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withType(value): { options+: { calculation+: { yBuckets+: { scale+: { type: value } } } } }, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The number of buckets to use for the axis in the heatmap' } }, - withValue(value): { options+: { calculation+: { yBuckets+: { value: value } } } }, - }, - }, - '#withCellGap': { 'function': { args: [{ default: 1, enums: null, name: 'value', type: ['integer'] }], help: 'Controls gap between cells' } }, - withCellGap(value=1): { options+: { cellGap: value } }, - '#withCellRadius': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Controls cell radius' } }, - withCellRadius(value): { options+: { cellRadius: value } }, - '#withCellValues': { 'function': { args: [{ default: {}, enums: null, name: 'value', type: ['object'] }], help: 'Controls cell value unit' } }, - withCellValues(value={}): { options+: { cellValues: value } }, - '#withCellValuesMixin': { 'function': { args: [{ default: {}, enums: null, name: 'value', type: ['object'] }], help: 'Controls cell value unit' } }, - withCellValuesMixin(value): { options+: { cellValues+: value } }, - cellValues+: - { - '#withCellValues': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls cell value options' } }, - withCellValues(value): { options+: { cellValues+: { CellValues: value } } }, - '#withCellValuesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls cell value options' } }, - withCellValuesMixin(value): { options+: { cellValues+: { CellValues+: value } } }, - CellValues+: - { - '#withDecimals': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Controls the number of decimals for cell values' } }, - withDecimals(value): { options+: { cellValues+: { decimals: value } } }, - '#withUnit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Controls the cell value unit' } }, - withUnit(value): { options+: { cellValues+: { unit: value } } }, - }, - }, - '#withColor': { 'function': { args: [{ default: { exponent: 0.5, fill: 'dark-orange', reverse: false, scheme: 'Oranges', steps: 64 }, enums: null, name: 'value', type: ['object'] }], help: 'Controls the color options' } }, - withColor(value={ exponent: 0.5, fill: 'dark-orange', reverse: false, scheme: 'Oranges', steps: 64 }): { options+: { color: value } }, - '#withColorMixin': { 'function': { args: [{ default: { exponent: 0.5, fill: 'dark-orange', reverse: false, scheme: 'Oranges', steps: 64 }, enums: null, name: 'value', type: ['object'] }], help: 'Controls the color options' } }, - withColorMixin(value): { options+: { color+: value } }, - color+: - { - '#withHeatmapColorOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls various color options' } }, - withHeatmapColorOptions(value): { options+: { color+: { HeatmapColorOptions: value } } }, - '#withHeatmapColorOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls various color options' } }, - withHeatmapColorOptionsMixin(value): { options+: { color+: { HeatmapColorOptions+: value } } }, - HeatmapColorOptions+: - { - '#withExponent': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Controls the exponent when scale is set to exponential' } }, - withExponent(value): { options+: { color+: { exponent: value } } }, - '#withFill': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Controls the color fill when in opacity mode' } }, - withFill(value): { options+: { color+: { fill: value } } }, - '#withMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Sets the maximum value for the color scale' } }, - withMax(value): { options+: { color+: { max: value } } }, - '#withMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Sets the minimum value for the color scale' } }, - withMin(value): { options+: { color+: { min: value } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['opacity', 'scheme'], name: 'value', type: ['string'] }], help: 'Controls the color mode of the heatmap' } }, - withMode(value): { options+: { color+: { mode: value } } }, - '#withReverse': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Reverses the color scheme' } }, - withReverse(value=true): { options+: { color+: { reverse: value } } }, - '#withScale': { 'function': { args: [{ default: null, enums: ['linear', 'exponential'], name: 'value', type: ['string'] }], help: 'Controls the color scale of the heatmap' } }, - withScale(value): { options+: { color+: { scale: value } } }, - '#withScheme': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Controls the color scheme used' } }, - withScheme(value): { options+: { color+: { scheme: value } } }, - '#withSteps': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Controls the number of color steps' } }, - withSteps(value): { options+: { color+: { steps: value } } }, - }, - }, - '#withExemplars': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls exemplar options' } }, - withExemplars(value): { options+: { exemplars: value } }, - '#withExemplarsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls exemplar options' } }, - withExemplarsMixin(value): { options+: { exemplars+: value } }, - exemplars+: - { - '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Sets the color of the exemplar markers' } }, - withColor(value): { options+: { exemplars+: { color: value } } }, - }, - '#withFilterValues': { 'function': { args: [{ default: { le: 1.0000000000000001e-09 }, enums: null, name: 'value', type: ['object'] }], help: 'Filters values between a given range' } }, - withFilterValues(value={ le: 1.0000000000000001e-09 }): { options+: { filterValues: value } }, - '#withFilterValuesMixin': { 'function': { args: [{ default: { le: 1.0000000000000001e-09 }, enums: null, name: 'value', type: ['object'] }], help: 'Filters values between a given range' } }, - withFilterValuesMixin(value): { options+: { filterValues+: value } }, - filterValues+: - { - '#withFilterValueRange': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls the value filter range' } }, - withFilterValueRange(value): { options+: { filterValues+: { FilterValueRange: value } } }, - '#withFilterValueRangeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls the value filter range' } }, - withFilterValueRangeMixin(value): { options+: { filterValues+: { FilterValueRange+: value } } }, - FilterValueRange+: - { - '#withGe': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Sets the filter range to values greater than or equal to the given value' } }, - withGe(value): { options+: { filterValues+: { ge: value } } }, - '#withLe': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Sets the filter range to values less than or equal to the given value' } }, - withLe(value): { options+: { filterValues+: { le: value } } }, - }, - }, - '#withLegend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls legend options' } }, - withLegend(value): { options+: { legend: value } }, - '#withLegendMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls legend options' } }, - withLegendMixin(value): { options+: { legend+: value } }, - legend+: - { - '#withShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Controls if the legend is shown' } }, - withShow(value=true): { options+: { legend+: { show: value } } }, - }, - '#withRowsFrame': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls frame rows options' } }, - withRowsFrame(value): { options+: { rowsFrame: value } }, - '#withRowsFrameMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls frame rows options' } }, - withRowsFrameMixin(value): { options+: { rowsFrame+: value } }, - rowsFrame+: - { - '#withLayout': { 'function': { args: [{ default: null, enums: ['le', 'ge', 'unknown', 'auto'], name: 'value', type: ['string'] }], help: '' } }, - withLayout(value): { options+: { rowsFrame+: { layout: value } } }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Sets the name of the cell when not calculating from data' } }, - withValue(value): { options+: { rowsFrame+: { value: value } } }, - }, - '#withShowValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '| *{\n\tlayout: ui.HeatmapCellLayout & "auto" // TODO: fix after remove when https://github.com/grafana/cuetsy/issues/74 is fixed\n}\nControls the display of the value in the cell' } }, - withShowValue(value): { options+: { showValue: value } }, - '#withTooltip': { 'function': { args: [{ default: { mode: 'single', showColorScale: false, yHistogram: false }, enums: null, name: 'value', type: ['object'] }], help: 'Controls tooltip options' } }, - withTooltip(value={ mode: 'single', showColorScale: false, yHistogram: false }): { options+: { tooltip: value } }, - '#withTooltipMixin': { 'function': { args: [{ default: { mode: 'single', showColorScale: false, yHistogram: false }, enums: null, name: 'value', type: ['object'] }], help: 'Controls tooltip options' } }, - withTooltipMixin(value): { options+: { tooltip+: value } }, - tooltip+: - { - '#withHeatmapTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls tooltip options' } }, - withHeatmapTooltip(value): { options+: { tooltip+: { HeatmapTooltip: value } } }, - '#withHeatmapTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls tooltip options' } }, - withHeatmapTooltipMixin(value): { options+: { tooltip+: { HeatmapTooltip+: value } } }, - HeatmapTooltip+: - { - '#withMaxHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxHeight(value): { options+: { tooltip+: { maxHeight: value } } }, - '#withMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxWidth(value): { options+: { tooltip+: { maxWidth: value } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['single', 'multi', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { options+: { tooltip+: { mode: value } } }, - '#withShowColorScale': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Controls if the tooltip shows a color scale in header' } }, - withShowColorScale(value=true): { options+: { tooltip+: { showColorScale: value } } }, - '#withYHistogram': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Controls if the tooltip shows a histogram of the y-axis values' } }, - withYHistogram(value=true): { options+: { tooltip+: { yHistogram: value } } }, - }, - }, - '#withYAxis': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Configuration options for the yAxis' } }, - withYAxis(value): { options+: { yAxis: value } }, - '#withYAxisMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Configuration options for the yAxis' } }, - withYAxisMixin(value): { options+: { yAxis+: value } }, - yAxis+: - { - '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisBorderShow(value=true): { options+: { yAxis+: { axisBorderShow: value } } }, - '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisCenteredZero(value=true): { options+: { yAxis+: { axisCenteredZero: value } } }, - '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisColorMode(value): { options+: { yAxis+: { axisColorMode: value } } }, - '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisGridShow(value=true): { options+: { yAxis+: { axisGridShow: value } } }, - '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withAxisLabel(value): { options+: { yAxis+: { axisLabel: value } } }, - '#withAxisPlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'right', 'bottom', 'left', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisPlacement(value): { options+: { yAxis+: { axisPlacement: value } } }, - '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMax(value): { options+: { yAxis+: { axisSoftMax: value } } }, - '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMin(value): { options+: { yAxis+: { axisSoftMin: value } } }, - '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisWidth(value): { options+: { yAxis+: { axisWidth: value } } }, - '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistribution(value): { options+: { yAxis+: { scaleDistribution: value } } }, - '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistributionMixin(value): { options+: { yAxis+: { scaleDistribution+: value } } }, - scaleDistribution+: - { - '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLinearThreshold(value): { options+: { yAxis+: { scaleDistribution+: { linearThreshold: value } } } }, - '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLog(value): { options+: { yAxis+: { scaleDistribution+: { log: value } } } }, - '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withType(value): { options+: { yAxis+: { scaleDistribution+: { type: value } } } }, - }, - '#withDecimals': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Controls the number of decimals for yAxis values' } }, - withDecimals(value): { options+: { yAxis+: { decimals: value } } }, - '#withMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Sets the maximum value for the yAxis' } }, - withMax(value): { options+: { yAxis+: { max: value } } }, - '#withMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Sets the minimum value for the yAxis' } }, - withMin(value): { options+: { yAxis+: { min: value } } }, - '#withReverse': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Reverses the yAxis' } }, - withReverse(value=true): { options+: { yAxis+: { reverse: value } } }, - '#withUnit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Sets the yAxis unit' } }, - withUnit(value): { options+: { yAxis+: { unit: value } } }, - }, - }, -} -+ { panelOptions+: { '#withType':: {} } } diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/histogram.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/histogram.libsonnet deleted file mode 100644 index 76cf993..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/histogram.libsonnet +++ /dev/null @@ -1,127 +0,0 @@ -// This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') -+ { - '#': { help: 'grafonnet.panel.histogram', name: 'histogram' }, - panelOptions+: - { - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'histogram' }, - }, - fieldConfig+: - { - defaults+: - { - custom+: - { - '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisBorderShow(value=true): { fieldConfig+: { defaults+: { custom+: { axisBorderShow: value } } } }, - '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisCenteredZero(value=true): { fieldConfig+: { defaults+: { custom+: { axisCenteredZero: value } } } }, - '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisColorMode(value): { fieldConfig+: { defaults+: { custom+: { axisColorMode: value } } } }, - '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisGridShow(value=true): { fieldConfig+: { defaults+: { custom+: { axisGridShow: value } } } }, - '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withAxisLabel(value): { fieldConfig+: { defaults+: { custom+: { axisLabel: value } } } }, - '#withAxisPlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'right', 'bottom', 'left', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisPlacement(value): { fieldConfig+: { defaults+: { custom+: { axisPlacement: value } } } }, - '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMax(value): { fieldConfig+: { defaults+: { custom+: { axisSoftMax: value } } } }, - '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMin(value): { fieldConfig+: { defaults+: { custom+: { axisSoftMin: value } } } }, - '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisWidth(value): { fieldConfig+: { defaults+: { custom+: { axisWidth: value } } } }, - '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistribution(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution: value } } } }, - '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistributionMixin(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: value } } } }, - scaleDistribution+: - { - '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLinearThreshold(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { linearThreshold: value } } } } }, - '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLog(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { log: value } } } } }, - '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withType(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { type: value } } } } }, - }, - '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFrom(value): { fieldConfig+: { defaults+: { custom+: { hideFrom: value } } } }, - '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFromMixin(value): { fieldConfig+: { defaults+: { custom+: { hideFrom+: value } } } }, - hideFrom+: - { - '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withLegend(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { legend: value } } } } }, - '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withTooltip(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { tooltip: value } } } } }, - '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withViz(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { viz: value } } } } }, - }, - '#withFillOpacity': { 'function': { args: [{ default: 80, enums: null, name: 'value', type: ['integer'] }], help: 'Controls the fill opacity of the bars.' } }, - withFillOpacity(value=80): { fieldConfig+: { defaults+: { custom+: { fillOpacity: value } } } }, - '#withGradientMode': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Set the mode of the gradient fill. Fill gradient is based on the line color. To change the color, use the standard color scheme field option.\nGradient appearance is influenced by the Fill opacity setting.' } }, - withGradientMode(value): { fieldConfig+: { defaults+: { custom+: { gradientMode: value } } } }, - '#withLineWidth': { 'function': { args: [{ default: 1, enums: null, name: 'value', type: ['integer'] }], help: 'Controls line width of the bars.' } }, - withLineWidth(value=1): { fieldConfig+: { defaults+: { custom+: { lineWidth: value } } } }, - }, - }, - }, - options+: - { - '#withLegend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLegend(value): { options+: { legend: value } }, - '#withLegendMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLegendMixin(value): { options+: { legend+: value } }, - legend+: - { - '#withAsTable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAsTable(value=true): { options+: { legend+: { asTable: value } } }, - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcs(value): { options+: { legend+: { calcs: (if std.isArray(value) - then value - else [value]) } } }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcsMixin(value): { options+: { legend+: { calcs+: (if std.isArray(value) - then value - else [value]) } } }, - '#withDisplayMode': { 'function': { args: [{ default: null, enums: ['list', 'table', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs\nNote: "hidden" needs to remain as an option for plugins compatibility' } }, - withDisplayMode(value): { options+: { legend+: { displayMode: value } } }, - '#withIsVisible': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withIsVisible(value=true): { options+: { legend+: { isVisible: value } } }, - '#withPlacement': { 'function': { args: [{ default: null, enums: ['bottom', 'right'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withPlacement(value): { options+: { legend+: { placement: value } } }, - '#withShowLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowLegend(value=true): { options+: { legend+: { showLegend: value } } }, - '#withSortBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withSortBy(value): { options+: { legend+: { sortBy: value } } }, - '#withSortDesc': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withSortDesc(value=true): { options+: { legend+: { sortDesc: value } } }, - '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withWidth(value): { options+: { legend+: { width: value } } }, - }, - '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltip(value): { options+: { tooltip: value } }, - '#withTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltipMixin(value): { options+: { tooltip+: value } }, - tooltip+: - { - '#withMaxHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxHeight(value): { options+: { tooltip+: { maxHeight: value } } }, - '#withMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxWidth(value): { options+: { tooltip+: { maxWidth: value } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['single', 'multi', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { options+: { tooltip+: { mode: value } } }, - '#withSort': { 'function': { args: [{ default: null, enums: ['asc', 'desc', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withSort(value): { options+: { tooltip+: { sort: value } } }, - }, - '#withBucketCount': { 'function': { args: [{ default: 30, enums: null, name: 'value', type: ['integer'] }], help: 'Bucket count (approx)' } }, - withBucketCount(value=30): { options+: { bucketCount: value } }, - '#withBucketOffset': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['number'] }], help: 'Offset buckets by this amount' } }, - withBucketOffset(value=0): { options+: { bucketOffset: value } }, - '#withBucketSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Size of each bucket' } }, - withBucketSize(value): { options+: { bucketSize: value } }, - '#withCombine': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Combines multiple series into a single histogram' } }, - withCombine(value=true): { options+: { combine: value } }, - }, -} -+ { panelOptions+: { '#withType':: {} } } diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/pieChart.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/pieChart.libsonnet deleted file mode 100644 index c021c58..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/pieChart.libsonnet +++ /dev/null @@ -1,134 +0,0 @@ -// This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') -+ { - '#': { help: 'grafonnet.panel.pieChart', name: 'pieChart' }, - panelOptions+: - { - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'piechart' }, - }, - fieldConfig+: - { - defaults+: - { - custom+: - { - '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFrom(value): { fieldConfig+: { defaults+: { custom+: { hideFrom: value } } } }, - '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFromMixin(value): { fieldConfig+: { defaults+: { custom+: { hideFrom+: value } } } }, - hideFrom+: - { - '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withLegend(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { legend: value } } } } }, - '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withTooltip(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { tooltip: value } } } } }, - '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withViz(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { viz: value } } } } }, - }, - }, - }, - }, - options+: - { - '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltip(value): { options+: { tooltip: value } }, - '#withTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltipMixin(value): { options+: { tooltip+: value } }, - tooltip+: - { - '#withMaxHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxHeight(value): { options+: { tooltip+: { maxHeight: value } } }, - '#withMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxWidth(value): { options+: { tooltip+: { maxWidth: value } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['single', 'multi', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { options+: { tooltip+: { mode: value } } }, - '#withSort': { 'function': { args: [{ default: null, enums: ['asc', 'desc', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withSort(value): { options+: { tooltip+: { sort: value } } }, - }, - '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withText(value): { options+: { text: value } }, - '#withTextMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTextMixin(value): { options+: { text+: value } }, - text+: - { - '#withTitleSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Explicit title text size' } }, - withTitleSize(value): { options+: { text+: { titleSize: value } } }, - '#withValueSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Explicit value text size' } }, - withValueSize(value): { options+: { text+: { valueSize: value } } }, - }, - '#withOrientation': { 'function': { args: [{ default: null, enums: ['auto', 'vertical', 'horizontal'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withOrientation(value): { options+: { orientation: value } }, - '#withReduceOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withReduceOptions(value): { options+: { reduceOptions: value } }, - '#withReduceOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withReduceOptionsMixin(value): { options+: { reduceOptions+: value } }, - reduceOptions+: - { - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'When !values, pick one value for the whole field' } }, - withCalcs(value): { options+: { reduceOptions+: { calcs: (if std.isArray(value) - then value - else [value]) } } }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'When !values, pick one value for the whole field' } }, - withCalcsMixin(value): { options+: { reduceOptions+: { calcs+: (if std.isArray(value) - then value - else [value]) } } }, - '#withFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Which fields to show. By default this is only numeric fields' } }, - withFields(value): { options+: { reduceOptions+: { fields: value } } }, - '#withLimit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'if showing all values limit' } }, - withLimit(value): { options+: { reduceOptions+: { limit: value } } }, - '#withValues': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true show each row value' } }, - withValues(value=true): { options+: { reduceOptions+: { values: value } } }, - }, - '#withDisplayLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDisplayLabels(value): { options+: { displayLabels: (if std.isArray(value) - then value - else [value]) } }, - '#withDisplayLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDisplayLabelsMixin(value): { options+: { displayLabels+: (if std.isArray(value) - then value - else [value]) } }, - '#withLegend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLegend(value): { options+: { legend: value } }, - '#withLegendMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLegendMixin(value): { options+: { legend+: value } }, - legend+: - { - '#withAsTable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAsTable(value=true): { options+: { legend+: { asTable: value } } }, - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcs(value): { options+: { legend+: { calcs: (if std.isArray(value) - then value - else [value]) } } }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcsMixin(value): { options+: { legend+: { calcs+: (if std.isArray(value) - then value - else [value]) } } }, - '#withDisplayMode': { 'function': { args: [{ default: null, enums: ['list', 'table', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs\nNote: "hidden" needs to remain as an option for plugins compatibility' } }, - withDisplayMode(value): { options+: { legend+: { displayMode: value } } }, - '#withIsVisible': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withIsVisible(value=true): { options+: { legend+: { isVisible: value } } }, - '#withPlacement': { 'function': { args: [{ default: null, enums: ['bottom', 'right'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withPlacement(value): { options+: { legend+: { placement: value } } }, - '#withShowLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowLegend(value=true): { options+: { legend+: { showLegend: value } } }, - '#withSortBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withSortBy(value): { options+: { legend+: { sortBy: value } } }, - '#withSortDesc': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withSortDesc(value=true): { options+: { legend+: { sortDesc: value } } }, - '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withWidth(value): { options+: { legend+: { width: value } } }, - '#withValues': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withValues(value): { options+: { legend+: { values: (if std.isArray(value) - then value - else [value]) } } }, - '#withValuesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withValuesMixin(value): { options+: { legend+: { values+: (if std.isArray(value) - then value - else [value]) } } }, - }, - '#withPieType': { 'function': { args: [{ default: null, enums: ['pie', 'donut'], name: 'value', type: ['string'] }], help: 'Select the pie chart display style.' } }, - withPieType(value): { options+: { pieType: value } }, - }, -} -+ { panelOptions+: { '#withType':: {} } } diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/stat.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/stat.libsonnet deleted file mode 100644 index 02a56c4..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/stat.libsonnet +++ /dev/null @@ -1,60 +0,0 @@ -// This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') -+ { - '#': { help: 'grafonnet.panel.stat', name: 'stat' }, - panelOptions+: - { - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'stat' }, - }, - options+: - { - '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withText(value): { options+: { text: value } }, - '#withTextMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTextMixin(value): { options+: { text+: value } }, - text+: - { - '#withTitleSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Explicit title text size' } }, - withTitleSize(value): { options+: { text+: { titleSize: value } } }, - '#withValueSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Explicit value text size' } }, - withValueSize(value): { options+: { text+: { valueSize: value } } }, - }, - '#withOrientation': { 'function': { args: [{ default: null, enums: ['auto', 'vertical', 'horizontal'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withOrientation(value): { options+: { orientation: value } }, - '#withReduceOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withReduceOptions(value): { options+: { reduceOptions: value } }, - '#withReduceOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withReduceOptionsMixin(value): { options+: { reduceOptions+: value } }, - reduceOptions+: - { - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'When !values, pick one value for the whole field' } }, - withCalcs(value): { options+: { reduceOptions+: { calcs: (if std.isArray(value) - then value - else [value]) } } }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'When !values, pick one value for the whole field' } }, - withCalcsMixin(value): { options+: { reduceOptions+: { calcs+: (if std.isArray(value) - then value - else [value]) } } }, - '#withFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Which fields to show. By default this is only numeric fields' } }, - withFields(value): { options+: { reduceOptions+: { fields: value } } }, - '#withLimit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'if showing all values limit' } }, - withLimit(value): { options+: { reduceOptions+: { limit: value } } }, - '#withValues': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true show each row value' } }, - withValues(value=true): { options+: { reduceOptions+: { values: value } } }, - }, - '#withColorMode': { 'function': { args: [{ default: null, enums: ['value', 'background', 'background_solid', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withColorMode(value): { options+: { colorMode: value } }, - '#withGraphMode': { 'function': { args: [{ default: null, enums: ['none', 'line', 'area'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withGraphMode(value): { options+: { graphMode: value } }, - '#withJustifyMode': { 'function': { args: [{ default: null, enums: ['auto', 'center'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withJustifyMode(value): { options+: { justifyMode: value } }, - '#withShowPercentChange': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowPercentChange(value=true): { options+: { showPercentChange: value } }, - '#withTextMode': { 'function': { args: [{ default: null, enums: ['auto', 'value', 'value_and_name', 'name', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withTextMode(value): { options+: { textMode: value } }, - '#withWideLayout': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withWideLayout(value=true): { options+: { wideLayout: value } }, - }, -} -+ { panelOptions+: { '#withType':: {} } } diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/stateTimeline.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/stateTimeline.libsonnet deleted file mode 100644 index 3166001..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/stateTimeline.libsonnet +++ /dev/null @@ -1,102 +0,0 @@ -// This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') -+ { - '#': { help: 'grafonnet.panel.stateTimeline', name: 'stateTimeline' }, - panelOptions+: - { - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'state-timeline' }, - }, - fieldConfig+: - { - defaults+: - { - custom+: - { - '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFrom(value): { fieldConfig+: { defaults+: { custom+: { hideFrom: value } } } }, - '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFromMixin(value): { fieldConfig+: { defaults+: { custom+: { hideFrom+: value } } } }, - hideFrom+: - { - '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withLegend(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { legend: value } } } } }, - '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withTooltip(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { tooltip: value } } } } }, - '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withViz(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { viz: value } } } } }, - }, - '#withFillOpacity': { 'function': { args: [{ default: 70, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withFillOpacity(value=70): { fieldConfig+: { defaults+: { custom+: { fillOpacity: value } } } }, - '#withLineWidth': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withLineWidth(value=0): { fieldConfig+: { defaults+: { custom+: { lineWidth: value } } } }, - }, - }, - }, - options+: - { - '#withLegend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLegend(value): { options+: { legend: value } }, - '#withLegendMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLegendMixin(value): { options+: { legend+: value } }, - legend+: - { - '#withAsTable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAsTable(value=true): { options+: { legend+: { asTable: value } } }, - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcs(value): { options+: { legend+: { calcs: (if std.isArray(value) - then value - else [value]) } } }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcsMixin(value): { options+: { legend+: { calcs+: (if std.isArray(value) - then value - else [value]) } } }, - '#withDisplayMode': { 'function': { args: [{ default: null, enums: ['list', 'table', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs\nNote: "hidden" needs to remain as an option for plugins compatibility' } }, - withDisplayMode(value): { options+: { legend+: { displayMode: value } } }, - '#withIsVisible': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withIsVisible(value=true): { options+: { legend+: { isVisible: value } } }, - '#withPlacement': { 'function': { args: [{ default: null, enums: ['bottom', 'right'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withPlacement(value): { options+: { legend+: { placement: value } } }, - '#withShowLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowLegend(value=true): { options+: { legend+: { showLegend: value } } }, - '#withSortBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withSortBy(value): { options+: { legend+: { sortBy: value } } }, - '#withSortDesc': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withSortDesc(value=true): { options+: { legend+: { sortDesc: value } } }, - '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withWidth(value): { options+: { legend+: { width: value } } }, - }, - '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltip(value): { options+: { tooltip: value } }, - '#withTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltipMixin(value): { options+: { tooltip+: value } }, - tooltip+: - { - '#withMaxHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxHeight(value): { options+: { tooltip+: { maxHeight: value } } }, - '#withMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxWidth(value): { options+: { tooltip+: { maxWidth: value } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['single', 'multi', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { options+: { tooltip+: { mode: value } } }, - '#withSort': { 'function': { args: [{ default: null, enums: ['asc', 'desc', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withSort(value): { options+: { tooltip+: { sort: value } } }, - }, - '#withTimezone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withTimezone(value): { options+: { timezone: (if std.isArray(value) - then value - else [value]) } }, - '#withTimezoneMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withTimezoneMixin(value): { options+: { timezone+: (if std.isArray(value) - then value - else [value]) } }, - '#withAlignValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Controls value alignment on the timelines' } }, - withAlignValue(value): { options+: { alignValue: value } }, - '#withMergeValues': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Merge equal consecutive values' } }, - withMergeValues(value=true): { options+: { mergeValues: value } }, - '#withRowHeight': { 'function': { args: [{ default: 0.90000000000000002, enums: null, name: 'value', type: ['number'] }], help: 'Controls the row height' } }, - withRowHeight(value=0.90000000000000002): { options+: { rowHeight: value } }, - '#withShowValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Show timeline values on chart' } }, - withShowValue(value): { options+: { showValue: value } }, - }, -} -+ { panelOptions+: { '#withType':: {} } } diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/statusHistory.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/statusHistory.libsonnet deleted file mode 100644 index f0c7a6c..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/statusHistory.libsonnet +++ /dev/null @@ -1,100 +0,0 @@ -// This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') -+ { - '#': { help: 'grafonnet.panel.statusHistory', name: 'statusHistory' }, - panelOptions+: - { - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'status-history' }, - }, - fieldConfig+: - { - defaults+: - { - custom+: - { - '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFrom(value): { fieldConfig+: { defaults+: { custom+: { hideFrom: value } } } }, - '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFromMixin(value): { fieldConfig+: { defaults+: { custom+: { hideFrom+: value } } } }, - hideFrom+: - { - '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withLegend(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { legend: value } } } } }, - '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withTooltip(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { tooltip: value } } } } }, - '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withViz(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { viz: value } } } } }, - }, - '#withFillOpacity': { 'function': { args: [{ default: 70, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withFillOpacity(value=70): { fieldConfig+: { defaults+: { custom+: { fillOpacity: value } } } }, - '#withLineWidth': { 'function': { args: [{ default: 1, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withLineWidth(value=1): { fieldConfig+: { defaults+: { custom+: { lineWidth: value } } } }, - }, - }, - }, - options+: - { - '#withLegend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLegend(value): { options+: { legend: value } }, - '#withLegendMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLegendMixin(value): { options+: { legend+: value } }, - legend+: - { - '#withAsTable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAsTable(value=true): { options+: { legend+: { asTable: value } } }, - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcs(value): { options+: { legend+: { calcs: (if std.isArray(value) - then value - else [value]) } } }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcsMixin(value): { options+: { legend+: { calcs+: (if std.isArray(value) - then value - else [value]) } } }, - '#withDisplayMode': { 'function': { args: [{ default: null, enums: ['list', 'table', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs\nNote: "hidden" needs to remain as an option for plugins compatibility' } }, - withDisplayMode(value): { options+: { legend+: { displayMode: value } } }, - '#withIsVisible': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withIsVisible(value=true): { options+: { legend+: { isVisible: value } } }, - '#withPlacement': { 'function': { args: [{ default: null, enums: ['bottom', 'right'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withPlacement(value): { options+: { legend+: { placement: value } } }, - '#withShowLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowLegend(value=true): { options+: { legend+: { showLegend: value } } }, - '#withSortBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withSortBy(value): { options+: { legend+: { sortBy: value } } }, - '#withSortDesc': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withSortDesc(value=true): { options+: { legend+: { sortDesc: value } } }, - '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withWidth(value): { options+: { legend+: { width: value } } }, - }, - '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltip(value): { options+: { tooltip: value } }, - '#withTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltipMixin(value): { options+: { tooltip+: value } }, - tooltip+: - { - '#withMaxHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxHeight(value): { options+: { tooltip+: { maxHeight: value } } }, - '#withMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxWidth(value): { options+: { tooltip+: { maxWidth: value } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['single', 'multi', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { options+: { tooltip+: { mode: value } } }, - '#withSort': { 'function': { args: [{ default: null, enums: ['asc', 'desc', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withSort(value): { options+: { tooltip+: { sort: value } } }, - }, - '#withTimezone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withTimezone(value): { options+: { timezone: (if std.isArray(value) - then value - else [value]) } }, - '#withTimezoneMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withTimezoneMixin(value): { options+: { timezone+: (if std.isArray(value) - then value - else [value]) } }, - '#withColWidth': { 'function': { args: [{ default: 0.90000000000000002, enums: null, name: 'value', type: ['number'] }], help: 'Controls the column width' } }, - withColWidth(value=0.90000000000000002): { options+: { colWidth: value } }, - '#withRowHeight': { 'function': { args: [{ default: 0.90000000000000002, enums: null, name: 'value', type: ['number'] }], help: 'Set the height of the rows' } }, - withRowHeight(value=0.90000000000000002): { options+: { rowHeight: value } }, - '#withShowValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Show values on the columns' } }, - withShowValue(value): { options+: { showValue: value } }, - }, -} -+ { panelOptions+: { '#withType':: {} } } diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/table.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/table.libsonnet deleted file mode 100644 index c200b90..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/table.libsonnet +++ /dev/null @@ -1,303 +0,0 @@ -// This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') -+ { - '#': { help: 'grafonnet.panel.table', name: 'table' }, - panelOptions+: - { - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'table' }, - }, - fieldConfig+: - { - defaults+: - { - custom+: - { - '#withAlign': { 'function': { args: [{ default: null, enums: ['auto', 'left', 'right', 'center'], name: 'value', type: ['string'] }], help: 'TODO -- should not be table specific!\nTODO docs' } }, - withAlign(value): { fieldConfig+: { defaults+: { custom+: { align: value } } } }, - '#withCellOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Table cell options. Each cell has a display mode\nand other potential options for that display.' } }, - withCellOptions(value): { fieldConfig+: { defaults+: { custom+: { cellOptions: value } } } }, - '#withCellOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Table cell options. Each cell has a display mode\nand other potential options for that display.' } }, - withCellOptionsMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: value } } } }, - cellOptions+: - { - '#withTableAutoCellOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Auto mode table cell options' } }, - withTableAutoCellOptions(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { TableAutoCellOptions: value } } } } }, - '#withTableAutoCellOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Auto mode table cell options' } }, - withTableAutoCellOptionsMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { TableAutoCellOptions+: value } } } } }, - TableAutoCellOptions+: - { - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { type: value } } } } }, - }, - '#withTableSparklineCellOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Sparkline cell options' } }, - withTableSparklineCellOptions(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { TableSparklineCellOptions: value } } } } }, - '#withTableSparklineCellOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Sparkline cell options' } }, - withTableSparklineCellOptionsMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { TableSparklineCellOptions+: value } } } } }, - TableSparklineCellOptions+: - { - '#withLineColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLineColor(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { lineColor: value } } } } }, - '#withLineInterpolation': { 'function': { args: [{ default: null, enums: ['linear', 'smooth', 'stepBefore', 'stepAfter'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withLineInterpolation(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { lineInterpolation: value } } } } }, - '#withLineStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyle(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { lineStyle: value } } } } }, - '#withLineStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyleMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { lineStyle+: value } } } } }, - lineStyle+: - { - '#withDash': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDash(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { lineStyle+: { dash: (if std.isArray(value) - then value - else [value]) } } } } } }, - '#withDashMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDashMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { lineStyle+: { dash+: (if std.isArray(value) - then value - else [value]) } } } } } }, - '#withFill': { 'function': { args: [{ default: null, enums: ['solid', 'dash', 'dot', 'square'], name: 'value', type: ['string'] }], help: '' } }, - withFill(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { lineStyle+: { fill: value } } } } } }, - }, - '#withLineWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLineWidth(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { lineWidth: value } } } } }, - '#withSpanNulls': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'number'] }], help: 'Indicate if null values should be treated as gaps or connected.\nWhen the value is a number, it represents the maximum delta in the\nX axis that should be considered connected. For timeseries, this is milliseconds' } }, - withSpanNulls(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { spanNulls: value } } } } }, - '#withSpanNullsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'number'] }], help: 'Indicate if null values should be treated as gaps or connected.\nWhen the value is a number, it represents the maximum delta in the\nX axis that should be considered connected. For timeseries, this is milliseconds' } }, - withSpanNullsMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { spanNulls+: value } } } } }, - '#withFillBelowTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFillBelowTo(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { fillBelowTo: value } } } } }, - '#withFillColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFillColor(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { fillColor: value } } } } }, - '#withFillOpacity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withFillOpacity(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { fillOpacity: value } } } } }, - '#withPointColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPointColor(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { pointColor: value } } } } }, - '#withPointSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withPointSize(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { pointSize: value } } } } }, - '#withPointSymbol': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPointSymbol(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { pointSymbol: value } } } } }, - '#withShowPoints': { 'function': { args: [{ default: null, enums: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withShowPoints(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { showPoints: value } } } } }, - '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisBorderShow(value=true): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { axisBorderShow: value } } } } }, - '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisCenteredZero(value=true): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { axisCenteredZero: value } } } } }, - '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisColorMode(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { axisColorMode: value } } } } }, - '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisGridShow(value=true): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { axisGridShow: value } } } } }, - '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withAxisLabel(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { axisLabel: value } } } } }, - '#withAxisPlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'right', 'bottom', 'left', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisPlacement(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { axisPlacement: value } } } } }, - '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMax(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { axisSoftMax: value } } } } }, - '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { axisSoftMin: value } } } } }, - '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisWidth(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { axisWidth: value } } } } }, - '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistribution(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { scaleDistribution: value } } } } }, - '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistributionMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { scaleDistribution+: value } } } } }, - scaleDistribution+: - { - '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLinearThreshold(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { scaleDistribution+: { linearThreshold: value } } } } } }, - '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLog(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { scaleDistribution+: { log: value } } } } } }, - '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withType(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { scaleDistribution+: { type: value } } } } } }, - }, - '#withBarAlignment': { 'function': { args: [{ default: null, enums: [-1, 0, 1], name: 'value', type: ['integer'] }], help: 'TODO docs' } }, - withBarAlignment(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { barAlignment: value } } } } }, - '#withBarMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withBarMaxWidth(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { barMaxWidth: value } } } } }, - '#withBarWidthFactor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withBarWidthFactor(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { barWidthFactor: value } } } } }, - '#withStacking': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withStacking(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { stacking: value } } } } }, - '#withStackingMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withStackingMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { stacking+: value } } } } }, - stacking+: - { - '#withGroup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withGroup(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { stacking+: { group: value } } } } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['none', 'normal', 'percent'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { stacking+: { mode: value } } } } } }, - }, - '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFrom(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { hideFrom: value } } } } }, - '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFromMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { hideFrom+: value } } } } }, - hideFrom+: - { - '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withLegend(value=true): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { hideFrom+: { legend: value } } } } } }, - '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withTooltip(value=true): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { hideFrom+: { tooltip: value } } } } } }, - '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withViz(value=true): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { hideFrom+: { viz: value } } } } } }, - }, - '#withDrawStyle': { 'function': { args: [{ default: null, enums: ['line', 'bars', 'points'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withDrawStyle(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { drawStyle: value } } } } }, - '#withGradientMode': { 'function': { args: [{ default: null, enums: ['none', 'opacity', 'hue', 'scheme'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withGradientMode(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { gradientMode: value } } } } }, - '#withThresholdsStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withThresholdsStyle(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { thresholdsStyle: value } } } } }, - '#withThresholdsStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withThresholdsStyleMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { thresholdsStyle+: value } } } } }, - thresholdsStyle+: - { - '#withMode': { 'function': { args: [{ default: null, enums: ['off', 'line', 'dashed', 'area', 'line+area', 'dashed+area', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { thresholdsStyle+: { mode: value } } } } } }, - }, - '#withTransform': { 'function': { args: [{ default: null, enums: ['constant', 'negative-Y'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withTransform(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { transform: value } } } } }, - '#withHideValue': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withHideValue(value=true): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { hideValue: value } } } } }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { type: value } } } } }, - }, - '#withTableBarGaugeCellOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Gauge cell options' } }, - withTableBarGaugeCellOptions(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { TableBarGaugeCellOptions: value } } } } }, - '#withTableBarGaugeCellOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Gauge cell options' } }, - withTableBarGaugeCellOptionsMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { TableBarGaugeCellOptions+: value } } } } }, - TableBarGaugeCellOptions+: - { - '#withMode': { 'function': { args: [{ default: null, enums: ['basic', 'lcd', 'gradient'], name: 'value', type: ['string'] }], help: 'Enum expressing the possible display modes\nfor the bar gauge component of Grafana UI' } }, - withMode(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { mode: value } } } } }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { type: value } } } } }, - '#withValueDisplayMode': { 'function': { args: [{ default: null, enums: ['color', 'text', 'hidden'], name: 'value', type: ['string'] }], help: 'Allows for the table cell gauge display type to set the gauge mode.' } }, - withValueDisplayMode(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { valueDisplayMode: value } } } } }, - }, - '#withTableColoredBackgroundCellOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Colored background cell options' } }, - withTableColoredBackgroundCellOptions(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { TableColoredBackgroundCellOptions: value } } } } }, - '#withTableColoredBackgroundCellOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Colored background cell options' } }, - withTableColoredBackgroundCellOptionsMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { TableColoredBackgroundCellOptions+: value } } } } }, - TableColoredBackgroundCellOptions+: - { - '#withMode': { 'function': { args: [{ default: null, enums: ['basic', 'gradient'], name: 'value', type: ['string'] }], help: 'Display mode to the "Colored Background" display\nmode for table cells. Either displays a solid color (basic mode)\nor a gradient.' } }, - withMode(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { mode: value } } } } }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { type: value } } } } }, - }, - '#withTableColorTextCellOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Colored text cell options' } }, - withTableColorTextCellOptions(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { TableColorTextCellOptions: value } } } } }, - '#withTableColorTextCellOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Colored text cell options' } }, - withTableColorTextCellOptionsMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { TableColorTextCellOptions+: value } } } } }, - TableColorTextCellOptions+: - { - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { type: value } } } } }, - }, - '#withTableImageCellOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Json view cell options' } }, - withTableImageCellOptions(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { TableImageCellOptions: value } } } } }, - '#withTableImageCellOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Json view cell options' } }, - withTableImageCellOptionsMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { TableImageCellOptions+: value } } } } }, - TableImageCellOptions+: - { - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { type: value } } } } }, - }, - '#withTableDataLinksCellOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Show data links in the cell' } }, - withTableDataLinksCellOptions(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { TableDataLinksCellOptions: value } } } } }, - '#withTableDataLinksCellOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Show data links in the cell' } }, - withTableDataLinksCellOptionsMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { TableDataLinksCellOptions+: value } } } } }, - TableDataLinksCellOptions+: - { - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { type: value } } } } }, - }, - '#withTableJsonViewCellOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Json view cell options' } }, - withTableJsonViewCellOptions(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { TableJsonViewCellOptions: value } } } } }, - '#withTableJsonViewCellOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Json view cell options' } }, - withTableJsonViewCellOptionsMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { TableJsonViewCellOptions+: value } } } } }, - TableJsonViewCellOptions+: - { - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { type: value } } } } }, - }, - }, - '#withDisplayMode': { 'function': { args: [{ default: null, enums: ['auto', 'color-text', 'color-background', 'color-background-solid', 'gradient-gauge', 'lcd-gauge', 'json-view', 'basic', 'image', 'gauge', 'sparkline', 'data-links', 'custom'], name: 'value', type: ['string'] }], help: "Internally, this is the \"type\" of cell that's being displayed\nin the table such as colored text, JSON, gauge, etc.\nThe color-background-solid, gradient-gauge, and lcd-gauge\nmodes are deprecated in favor of new cell subOptions" } }, - withDisplayMode(value): { fieldConfig+: { defaults+: { custom+: { displayMode: value } } } }, - '#withFilterable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withFilterable(value=true): { fieldConfig+: { defaults+: { custom+: { filterable: value } } } }, - '#withHidden': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withHidden(value=true): { fieldConfig+: { defaults+: { custom+: { hidden: value } } } }, - '#withHideHeader': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Hides any header for a column, useful for columns that show some static content or buttons.' } }, - withHideHeader(value=true): { fieldConfig+: { defaults+: { custom+: { hideHeader: value } } } }, - '#withInspect': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withInspect(value=true): { fieldConfig+: { defaults+: { custom+: { inspect: value } } } }, - '#withMinWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMinWidth(value): { fieldConfig+: { defaults+: { custom+: { minWidth: value } } } }, - '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withWidth(value): { fieldConfig+: { defaults+: { custom+: { width: value } } } }, - }, - }, - }, - options+: - { - '#withCellHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Controls the height of the rows' } }, - withCellHeight(value): { options+: { cellHeight: value } }, - '#withFooter': { 'function': { args: [{ default: { countRows: false, reducer: [], show: false }, enums: null, name: 'value', type: ['object'] }], help: 'Controls footer options' } }, - withFooter(value={ countRows: false, reducer: [], show: false }): { options+: { footer: value } }, - '#withFooterMixin': { 'function': { args: [{ default: { countRows: false, reducer: [], show: false }, enums: null, name: 'value', type: ['object'] }], help: 'Controls footer options' } }, - withFooterMixin(value): { options+: { footer+: value } }, - footer+: - { - '#withTableFooterOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Footer options' } }, - withTableFooterOptions(value): { options+: { footer+: { TableFooterOptions: value } } }, - '#withTableFooterOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Footer options' } }, - withTableFooterOptionsMixin(value): { options+: { footer+: { TableFooterOptions+: value } } }, - TableFooterOptions+: - { - '#withCountRows': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withCountRows(value=true): { options+: { footer+: { countRows: value } } }, - '#withEnablePagination': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withEnablePagination(value=true): { options+: { footer+: { enablePagination: value } } }, - '#withFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withFields(value): { options+: { footer+: { fields: (if std.isArray(value) - then value - else [value]) } } }, - '#withFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withFieldsMixin(value): { options+: { footer+: { fields+: (if std.isArray(value) - then value - else [value]) } } }, - '#withReducer': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withReducer(value): { options+: { footer+: { reducer: (if std.isArray(value) - then value - else [value]) } } }, - '#withReducerMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withReducerMixin(value): { options+: { footer+: { reducer+: (if std.isArray(value) - then value - else [value]) } } }, - '#withShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShow(value=true): { options+: { footer+: { show: value } } }, - }, - }, - '#withFrameIndex': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['number'] }], help: 'Represents the index of the selected frame' } }, - withFrameIndex(value=0): { options+: { frameIndex: value } }, - '#withShowHeader': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Controls whether the panel should show the header' } }, - withShowHeader(value=true): { options+: { showHeader: value } }, - '#withShowTypeIcons': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Controls whether the header should show icons for the column types' } }, - withShowTypeIcons(value=true): { options+: { showTypeIcons: value } }, - '#withSortBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Used to control row sorting' } }, - withSortBy(value): { options+: { sortBy: (if std.isArray(value) - then value - else [value]) } }, - '#withSortByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Used to control row sorting' } }, - withSortByMixin(value): { options+: { sortBy+: (if std.isArray(value) - then value - else [value]) } }, - sortBy+: - { - '#': { help: '', name: 'sortBy' }, - '#withDesc': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Flag used to indicate descending sort order' } }, - withDesc(value=true): { desc: value }, - '#withDisplayName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Sets the display name of the field to sort by' } }, - withDisplayName(value): { displayName: value }, - }, - }, -} -+ { panelOptions+: { '#withType':: {} } } diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/text.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/text.libsonnet deleted file mode 100644 index 04f7c28..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/text.libsonnet +++ /dev/null @@ -1,31 +0,0 @@ -// This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') -+ { - '#': { help: 'grafonnet.panel.text', name: 'text' }, - panelOptions+: - { - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'text' }, - }, - options+: - { - '#withCode': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCode(value): { options+: { code: value } }, - '#withCodeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCodeMixin(value): { options+: { code+: value } }, - code+: - { - '#withLanguage': { 'function': { args: [{ default: 'plaintext', enums: ['plaintext', 'yaml', 'xml', 'typescript', 'sql', 'go', 'markdown', 'html', 'json'], name: 'value', type: ['string'] }], help: '' } }, - withLanguage(value='plaintext'): { options+: { code+: { language: value } } }, - '#withShowLineNumbers': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowLineNumbers(value=true): { options+: { code+: { showLineNumbers: value } } }, - '#withShowMiniMap': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowMiniMap(value=true): { options+: { code+: { showMiniMap: value } } }, - }, - '#withContent': { 'function': { args: [{ default: '# Title\n\nFor markdown syntax help: [commonmark.org/help](https://commonmark.org/help/)', enums: null, name: 'value', type: ['string'] }], help: '' } }, - withContent(value='# Title\n\nFor markdown syntax help: [commonmark.org/help](https://commonmark.org/help/)'): { options+: { content: value } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['html', 'markdown', 'code'], name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { options+: { mode: value } }, - }, -} -+ { panelOptions+: { '#withType':: {} } } diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/timeSeries.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/timeSeries.libsonnet deleted file mode 100644 index 158eef1..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/timeSeries.libsonnet +++ /dev/null @@ -1,194 +0,0 @@ -// This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') -+ { - '#': { help: 'grafonnet.panel.timeSeries', name: 'timeSeries' }, - panelOptions+: - { - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'timeseries' }, - }, - fieldConfig+: - { - defaults+: - { - custom+: - { - '#withLineColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLineColor(value): { fieldConfig+: { defaults+: { custom+: { lineColor: value } } } }, - '#withLineInterpolation': { 'function': { args: [{ default: null, enums: ['linear', 'smooth', 'stepBefore', 'stepAfter'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withLineInterpolation(value): { fieldConfig+: { defaults+: { custom+: { lineInterpolation: value } } } }, - '#withLineStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyle(value): { fieldConfig+: { defaults+: { custom+: { lineStyle: value } } } }, - '#withLineStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyleMixin(value): { fieldConfig+: { defaults+: { custom+: { lineStyle+: value } } } }, - lineStyle+: - { - '#withDash': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDash(value): { fieldConfig+: { defaults+: { custom+: { lineStyle+: { dash: (if std.isArray(value) - then value - else [value]) } } } } }, - '#withDashMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDashMixin(value): { fieldConfig+: { defaults+: { custom+: { lineStyle+: { dash+: (if std.isArray(value) - then value - else [value]) } } } } }, - '#withFill': { 'function': { args: [{ default: null, enums: ['solid', 'dash', 'dot', 'square'], name: 'value', type: ['string'] }], help: '' } }, - withFill(value): { fieldConfig+: { defaults+: { custom+: { lineStyle+: { fill: value } } } } }, - }, - '#withLineWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLineWidth(value): { fieldConfig+: { defaults+: { custom+: { lineWidth: value } } } }, - '#withSpanNulls': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'number'] }], help: 'Indicate if null values should be treated as gaps or connected.\nWhen the value is a number, it represents the maximum delta in the\nX axis that should be considered connected. For timeseries, this is milliseconds' } }, - withSpanNulls(value): { fieldConfig+: { defaults+: { custom+: { spanNulls: value } } } }, - '#withSpanNullsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'number'] }], help: 'Indicate if null values should be treated as gaps or connected.\nWhen the value is a number, it represents the maximum delta in the\nX axis that should be considered connected. For timeseries, this is milliseconds' } }, - withSpanNullsMixin(value): { fieldConfig+: { defaults+: { custom+: { spanNulls+: value } } } }, - '#withFillBelowTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFillBelowTo(value): { fieldConfig+: { defaults+: { custom+: { fillBelowTo: value } } } }, - '#withFillColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFillColor(value): { fieldConfig+: { defaults+: { custom+: { fillColor: value } } } }, - '#withFillOpacity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withFillOpacity(value): { fieldConfig+: { defaults+: { custom+: { fillOpacity: value } } } }, - '#withPointColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPointColor(value): { fieldConfig+: { defaults+: { custom+: { pointColor: value } } } }, - '#withPointSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withPointSize(value): { fieldConfig+: { defaults+: { custom+: { pointSize: value } } } }, - '#withPointSymbol': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPointSymbol(value): { fieldConfig+: { defaults+: { custom+: { pointSymbol: value } } } }, - '#withShowPoints': { 'function': { args: [{ default: null, enums: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withShowPoints(value): { fieldConfig+: { defaults+: { custom+: { showPoints: value } } } }, - '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisBorderShow(value=true): { fieldConfig+: { defaults+: { custom+: { axisBorderShow: value } } } }, - '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisCenteredZero(value=true): { fieldConfig+: { defaults+: { custom+: { axisCenteredZero: value } } } }, - '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisColorMode(value): { fieldConfig+: { defaults+: { custom+: { axisColorMode: value } } } }, - '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisGridShow(value=true): { fieldConfig+: { defaults+: { custom+: { axisGridShow: value } } } }, - '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withAxisLabel(value): { fieldConfig+: { defaults+: { custom+: { axisLabel: value } } } }, - '#withAxisPlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'right', 'bottom', 'left', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisPlacement(value): { fieldConfig+: { defaults+: { custom+: { axisPlacement: value } } } }, - '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMax(value): { fieldConfig+: { defaults+: { custom+: { axisSoftMax: value } } } }, - '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMin(value): { fieldConfig+: { defaults+: { custom+: { axisSoftMin: value } } } }, - '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisWidth(value): { fieldConfig+: { defaults+: { custom+: { axisWidth: value } } } }, - '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistribution(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution: value } } } }, - '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistributionMixin(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: value } } } }, - scaleDistribution+: - { - '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLinearThreshold(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { linearThreshold: value } } } } }, - '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLog(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { log: value } } } } }, - '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withType(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { type: value } } } } }, - }, - '#withBarAlignment': { 'function': { args: [{ default: null, enums: [-1, 0, 1], name: 'value', type: ['integer'] }], help: 'TODO docs' } }, - withBarAlignment(value): { fieldConfig+: { defaults+: { custom+: { barAlignment: value } } } }, - '#withBarMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withBarMaxWidth(value): { fieldConfig+: { defaults+: { custom+: { barMaxWidth: value } } } }, - '#withBarWidthFactor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withBarWidthFactor(value): { fieldConfig+: { defaults+: { custom+: { barWidthFactor: value } } } }, - '#withStacking': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withStacking(value): { fieldConfig+: { defaults+: { custom+: { stacking: value } } } }, - '#withStackingMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withStackingMixin(value): { fieldConfig+: { defaults+: { custom+: { stacking+: value } } } }, - stacking+: - { - '#withGroup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withGroup(value): { fieldConfig+: { defaults+: { custom+: { stacking+: { group: value } } } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['none', 'normal', 'percent'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { fieldConfig+: { defaults+: { custom+: { stacking+: { mode: value } } } } }, - }, - '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFrom(value): { fieldConfig+: { defaults+: { custom+: { hideFrom: value } } } }, - '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFromMixin(value): { fieldConfig+: { defaults+: { custom+: { hideFrom+: value } } } }, - hideFrom+: - { - '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withLegend(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { legend: value } } } } }, - '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withTooltip(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { tooltip: value } } } } }, - '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withViz(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { viz: value } } } } }, - }, - '#withDrawStyle': { 'function': { args: [{ default: null, enums: ['line', 'bars', 'points'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withDrawStyle(value): { fieldConfig+: { defaults+: { custom+: { drawStyle: value } } } }, - '#withGradientMode': { 'function': { args: [{ default: null, enums: ['none', 'opacity', 'hue', 'scheme'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withGradientMode(value): { fieldConfig+: { defaults+: { custom+: { gradientMode: value } } } }, - '#withThresholdsStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withThresholdsStyle(value): { fieldConfig+: { defaults+: { custom+: { thresholdsStyle: value } } } }, - '#withThresholdsStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withThresholdsStyleMixin(value): { fieldConfig+: { defaults+: { custom+: { thresholdsStyle+: value } } } }, - thresholdsStyle+: - { - '#withMode': { 'function': { args: [{ default: null, enums: ['off', 'line', 'dashed', 'area', 'line+area', 'dashed+area', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { fieldConfig+: { defaults+: { custom+: { thresholdsStyle+: { mode: value } } } } }, - }, - '#withTransform': { 'function': { args: [{ default: null, enums: ['constant', 'negative-Y'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withTransform(value): { fieldConfig+: { defaults+: { custom+: { transform: value } } } }, - }, - }, - }, - options+: - { - '#withTimezone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withTimezone(value): { options+: { timezone: (if std.isArray(value) - then value - else [value]) } }, - '#withTimezoneMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withTimezoneMixin(value): { options+: { timezone+: (if std.isArray(value) - then value - else [value]) } }, - '#withLegend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLegend(value): { options+: { legend: value } }, - '#withLegendMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLegendMixin(value): { options+: { legend+: value } }, - legend+: - { - '#withAsTable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAsTable(value=true): { options+: { legend+: { asTable: value } } }, - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcs(value): { options+: { legend+: { calcs: (if std.isArray(value) - then value - else [value]) } } }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcsMixin(value): { options+: { legend+: { calcs+: (if std.isArray(value) - then value - else [value]) } } }, - '#withDisplayMode': { 'function': { args: [{ default: null, enums: ['list', 'table', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs\nNote: "hidden" needs to remain as an option for plugins compatibility' } }, - withDisplayMode(value): { options+: { legend+: { displayMode: value } } }, - '#withIsVisible': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withIsVisible(value=true): { options+: { legend+: { isVisible: value } } }, - '#withPlacement': { 'function': { args: [{ default: null, enums: ['bottom', 'right'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withPlacement(value): { options+: { legend+: { placement: value } } }, - '#withShowLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowLegend(value=true): { options+: { legend+: { showLegend: value } } }, - '#withSortBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withSortBy(value): { options+: { legend+: { sortBy: value } } }, - '#withSortDesc': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withSortDesc(value=true): { options+: { legend+: { sortDesc: value } } }, - '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withWidth(value): { options+: { legend+: { width: value } } }, - }, - '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltip(value): { options+: { tooltip: value } }, - '#withTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltipMixin(value): { options+: { tooltip+: value } }, - tooltip+: - { - '#withMaxHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxHeight(value): { options+: { tooltip+: { maxHeight: value } } }, - '#withMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxWidth(value): { options+: { tooltip+: { maxWidth: value } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['single', 'multi', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { options+: { tooltip+: { mode: value } } }, - '#withSort': { 'function': { args: [{ default: null, enums: ['asc', 'desc', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withSort(value): { options+: { tooltip+: { sort: value } } }, - }, - }, -} -+ { panelOptions+: { '#withType':: {} } } diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/trend.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/trend.libsonnet deleted file mode 100644 index c0c60a9..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/trend.libsonnet +++ /dev/null @@ -1,188 +0,0 @@ -// This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') -+ { - '#': { help: 'grafonnet.panel.trend', name: 'trend' }, - panelOptions+: - { - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'trend' }, - }, - fieldConfig+: - { - defaults+: - { - custom+: - { - '#withLineColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLineColor(value): { fieldConfig+: { defaults+: { custom+: { lineColor: value } } } }, - '#withLineInterpolation': { 'function': { args: [{ default: null, enums: ['linear', 'smooth', 'stepBefore', 'stepAfter'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withLineInterpolation(value): { fieldConfig+: { defaults+: { custom+: { lineInterpolation: value } } } }, - '#withLineStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyle(value): { fieldConfig+: { defaults+: { custom+: { lineStyle: value } } } }, - '#withLineStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyleMixin(value): { fieldConfig+: { defaults+: { custom+: { lineStyle+: value } } } }, - lineStyle+: - { - '#withDash': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDash(value): { fieldConfig+: { defaults+: { custom+: { lineStyle+: { dash: (if std.isArray(value) - then value - else [value]) } } } } }, - '#withDashMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDashMixin(value): { fieldConfig+: { defaults+: { custom+: { lineStyle+: { dash+: (if std.isArray(value) - then value - else [value]) } } } } }, - '#withFill': { 'function': { args: [{ default: null, enums: ['solid', 'dash', 'dot', 'square'], name: 'value', type: ['string'] }], help: '' } }, - withFill(value): { fieldConfig+: { defaults+: { custom+: { lineStyle+: { fill: value } } } } }, - }, - '#withLineWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLineWidth(value): { fieldConfig+: { defaults+: { custom+: { lineWidth: value } } } }, - '#withSpanNulls': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'number'] }], help: 'Indicate if null values should be treated as gaps or connected.\nWhen the value is a number, it represents the maximum delta in the\nX axis that should be considered connected. For timeseries, this is milliseconds' } }, - withSpanNulls(value): { fieldConfig+: { defaults+: { custom+: { spanNulls: value } } } }, - '#withSpanNullsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'number'] }], help: 'Indicate if null values should be treated as gaps or connected.\nWhen the value is a number, it represents the maximum delta in the\nX axis that should be considered connected. For timeseries, this is milliseconds' } }, - withSpanNullsMixin(value): { fieldConfig+: { defaults+: { custom+: { spanNulls+: value } } } }, - '#withFillBelowTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFillBelowTo(value): { fieldConfig+: { defaults+: { custom+: { fillBelowTo: value } } } }, - '#withFillColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFillColor(value): { fieldConfig+: { defaults+: { custom+: { fillColor: value } } } }, - '#withFillOpacity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withFillOpacity(value): { fieldConfig+: { defaults+: { custom+: { fillOpacity: value } } } }, - '#withPointColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPointColor(value): { fieldConfig+: { defaults+: { custom+: { pointColor: value } } } }, - '#withPointSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withPointSize(value): { fieldConfig+: { defaults+: { custom+: { pointSize: value } } } }, - '#withPointSymbol': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPointSymbol(value): { fieldConfig+: { defaults+: { custom+: { pointSymbol: value } } } }, - '#withShowPoints': { 'function': { args: [{ default: null, enums: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withShowPoints(value): { fieldConfig+: { defaults+: { custom+: { showPoints: value } } } }, - '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisBorderShow(value=true): { fieldConfig+: { defaults+: { custom+: { axisBorderShow: value } } } }, - '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisCenteredZero(value=true): { fieldConfig+: { defaults+: { custom+: { axisCenteredZero: value } } } }, - '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisColorMode(value): { fieldConfig+: { defaults+: { custom+: { axisColorMode: value } } } }, - '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisGridShow(value=true): { fieldConfig+: { defaults+: { custom+: { axisGridShow: value } } } }, - '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withAxisLabel(value): { fieldConfig+: { defaults+: { custom+: { axisLabel: value } } } }, - '#withAxisPlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'right', 'bottom', 'left', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisPlacement(value): { fieldConfig+: { defaults+: { custom+: { axisPlacement: value } } } }, - '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMax(value): { fieldConfig+: { defaults+: { custom+: { axisSoftMax: value } } } }, - '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMin(value): { fieldConfig+: { defaults+: { custom+: { axisSoftMin: value } } } }, - '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisWidth(value): { fieldConfig+: { defaults+: { custom+: { axisWidth: value } } } }, - '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistribution(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution: value } } } }, - '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistributionMixin(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: value } } } }, - scaleDistribution+: - { - '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLinearThreshold(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { linearThreshold: value } } } } }, - '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLog(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { log: value } } } } }, - '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withType(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { type: value } } } } }, - }, - '#withBarAlignment': { 'function': { args: [{ default: null, enums: [-1, 0, 1], name: 'value', type: ['integer'] }], help: 'TODO docs' } }, - withBarAlignment(value): { fieldConfig+: { defaults+: { custom+: { barAlignment: value } } } }, - '#withBarMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withBarMaxWidth(value): { fieldConfig+: { defaults+: { custom+: { barMaxWidth: value } } } }, - '#withBarWidthFactor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withBarWidthFactor(value): { fieldConfig+: { defaults+: { custom+: { barWidthFactor: value } } } }, - '#withStacking': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withStacking(value): { fieldConfig+: { defaults+: { custom+: { stacking: value } } } }, - '#withStackingMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withStackingMixin(value): { fieldConfig+: { defaults+: { custom+: { stacking+: value } } } }, - stacking+: - { - '#withGroup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withGroup(value): { fieldConfig+: { defaults+: { custom+: { stacking+: { group: value } } } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['none', 'normal', 'percent'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { fieldConfig+: { defaults+: { custom+: { stacking+: { mode: value } } } } }, - }, - '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFrom(value): { fieldConfig+: { defaults+: { custom+: { hideFrom: value } } } }, - '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFromMixin(value): { fieldConfig+: { defaults+: { custom+: { hideFrom+: value } } } }, - hideFrom+: - { - '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withLegend(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { legend: value } } } } }, - '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withTooltip(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { tooltip: value } } } } }, - '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withViz(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { viz: value } } } } }, - }, - '#withDrawStyle': { 'function': { args: [{ default: null, enums: ['line', 'bars', 'points'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withDrawStyle(value): { fieldConfig+: { defaults+: { custom+: { drawStyle: value } } } }, - '#withGradientMode': { 'function': { args: [{ default: null, enums: ['none', 'opacity', 'hue', 'scheme'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withGradientMode(value): { fieldConfig+: { defaults+: { custom+: { gradientMode: value } } } }, - '#withThresholdsStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withThresholdsStyle(value): { fieldConfig+: { defaults+: { custom+: { thresholdsStyle: value } } } }, - '#withThresholdsStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withThresholdsStyleMixin(value): { fieldConfig+: { defaults+: { custom+: { thresholdsStyle+: value } } } }, - thresholdsStyle+: - { - '#withMode': { 'function': { args: [{ default: null, enums: ['off', 'line', 'dashed', 'area', 'line+area', 'dashed+area', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { fieldConfig+: { defaults+: { custom+: { thresholdsStyle+: { mode: value } } } } }, - }, - '#withTransform': { 'function': { args: [{ default: null, enums: ['constant', 'negative-Y'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withTransform(value): { fieldConfig+: { defaults+: { custom+: { transform: value } } } }, - }, - }, - }, - options+: - { - '#withLegend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLegend(value): { options+: { legend: value } }, - '#withLegendMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLegendMixin(value): { options+: { legend+: value } }, - legend+: - { - '#withAsTable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAsTable(value=true): { options+: { legend+: { asTable: value } } }, - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcs(value): { options+: { legend+: { calcs: (if std.isArray(value) - then value - else [value]) } } }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcsMixin(value): { options+: { legend+: { calcs+: (if std.isArray(value) - then value - else [value]) } } }, - '#withDisplayMode': { 'function': { args: [{ default: null, enums: ['list', 'table', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs\nNote: "hidden" needs to remain as an option for plugins compatibility' } }, - withDisplayMode(value): { options+: { legend+: { displayMode: value } } }, - '#withIsVisible': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withIsVisible(value=true): { options+: { legend+: { isVisible: value } } }, - '#withPlacement': { 'function': { args: [{ default: null, enums: ['bottom', 'right'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withPlacement(value): { options+: { legend+: { placement: value } } }, - '#withShowLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowLegend(value=true): { options+: { legend+: { showLegend: value } } }, - '#withSortBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withSortBy(value): { options+: { legend+: { sortBy: value } } }, - '#withSortDesc': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withSortDesc(value=true): { options+: { legend+: { sortDesc: value } } }, - '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withWidth(value): { options+: { legend+: { width: value } } }, - }, - '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltip(value): { options+: { tooltip: value } }, - '#withTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltipMixin(value): { options+: { tooltip+: value } }, - tooltip+: - { - '#withMaxHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxHeight(value): { options+: { tooltip+: { maxHeight: value } } }, - '#withMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxWidth(value): { options+: { tooltip+: { maxWidth: value } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['single', 'multi', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { options+: { tooltip+: { mode: value } } }, - '#withSort': { 'function': { args: [{ default: null, enums: ['asc', 'desc', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withSort(value): { options+: { tooltip+: { sort: value } } }, - }, - '#withXField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the x field to use (defaults to first number)' } }, - withXField(value): { options+: { xField: value } }, - }, -} -+ { panelOptions+: { '#withType':: {} } } diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/xyChart.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/xyChart.libsonnet deleted file mode 100644 index 7689787..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/xyChart.libsonnet +++ /dev/null @@ -1,348 +0,0 @@ -// This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') -+ { - '#': { help: 'grafonnet.panel.xyChart', name: 'xyChart' }, - panelOptions+: - { - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'xychart' }, - }, - fieldConfig+: - { - defaults+: - { - custom+: - { - '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFrom(value): { fieldConfig+: { defaults+: { custom+: { hideFrom: value } } } }, - '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFromMixin(value): { fieldConfig+: { defaults+: { custom+: { hideFrom+: value } } } }, - hideFrom+: - { - '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withLegend(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { legend: value } } } } }, - '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withTooltip(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { tooltip: value } } } } }, - '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withViz(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { viz: value } } } } }, - }, - '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisBorderShow(value=true): { fieldConfig+: { defaults+: { custom+: { axisBorderShow: value } } } }, - '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisCenteredZero(value=true): { fieldConfig+: { defaults+: { custom+: { axisCenteredZero: value } } } }, - '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisColorMode(value): { fieldConfig+: { defaults+: { custom+: { axisColorMode: value } } } }, - '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisGridShow(value=true): { fieldConfig+: { defaults+: { custom+: { axisGridShow: value } } } }, - '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withAxisLabel(value): { fieldConfig+: { defaults+: { custom+: { axisLabel: value } } } }, - '#withAxisPlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'right', 'bottom', 'left', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisPlacement(value): { fieldConfig+: { defaults+: { custom+: { axisPlacement: value } } } }, - '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMax(value): { fieldConfig+: { defaults+: { custom+: { axisSoftMax: value } } } }, - '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMin(value): { fieldConfig+: { defaults+: { custom+: { axisSoftMin: value } } } }, - '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisWidth(value): { fieldConfig+: { defaults+: { custom+: { axisWidth: value } } } }, - '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistribution(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution: value } } } }, - '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistributionMixin(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: value } } } }, - scaleDistribution+: - { - '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLinearThreshold(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { linearThreshold: value } } } } }, - '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLog(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { log: value } } } } }, - '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withType(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { type: value } } } } }, - }, - '#withLabel': { 'function': { args: [{ default: null, enums: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withLabel(value): { fieldConfig+: { defaults+: { custom+: { label: value } } } }, - '#withLabelValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLabelValue(value): { fieldConfig+: { defaults+: { custom+: { labelValue: value } } } }, - '#withLabelValueMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLabelValueMixin(value): { fieldConfig+: { defaults+: { custom+: { labelValue+: value } } } }, - labelValue+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { fieldConfig+: { defaults+: { custom+: { labelValue+: { field: value } } } } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFixed(value): { fieldConfig+: { defaults+: { custom+: { labelValue+: { fixed: value } } } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['fixed', 'field', 'template'], name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { fieldConfig+: { defaults+: { custom+: { labelValue+: { mode: value } } } } }, - }, - '#withLineColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLineColor(value): { fieldConfig+: { defaults+: { custom+: { lineColor: value } } } }, - '#withLineColorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLineColorMixin(value): { fieldConfig+: { defaults+: { custom+: { lineColor+: value } } } }, - lineColor+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { fieldConfig+: { defaults+: { custom+: { lineColor+: { field: value } } } } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFixed(value): { fieldConfig+: { defaults+: { custom+: { lineColor+: { fixed: value } } } } }, - }, - '#withLineStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyle(value): { fieldConfig+: { defaults+: { custom+: { lineStyle: value } } } }, - '#withLineStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyleMixin(value): { fieldConfig+: { defaults+: { custom+: { lineStyle+: value } } } }, - lineStyle+: - { - '#withDash': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDash(value): { fieldConfig+: { defaults+: { custom+: { lineStyle+: { dash: (if std.isArray(value) - then value - else [value]) } } } } }, - '#withDashMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDashMixin(value): { fieldConfig+: { defaults+: { custom+: { lineStyle+: { dash+: (if std.isArray(value) - then value - else [value]) } } } } }, - '#withFill': { 'function': { args: [{ default: null, enums: ['solid', 'dash', 'dot', 'square'], name: 'value', type: ['string'] }], help: '' } }, - withFill(value): { fieldConfig+: { defaults+: { custom+: { lineStyle+: { fill: value } } } } }, - }, - '#withLineWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withLineWidth(value): { fieldConfig+: { defaults+: { custom+: { lineWidth: value } } } }, - '#withPointColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPointColor(value): { fieldConfig+: { defaults+: { custom+: { pointColor: value } } } }, - '#withPointColorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPointColorMixin(value): { fieldConfig+: { defaults+: { custom+: { pointColor+: value } } } }, - pointColor+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { fieldConfig+: { defaults+: { custom+: { pointColor+: { field: value } } } } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFixed(value): { fieldConfig+: { defaults+: { custom+: { pointColor+: { fixed: value } } } } }, - }, - '#withPointSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPointSize(value): { fieldConfig+: { defaults+: { custom+: { pointSize: value } } } }, - '#withPointSizeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPointSizeMixin(value): { fieldConfig+: { defaults+: { custom+: { pointSize+: value } } } }, - pointSize+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { fieldConfig+: { defaults+: { custom+: { pointSize+: { field: value } } } } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withFixed(value): { fieldConfig+: { defaults+: { custom+: { pointSize+: { fixed: value } } } } }, - '#withMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMax(value): { fieldConfig+: { defaults+: { custom+: { pointSize+: { max: value } } } } }, - '#withMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMin(value): { fieldConfig+: { defaults+: { custom+: { pointSize+: { min: value } } } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['linear', 'quad'], name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { fieldConfig+: { defaults+: { custom+: { pointSize+: { mode: value } } } } }, - }, - '#withShow': { 'function': { args: [{ default: null, enums: ['points', 'lines', 'points+lines'], name: 'value', type: ['string'] }], help: '' } }, - withShow(value): { fieldConfig+: { defaults+: { custom+: { show: value } } } }, - }, - }, - }, - options+: - { - '#withLegend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLegend(value): { options+: { legend: value } }, - '#withLegendMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLegendMixin(value): { options+: { legend+: value } }, - legend+: - { - '#withAsTable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAsTable(value=true): { options+: { legend+: { asTable: value } } }, - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcs(value): { options+: { legend+: { calcs: (if std.isArray(value) - then value - else [value]) } } }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcsMixin(value): { options+: { legend+: { calcs+: (if std.isArray(value) - then value - else [value]) } } }, - '#withDisplayMode': { 'function': { args: [{ default: null, enums: ['list', 'table', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs\nNote: "hidden" needs to remain as an option for plugins compatibility' } }, - withDisplayMode(value): { options+: { legend+: { displayMode: value } } }, - '#withIsVisible': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withIsVisible(value=true): { options+: { legend+: { isVisible: value } } }, - '#withPlacement': { 'function': { args: [{ default: null, enums: ['bottom', 'right'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withPlacement(value): { options+: { legend+: { placement: value } } }, - '#withShowLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowLegend(value=true): { options+: { legend+: { showLegend: value } } }, - '#withSortBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withSortBy(value): { options+: { legend+: { sortBy: value } } }, - '#withSortDesc': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withSortDesc(value=true): { options+: { legend+: { sortDesc: value } } }, - '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withWidth(value): { options+: { legend+: { width: value } } }, - }, - '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltip(value): { options+: { tooltip: value } }, - '#withTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltipMixin(value): { options+: { tooltip+: value } }, - tooltip+: - { - '#withMaxHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxHeight(value): { options+: { tooltip+: { maxHeight: value } } }, - '#withMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxWidth(value): { options+: { tooltip+: { maxWidth: value } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['single', 'multi', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { options+: { tooltip+: { mode: value } } }, - '#withSort': { 'function': { args: [{ default: null, enums: ['asc', 'desc', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withSort(value): { options+: { tooltip+: { sort: value } } }, - }, - '#withDims': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Configuration for the Table/Auto mode' } }, - withDims(value): { options+: { dims: value } }, - '#withDimsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Configuration for the Table/Auto mode' } }, - withDimsMixin(value): { options+: { dims+: value } }, - dims+: - { - '#withExclude': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withExclude(value): { options+: { dims+: { exclude: (if std.isArray(value) - then value - else [value]) } } }, - '#withExcludeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withExcludeMixin(value): { options+: { dims+: { exclude+: (if std.isArray(value) - then value - else [value]) } } }, - '#withFrame': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withFrame(value): { options+: { dims+: { frame: value } } }, - '#withX': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withX(value): { options+: { dims+: { x: value } } }, - }, - '#withSeries': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Manual Mode' } }, - withSeries(value): { options+: { series: (if std.isArray(value) - then value - else [value]) } }, - '#withSeriesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Manual Mode' } }, - withSeriesMixin(value): { options+: { series+: (if std.isArray(value) - then value - else [value]) } }, - series+: - { - '#': { help: '', name: 'series' }, - '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFrom(value): { hideFrom: value }, - '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFromMixin(value): { hideFrom+: value }, - hideFrom+: - { - '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withLegend(value=true): { hideFrom+: { legend: value } }, - '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withTooltip(value=true): { hideFrom+: { tooltip: value } }, - '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withViz(value=true): { hideFrom+: { viz: value } }, - }, - '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisBorderShow(value=true): { axisBorderShow: value }, - '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisCenteredZero(value=true): { axisCenteredZero: value }, - '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisColorMode(value): { axisColorMode: value }, - '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisGridShow(value=true): { axisGridShow: value }, - '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withAxisLabel(value): { axisLabel: value }, - '#withAxisPlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'right', 'bottom', 'left', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisPlacement(value): { axisPlacement: value }, - '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMax(value): { axisSoftMax: value }, - '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMin(value): { axisSoftMin: value }, - '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisWidth(value): { axisWidth: value }, - '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistribution(value): { scaleDistribution: value }, - '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistributionMixin(value): { scaleDistribution+: value }, - scaleDistribution+: - { - '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLinearThreshold(value): { scaleDistribution+: { linearThreshold: value } }, - '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLog(value): { scaleDistribution+: { log: value } }, - '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withType(value): { scaleDistribution+: { type: value } }, - }, - '#withLabel': { 'function': { args: [{ default: null, enums: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withLabel(value): { label: value }, - '#withLabelValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLabelValue(value): { labelValue: value }, - '#withLabelValueMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLabelValueMixin(value): { labelValue+: value }, - labelValue+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { labelValue+: { field: value } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFixed(value): { labelValue+: { fixed: value } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['fixed', 'field', 'template'], name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { labelValue+: { mode: value } }, - }, - '#withLineColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLineColor(value): { lineColor: value }, - '#withLineColorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLineColorMixin(value): { lineColor+: value }, - lineColor+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { lineColor+: { field: value } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFixed(value): { lineColor+: { fixed: value } }, - }, - '#withLineStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyle(value): { lineStyle: value }, - '#withLineStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyleMixin(value): { lineStyle+: value }, - lineStyle+: - { - '#withDash': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDash(value): { lineStyle+: { dash: (if std.isArray(value) - then value - else [value]) } }, - '#withDashMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDashMixin(value): { lineStyle+: { dash+: (if std.isArray(value) - then value - else [value]) } }, - '#withFill': { 'function': { args: [{ default: null, enums: ['solid', 'dash', 'dot', 'square'], name: 'value', type: ['string'] }], help: '' } }, - withFill(value): { lineStyle+: { fill: value } }, - }, - '#withLineWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withLineWidth(value): { lineWidth: value }, - '#withPointColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPointColor(value): { pointColor: value }, - '#withPointColorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPointColorMixin(value): { pointColor+: value }, - pointColor+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { pointColor+: { field: value } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFixed(value): { pointColor+: { fixed: value } }, - }, - '#withPointSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPointSize(value): { pointSize: value }, - '#withPointSizeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPointSizeMixin(value): { pointSize+: value }, - pointSize+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { pointSize+: { field: value } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withFixed(value): { pointSize+: { fixed: value } }, - '#withMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMax(value): { pointSize+: { max: value } }, - '#withMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMin(value): { pointSize+: { min: value } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['linear', 'quad'], name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { pointSize+: { mode: value } }, - }, - '#withShow': { 'function': { args: [{ default: null, enums: ['points', 'lines', 'points+lines'], name: 'value', type: ['string'] }], help: '' } }, - withShow(value): { show: value }, - '#withFrame': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withFrame(value): { frame: value }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { name: value }, - '#withX': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withX(value): { x: value }, - '#withY': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withY(value): { y: value }, - }, - '#withSeriesMapping': { 'function': { args: [{ default: null, enums: ['auto', 'manual'], name: 'value', type: ['string'] }], help: 'Auto is "table" in the UI' } }, - withSeriesMapping(value): { options+: { seriesMapping: value } }, - }, -} -+ { panelOptions+: { '#withType':: {} } } diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/query/prometheus.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/query/prometheus.libsonnet deleted file mode 100644 index 0d56dec..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/query/prometheus.libsonnet +++ /dev/null @@ -1,38 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.query.prometheus', name: 'prometheus' }, - '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, - withDatasource(value): { datasource: value }, - '#withEditorMode': { 'function': { args: [{ default: null, enums: ['code', 'builder'], name: 'value', type: ['string'] }], help: '' } }, - withEditorMode(value): { editorMode: value }, - '#withExemplar': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Execute an additional query to identify interesting raw samples relevant for the given expr' } }, - withExemplar(value=true): { exemplar: value }, - '#withExpr': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The actual expression/query that will be evaluated by Prometheus' } }, - withExpr(value): { expr: value }, - '#withFormat': { 'function': { args: [{ default: null, enums: ['time_series', 'table', 'heatmap'], name: 'value', type: ['string'] }], help: '' } }, - withFormat(value): { format: value }, - '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'true if query is disabled (ie should not be returned to the dashboard)\nNote this does not always imply that the query should not be executed since\nthe results from a hidden query may be used as the input to other queries (SSE etc)' } }, - withHide(value=true): { hide: value }, - '#withInstant': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Returns only the latest value that Prometheus has scraped for the requested time series' } }, - withInstant(value=true): { instant: value }, - '#withIntervalFactor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '@deprecated Used to specify how many times to divide max data points by. We use max data points under query options\nSee https://github.com/grafana/grafana/issues/48081' } }, - withIntervalFactor(value): { intervalFactor: value }, - '#withLegendFormat': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Series name override or template. Ex. {{hostname}} will be replaced with label value for hostname' } }, - withLegendFormat(value): { legendFormat: value }, - '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specify the query flavor\nTODO make this required and give it a default' } }, - withQueryType(value): { queryType: value }, - '#withRange': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Returns a Range vector, comprised of a set of time series containing a range of data points over time for each time series' } }, - withRange(value=true): { range: value }, - '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A unique identifier for the query within the list of targets.\nIn server side expressions, the refId is used as a variable name to identify results.\nBy default, the UI will assign A->Z; however setting meaningful names may be useful.' } }, - withRefId(value): { refId: value }, - '#withScope': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withScope(value): { scope: value }, - '#withScopeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withScopeMixin(value): { scope+: value }, - scope+: - { - '#withMatchers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withMatchers(value): { scope+: { matchers: value } }, - }, -} -+ (import '../../custom/query/prometheus.libsonnet') diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/query/tempo.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/query/tempo.libsonnet deleted file mode 100644 index fc428f0..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/query/tempo.libsonnet +++ /dev/null @@ -1,89 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.query.tempo', name: 'tempo' }, - '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, - withDatasource(value): { datasource: value }, - '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'true if query is disabled (ie should not be returned to the dashboard)\nNote this does not always imply that the query should not be executed since\nthe results from a hidden query may be used as the input to other queries (SSE etc)' } }, - withHide(value=true): { hide: value }, - '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specify the query flavor\nTODO make this required and give it a default' } }, - withQueryType(value): { queryType: value }, - '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A unique identifier for the query within the list of targets.\nIn server side expressions, the refId is used as a variable name to identify results.\nBy default, the UI will assign A->Z; however setting meaningful names may be useful.' } }, - withRefId(value): { refId: value }, - '#withFilters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withFilters(value): { filters: (if std.isArray(value) - then value - else [value]) }, - '#withFiltersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withFiltersMixin(value): { filters+: (if std.isArray(value) - then value - else [value]) }, - filters+: - { - '#': { help: '', name: 'filters' }, - '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Uniquely identify the filter, will not be used in the query generation' } }, - withId(value): { id: value }, - '#withOperator': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The operator that connects the tag to the value, for example: =, >, !=, =~' } }, - withOperator(value): { operator: value }, - '#withScope': { 'function': { args: [{ default: null, enums: ['intrinsic', 'unscoped', 'resource', 'span'], name: 'value', type: ['string'] }], help: 'static fields are pre-set in the UI, dynamic fields are added by the user' } }, - withScope(value): { scope: value }, - '#withTag': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The tag for the search filter, for example: .http.status_code, .service.name, status' } }, - withTag(value): { tag: value }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'array'] }], help: 'The value for the search filter' } }, - withValue(value): { value: value }, - '#withValueMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'array'] }], help: 'The value for the search filter' } }, - withValueMixin(value): { value+: value }, - '#withValueType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The type of the value, used for example to check whether we need to wrap the value in quotes when generating the query' } }, - withValueType(value): { valueType: value }, - }, - '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Filters that are used to query the metrics summary' } }, - withGroupBy(value): { groupBy: (if std.isArray(value) - then value - else [value]) }, - '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Filters that are used to query the metrics summary' } }, - withGroupByMixin(value): { groupBy+: (if std.isArray(value) - then value - else [value]) }, - groupBy+: - { - '#': { help: '', name: 'groupBy' }, - '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Uniquely identify the filter, will not be used in the query generation' } }, - withId(value): { id: value }, - '#withOperator': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The operator that connects the tag to the value, for example: =, >, !=, =~' } }, - withOperator(value): { operator: value }, - '#withScope': { 'function': { args: [{ default: null, enums: ['intrinsic', 'unscoped', 'resource', 'span'], name: 'value', type: ['string'] }], help: 'static fields are pre-set in the UI, dynamic fields are added by the user' } }, - withScope(value): { scope: value }, - '#withTag': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The tag for the search filter, for example: .http.status_code, .service.name, status' } }, - withTag(value): { tag: value }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'array'] }], help: 'The value for the search filter' } }, - withValue(value): { value: value }, - '#withValueMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'array'] }], help: 'The value for the search filter' } }, - withValueMixin(value): { value+: value }, - '#withValueType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The type of the value, used for example to check whether we need to wrap the value in quotes when generating the query' } }, - withValueType(value): { valueType: value }, - }, - '#withLimit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Defines the maximum number of traces that are returned from Tempo' } }, - withLimit(value): { limit: value }, - '#withMaxDuration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '@deprecated Define the maximum duration to select traces. Use duration format, for example: 1.2s, 100ms' } }, - withMaxDuration(value): { maxDuration: value }, - '#withMinDuration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '@deprecated Define the minimum duration to select traces. Use duration format, for example: 1.2s, 100ms' } }, - withMinDuration(value): { minDuration: value }, - '#withQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'TraceQL query or trace ID' } }, - withQuery(value): { query: value }, - '#withSearch': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '@deprecated Logfmt query to filter traces by their tags. Example: http.status_code=200 error=true' } }, - withSearch(value): { search: value }, - '#withServiceMapIncludeNamespace': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Use service.namespace in addition to service.name to uniquely identify a service.' } }, - withServiceMapIncludeNamespace(value=true): { serviceMapIncludeNamespace: value }, - '#withServiceMapQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'array'] }], help: 'Filters to be included in a PromQL query to select data for the service graph. Example: {client="app",service="app"}. Providing multiple values will produce union of results for each filter, using PromQL OR operator internally.' } }, - withServiceMapQuery(value): { serviceMapQuery: value }, - '#withServiceMapQueryMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'array'] }], help: 'Filters to be included in a PromQL query to select data for the service graph. Example: {client="app",service="app"}. Providing multiple values will produce union of results for each filter, using PromQL OR operator internally.' } }, - withServiceMapQueryMixin(value): { serviceMapQuery+: value }, - '#withServiceName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '@deprecated Query traces by service name' } }, - withServiceName(value): { serviceName: value }, - '#withSpanName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '@deprecated Query traces by span name' } }, - withSpanName(value): { spanName: value }, - '#withSpss': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Defines the maximum number of spans per spanset that are returned from Tempo' } }, - withSpss(value): { spss: value }, - '#withTableType': { 'function': { args: [{ default: null, enums: ['traces', 'spans'], name: 'value', type: ['string'] }], help: 'The type of the table that is used to display the search results' } }, - withTableType(value): { tableType: value }, -} -+ (import '../../custom/query/tempo.libsonnet') diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/alerting/muteTiming/interval/times.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/alerting/muteTiming/interval/times.md deleted file mode 100644 index 43f7b3f..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/alerting/muteTiming/interval/times.md +++ /dev/null @@ -1,32 +0,0 @@ -# times - - - -## Index - -* [`fn withFrom(value)`](#fn-withfrom) -* [`fn withTo(value)`](#fn-withto) - -## Fields - -### fn withFrom - -```jsonnet -withFrom(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -### fn withTo - -```jsonnet -withTo(value) -``` - -PARAMETERS: - -* **value** (`string`) - diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/librarypanel.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/librarypanel.md deleted file mode 100644 index c4244ce..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/librarypanel.md +++ /dev/null @@ -1,334 +0,0 @@ -# librarypanel - -grafonnet.librarypanel - -## Index - -* [`fn withDescription(value)`](#fn-withdescription) -* [`fn withFolderUid(value)`](#fn-withfolderuid) -* [`fn withMeta(value)`](#fn-withmeta) -* [`fn withMetaMixin(value)`](#fn-withmetamixin) -* [`fn withModel(value)`](#fn-withmodel) -* [`fn withModelMixin(value)`](#fn-withmodelmixin) -* [`fn withName(value)`](#fn-withname) -* [`fn withSchemaVersion(value)`](#fn-withschemaversion) -* [`fn withType(value)`](#fn-withtype) -* [`fn withUid(value)`](#fn-withuid) -* [`fn withVersion(value)`](#fn-withversion) -* [`obj meta`](#obj-meta) - * [`fn withConnectedDashboards(value)`](#fn-metawithconnecteddashboards) - * [`fn withCreated(value)`](#fn-metawithcreated) - * [`fn withCreatedBy(value)`](#fn-metawithcreatedby) - * [`fn withCreatedByMixin(value)`](#fn-metawithcreatedbymixin) - * [`fn withFolderName(value)`](#fn-metawithfoldername) - * [`fn withFolderUid(value)`](#fn-metawithfolderuid) - * [`fn withUpdated(value)`](#fn-metawithupdated) - * [`fn withUpdatedBy(value)`](#fn-metawithupdatedby) - * [`fn withUpdatedByMixin(value)`](#fn-metawithupdatedbymixin) - * [`obj createdBy`](#obj-metacreatedby) - * [`fn withAvatarUrl(value)`](#fn-metacreatedbywithavatarurl) - * [`fn withId(value)`](#fn-metacreatedbywithid) - * [`fn withName(value)`](#fn-metacreatedbywithname) - * [`obj updatedBy`](#obj-metaupdatedby) - * [`fn withAvatarUrl(value)`](#fn-metaupdatedbywithavatarurl) - * [`fn withId(value)`](#fn-metaupdatedbywithid) - * [`fn withName(value)`](#fn-metaupdatedbywithname) - -## Fields - -### fn withDescription - -```jsonnet -withDescription(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Panel description -### fn withFolderUid - -```jsonnet -withFolderUid(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Folder UID -### fn withMeta - -```jsonnet -withMeta(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -### fn withMetaMixin - -```jsonnet -withMetaMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -### fn withModel - -```jsonnet -withModel(value) -``` - -PARAMETERS: - -* **value** (`object`) - -TODO: should be the same panel schema defined in dashboard -Typescript: Omit; -### fn withModelMixin - -```jsonnet -withModelMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -TODO: should be the same panel schema defined in dashboard -Typescript: Omit; -### fn withName - -```jsonnet -withName(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Panel name (also saved in the model) -### fn withSchemaVersion - -```jsonnet -withSchemaVersion(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Dashboard version when this was saved (zero if unknown) -### fn withType - -```jsonnet -withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - -The panel type (from inside the model) -### fn withUid - -```jsonnet -withUid(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Library element UID -### fn withVersion - -```jsonnet -withVersion(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -panel version, incremented each time the dashboard is updated. -### obj meta - - -#### fn meta.withConnectedDashboards - -```jsonnet -meta.withConnectedDashboards(value) -``` - -PARAMETERS: - -* **value** (`integer`) - - -#### fn meta.withCreated - -```jsonnet -meta.withCreated(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### fn meta.withCreatedBy - -```jsonnet -meta.withCreatedBy(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn meta.withCreatedByMixin - -```jsonnet -meta.withCreatedByMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn meta.withFolderName - -```jsonnet -meta.withFolderName(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### fn meta.withFolderUid - -```jsonnet -meta.withFolderUid(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### fn meta.withUpdated - -```jsonnet -meta.withUpdated(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### fn meta.withUpdatedBy - -```jsonnet -meta.withUpdatedBy(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn meta.withUpdatedByMixin - -```jsonnet -meta.withUpdatedByMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### obj meta.createdBy - - -##### fn meta.createdBy.withAvatarUrl - -```jsonnet -meta.createdBy.withAvatarUrl(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -##### fn meta.createdBy.withId - -```jsonnet -meta.createdBy.withId(value) -``` - -PARAMETERS: - -* **value** (`integer`) - - -##### fn meta.createdBy.withName - -```jsonnet -meta.createdBy.withName(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj meta.updatedBy - - -##### fn meta.updatedBy.withAvatarUrl - -```jsonnet -meta.updatedBy.withAvatarUrl(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -##### fn meta.updatedBy.withId - -```jsonnet -meta.updatedBy.withId(value) -``` - -PARAMETERS: - -* **value** (`integer`) - - -##### fn meta.updatedBy.withName - -```jsonnet -meta.updatedBy.withName(value) -``` - -PARAMETERS: - -* **value** (`string`) - diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/alertGroups/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/alertGroups/index.md deleted file mode 100644 index 41e6f0d..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/alertGroups/index.md +++ /dev/null @@ -1,646 +0,0 @@ -# alertGroups - -grafonnet.panel.alertGroups - -## Subpackages - -* [panelOptions.link](panelOptions/link.md) -* [queryOptions.transformation](queryOptions/transformation.md) -* [standardOptions.mapping](standardOptions/mapping.md) -* [standardOptions.override](standardOptions/override.md) -* [standardOptions.threshold.step](standardOptions/threshold/step.md) - -## Index - -* [`fn new(title)`](#fn-new) -* [`obj libraryPanel`](#obj-librarypanel) - * [`fn withName(value)`](#fn-librarypanelwithname) - * [`fn withUid(value)`](#fn-librarypanelwithuid) -* [`obj options`](#obj-options) - * [`fn withAlertmanager(value)`](#fn-optionswithalertmanager) - * [`fn withExpandAll(value=true)`](#fn-optionswithexpandall) - * [`fn withLabels(value)`](#fn-optionswithlabels) -* [`obj panelOptions`](#obj-paneloptions) - * [`fn withDescription(value)`](#fn-paneloptionswithdescription) - * [`fn withGridPos(h="null", w="null", x="null", y="null")`](#fn-paneloptionswithgridpos) - * [`fn withLinks(value)`](#fn-paneloptionswithlinks) - * [`fn withLinksMixin(value)`](#fn-paneloptionswithlinksmixin) - * [`fn withRepeat(value)`](#fn-paneloptionswithrepeat) - * [`fn withRepeatDirection(value="h")`](#fn-paneloptionswithrepeatdirection) - * [`fn withTitle(value)`](#fn-paneloptionswithtitle) - * [`fn withTransparent(value=true)`](#fn-paneloptionswithtransparent) -* [`obj queryOptions`](#obj-queryoptions) - * [`fn withDatasource(type, uid)`](#fn-queryoptionswithdatasource) - * [`fn withDatasourceMixin(value)`](#fn-queryoptionswithdatasourcemixin) - * [`fn withInterval(value)`](#fn-queryoptionswithinterval) - * [`fn withMaxDataPoints(value)`](#fn-queryoptionswithmaxdatapoints) - * [`fn withTargets(value)`](#fn-queryoptionswithtargets) - * [`fn withTargetsMixin(value)`](#fn-queryoptionswithtargetsmixin) - * [`fn withTimeFrom(value)`](#fn-queryoptionswithtimefrom) - * [`fn withTimeShift(value)`](#fn-queryoptionswithtimeshift) - * [`fn withTransformations(value)`](#fn-queryoptionswithtransformations) - * [`fn withTransformationsMixin(value)`](#fn-queryoptionswithtransformationsmixin) -* [`obj standardOptions`](#obj-standardoptions) - * [`fn withDecimals(value)`](#fn-standardoptionswithdecimals) - * [`fn withDisplayName(value)`](#fn-standardoptionswithdisplayname) - * [`fn withFilterable(value=true)`](#fn-standardoptionswithfilterable) - * [`fn withLinks(value)`](#fn-standardoptionswithlinks) - * [`fn withLinksMixin(value)`](#fn-standardoptionswithlinksmixin) - * [`fn withMappings(value)`](#fn-standardoptionswithmappings) - * [`fn withMappingsMixin(value)`](#fn-standardoptionswithmappingsmixin) - * [`fn withMax(value)`](#fn-standardoptionswithmax) - * [`fn withMin(value)`](#fn-standardoptionswithmin) - * [`fn withNoValue(value)`](#fn-standardoptionswithnovalue) - * [`fn withOverrides(value)`](#fn-standardoptionswithoverrides) - * [`fn withOverridesMixin(value)`](#fn-standardoptionswithoverridesmixin) - * [`fn withPath(value)`](#fn-standardoptionswithpath) - * [`fn withUnit(value)`](#fn-standardoptionswithunit) - * [`obj color`](#obj-standardoptionscolor) - * [`fn withFixedColor(value)`](#fn-standardoptionscolorwithfixedcolor) - * [`fn withMode(value)`](#fn-standardoptionscolorwithmode) - * [`fn withSeriesBy(value)`](#fn-standardoptionscolorwithseriesby) - * [`obj thresholds`](#obj-standardoptionsthresholds) - * [`fn withMode(value)`](#fn-standardoptionsthresholdswithmode) - * [`fn withSteps(value)`](#fn-standardoptionsthresholdswithsteps) - * [`fn withStepsMixin(value)`](#fn-standardoptionsthresholdswithstepsmixin) - -## Fields - -### fn new - -```jsonnet -new(title) -``` - -PARAMETERS: - -* **title** (`string`) - -Creates a new alertGroups panel with a title. -### obj libraryPanel - - -#### fn libraryPanel.withName - -```jsonnet -libraryPanel.withName(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Library panel name -#### fn libraryPanel.withUid - -```jsonnet -libraryPanel.withUid(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Library panel uid -### obj options - - -#### fn options.withAlertmanager - -```jsonnet -options.withAlertmanager(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Name of the alertmanager used as a source for alerts -#### fn options.withExpandAll - -```jsonnet -options.withExpandAll(value=true) -``` - -PARAMETERS: - -* **value** (`boolean`) - - default value: `true` - -Expand all alert groups by default -#### fn options.withLabels - -```jsonnet -options.withLabels(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Comma-separated list of values used to filter alert results -### obj panelOptions - - -#### fn panelOptions.withDescription - -```jsonnet -panelOptions.withDescription(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Panel description. -#### fn panelOptions.withGridPos - -```jsonnet -panelOptions.withGridPos(h="null", w="null", x="null", y="null") -``` - -PARAMETERS: - -* **h** (`number`) - - default value: `"null"` -* **w** (`number`) - - default value: `"null"` -* **x** (`number`) - - default value: `"null"` -* **y** (`number`) - - default value: `"null"` - -`withGridPos` configures the height, width and xy coordinates of the panel. Also see `grafonnet.util.grid` for helper functions to calculate these fields. - -All arguments default to `null`, which means they will remain unchanged or unset. - -#### fn panelOptions.withLinks - -```jsonnet -panelOptions.withLinks(value) -``` - -PARAMETERS: - -* **value** (`array`) - -Panel links. -#### fn panelOptions.withLinksMixin - -```jsonnet -panelOptions.withLinksMixin(value) -``` - -PARAMETERS: - -* **value** (`array`) - -Panel links. -#### fn panelOptions.withRepeat - -```jsonnet -panelOptions.withRepeat(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Name of template variable to repeat for. -#### fn panelOptions.withRepeatDirection - -```jsonnet -panelOptions.withRepeatDirection(value="h") -``` - -PARAMETERS: - -* **value** (`string`) - - default value: `"h"` - - valid values: `"h"`, `"v"` - -Direction to repeat in if 'repeat' is set. -`h` for horizontal, `v` for vertical. -#### fn panelOptions.withTitle - -```jsonnet -panelOptions.withTitle(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Panel title. -#### fn panelOptions.withTransparent - -```jsonnet -panelOptions.withTransparent(value=true) -``` - -PARAMETERS: - -* **value** (`boolean`) - - default value: `true` - -Whether to display the panel without a background. -### obj queryOptions - - -#### fn queryOptions.withDatasource - -```jsonnet -queryOptions.withDatasource(type, uid) -``` - -PARAMETERS: - -* **type** (`string`) -* **uid** (`string`) - -`withDatasource` sets the datasource for all queries in a panel. - -The default datasource for a panel is set to 'Mixed datasource' so panels can be datasource agnostic, which is a lot more interesting from a reusability standpoint. Note that this requires query targets to explicitly set datasource for the same reason. - -#### fn queryOptions.withDatasourceMixin - -```jsonnet -queryOptions.withDatasourceMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Ref to a DataSource instance -#### fn queryOptions.withInterval - -```jsonnet -queryOptions.withInterval(value) -``` - -PARAMETERS: - -* **value** (`string`) - -The min time interval setting defines a lower limit for the $__interval and $__interval_ms variables. -This value must be formatted as a number followed by a valid time -identifier like: "40s", "3d", etc. -See: https://grafana.com/docs/grafana/latest/panels-visualizations/query-transform-data/#query-options -#### fn queryOptions.withMaxDataPoints - -```jsonnet -queryOptions.withMaxDataPoints(value) -``` - -PARAMETERS: - -* **value** (`number`) - -The maximum number of data points that the panel queries are retrieving. -#### fn queryOptions.withTargets - -```jsonnet -queryOptions.withTargets(value) -``` - -PARAMETERS: - -* **value** (`array`) - -Depends on the panel plugin. See the plugin documentation for details. -#### fn queryOptions.withTargetsMixin - -```jsonnet -queryOptions.withTargetsMixin(value) -``` - -PARAMETERS: - -* **value** (`array`) - -Depends on the panel plugin. See the plugin documentation for details. -#### fn queryOptions.withTimeFrom - -```jsonnet -queryOptions.withTimeFrom(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Overrides the relative time range for individual panels, -which causes them to be different than what is selected in -the dashboard time picker in the top-right corner of the dashboard. You can use this to show metrics from different -time periods or days on the same dashboard. -The value is formatted as time operation like: `now-5m` (Last 5 minutes), `now/d` (the day so far), -`now-5d/d`(Last 5 days), `now/w` (This week so far), `now-2y/y` (Last 2 years). -Note: Panel time overrides have no effect when the dashboard’s time range is absolute. -See: https://grafana.com/docs/grafana/latest/panels-visualizations/query-transform-data/#query-options -#### fn queryOptions.withTimeShift - -```jsonnet -queryOptions.withTimeShift(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Overrides the time range for individual panels by shifting its start and end relative to the time picker. -For example, you can shift the time range for the panel to be two hours earlier than the dashboard time picker setting `2h`. -Note: Panel time overrides have no effect when the dashboard’s time range is absolute. -See: https://grafana.com/docs/grafana/latest/panels-visualizations/query-transform-data/#query-options -#### fn queryOptions.withTransformations - -```jsonnet -queryOptions.withTransformations(value) -``` - -PARAMETERS: - -* **value** (`array`) - -List of transformations that are applied to the panel data before rendering. -When there are multiple transformations, Grafana applies them in the order they are listed. -Each transformation creates a result set that then passes on to the next transformation in the processing pipeline. -#### fn queryOptions.withTransformationsMixin - -```jsonnet -queryOptions.withTransformationsMixin(value) -``` - -PARAMETERS: - -* **value** (`array`) - -List of transformations that are applied to the panel data before rendering. -When there are multiple transformations, Grafana applies them in the order they are listed. -Each transformation creates a result set that then passes on to the next transformation in the processing pipeline. -### obj standardOptions - - -#### fn standardOptions.withDecimals - -```jsonnet -standardOptions.withDecimals(value) -``` - -PARAMETERS: - -* **value** (`number`) - -Specify the number of decimals Grafana includes in the rendered value. -If you leave this field blank, Grafana automatically truncates the number of decimals based on the value. -For example 1.1234 will display as 1.12 and 100.456 will display as 100. -To display all decimals, set the unit to `String`. -#### fn standardOptions.withDisplayName - -```jsonnet -standardOptions.withDisplayName(value) -``` - -PARAMETERS: - -* **value** (`string`) - -The display value for this field. This supports template variables blank is auto -#### fn standardOptions.withFilterable - -```jsonnet -standardOptions.withFilterable(value=true) -``` - -PARAMETERS: - -* **value** (`boolean`) - - default value: `true` - -True if data source field supports ad-hoc filters -#### fn standardOptions.withLinks - -```jsonnet -standardOptions.withLinks(value) -``` - -PARAMETERS: - -* **value** (`array`) - -The behavior when clicking on a result -#### fn standardOptions.withLinksMixin - -```jsonnet -standardOptions.withLinksMixin(value) -``` - -PARAMETERS: - -* **value** (`array`) - -The behavior when clicking on a result -#### fn standardOptions.withMappings - -```jsonnet -standardOptions.withMappings(value) -``` - -PARAMETERS: - -* **value** (`array`) - -Convert input values into a display string -#### fn standardOptions.withMappingsMixin - -```jsonnet -standardOptions.withMappingsMixin(value) -``` - -PARAMETERS: - -* **value** (`array`) - -Convert input values into a display string -#### fn standardOptions.withMax - -```jsonnet -standardOptions.withMax(value) -``` - -PARAMETERS: - -* **value** (`number`) - -The maximum value used in percentage threshold calculations. Leave blank for auto calculation based on all series and fields. -#### fn standardOptions.withMin - -```jsonnet -standardOptions.withMin(value) -``` - -PARAMETERS: - -* **value** (`number`) - -The minimum value used in percentage threshold calculations. Leave blank for auto calculation based on all series and fields. -#### fn standardOptions.withNoValue - -```jsonnet -standardOptions.withNoValue(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Alternative to empty string -#### fn standardOptions.withOverrides - -```jsonnet -standardOptions.withOverrides(value) -``` - -PARAMETERS: - -* **value** (`array`) - -Overrides are the options applied to specific fields overriding the defaults. -#### fn standardOptions.withOverridesMixin - -```jsonnet -standardOptions.withOverridesMixin(value) -``` - -PARAMETERS: - -* **value** (`array`) - -Overrides are the options applied to specific fields overriding the defaults. -#### fn standardOptions.withPath - -```jsonnet -standardOptions.withPath(value) -``` - -PARAMETERS: - -* **value** (`string`) - -An explicit path to the field in the datasource. When the frame meta includes a path, -This will default to `${frame.meta.path}/${field.name} - -When defined, this value can be used as an identifier within the datasource scope, and -may be used to update the results -#### fn standardOptions.withUnit - -```jsonnet -standardOptions.withUnit(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Unit a field should use. The unit you select is applied to all fields except time. -You can use the units ID availables in Grafana or a custom unit. -Available units in Grafana: https://github.com/grafana/grafana/blob/main/packages/grafana-data/src/valueFormats/categories.ts -As custom unit, you can use the following formats: -`suffix:` for custom unit that should go after value. -`prefix:` for custom unit that should go before value. -`time:` For custom date time formats type for example `time:YYYY-MM-DD`. -`si:` for custom SI units. For example: `si: mF`. This one is a bit more advanced as you can specify both a unit and the source data scale. So if your source data is represented as milli (thousands of) something prefix the unit with that SI scale character. -`count:` for a custom count unit. -`currency:` for custom a currency unit. -#### obj standardOptions.color - - -##### fn standardOptions.color.withFixedColor - -```jsonnet -standardOptions.color.withFixedColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -The fixed color value for fixed or shades color modes. -##### fn standardOptions.color.withMode - -```jsonnet -standardOptions.color.withMode(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"thresholds"`, `"palette-classic"`, `"palette-classic-by-name"`, `"continuous-GrYlRd"`, `"continuous-RdYlGr"`, `"continuous-BlYlRd"`, `"continuous-YlRd"`, `"continuous-BlPu"`, `"continuous-YlBl"`, `"continuous-blues"`, `"continuous-reds"`, `"continuous-greens"`, `"continuous-purples"`, `"fixed"`, `"shades"` - -Color mode for a field. You can specify a single color, or select a continuous (gradient) color schemes, based on a value. -Continuous color interpolates a color using the percentage of a value relative to min and max. -Accepted values are: -`thresholds`: From thresholds. Informs Grafana to take the color from the matching threshold -`palette-classic`: Classic palette. Grafana will assign color by looking up a color in a palette by series index. Useful for Graphs and pie charts and other categorical data visualizations -`palette-classic-by-name`: Classic palette (by name). Grafana will assign color by looking up a color in a palette by series name. Useful for Graphs and pie charts and other categorical data visualizations -`continuous-GrYlRd`: ontinuous Green-Yellow-Red palette mode -`continuous-RdYlGr`: Continuous Red-Yellow-Green palette mode -`continuous-BlYlRd`: Continuous Blue-Yellow-Red palette mode -`continuous-YlRd`: Continuous Yellow-Red palette mode -`continuous-BlPu`: Continuous Blue-Purple palette mode -`continuous-YlBl`: Continuous Yellow-Blue palette mode -`continuous-blues`: Continuous Blue palette mode -`continuous-reds`: Continuous Red palette mode -`continuous-greens`: Continuous Green palette mode -`continuous-purples`: Continuous Purple palette mode -`shades`: Shades of a single color. Specify a single color, useful in an override rule. -`fixed`: Fixed color mode. Specify a single color, useful in an override rule. -##### fn standardOptions.color.withSeriesBy - -```jsonnet -standardOptions.color.withSeriesBy(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"min"`, `"max"`, `"last"` - -Defines how to assign a series color from "by value" color schemes. For example for an aggregated data points like a timeseries, the color can be assigned by the min, max or last value. -#### obj standardOptions.thresholds - - -##### fn standardOptions.thresholds.withMode - -```jsonnet -standardOptions.thresholds.withMode(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"absolute"`, `"percentage"` - -Thresholds can either be `absolute` (specific number) or `percentage` (relative to min or max, it will be values between 0 and 1). -##### fn standardOptions.thresholds.withSteps - -```jsonnet -standardOptions.thresholds.withSteps(value) -``` - -PARAMETERS: - -* **value** (`array`) - -Must be sorted by 'value', first value is always -Infinity -##### fn standardOptions.thresholds.withStepsMixin - -```jsonnet -standardOptions.thresholds.withStepsMixin(value) -``` - -PARAMETERS: - -* **value** (`array`) - -Must be sorted by 'value', first value is always -Infinity \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barGauge/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barGauge/queryOptions/transformation.md deleted file mode 100644 index 17a3d45..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barGauge/queryOptions/transformation.md +++ /dev/null @@ -1,115 +0,0 @@ -# transformation - - - -## Index - -* [`fn withDisabled(value=true)`](#fn-withdisabled) -* [`fn withFilter(value)`](#fn-withfilter) -* [`fn withFilterMixin(value)`](#fn-withfiltermixin) -* [`fn withId(value)`](#fn-withid) -* [`fn withOptions(value)`](#fn-withoptions) -* [`fn withTopic(value)`](#fn-withtopic) -* [`obj filter`](#obj-filter) - * [`fn withId(value="")`](#fn-filterwithid) - * [`fn withOptions(value)`](#fn-filterwithoptions) - -## Fields - -### fn withDisabled - -```jsonnet -withDisabled(value=true) -``` - -PARAMETERS: - -* **value** (`boolean`) - - default value: `true` - -Disabled transformations are skipped -### fn withFilter - -```jsonnet -withFilter(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withFilterMixin - -```jsonnet -withFilterMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withId - -```jsonnet -withId(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Unique identifier of transformer -### fn withOptions - -```jsonnet -withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Options to be passed to the transformer -Valid options depend on the transformer id -### fn withTopic - -```jsonnet -withTopic(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"series"`, `"annotations"`, `"alertStates"` - -Where to pull DataFrames from as input to transformation -### obj filter - - -#### fn filter.withId - -```jsonnet -filter.withId(value="") -``` - -PARAMETERS: - -* **value** (`string`) - - default value: `""` - -The matcher id. This is used to find the matcher implementation from registry. -#### fn filter.withOptions - -```jsonnet -filter.withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barGauge/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barGauge/standardOptions/mapping.md deleted file mode 100644 index 7f10ced..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barGauge/standardOptions/mapping.md +++ /dev/null @@ -1,457 +0,0 @@ -# mapping - - - -## Index - -* [`obj RangeMap`](#obj-rangemap) - * [`fn withOptions(value)`](#fn-rangemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) - * [`fn withType(value)`](#fn-rangemapwithtype) - * [`obj options`](#obj-rangemapoptions) - * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) - * [`fn withResult(value)`](#fn-rangemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) - * [`fn withTo(value)`](#fn-rangemapoptionswithto) - * [`obj result`](#obj-rangemapoptionsresult) - * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) -* [`obj RegexMap`](#obj-regexmap) - * [`fn withOptions(value)`](#fn-regexmapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) - * [`fn withType(value)`](#fn-regexmapwithtype) - * [`obj options`](#obj-regexmapoptions) - * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) - * [`fn withResult(value)`](#fn-regexmapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) - * [`obj result`](#obj-regexmapoptionsresult) - * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) - * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) -* [`obj SpecialValueMap`](#obj-specialvaluemap) - * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) - * [`fn withType(value)`](#fn-specialvaluemapwithtype) - * [`obj options`](#obj-specialvaluemapoptions) - * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) - * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) - * [`obj result`](#obj-specialvaluemapoptionsresult) - * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) -* [`obj ValueMap`](#obj-valuemap) - * [`fn withOptions(value)`](#fn-valuemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) - * [`fn withType(value)`](#fn-valuemapwithtype) - -## Fields - -### obj RangeMap - - -#### fn RangeMap.withOptions - -```jsonnet -RangeMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withOptionsMixin - -```jsonnet -RangeMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withType - -```jsonnet -RangeMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RangeMap.options - - -##### fn RangeMap.options.withFrom - -```jsonnet -RangeMap.options.withFrom(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Min value of the range. It can be null which means -Infinity -##### fn RangeMap.options.withResult - -```jsonnet -RangeMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withResultMixin - -```jsonnet -RangeMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withTo - -```jsonnet -RangeMap.options.withTo(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Max value of the range. It can be null which means +Infinity -##### obj RangeMap.options.result - - -###### fn RangeMap.options.result.withColor - -```jsonnet -RangeMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RangeMap.options.result.withIcon - -```jsonnet -RangeMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RangeMap.options.result.withIndex - -```jsonnet -RangeMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RangeMap.options.result.withText - -```jsonnet -RangeMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj RegexMap - - -#### fn RegexMap.withOptions - -```jsonnet -RegexMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withOptionsMixin - -```jsonnet -RegexMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withType - -```jsonnet -RegexMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RegexMap.options - - -##### fn RegexMap.options.withPattern - -```jsonnet -RegexMap.options.withPattern(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Regular expression to match against -##### fn RegexMap.options.withResult - -```jsonnet -RegexMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RegexMap.options.withResultMixin - -```jsonnet -RegexMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj RegexMap.options.result - - -###### fn RegexMap.options.result.withColor - -```jsonnet -RegexMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RegexMap.options.result.withIcon - -```jsonnet -RegexMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RegexMap.options.result.withIndex - -```jsonnet -RegexMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RegexMap.options.result.withText - -```jsonnet -RegexMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj SpecialValueMap - - -#### fn SpecialValueMap.withOptions - -```jsonnet -SpecialValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withOptionsMixin - -```jsonnet -SpecialValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withType - -```jsonnet -SpecialValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj SpecialValueMap.options - - -##### fn SpecialValueMap.options.withMatch - -```jsonnet -SpecialValueMap.options.withMatch(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` - -Special value types supported by the `SpecialValueMap` -##### fn SpecialValueMap.options.withResult - -```jsonnet -SpecialValueMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn SpecialValueMap.options.withResultMixin - -```jsonnet -SpecialValueMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj SpecialValueMap.options.result - - -###### fn SpecialValueMap.options.result.withColor - -```jsonnet -SpecialValueMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn SpecialValueMap.options.result.withIcon - -```jsonnet -SpecialValueMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn SpecialValueMap.options.result.withIndex - -```jsonnet -SpecialValueMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn SpecialValueMap.options.result.withText - -```jsonnet -SpecialValueMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj ValueMap - - -#### fn ValueMap.withOptions - -```jsonnet -ValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withOptionsMixin - -```jsonnet -ValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withType - -```jsonnet -ValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barGauge/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barGauge/standardOptions/threshold/step.md deleted file mode 100644 index 5212a21..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barGauge/standardOptions/threshold/step.md +++ /dev/null @@ -1,34 +0,0 @@ -# threshold.step - - - -## Index - -* [`fn withColor(value)`](#fn-withcolor) -* [`fn withValue(value)`](#fn-withvalue) - -## Fields - -### fn withColor - -```jsonnet -withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. -### fn withValue - -```jsonnet -withValue(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. -Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/candlestick/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/candlestick/queryOptions/transformation.md deleted file mode 100644 index 17a3d45..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/candlestick/queryOptions/transformation.md +++ /dev/null @@ -1,115 +0,0 @@ -# transformation - - - -## Index - -* [`fn withDisabled(value=true)`](#fn-withdisabled) -* [`fn withFilter(value)`](#fn-withfilter) -* [`fn withFilterMixin(value)`](#fn-withfiltermixin) -* [`fn withId(value)`](#fn-withid) -* [`fn withOptions(value)`](#fn-withoptions) -* [`fn withTopic(value)`](#fn-withtopic) -* [`obj filter`](#obj-filter) - * [`fn withId(value="")`](#fn-filterwithid) - * [`fn withOptions(value)`](#fn-filterwithoptions) - -## Fields - -### fn withDisabled - -```jsonnet -withDisabled(value=true) -``` - -PARAMETERS: - -* **value** (`boolean`) - - default value: `true` - -Disabled transformations are skipped -### fn withFilter - -```jsonnet -withFilter(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withFilterMixin - -```jsonnet -withFilterMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withId - -```jsonnet -withId(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Unique identifier of transformer -### fn withOptions - -```jsonnet -withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Options to be passed to the transformer -Valid options depend on the transformer id -### fn withTopic - -```jsonnet -withTopic(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"series"`, `"annotations"`, `"alertStates"` - -Where to pull DataFrames from as input to transformation -### obj filter - - -#### fn filter.withId - -```jsonnet -filter.withId(value="") -``` - -PARAMETERS: - -* **value** (`string`) - - default value: `""` - -The matcher id. This is used to find the matcher implementation from registry. -#### fn filter.withOptions - -```jsonnet -filter.withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/candlestick/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/candlestick/standardOptions/mapping.md deleted file mode 100644 index 7f10ced..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/candlestick/standardOptions/mapping.md +++ /dev/null @@ -1,457 +0,0 @@ -# mapping - - - -## Index - -* [`obj RangeMap`](#obj-rangemap) - * [`fn withOptions(value)`](#fn-rangemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) - * [`fn withType(value)`](#fn-rangemapwithtype) - * [`obj options`](#obj-rangemapoptions) - * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) - * [`fn withResult(value)`](#fn-rangemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) - * [`fn withTo(value)`](#fn-rangemapoptionswithto) - * [`obj result`](#obj-rangemapoptionsresult) - * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) -* [`obj RegexMap`](#obj-regexmap) - * [`fn withOptions(value)`](#fn-regexmapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) - * [`fn withType(value)`](#fn-regexmapwithtype) - * [`obj options`](#obj-regexmapoptions) - * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) - * [`fn withResult(value)`](#fn-regexmapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) - * [`obj result`](#obj-regexmapoptionsresult) - * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) - * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) -* [`obj SpecialValueMap`](#obj-specialvaluemap) - * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) - * [`fn withType(value)`](#fn-specialvaluemapwithtype) - * [`obj options`](#obj-specialvaluemapoptions) - * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) - * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) - * [`obj result`](#obj-specialvaluemapoptionsresult) - * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) -* [`obj ValueMap`](#obj-valuemap) - * [`fn withOptions(value)`](#fn-valuemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) - * [`fn withType(value)`](#fn-valuemapwithtype) - -## Fields - -### obj RangeMap - - -#### fn RangeMap.withOptions - -```jsonnet -RangeMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withOptionsMixin - -```jsonnet -RangeMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withType - -```jsonnet -RangeMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RangeMap.options - - -##### fn RangeMap.options.withFrom - -```jsonnet -RangeMap.options.withFrom(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Min value of the range. It can be null which means -Infinity -##### fn RangeMap.options.withResult - -```jsonnet -RangeMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withResultMixin - -```jsonnet -RangeMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withTo - -```jsonnet -RangeMap.options.withTo(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Max value of the range. It can be null which means +Infinity -##### obj RangeMap.options.result - - -###### fn RangeMap.options.result.withColor - -```jsonnet -RangeMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RangeMap.options.result.withIcon - -```jsonnet -RangeMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RangeMap.options.result.withIndex - -```jsonnet -RangeMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RangeMap.options.result.withText - -```jsonnet -RangeMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj RegexMap - - -#### fn RegexMap.withOptions - -```jsonnet -RegexMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withOptionsMixin - -```jsonnet -RegexMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withType - -```jsonnet -RegexMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RegexMap.options - - -##### fn RegexMap.options.withPattern - -```jsonnet -RegexMap.options.withPattern(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Regular expression to match against -##### fn RegexMap.options.withResult - -```jsonnet -RegexMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RegexMap.options.withResultMixin - -```jsonnet -RegexMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj RegexMap.options.result - - -###### fn RegexMap.options.result.withColor - -```jsonnet -RegexMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RegexMap.options.result.withIcon - -```jsonnet -RegexMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RegexMap.options.result.withIndex - -```jsonnet -RegexMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RegexMap.options.result.withText - -```jsonnet -RegexMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj SpecialValueMap - - -#### fn SpecialValueMap.withOptions - -```jsonnet -SpecialValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withOptionsMixin - -```jsonnet -SpecialValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withType - -```jsonnet -SpecialValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj SpecialValueMap.options - - -##### fn SpecialValueMap.options.withMatch - -```jsonnet -SpecialValueMap.options.withMatch(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` - -Special value types supported by the `SpecialValueMap` -##### fn SpecialValueMap.options.withResult - -```jsonnet -SpecialValueMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn SpecialValueMap.options.withResultMixin - -```jsonnet -SpecialValueMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj SpecialValueMap.options.result - - -###### fn SpecialValueMap.options.result.withColor - -```jsonnet -SpecialValueMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn SpecialValueMap.options.result.withIcon - -```jsonnet -SpecialValueMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn SpecialValueMap.options.result.withIndex - -```jsonnet -SpecialValueMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn SpecialValueMap.options.result.withText - -```jsonnet -SpecialValueMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj ValueMap - - -#### fn ValueMap.withOptions - -```jsonnet -ValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withOptionsMixin - -```jsonnet -ValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withType - -```jsonnet -ValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/candlestick/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/candlestick/standardOptions/threshold/step.md deleted file mode 100644 index 5212a21..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/candlestick/standardOptions/threshold/step.md +++ /dev/null @@ -1,34 +0,0 @@ -# threshold.step - - - -## Index - -* [`fn withColor(value)`](#fn-withcolor) -* [`fn withValue(value)`](#fn-withvalue) - -## Fields - -### fn withColor - -```jsonnet -withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. -### fn withValue - -```jsonnet -withValue(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. -Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/canvas/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/canvas/queryOptions/transformation.md deleted file mode 100644 index 17a3d45..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/canvas/queryOptions/transformation.md +++ /dev/null @@ -1,115 +0,0 @@ -# transformation - - - -## Index - -* [`fn withDisabled(value=true)`](#fn-withdisabled) -* [`fn withFilter(value)`](#fn-withfilter) -* [`fn withFilterMixin(value)`](#fn-withfiltermixin) -* [`fn withId(value)`](#fn-withid) -* [`fn withOptions(value)`](#fn-withoptions) -* [`fn withTopic(value)`](#fn-withtopic) -* [`obj filter`](#obj-filter) - * [`fn withId(value="")`](#fn-filterwithid) - * [`fn withOptions(value)`](#fn-filterwithoptions) - -## Fields - -### fn withDisabled - -```jsonnet -withDisabled(value=true) -``` - -PARAMETERS: - -* **value** (`boolean`) - - default value: `true` - -Disabled transformations are skipped -### fn withFilter - -```jsonnet -withFilter(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withFilterMixin - -```jsonnet -withFilterMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withId - -```jsonnet -withId(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Unique identifier of transformer -### fn withOptions - -```jsonnet -withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Options to be passed to the transformer -Valid options depend on the transformer id -### fn withTopic - -```jsonnet -withTopic(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"series"`, `"annotations"`, `"alertStates"` - -Where to pull DataFrames from as input to transformation -### obj filter - - -#### fn filter.withId - -```jsonnet -filter.withId(value="") -``` - -PARAMETERS: - -* **value** (`string`) - - default value: `""` - -The matcher id. This is used to find the matcher implementation from registry. -#### fn filter.withOptions - -```jsonnet -filter.withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/canvas/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/canvas/standardOptions/mapping.md deleted file mode 100644 index 7f10ced..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/canvas/standardOptions/mapping.md +++ /dev/null @@ -1,457 +0,0 @@ -# mapping - - - -## Index - -* [`obj RangeMap`](#obj-rangemap) - * [`fn withOptions(value)`](#fn-rangemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) - * [`fn withType(value)`](#fn-rangemapwithtype) - * [`obj options`](#obj-rangemapoptions) - * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) - * [`fn withResult(value)`](#fn-rangemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) - * [`fn withTo(value)`](#fn-rangemapoptionswithto) - * [`obj result`](#obj-rangemapoptionsresult) - * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) -* [`obj RegexMap`](#obj-regexmap) - * [`fn withOptions(value)`](#fn-regexmapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) - * [`fn withType(value)`](#fn-regexmapwithtype) - * [`obj options`](#obj-regexmapoptions) - * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) - * [`fn withResult(value)`](#fn-regexmapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) - * [`obj result`](#obj-regexmapoptionsresult) - * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) - * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) -* [`obj SpecialValueMap`](#obj-specialvaluemap) - * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) - * [`fn withType(value)`](#fn-specialvaluemapwithtype) - * [`obj options`](#obj-specialvaluemapoptions) - * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) - * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) - * [`obj result`](#obj-specialvaluemapoptionsresult) - * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) -* [`obj ValueMap`](#obj-valuemap) - * [`fn withOptions(value)`](#fn-valuemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) - * [`fn withType(value)`](#fn-valuemapwithtype) - -## Fields - -### obj RangeMap - - -#### fn RangeMap.withOptions - -```jsonnet -RangeMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withOptionsMixin - -```jsonnet -RangeMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withType - -```jsonnet -RangeMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RangeMap.options - - -##### fn RangeMap.options.withFrom - -```jsonnet -RangeMap.options.withFrom(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Min value of the range. It can be null which means -Infinity -##### fn RangeMap.options.withResult - -```jsonnet -RangeMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withResultMixin - -```jsonnet -RangeMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withTo - -```jsonnet -RangeMap.options.withTo(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Max value of the range. It can be null which means +Infinity -##### obj RangeMap.options.result - - -###### fn RangeMap.options.result.withColor - -```jsonnet -RangeMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RangeMap.options.result.withIcon - -```jsonnet -RangeMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RangeMap.options.result.withIndex - -```jsonnet -RangeMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RangeMap.options.result.withText - -```jsonnet -RangeMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj RegexMap - - -#### fn RegexMap.withOptions - -```jsonnet -RegexMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withOptionsMixin - -```jsonnet -RegexMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withType - -```jsonnet -RegexMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RegexMap.options - - -##### fn RegexMap.options.withPattern - -```jsonnet -RegexMap.options.withPattern(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Regular expression to match against -##### fn RegexMap.options.withResult - -```jsonnet -RegexMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RegexMap.options.withResultMixin - -```jsonnet -RegexMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj RegexMap.options.result - - -###### fn RegexMap.options.result.withColor - -```jsonnet -RegexMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RegexMap.options.result.withIcon - -```jsonnet -RegexMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RegexMap.options.result.withIndex - -```jsonnet -RegexMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RegexMap.options.result.withText - -```jsonnet -RegexMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj SpecialValueMap - - -#### fn SpecialValueMap.withOptions - -```jsonnet -SpecialValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withOptionsMixin - -```jsonnet -SpecialValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withType - -```jsonnet -SpecialValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj SpecialValueMap.options - - -##### fn SpecialValueMap.options.withMatch - -```jsonnet -SpecialValueMap.options.withMatch(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` - -Special value types supported by the `SpecialValueMap` -##### fn SpecialValueMap.options.withResult - -```jsonnet -SpecialValueMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn SpecialValueMap.options.withResultMixin - -```jsonnet -SpecialValueMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj SpecialValueMap.options.result - - -###### fn SpecialValueMap.options.result.withColor - -```jsonnet -SpecialValueMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn SpecialValueMap.options.result.withIcon - -```jsonnet -SpecialValueMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn SpecialValueMap.options.result.withIndex - -```jsonnet -SpecialValueMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn SpecialValueMap.options.result.withText - -```jsonnet -SpecialValueMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj ValueMap - - -#### fn ValueMap.withOptions - -```jsonnet -ValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withOptionsMixin - -```jsonnet -ValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withType - -```jsonnet -ValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/canvas/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/canvas/standardOptions/threshold/step.md deleted file mode 100644 index 5212a21..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/canvas/standardOptions/threshold/step.md +++ /dev/null @@ -1,34 +0,0 @@ -# threshold.step - - - -## Index - -* [`fn withColor(value)`](#fn-withcolor) -* [`fn withValue(value)`](#fn-withvalue) - -## Fields - -### fn withColor - -```jsonnet -withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. -### fn withValue - -```jsonnet -withValue(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. -Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/dashboardList/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/dashboardList/queryOptions/transformation.md deleted file mode 100644 index 17a3d45..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/dashboardList/queryOptions/transformation.md +++ /dev/null @@ -1,115 +0,0 @@ -# transformation - - - -## Index - -* [`fn withDisabled(value=true)`](#fn-withdisabled) -* [`fn withFilter(value)`](#fn-withfilter) -* [`fn withFilterMixin(value)`](#fn-withfiltermixin) -* [`fn withId(value)`](#fn-withid) -* [`fn withOptions(value)`](#fn-withoptions) -* [`fn withTopic(value)`](#fn-withtopic) -* [`obj filter`](#obj-filter) - * [`fn withId(value="")`](#fn-filterwithid) - * [`fn withOptions(value)`](#fn-filterwithoptions) - -## Fields - -### fn withDisabled - -```jsonnet -withDisabled(value=true) -``` - -PARAMETERS: - -* **value** (`boolean`) - - default value: `true` - -Disabled transformations are skipped -### fn withFilter - -```jsonnet -withFilter(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withFilterMixin - -```jsonnet -withFilterMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withId - -```jsonnet -withId(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Unique identifier of transformer -### fn withOptions - -```jsonnet -withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Options to be passed to the transformer -Valid options depend on the transformer id -### fn withTopic - -```jsonnet -withTopic(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"series"`, `"annotations"`, `"alertStates"` - -Where to pull DataFrames from as input to transformation -### obj filter - - -#### fn filter.withId - -```jsonnet -filter.withId(value="") -``` - -PARAMETERS: - -* **value** (`string`) - - default value: `""` - -The matcher id. This is used to find the matcher implementation from registry. -#### fn filter.withOptions - -```jsonnet -filter.withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/dashboardList/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/dashboardList/standardOptions/mapping.md deleted file mode 100644 index 7f10ced..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/dashboardList/standardOptions/mapping.md +++ /dev/null @@ -1,457 +0,0 @@ -# mapping - - - -## Index - -* [`obj RangeMap`](#obj-rangemap) - * [`fn withOptions(value)`](#fn-rangemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) - * [`fn withType(value)`](#fn-rangemapwithtype) - * [`obj options`](#obj-rangemapoptions) - * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) - * [`fn withResult(value)`](#fn-rangemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) - * [`fn withTo(value)`](#fn-rangemapoptionswithto) - * [`obj result`](#obj-rangemapoptionsresult) - * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) -* [`obj RegexMap`](#obj-regexmap) - * [`fn withOptions(value)`](#fn-regexmapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) - * [`fn withType(value)`](#fn-regexmapwithtype) - * [`obj options`](#obj-regexmapoptions) - * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) - * [`fn withResult(value)`](#fn-regexmapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) - * [`obj result`](#obj-regexmapoptionsresult) - * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) - * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) -* [`obj SpecialValueMap`](#obj-specialvaluemap) - * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) - * [`fn withType(value)`](#fn-specialvaluemapwithtype) - * [`obj options`](#obj-specialvaluemapoptions) - * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) - * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) - * [`obj result`](#obj-specialvaluemapoptionsresult) - * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) -* [`obj ValueMap`](#obj-valuemap) - * [`fn withOptions(value)`](#fn-valuemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) - * [`fn withType(value)`](#fn-valuemapwithtype) - -## Fields - -### obj RangeMap - - -#### fn RangeMap.withOptions - -```jsonnet -RangeMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withOptionsMixin - -```jsonnet -RangeMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withType - -```jsonnet -RangeMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RangeMap.options - - -##### fn RangeMap.options.withFrom - -```jsonnet -RangeMap.options.withFrom(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Min value of the range. It can be null which means -Infinity -##### fn RangeMap.options.withResult - -```jsonnet -RangeMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withResultMixin - -```jsonnet -RangeMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withTo - -```jsonnet -RangeMap.options.withTo(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Max value of the range. It can be null which means +Infinity -##### obj RangeMap.options.result - - -###### fn RangeMap.options.result.withColor - -```jsonnet -RangeMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RangeMap.options.result.withIcon - -```jsonnet -RangeMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RangeMap.options.result.withIndex - -```jsonnet -RangeMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RangeMap.options.result.withText - -```jsonnet -RangeMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj RegexMap - - -#### fn RegexMap.withOptions - -```jsonnet -RegexMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withOptionsMixin - -```jsonnet -RegexMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withType - -```jsonnet -RegexMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RegexMap.options - - -##### fn RegexMap.options.withPattern - -```jsonnet -RegexMap.options.withPattern(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Regular expression to match against -##### fn RegexMap.options.withResult - -```jsonnet -RegexMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RegexMap.options.withResultMixin - -```jsonnet -RegexMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj RegexMap.options.result - - -###### fn RegexMap.options.result.withColor - -```jsonnet -RegexMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RegexMap.options.result.withIcon - -```jsonnet -RegexMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RegexMap.options.result.withIndex - -```jsonnet -RegexMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RegexMap.options.result.withText - -```jsonnet -RegexMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj SpecialValueMap - - -#### fn SpecialValueMap.withOptions - -```jsonnet -SpecialValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withOptionsMixin - -```jsonnet -SpecialValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withType - -```jsonnet -SpecialValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj SpecialValueMap.options - - -##### fn SpecialValueMap.options.withMatch - -```jsonnet -SpecialValueMap.options.withMatch(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` - -Special value types supported by the `SpecialValueMap` -##### fn SpecialValueMap.options.withResult - -```jsonnet -SpecialValueMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn SpecialValueMap.options.withResultMixin - -```jsonnet -SpecialValueMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj SpecialValueMap.options.result - - -###### fn SpecialValueMap.options.result.withColor - -```jsonnet -SpecialValueMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn SpecialValueMap.options.result.withIcon - -```jsonnet -SpecialValueMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn SpecialValueMap.options.result.withIndex - -```jsonnet -SpecialValueMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn SpecialValueMap.options.result.withText - -```jsonnet -SpecialValueMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj ValueMap - - -#### fn ValueMap.withOptions - -```jsonnet -ValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withOptionsMixin - -```jsonnet -ValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withType - -```jsonnet -ValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/dashboardList/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/dashboardList/standardOptions/threshold/step.md deleted file mode 100644 index 5212a21..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/dashboardList/standardOptions/threshold/step.md +++ /dev/null @@ -1,34 +0,0 @@ -# threshold.step - - - -## Index - -* [`fn withColor(value)`](#fn-withcolor) -* [`fn withValue(value)`](#fn-withvalue) - -## Fields - -### fn withColor - -```jsonnet -withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. -### fn withValue - -```jsonnet -withValue(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. -Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/datagrid/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/datagrid/queryOptions/transformation.md deleted file mode 100644 index 17a3d45..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/datagrid/queryOptions/transformation.md +++ /dev/null @@ -1,115 +0,0 @@ -# transformation - - - -## Index - -* [`fn withDisabled(value=true)`](#fn-withdisabled) -* [`fn withFilter(value)`](#fn-withfilter) -* [`fn withFilterMixin(value)`](#fn-withfiltermixin) -* [`fn withId(value)`](#fn-withid) -* [`fn withOptions(value)`](#fn-withoptions) -* [`fn withTopic(value)`](#fn-withtopic) -* [`obj filter`](#obj-filter) - * [`fn withId(value="")`](#fn-filterwithid) - * [`fn withOptions(value)`](#fn-filterwithoptions) - -## Fields - -### fn withDisabled - -```jsonnet -withDisabled(value=true) -``` - -PARAMETERS: - -* **value** (`boolean`) - - default value: `true` - -Disabled transformations are skipped -### fn withFilter - -```jsonnet -withFilter(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withFilterMixin - -```jsonnet -withFilterMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withId - -```jsonnet -withId(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Unique identifier of transformer -### fn withOptions - -```jsonnet -withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Options to be passed to the transformer -Valid options depend on the transformer id -### fn withTopic - -```jsonnet -withTopic(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"series"`, `"annotations"`, `"alertStates"` - -Where to pull DataFrames from as input to transformation -### obj filter - - -#### fn filter.withId - -```jsonnet -filter.withId(value="") -``` - -PARAMETERS: - -* **value** (`string`) - - default value: `""` - -The matcher id. This is used to find the matcher implementation from registry. -#### fn filter.withOptions - -```jsonnet -filter.withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/datagrid/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/datagrid/standardOptions/mapping.md deleted file mode 100644 index 7f10ced..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/datagrid/standardOptions/mapping.md +++ /dev/null @@ -1,457 +0,0 @@ -# mapping - - - -## Index - -* [`obj RangeMap`](#obj-rangemap) - * [`fn withOptions(value)`](#fn-rangemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) - * [`fn withType(value)`](#fn-rangemapwithtype) - * [`obj options`](#obj-rangemapoptions) - * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) - * [`fn withResult(value)`](#fn-rangemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) - * [`fn withTo(value)`](#fn-rangemapoptionswithto) - * [`obj result`](#obj-rangemapoptionsresult) - * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) -* [`obj RegexMap`](#obj-regexmap) - * [`fn withOptions(value)`](#fn-regexmapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) - * [`fn withType(value)`](#fn-regexmapwithtype) - * [`obj options`](#obj-regexmapoptions) - * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) - * [`fn withResult(value)`](#fn-regexmapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) - * [`obj result`](#obj-regexmapoptionsresult) - * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) - * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) -* [`obj SpecialValueMap`](#obj-specialvaluemap) - * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) - * [`fn withType(value)`](#fn-specialvaluemapwithtype) - * [`obj options`](#obj-specialvaluemapoptions) - * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) - * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) - * [`obj result`](#obj-specialvaluemapoptionsresult) - * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) -* [`obj ValueMap`](#obj-valuemap) - * [`fn withOptions(value)`](#fn-valuemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) - * [`fn withType(value)`](#fn-valuemapwithtype) - -## Fields - -### obj RangeMap - - -#### fn RangeMap.withOptions - -```jsonnet -RangeMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withOptionsMixin - -```jsonnet -RangeMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withType - -```jsonnet -RangeMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RangeMap.options - - -##### fn RangeMap.options.withFrom - -```jsonnet -RangeMap.options.withFrom(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Min value of the range. It can be null which means -Infinity -##### fn RangeMap.options.withResult - -```jsonnet -RangeMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withResultMixin - -```jsonnet -RangeMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withTo - -```jsonnet -RangeMap.options.withTo(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Max value of the range. It can be null which means +Infinity -##### obj RangeMap.options.result - - -###### fn RangeMap.options.result.withColor - -```jsonnet -RangeMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RangeMap.options.result.withIcon - -```jsonnet -RangeMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RangeMap.options.result.withIndex - -```jsonnet -RangeMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RangeMap.options.result.withText - -```jsonnet -RangeMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj RegexMap - - -#### fn RegexMap.withOptions - -```jsonnet -RegexMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withOptionsMixin - -```jsonnet -RegexMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withType - -```jsonnet -RegexMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RegexMap.options - - -##### fn RegexMap.options.withPattern - -```jsonnet -RegexMap.options.withPattern(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Regular expression to match against -##### fn RegexMap.options.withResult - -```jsonnet -RegexMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RegexMap.options.withResultMixin - -```jsonnet -RegexMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj RegexMap.options.result - - -###### fn RegexMap.options.result.withColor - -```jsonnet -RegexMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RegexMap.options.result.withIcon - -```jsonnet -RegexMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RegexMap.options.result.withIndex - -```jsonnet -RegexMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RegexMap.options.result.withText - -```jsonnet -RegexMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj SpecialValueMap - - -#### fn SpecialValueMap.withOptions - -```jsonnet -SpecialValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withOptionsMixin - -```jsonnet -SpecialValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withType - -```jsonnet -SpecialValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj SpecialValueMap.options - - -##### fn SpecialValueMap.options.withMatch - -```jsonnet -SpecialValueMap.options.withMatch(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` - -Special value types supported by the `SpecialValueMap` -##### fn SpecialValueMap.options.withResult - -```jsonnet -SpecialValueMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn SpecialValueMap.options.withResultMixin - -```jsonnet -SpecialValueMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj SpecialValueMap.options.result - - -###### fn SpecialValueMap.options.result.withColor - -```jsonnet -SpecialValueMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn SpecialValueMap.options.result.withIcon - -```jsonnet -SpecialValueMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn SpecialValueMap.options.result.withIndex - -```jsonnet -SpecialValueMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn SpecialValueMap.options.result.withText - -```jsonnet -SpecialValueMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj ValueMap - - -#### fn ValueMap.withOptions - -```jsonnet -ValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withOptionsMixin - -```jsonnet -ValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withType - -```jsonnet -ValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/datagrid/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/datagrid/standardOptions/threshold/step.md deleted file mode 100644 index 5212a21..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/datagrid/standardOptions/threshold/step.md +++ /dev/null @@ -1,34 +0,0 @@ -# threshold.step - - - -## Index - -* [`fn withColor(value)`](#fn-withcolor) -* [`fn withValue(value)`](#fn-withvalue) - -## Fields - -### fn withColor - -```jsonnet -withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. -### fn withValue - -```jsonnet -withValue(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. -Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/debug/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/debug/queryOptions/transformation.md deleted file mode 100644 index 17a3d45..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/debug/queryOptions/transformation.md +++ /dev/null @@ -1,115 +0,0 @@ -# transformation - - - -## Index - -* [`fn withDisabled(value=true)`](#fn-withdisabled) -* [`fn withFilter(value)`](#fn-withfilter) -* [`fn withFilterMixin(value)`](#fn-withfiltermixin) -* [`fn withId(value)`](#fn-withid) -* [`fn withOptions(value)`](#fn-withoptions) -* [`fn withTopic(value)`](#fn-withtopic) -* [`obj filter`](#obj-filter) - * [`fn withId(value="")`](#fn-filterwithid) - * [`fn withOptions(value)`](#fn-filterwithoptions) - -## Fields - -### fn withDisabled - -```jsonnet -withDisabled(value=true) -``` - -PARAMETERS: - -* **value** (`boolean`) - - default value: `true` - -Disabled transformations are skipped -### fn withFilter - -```jsonnet -withFilter(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withFilterMixin - -```jsonnet -withFilterMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withId - -```jsonnet -withId(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Unique identifier of transformer -### fn withOptions - -```jsonnet -withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Options to be passed to the transformer -Valid options depend on the transformer id -### fn withTopic - -```jsonnet -withTopic(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"series"`, `"annotations"`, `"alertStates"` - -Where to pull DataFrames from as input to transformation -### obj filter - - -#### fn filter.withId - -```jsonnet -filter.withId(value="") -``` - -PARAMETERS: - -* **value** (`string`) - - default value: `""` - -The matcher id. This is used to find the matcher implementation from registry. -#### fn filter.withOptions - -```jsonnet -filter.withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/debug/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/debug/standardOptions/mapping.md deleted file mode 100644 index 7f10ced..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/debug/standardOptions/mapping.md +++ /dev/null @@ -1,457 +0,0 @@ -# mapping - - - -## Index - -* [`obj RangeMap`](#obj-rangemap) - * [`fn withOptions(value)`](#fn-rangemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) - * [`fn withType(value)`](#fn-rangemapwithtype) - * [`obj options`](#obj-rangemapoptions) - * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) - * [`fn withResult(value)`](#fn-rangemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) - * [`fn withTo(value)`](#fn-rangemapoptionswithto) - * [`obj result`](#obj-rangemapoptionsresult) - * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) -* [`obj RegexMap`](#obj-regexmap) - * [`fn withOptions(value)`](#fn-regexmapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) - * [`fn withType(value)`](#fn-regexmapwithtype) - * [`obj options`](#obj-regexmapoptions) - * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) - * [`fn withResult(value)`](#fn-regexmapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) - * [`obj result`](#obj-regexmapoptionsresult) - * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) - * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) -* [`obj SpecialValueMap`](#obj-specialvaluemap) - * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) - * [`fn withType(value)`](#fn-specialvaluemapwithtype) - * [`obj options`](#obj-specialvaluemapoptions) - * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) - * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) - * [`obj result`](#obj-specialvaluemapoptionsresult) - * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) -* [`obj ValueMap`](#obj-valuemap) - * [`fn withOptions(value)`](#fn-valuemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) - * [`fn withType(value)`](#fn-valuemapwithtype) - -## Fields - -### obj RangeMap - - -#### fn RangeMap.withOptions - -```jsonnet -RangeMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withOptionsMixin - -```jsonnet -RangeMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withType - -```jsonnet -RangeMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RangeMap.options - - -##### fn RangeMap.options.withFrom - -```jsonnet -RangeMap.options.withFrom(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Min value of the range. It can be null which means -Infinity -##### fn RangeMap.options.withResult - -```jsonnet -RangeMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withResultMixin - -```jsonnet -RangeMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withTo - -```jsonnet -RangeMap.options.withTo(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Max value of the range. It can be null which means +Infinity -##### obj RangeMap.options.result - - -###### fn RangeMap.options.result.withColor - -```jsonnet -RangeMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RangeMap.options.result.withIcon - -```jsonnet -RangeMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RangeMap.options.result.withIndex - -```jsonnet -RangeMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RangeMap.options.result.withText - -```jsonnet -RangeMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj RegexMap - - -#### fn RegexMap.withOptions - -```jsonnet -RegexMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withOptionsMixin - -```jsonnet -RegexMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withType - -```jsonnet -RegexMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RegexMap.options - - -##### fn RegexMap.options.withPattern - -```jsonnet -RegexMap.options.withPattern(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Regular expression to match against -##### fn RegexMap.options.withResult - -```jsonnet -RegexMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RegexMap.options.withResultMixin - -```jsonnet -RegexMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj RegexMap.options.result - - -###### fn RegexMap.options.result.withColor - -```jsonnet -RegexMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RegexMap.options.result.withIcon - -```jsonnet -RegexMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RegexMap.options.result.withIndex - -```jsonnet -RegexMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RegexMap.options.result.withText - -```jsonnet -RegexMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj SpecialValueMap - - -#### fn SpecialValueMap.withOptions - -```jsonnet -SpecialValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withOptionsMixin - -```jsonnet -SpecialValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withType - -```jsonnet -SpecialValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj SpecialValueMap.options - - -##### fn SpecialValueMap.options.withMatch - -```jsonnet -SpecialValueMap.options.withMatch(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` - -Special value types supported by the `SpecialValueMap` -##### fn SpecialValueMap.options.withResult - -```jsonnet -SpecialValueMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn SpecialValueMap.options.withResultMixin - -```jsonnet -SpecialValueMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj SpecialValueMap.options.result - - -###### fn SpecialValueMap.options.result.withColor - -```jsonnet -SpecialValueMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn SpecialValueMap.options.result.withIcon - -```jsonnet -SpecialValueMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn SpecialValueMap.options.result.withIndex - -```jsonnet -SpecialValueMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn SpecialValueMap.options.result.withText - -```jsonnet -SpecialValueMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj ValueMap - - -#### fn ValueMap.withOptions - -```jsonnet -ValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withOptionsMixin - -```jsonnet -ValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withType - -```jsonnet -ValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/debug/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/debug/standardOptions/threshold/step.md deleted file mode 100644 index 5212a21..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/debug/standardOptions/threshold/step.md +++ /dev/null @@ -1,34 +0,0 @@ -# threshold.step - - - -## Index - -* [`fn withColor(value)`](#fn-withcolor) -* [`fn withValue(value)`](#fn-withvalue) - -## Fields - -### fn withColor - -```jsonnet -withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. -### fn withValue - -```jsonnet -withValue(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. -Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/gauge/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/gauge/queryOptions/transformation.md deleted file mode 100644 index 17a3d45..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/gauge/queryOptions/transformation.md +++ /dev/null @@ -1,115 +0,0 @@ -# transformation - - - -## Index - -* [`fn withDisabled(value=true)`](#fn-withdisabled) -* [`fn withFilter(value)`](#fn-withfilter) -* [`fn withFilterMixin(value)`](#fn-withfiltermixin) -* [`fn withId(value)`](#fn-withid) -* [`fn withOptions(value)`](#fn-withoptions) -* [`fn withTopic(value)`](#fn-withtopic) -* [`obj filter`](#obj-filter) - * [`fn withId(value="")`](#fn-filterwithid) - * [`fn withOptions(value)`](#fn-filterwithoptions) - -## Fields - -### fn withDisabled - -```jsonnet -withDisabled(value=true) -``` - -PARAMETERS: - -* **value** (`boolean`) - - default value: `true` - -Disabled transformations are skipped -### fn withFilter - -```jsonnet -withFilter(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withFilterMixin - -```jsonnet -withFilterMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withId - -```jsonnet -withId(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Unique identifier of transformer -### fn withOptions - -```jsonnet -withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Options to be passed to the transformer -Valid options depend on the transformer id -### fn withTopic - -```jsonnet -withTopic(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"series"`, `"annotations"`, `"alertStates"` - -Where to pull DataFrames from as input to transformation -### obj filter - - -#### fn filter.withId - -```jsonnet -filter.withId(value="") -``` - -PARAMETERS: - -* **value** (`string`) - - default value: `""` - -The matcher id. This is used to find the matcher implementation from registry. -#### fn filter.withOptions - -```jsonnet -filter.withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/gauge/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/gauge/standardOptions/mapping.md deleted file mode 100644 index 7f10ced..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/gauge/standardOptions/mapping.md +++ /dev/null @@ -1,457 +0,0 @@ -# mapping - - - -## Index - -* [`obj RangeMap`](#obj-rangemap) - * [`fn withOptions(value)`](#fn-rangemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) - * [`fn withType(value)`](#fn-rangemapwithtype) - * [`obj options`](#obj-rangemapoptions) - * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) - * [`fn withResult(value)`](#fn-rangemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) - * [`fn withTo(value)`](#fn-rangemapoptionswithto) - * [`obj result`](#obj-rangemapoptionsresult) - * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) -* [`obj RegexMap`](#obj-regexmap) - * [`fn withOptions(value)`](#fn-regexmapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) - * [`fn withType(value)`](#fn-regexmapwithtype) - * [`obj options`](#obj-regexmapoptions) - * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) - * [`fn withResult(value)`](#fn-regexmapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) - * [`obj result`](#obj-regexmapoptionsresult) - * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) - * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) -* [`obj SpecialValueMap`](#obj-specialvaluemap) - * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) - * [`fn withType(value)`](#fn-specialvaluemapwithtype) - * [`obj options`](#obj-specialvaluemapoptions) - * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) - * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) - * [`obj result`](#obj-specialvaluemapoptionsresult) - * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) -* [`obj ValueMap`](#obj-valuemap) - * [`fn withOptions(value)`](#fn-valuemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) - * [`fn withType(value)`](#fn-valuemapwithtype) - -## Fields - -### obj RangeMap - - -#### fn RangeMap.withOptions - -```jsonnet -RangeMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withOptionsMixin - -```jsonnet -RangeMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withType - -```jsonnet -RangeMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RangeMap.options - - -##### fn RangeMap.options.withFrom - -```jsonnet -RangeMap.options.withFrom(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Min value of the range. It can be null which means -Infinity -##### fn RangeMap.options.withResult - -```jsonnet -RangeMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withResultMixin - -```jsonnet -RangeMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withTo - -```jsonnet -RangeMap.options.withTo(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Max value of the range. It can be null which means +Infinity -##### obj RangeMap.options.result - - -###### fn RangeMap.options.result.withColor - -```jsonnet -RangeMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RangeMap.options.result.withIcon - -```jsonnet -RangeMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RangeMap.options.result.withIndex - -```jsonnet -RangeMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RangeMap.options.result.withText - -```jsonnet -RangeMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj RegexMap - - -#### fn RegexMap.withOptions - -```jsonnet -RegexMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withOptionsMixin - -```jsonnet -RegexMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withType - -```jsonnet -RegexMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RegexMap.options - - -##### fn RegexMap.options.withPattern - -```jsonnet -RegexMap.options.withPattern(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Regular expression to match against -##### fn RegexMap.options.withResult - -```jsonnet -RegexMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RegexMap.options.withResultMixin - -```jsonnet -RegexMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj RegexMap.options.result - - -###### fn RegexMap.options.result.withColor - -```jsonnet -RegexMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RegexMap.options.result.withIcon - -```jsonnet -RegexMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RegexMap.options.result.withIndex - -```jsonnet -RegexMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RegexMap.options.result.withText - -```jsonnet -RegexMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj SpecialValueMap - - -#### fn SpecialValueMap.withOptions - -```jsonnet -SpecialValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withOptionsMixin - -```jsonnet -SpecialValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withType - -```jsonnet -SpecialValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj SpecialValueMap.options - - -##### fn SpecialValueMap.options.withMatch - -```jsonnet -SpecialValueMap.options.withMatch(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` - -Special value types supported by the `SpecialValueMap` -##### fn SpecialValueMap.options.withResult - -```jsonnet -SpecialValueMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn SpecialValueMap.options.withResultMixin - -```jsonnet -SpecialValueMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj SpecialValueMap.options.result - - -###### fn SpecialValueMap.options.result.withColor - -```jsonnet -SpecialValueMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn SpecialValueMap.options.result.withIcon - -```jsonnet -SpecialValueMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn SpecialValueMap.options.result.withIndex - -```jsonnet -SpecialValueMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn SpecialValueMap.options.result.withText - -```jsonnet -SpecialValueMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj ValueMap - - -#### fn ValueMap.withOptions - -```jsonnet -ValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withOptionsMixin - -```jsonnet -ValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withType - -```jsonnet -ValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/gauge/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/gauge/standardOptions/threshold/step.md deleted file mode 100644 index 5212a21..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/gauge/standardOptions/threshold/step.md +++ /dev/null @@ -1,34 +0,0 @@ -# threshold.step - - - -## Index - -* [`fn withColor(value)`](#fn-withcolor) -* [`fn withValue(value)`](#fn-withvalue) - -## Fields - -### fn withColor - -```jsonnet -withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. -### fn withValue - -```jsonnet -withValue(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. -Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/geomap/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/geomap/queryOptions/transformation.md deleted file mode 100644 index 17a3d45..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/geomap/queryOptions/transformation.md +++ /dev/null @@ -1,115 +0,0 @@ -# transformation - - - -## Index - -* [`fn withDisabled(value=true)`](#fn-withdisabled) -* [`fn withFilter(value)`](#fn-withfilter) -* [`fn withFilterMixin(value)`](#fn-withfiltermixin) -* [`fn withId(value)`](#fn-withid) -* [`fn withOptions(value)`](#fn-withoptions) -* [`fn withTopic(value)`](#fn-withtopic) -* [`obj filter`](#obj-filter) - * [`fn withId(value="")`](#fn-filterwithid) - * [`fn withOptions(value)`](#fn-filterwithoptions) - -## Fields - -### fn withDisabled - -```jsonnet -withDisabled(value=true) -``` - -PARAMETERS: - -* **value** (`boolean`) - - default value: `true` - -Disabled transformations are skipped -### fn withFilter - -```jsonnet -withFilter(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withFilterMixin - -```jsonnet -withFilterMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withId - -```jsonnet -withId(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Unique identifier of transformer -### fn withOptions - -```jsonnet -withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Options to be passed to the transformer -Valid options depend on the transformer id -### fn withTopic - -```jsonnet -withTopic(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"series"`, `"annotations"`, `"alertStates"` - -Where to pull DataFrames from as input to transformation -### obj filter - - -#### fn filter.withId - -```jsonnet -filter.withId(value="") -``` - -PARAMETERS: - -* **value** (`string`) - - default value: `""` - -The matcher id. This is used to find the matcher implementation from registry. -#### fn filter.withOptions - -```jsonnet -filter.withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/geomap/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/geomap/standardOptions/mapping.md deleted file mode 100644 index 7f10ced..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/geomap/standardOptions/mapping.md +++ /dev/null @@ -1,457 +0,0 @@ -# mapping - - - -## Index - -* [`obj RangeMap`](#obj-rangemap) - * [`fn withOptions(value)`](#fn-rangemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) - * [`fn withType(value)`](#fn-rangemapwithtype) - * [`obj options`](#obj-rangemapoptions) - * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) - * [`fn withResult(value)`](#fn-rangemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) - * [`fn withTo(value)`](#fn-rangemapoptionswithto) - * [`obj result`](#obj-rangemapoptionsresult) - * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) -* [`obj RegexMap`](#obj-regexmap) - * [`fn withOptions(value)`](#fn-regexmapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) - * [`fn withType(value)`](#fn-regexmapwithtype) - * [`obj options`](#obj-regexmapoptions) - * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) - * [`fn withResult(value)`](#fn-regexmapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) - * [`obj result`](#obj-regexmapoptionsresult) - * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) - * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) -* [`obj SpecialValueMap`](#obj-specialvaluemap) - * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) - * [`fn withType(value)`](#fn-specialvaluemapwithtype) - * [`obj options`](#obj-specialvaluemapoptions) - * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) - * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) - * [`obj result`](#obj-specialvaluemapoptionsresult) - * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) -* [`obj ValueMap`](#obj-valuemap) - * [`fn withOptions(value)`](#fn-valuemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) - * [`fn withType(value)`](#fn-valuemapwithtype) - -## Fields - -### obj RangeMap - - -#### fn RangeMap.withOptions - -```jsonnet -RangeMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withOptionsMixin - -```jsonnet -RangeMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withType - -```jsonnet -RangeMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RangeMap.options - - -##### fn RangeMap.options.withFrom - -```jsonnet -RangeMap.options.withFrom(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Min value of the range. It can be null which means -Infinity -##### fn RangeMap.options.withResult - -```jsonnet -RangeMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withResultMixin - -```jsonnet -RangeMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withTo - -```jsonnet -RangeMap.options.withTo(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Max value of the range. It can be null which means +Infinity -##### obj RangeMap.options.result - - -###### fn RangeMap.options.result.withColor - -```jsonnet -RangeMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RangeMap.options.result.withIcon - -```jsonnet -RangeMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RangeMap.options.result.withIndex - -```jsonnet -RangeMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RangeMap.options.result.withText - -```jsonnet -RangeMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj RegexMap - - -#### fn RegexMap.withOptions - -```jsonnet -RegexMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withOptionsMixin - -```jsonnet -RegexMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withType - -```jsonnet -RegexMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RegexMap.options - - -##### fn RegexMap.options.withPattern - -```jsonnet -RegexMap.options.withPattern(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Regular expression to match against -##### fn RegexMap.options.withResult - -```jsonnet -RegexMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RegexMap.options.withResultMixin - -```jsonnet -RegexMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj RegexMap.options.result - - -###### fn RegexMap.options.result.withColor - -```jsonnet -RegexMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RegexMap.options.result.withIcon - -```jsonnet -RegexMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RegexMap.options.result.withIndex - -```jsonnet -RegexMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RegexMap.options.result.withText - -```jsonnet -RegexMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj SpecialValueMap - - -#### fn SpecialValueMap.withOptions - -```jsonnet -SpecialValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withOptionsMixin - -```jsonnet -SpecialValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withType - -```jsonnet -SpecialValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj SpecialValueMap.options - - -##### fn SpecialValueMap.options.withMatch - -```jsonnet -SpecialValueMap.options.withMatch(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` - -Special value types supported by the `SpecialValueMap` -##### fn SpecialValueMap.options.withResult - -```jsonnet -SpecialValueMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn SpecialValueMap.options.withResultMixin - -```jsonnet -SpecialValueMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj SpecialValueMap.options.result - - -###### fn SpecialValueMap.options.result.withColor - -```jsonnet -SpecialValueMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn SpecialValueMap.options.result.withIcon - -```jsonnet -SpecialValueMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn SpecialValueMap.options.result.withIndex - -```jsonnet -SpecialValueMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn SpecialValueMap.options.result.withText - -```jsonnet -SpecialValueMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj ValueMap - - -#### fn ValueMap.withOptions - -```jsonnet -ValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withOptionsMixin - -```jsonnet -ValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withType - -```jsonnet -ValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/geomap/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/geomap/standardOptions/threshold/step.md deleted file mode 100644 index 5212a21..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/geomap/standardOptions/threshold/step.md +++ /dev/null @@ -1,34 +0,0 @@ -# threshold.step - - - -## Index - -* [`fn withColor(value)`](#fn-withcolor) -* [`fn withValue(value)`](#fn-withvalue) - -## Fields - -### fn withColor - -```jsonnet -withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. -### fn withValue - -```jsonnet -withValue(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. -Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/heatmap/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/heatmap/queryOptions/transformation.md deleted file mode 100644 index 17a3d45..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/heatmap/queryOptions/transformation.md +++ /dev/null @@ -1,115 +0,0 @@ -# transformation - - - -## Index - -* [`fn withDisabled(value=true)`](#fn-withdisabled) -* [`fn withFilter(value)`](#fn-withfilter) -* [`fn withFilterMixin(value)`](#fn-withfiltermixin) -* [`fn withId(value)`](#fn-withid) -* [`fn withOptions(value)`](#fn-withoptions) -* [`fn withTopic(value)`](#fn-withtopic) -* [`obj filter`](#obj-filter) - * [`fn withId(value="")`](#fn-filterwithid) - * [`fn withOptions(value)`](#fn-filterwithoptions) - -## Fields - -### fn withDisabled - -```jsonnet -withDisabled(value=true) -``` - -PARAMETERS: - -* **value** (`boolean`) - - default value: `true` - -Disabled transformations are skipped -### fn withFilter - -```jsonnet -withFilter(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withFilterMixin - -```jsonnet -withFilterMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withId - -```jsonnet -withId(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Unique identifier of transformer -### fn withOptions - -```jsonnet -withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Options to be passed to the transformer -Valid options depend on the transformer id -### fn withTopic - -```jsonnet -withTopic(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"series"`, `"annotations"`, `"alertStates"` - -Where to pull DataFrames from as input to transformation -### obj filter - - -#### fn filter.withId - -```jsonnet -filter.withId(value="") -``` - -PARAMETERS: - -* **value** (`string`) - - default value: `""` - -The matcher id. This is used to find the matcher implementation from registry. -#### fn filter.withOptions - -```jsonnet -filter.withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/heatmap/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/heatmap/standardOptions/mapping.md deleted file mode 100644 index 7f10ced..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/heatmap/standardOptions/mapping.md +++ /dev/null @@ -1,457 +0,0 @@ -# mapping - - - -## Index - -* [`obj RangeMap`](#obj-rangemap) - * [`fn withOptions(value)`](#fn-rangemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) - * [`fn withType(value)`](#fn-rangemapwithtype) - * [`obj options`](#obj-rangemapoptions) - * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) - * [`fn withResult(value)`](#fn-rangemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) - * [`fn withTo(value)`](#fn-rangemapoptionswithto) - * [`obj result`](#obj-rangemapoptionsresult) - * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) -* [`obj RegexMap`](#obj-regexmap) - * [`fn withOptions(value)`](#fn-regexmapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) - * [`fn withType(value)`](#fn-regexmapwithtype) - * [`obj options`](#obj-regexmapoptions) - * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) - * [`fn withResult(value)`](#fn-regexmapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) - * [`obj result`](#obj-regexmapoptionsresult) - * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) - * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) -* [`obj SpecialValueMap`](#obj-specialvaluemap) - * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) - * [`fn withType(value)`](#fn-specialvaluemapwithtype) - * [`obj options`](#obj-specialvaluemapoptions) - * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) - * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) - * [`obj result`](#obj-specialvaluemapoptionsresult) - * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) -* [`obj ValueMap`](#obj-valuemap) - * [`fn withOptions(value)`](#fn-valuemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) - * [`fn withType(value)`](#fn-valuemapwithtype) - -## Fields - -### obj RangeMap - - -#### fn RangeMap.withOptions - -```jsonnet -RangeMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withOptionsMixin - -```jsonnet -RangeMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withType - -```jsonnet -RangeMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RangeMap.options - - -##### fn RangeMap.options.withFrom - -```jsonnet -RangeMap.options.withFrom(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Min value of the range. It can be null which means -Infinity -##### fn RangeMap.options.withResult - -```jsonnet -RangeMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withResultMixin - -```jsonnet -RangeMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withTo - -```jsonnet -RangeMap.options.withTo(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Max value of the range. It can be null which means +Infinity -##### obj RangeMap.options.result - - -###### fn RangeMap.options.result.withColor - -```jsonnet -RangeMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RangeMap.options.result.withIcon - -```jsonnet -RangeMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RangeMap.options.result.withIndex - -```jsonnet -RangeMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RangeMap.options.result.withText - -```jsonnet -RangeMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj RegexMap - - -#### fn RegexMap.withOptions - -```jsonnet -RegexMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withOptionsMixin - -```jsonnet -RegexMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withType - -```jsonnet -RegexMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RegexMap.options - - -##### fn RegexMap.options.withPattern - -```jsonnet -RegexMap.options.withPattern(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Regular expression to match against -##### fn RegexMap.options.withResult - -```jsonnet -RegexMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RegexMap.options.withResultMixin - -```jsonnet -RegexMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj RegexMap.options.result - - -###### fn RegexMap.options.result.withColor - -```jsonnet -RegexMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RegexMap.options.result.withIcon - -```jsonnet -RegexMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RegexMap.options.result.withIndex - -```jsonnet -RegexMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RegexMap.options.result.withText - -```jsonnet -RegexMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj SpecialValueMap - - -#### fn SpecialValueMap.withOptions - -```jsonnet -SpecialValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withOptionsMixin - -```jsonnet -SpecialValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withType - -```jsonnet -SpecialValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj SpecialValueMap.options - - -##### fn SpecialValueMap.options.withMatch - -```jsonnet -SpecialValueMap.options.withMatch(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` - -Special value types supported by the `SpecialValueMap` -##### fn SpecialValueMap.options.withResult - -```jsonnet -SpecialValueMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn SpecialValueMap.options.withResultMixin - -```jsonnet -SpecialValueMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj SpecialValueMap.options.result - - -###### fn SpecialValueMap.options.result.withColor - -```jsonnet -SpecialValueMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn SpecialValueMap.options.result.withIcon - -```jsonnet -SpecialValueMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn SpecialValueMap.options.result.withIndex - -```jsonnet -SpecialValueMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn SpecialValueMap.options.result.withText - -```jsonnet -SpecialValueMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj ValueMap - - -#### fn ValueMap.withOptions - -```jsonnet -ValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withOptionsMixin - -```jsonnet -ValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withType - -```jsonnet -ValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/heatmap/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/heatmap/standardOptions/threshold/step.md deleted file mode 100644 index 5212a21..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/heatmap/standardOptions/threshold/step.md +++ /dev/null @@ -1,34 +0,0 @@ -# threshold.step - - - -## Index - -* [`fn withColor(value)`](#fn-withcolor) -* [`fn withValue(value)`](#fn-withvalue) - -## Fields - -### fn withColor - -```jsonnet -withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. -### fn withValue - -```jsonnet -withValue(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. -Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/histogram/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/histogram/queryOptions/transformation.md deleted file mode 100644 index 17a3d45..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/histogram/queryOptions/transformation.md +++ /dev/null @@ -1,115 +0,0 @@ -# transformation - - - -## Index - -* [`fn withDisabled(value=true)`](#fn-withdisabled) -* [`fn withFilter(value)`](#fn-withfilter) -* [`fn withFilterMixin(value)`](#fn-withfiltermixin) -* [`fn withId(value)`](#fn-withid) -* [`fn withOptions(value)`](#fn-withoptions) -* [`fn withTopic(value)`](#fn-withtopic) -* [`obj filter`](#obj-filter) - * [`fn withId(value="")`](#fn-filterwithid) - * [`fn withOptions(value)`](#fn-filterwithoptions) - -## Fields - -### fn withDisabled - -```jsonnet -withDisabled(value=true) -``` - -PARAMETERS: - -* **value** (`boolean`) - - default value: `true` - -Disabled transformations are skipped -### fn withFilter - -```jsonnet -withFilter(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withFilterMixin - -```jsonnet -withFilterMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withId - -```jsonnet -withId(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Unique identifier of transformer -### fn withOptions - -```jsonnet -withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Options to be passed to the transformer -Valid options depend on the transformer id -### fn withTopic - -```jsonnet -withTopic(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"series"`, `"annotations"`, `"alertStates"` - -Where to pull DataFrames from as input to transformation -### obj filter - - -#### fn filter.withId - -```jsonnet -filter.withId(value="") -``` - -PARAMETERS: - -* **value** (`string`) - - default value: `""` - -The matcher id. This is used to find the matcher implementation from registry. -#### fn filter.withOptions - -```jsonnet -filter.withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/histogram/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/histogram/standardOptions/mapping.md deleted file mode 100644 index 7f10ced..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/histogram/standardOptions/mapping.md +++ /dev/null @@ -1,457 +0,0 @@ -# mapping - - - -## Index - -* [`obj RangeMap`](#obj-rangemap) - * [`fn withOptions(value)`](#fn-rangemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) - * [`fn withType(value)`](#fn-rangemapwithtype) - * [`obj options`](#obj-rangemapoptions) - * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) - * [`fn withResult(value)`](#fn-rangemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) - * [`fn withTo(value)`](#fn-rangemapoptionswithto) - * [`obj result`](#obj-rangemapoptionsresult) - * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) -* [`obj RegexMap`](#obj-regexmap) - * [`fn withOptions(value)`](#fn-regexmapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) - * [`fn withType(value)`](#fn-regexmapwithtype) - * [`obj options`](#obj-regexmapoptions) - * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) - * [`fn withResult(value)`](#fn-regexmapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) - * [`obj result`](#obj-regexmapoptionsresult) - * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) - * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) -* [`obj SpecialValueMap`](#obj-specialvaluemap) - * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) - * [`fn withType(value)`](#fn-specialvaluemapwithtype) - * [`obj options`](#obj-specialvaluemapoptions) - * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) - * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) - * [`obj result`](#obj-specialvaluemapoptionsresult) - * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) -* [`obj ValueMap`](#obj-valuemap) - * [`fn withOptions(value)`](#fn-valuemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) - * [`fn withType(value)`](#fn-valuemapwithtype) - -## Fields - -### obj RangeMap - - -#### fn RangeMap.withOptions - -```jsonnet -RangeMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withOptionsMixin - -```jsonnet -RangeMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withType - -```jsonnet -RangeMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RangeMap.options - - -##### fn RangeMap.options.withFrom - -```jsonnet -RangeMap.options.withFrom(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Min value of the range. It can be null which means -Infinity -##### fn RangeMap.options.withResult - -```jsonnet -RangeMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withResultMixin - -```jsonnet -RangeMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withTo - -```jsonnet -RangeMap.options.withTo(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Max value of the range. It can be null which means +Infinity -##### obj RangeMap.options.result - - -###### fn RangeMap.options.result.withColor - -```jsonnet -RangeMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RangeMap.options.result.withIcon - -```jsonnet -RangeMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RangeMap.options.result.withIndex - -```jsonnet -RangeMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RangeMap.options.result.withText - -```jsonnet -RangeMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj RegexMap - - -#### fn RegexMap.withOptions - -```jsonnet -RegexMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withOptionsMixin - -```jsonnet -RegexMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withType - -```jsonnet -RegexMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RegexMap.options - - -##### fn RegexMap.options.withPattern - -```jsonnet -RegexMap.options.withPattern(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Regular expression to match against -##### fn RegexMap.options.withResult - -```jsonnet -RegexMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RegexMap.options.withResultMixin - -```jsonnet -RegexMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj RegexMap.options.result - - -###### fn RegexMap.options.result.withColor - -```jsonnet -RegexMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RegexMap.options.result.withIcon - -```jsonnet -RegexMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RegexMap.options.result.withIndex - -```jsonnet -RegexMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RegexMap.options.result.withText - -```jsonnet -RegexMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj SpecialValueMap - - -#### fn SpecialValueMap.withOptions - -```jsonnet -SpecialValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withOptionsMixin - -```jsonnet -SpecialValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withType - -```jsonnet -SpecialValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj SpecialValueMap.options - - -##### fn SpecialValueMap.options.withMatch - -```jsonnet -SpecialValueMap.options.withMatch(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` - -Special value types supported by the `SpecialValueMap` -##### fn SpecialValueMap.options.withResult - -```jsonnet -SpecialValueMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn SpecialValueMap.options.withResultMixin - -```jsonnet -SpecialValueMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj SpecialValueMap.options.result - - -###### fn SpecialValueMap.options.result.withColor - -```jsonnet -SpecialValueMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn SpecialValueMap.options.result.withIcon - -```jsonnet -SpecialValueMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn SpecialValueMap.options.result.withIndex - -```jsonnet -SpecialValueMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn SpecialValueMap.options.result.withText - -```jsonnet -SpecialValueMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj ValueMap - - -#### fn ValueMap.withOptions - -```jsonnet -ValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withOptionsMixin - -```jsonnet -ValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withType - -```jsonnet -ValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/histogram/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/histogram/standardOptions/threshold/step.md deleted file mode 100644 index 5212a21..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/histogram/standardOptions/threshold/step.md +++ /dev/null @@ -1,34 +0,0 @@ -# threshold.step - - - -## Index - -* [`fn withColor(value)`](#fn-withcolor) -* [`fn withValue(value)`](#fn-withvalue) - -## Fields - -### fn withColor - -```jsonnet -withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. -### fn withValue - -```jsonnet -withValue(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. -Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/logs/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/logs/queryOptions/transformation.md deleted file mode 100644 index 17a3d45..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/logs/queryOptions/transformation.md +++ /dev/null @@ -1,115 +0,0 @@ -# transformation - - - -## Index - -* [`fn withDisabled(value=true)`](#fn-withdisabled) -* [`fn withFilter(value)`](#fn-withfilter) -* [`fn withFilterMixin(value)`](#fn-withfiltermixin) -* [`fn withId(value)`](#fn-withid) -* [`fn withOptions(value)`](#fn-withoptions) -* [`fn withTopic(value)`](#fn-withtopic) -* [`obj filter`](#obj-filter) - * [`fn withId(value="")`](#fn-filterwithid) - * [`fn withOptions(value)`](#fn-filterwithoptions) - -## Fields - -### fn withDisabled - -```jsonnet -withDisabled(value=true) -``` - -PARAMETERS: - -* **value** (`boolean`) - - default value: `true` - -Disabled transformations are skipped -### fn withFilter - -```jsonnet -withFilter(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withFilterMixin - -```jsonnet -withFilterMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withId - -```jsonnet -withId(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Unique identifier of transformer -### fn withOptions - -```jsonnet -withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Options to be passed to the transformer -Valid options depend on the transformer id -### fn withTopic - -```jsonnet -withTopic(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"series"`, `"annotations"`, `"alertStates"` - -Where to pull DataFrames from as input to transformation -### obj filter - - -#### fn filter.withId - -```jsonnet -filter.withId(value="") -``` - -PARAMETERS: - -* **value** (`string`) - - default value: `""` - -The matcher id. This is used to find the matcher implementation from registry. -#### fn filter.withOptions - -```jsonnet -filter.withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/logs/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/logs/standardOptions/mapping.md deleted file mode 100644 index 7f10ced..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/logs/standardOptions/mapping.md +++ /dev/null @@ -1,457 +0,0 @@ -# mapping - - - -## Index - -* [`obj RangeMap`](#obj-rangemap) - * [`fn withOptions(value)`](#fn-rangemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) - * [`fn withType(value)`](#fn-rangemapwithtype) - * [`obj options`](#obj-rangemapoptions) - * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) - * [`fn withResult(value)`](#fn-rangemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) - * [`fn withTo(value)`](#fn-rangemapoptionswithto) - * [`obj result`](#obj-rangemapoptionsresult) - * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) -* [`obj RegexMap`](#obj-regexmap) - * [`fn withOptions(value)`](#fn-regexmapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) - * [`fn withType(value)`](#fn-regexmapwithtype) - * [`obj options`](#obj-regexmapoptions) - * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) - * [`fn withResult(value)`](#fn-regexmapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) - * [`obj result`](#obj-regexmapoptionsresult) - * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) - * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) -* [`obj SpecialValueMap`](#obj-specialvaluemap) - * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) - * [`fn withType(value)`](#fn-specialvaluemapwithtype) - * [`obj options`](#obj-specialvaluemapoptions) - * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) - * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) - * [`obj result`](#obj-specialvaluemapoptionsresult) - * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) -* [`obj ValueMap`](#obj-valuemap) - * [`fn withOptions(value)`](#fn-valuemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) - * [`fn withType(value)`](#fn-valuemapwithtype) - -## Fields - -### obj RangeMap - - -#### fn RangeMap.withOptions - -```jsonnet -RangeMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withOptionsMixin - -```jsonnet -RangeMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withType - -```jsonnet -RangeMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RangeMap.options - - -##### fn RangeMap.options.withFrom - -```jsonnet -RangeMap.options.withFrom(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Min value of the range. It can be null which means -Infinity -##### fn RangeMap.options.withResult - -```jsonnet -RangeMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withResultMixin - -```jsonnet -RangeMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withTo - -```jsonnet -RangeMap.options.withTo(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Max value of the range. It can be null which means +Infinity -##### obj RangeMap.options.result - - -###### fn RangeMap.options.result.withColor - -```jsonnet -RangeMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RangeMap.options.result.withIcon - -```jsonnet -RangeMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RangeMap.options.result.withIndex - -```jsonnet -RangeMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RangeMap.options.result.withText - -```jsonnet -RangeMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj RegexMap - - -#### fn RegexMap.withOptions - -```jsonnet -RegexMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withOptionsMixin - -```jsonnet -RegexMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withType - -```jsonnet -RegexMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RegexMap.options - - -##### fn RegexMap.options.withPattern - -```jsonnet -RegexMap.options.withPattern(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Regular expression to match against -##### fn RegexMap.options.withResult - -```jsonnet -RegexMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RegexMap.options.withResultMixin - -```jsonnet -RegexMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj RegexMap.options.result - - -###### fn RegexMap.options.result.withColor - -```jsonnet -RegexMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RegexMap.options.result.withIcon - -```jsonnet -RegexMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RegexMap.options.result.withIndex - -```jsonnet -RegexMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RegexMap.options.result.withText - -```jsonnet -RegexMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj SpecialValueMap - - -#### fn SpecialValueMap.withOptions - -```jsonnet -SpecialValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withOptionsMixin - -```jsonnet -SpecialValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withType - -```jsonnet -SpecialValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj SpecialValueMap.options - - -##### fn SpecialValueMap.options.withMatch - -```jsonnet -SpecialValueMap.options.withMatch(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` - -Special value types supported by the `SpecialValueMap` -##### fn SpecialValueMap.options.withResult - -```jsonnet -SpecialValueMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn SpecialValueMap.options.withResultMixin - -```jsonnet -SpecialValueMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj SpecialValueMap.options.result - - -###### fn SpecialValueMap.options.result.withColor - -```jsonnet -SpecialValueMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn SpecialValueMap.options.result.withIcon - -```jsonnet -SpecialValueMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn SpecialValueMap.options.result.withIndex - -```jsonnet -SpecialValueMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn SpecialValueMap.options.result.withText - -```jsonnet -SpecialValueMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj ValueMap - - -#### fn ValueMap.withOptions - -```jsonnet -ValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withOptionsMixin - -```jsonnet -ValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withType - -```jsonnet -ValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/logs/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/logs/standardOptions/threshold/step.md deleted file mode 100644 index 5212a21..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/logs/standardOptions/threshold/step.md +++ /dev/null @@ -1,34 +0,0 @@ -# threshold.step - - - -## Index - -* [`fn withColor(value)`](#fn-withcolor) -* [`fn withValue(value)`](#fn-withvalue) - -## Fields - -### fn withColor - -```jsonnet -withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. -### fn withValue - -```jsonnet -withValue(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. -Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/news/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/news/queryOptions/transformation.md deleted file mode 100644 index 17a3d45..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/news/queryOptions/transformation.md +++ /dev/null @@ -1,115 +0,0 @@ -# transformation - - - -## Index - -* [`fn withDisabled(value=true)`](#fn-withdisabled) -* [`fn withFilter(value)`](#fn-withfilter) -* [`fn withFilterMixin(value)`](#fn-withfiltermixin) -* [`fn withId(value)`](#fn-withid) -* [`fn withOptions(value)`](#fn-withoptions) -* [`fn withTopic(value)`](#fn-withtopic) -* [`obj filter`](#obj-filter) - * [`fn withId(value="")`](#fn-filterwithid) - * [`fn withOptions(value)`](#fn-filterwithoptions) - -## Fields - -### fn withDisabled - -```jsonnet -withDisabled(value=true) -``` - -PARAMETERS: - -* **value** (`boolean`) - - default value: `true` - -Disabled transformations are skipped -### fn withFilter - -```jsonnet -withFilter(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withFilterMixin - -```jsonnet -withFilterMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withId - -```jsonnet -withId(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Unique identifier of transformer -### fn withOptions - -```jsonnet -withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Options to be passed to the transformer -Valid options depend on the transformer id -### fn withTopic - -```jsonnet -withTopic(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"series"`, `"annotations"`, `"alertStates"` - -Where to pull DataFrames from as input to transformation -### obj filter - - -#### fn filter.withId - -```jsonnet -filter.withId(value="") -``` - -PARAMETERS: - -* **value** (`string`) - - default value: `""` - -The matcher id. This is used to find the matcher implementation from registry. -#### fn filter.withOptions - -```jsonnet -filter.withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/news/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/news/standardOptions/mapping.md deleted file mode 100644 index 7f10ced..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/news/standardOptions/mapping.md +++ /dev/null @@ -1,457 +0,0 @@ -# mapping - - - -## Index - -* [`obj RangeMap`](#obj-rangemap) - * [`fn withOptions(value)`](#fn-rangemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) - * [`fn withType(value)`](#fn-rangemapwithtype) - * [`obj options`](#obj-rangemapoptions) - * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) - * [`fn withResult(value)`](#fn-rangemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) - * [`fn withTo(value)`](#fn-rangemapoptionswithto) - * [`obj result`](#obj-rangemapoptionsresult) - * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) -* [`obj RegexMap`](#obj-regexmap) - * [`fn withOptions(value)`](#fn-regexmapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) - * [`fn withType(value)`](#fn-regexmapwithtype) - * [`obj options`](#obj-regexmapoptions) - * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) - * [`fn withResult(value)`](#fn-regexmapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) - * [`obj result`](#obj-regexmapoptionsresult) - * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) - * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) -* [`obj SpecialValueMap`](#obj-specialvaluemap) - * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) - * [`fn withType(value)`](#fn-specialvaluemapwithtype) - * [`obj options`](#obj-specialvaluemapoptions) - * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) - * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) - * [`obj result`](#obj-specialvaluemapoptionsresult) - * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) -* [`obj ValueMap`](#obj-valuemap) - * [`fn withOptions(value)`](#fn-valuemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) - * [`fn withType(value)`](#fn-valuemapwithtype) - -## Fields - -### obj RangeMap - - -#### fn RangeMap.withOptions - -```jsonnet -RangeMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withOptionsMixin - -```jsonnet -RangeMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withType - -```jsonnet -RangeMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RangeMap.options - - -##### fn RangeMap.options.withFrom - -```jsonnet -RangeMap.options.withFrom(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Min value of the range. It can be null which means -Infinity -##### fn RangeMap.options.withResult - -```jsonnet -RangeMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withResultMixin - -```jsonnet -RangeMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withTo - -```jsonnet -RangeMap.options.withTo(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Max value of the range. It can be null which means +Infinity -##### obj RangeMap.options.result - - -###### fn RangeMap.options.result.withColor - -```jsonnet -RangeMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RangeMap.options.result.withIcon - -```jsonnet -RangeMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RangeMap.options.result.withIndex - -```jsonnet -RangeMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RangeMap.options.result.withText - -```jsonnet -RangeMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj RegexMap - - -#### fn RegexMap.withOptions - -```jsonnet -RegexMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withOptionsMixin - -```jsonnet -RegexMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withType - -```jsonnet -RegexMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RegexMap.options - - -##### fn RegexMap.options.withPattern - -```jsonnet -RegexMap.options.withPattern(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Regular expression to match against -##### fn RegexMap.options.withResult - -```jsonnet -RegexMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RegexMap.options.withResultMixin - -```jsonnet -RegexMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj RegexMap.options.result - - -###### fn RegexMap.options.result.withColor - -```jsonnet -RegexMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RegexMap.options.result.withIcon - -```jsonnet -RegexMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RegexMap.options.result.withIndex - -```jsonnet -RegexMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RegexMap.options.result.withText - -```jsonnet -RegexMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj SpecialValueMap - - -#### fn SpecialValueMap.withOptions - -```jsonnet -SpecialValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withOptionsMixin - -```jsonnet -SpecialValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withType - -```jsonnet -SpecialValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj SpecialValueMap.options - - -##### fn SpecialValueMap.options.withMatch - -```jsonnet -SpecialValueMap.options.withMatch(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` - -Special value types supported by the `SpecialValueMap` -##### fn SpecialValueMap.options.withResult - -```jsonnet -SpecialValueMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn SpecialValueMap.options.withResultMixin - -```jsonnet -SpecialValueMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj SpecialValueMap.options.result - - -###### fn SpecialValueMap.options.result.withColor - -```jsonnet -SpecialValueMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn SpecialValueMap.options.result.withIcon - -```jsonnet -SpecialValueMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn SpecialValueMap.options.result.withIndex - -```jsonnet -SpecialValueMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn SpecialValueMap.options.result.withText - -```jsonnet -SpecialValueMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj ValueMap - - -#### fn ValueMap.withOptions - -```jsonnet -ValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withOptionsMixin - -```jsonnet -ValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withType - -```jsonnet -ValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/news/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/news/standardOptions/threshold/step.md deleted file mode 100644 index 5212a21..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/news/standardOptions/threshold/step.md +++ /dev/null @@ -1,34 +0,0 @@ -# threshold.step - - - -## Index - -* [`fn withColor(value)`](#fn-withcolor) -* [`fn withValue(value)`](#fn-withvalue) - -## Fields - -### fn withColor - -```jsonnet -withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. -### fn withValue - -```jsonnet -withValue(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. -Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/nodeGraph/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/nodeGraph/queryOptions/transformation.md deleted file mode 100644 index 17a3d45..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/nodeGraph/queryOptions/transformation.md +++ /dev/null @@ -1,115 +0,0 @@ -# transformation - - - -## Index - -* [`fn withDisabled(value=true)`](#fn-withdisabled) -* [`fn withFilter(value)`](#fn-withfilter) -* [`fn withFilterMixin(value)`](#fn-withfiltermixin) -* [`fn withId(value)`](#fn-withid) -* [`fn withOptions(value)`](#fn-withoptions) -* [`fn withTopic(value)`](#fn-withtopic) -* [`obj filter`](#obj-filter) - * [`fn withId(value="")`](#fn-filterwithid) - * [`fn withOptions(value)`](#fn-filterwithoptions) - -## Fields - -### fn withDisabled - -```jsonnet -withDisabled(value=true) -``` - -PARAMETERS: - -* **value** (`boolean`) - - default value: `true` - -Disabled transformations are skipped -### fn withFilter - -```jsonnet -withFilter(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withFilterMixin - -```jsonnet -withFilterMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withId - -```jsonnet -withId(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Unique identifier of transformer -### fn withOptions - -```jsonnet -withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Options to be passed to the transformer -Valid options depend on the transformer id -### fn withTopic - -```jsonnet -withTopic(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"series"`, `"annotations"`, `"alertStates"` - -Where to pull DataFrames from as input to transformation -### obj filter - - -#### fn filter.withId - -```jsonnet -filter.withId(value="") -``` - -PARAMETERS: - -* **value** (`string`) - - default value: `""` - -The matcher id. This is used to find the matcher implementation from registry. -#### fn filter.withOptions - -```jsonnet -filter.withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/nodeGraph/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/nodeGraph/standardOptions/mapping.md deleted file mode 100644 index 7f10ced..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/nodeGraph/standardOptions/mapping.md +++ /dev/null @@ -1,457 +0,0 @@ -# mapping - - - -## Index - -* [`obj RangeMap`](#obj-rangemap) - * [`fn withOptions(value)`](#fn-rangemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) - * [`fn withType(value)`](#fn-rangemapwithtype) - * [`obj options`](#obj-rangemapoptions) - * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) - * [`fn withResult(value)`](#fn-rangemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) - * [`fn withTo(value)`](#fn-rangemapoptionswithto) - * [`obj result`](#obj-rangemapoptionsresult) - * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) -* [`obj RegexMap`](#obj-regexmap) - * [`fn withOptions(value)`](#fn-regexmapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) - * [`fn withType(value)`](#fn-regexmapwithtype) - * [`obj options`](#obj-regexmapoptions) - * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) - * [`fn withResult(value)`](#fn-regexmapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) - * [`obj result`](#obj-regexmapoptionsresult) - * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) - * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) -* [`obj SpecialValueMap`](#obj-specialvaluemap) - * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) - * [`fn withType(value)`](#fn-specialvaluemapwithtype) - * [`obj options`](#obj-specialvaluemapoptions) - * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) - * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) - * [`obj result`](#obj-specialvaluemapoptionsresult) - * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) -* [`obj ValueMap`](#obj-valuemap) - * [`fn withOptions(value)`](#fn-valuemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) - * [`fn withType(value)`](#fn-valuemapwithtype) - -## Fields - -### obj RangeMap - - -#### fn RangeMap.withOptions - -```jsonnet -RangeMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withOptionsMixin - -```jsonnet -RangeMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withType - -```jsonnet -RangeMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RangeMap.options - - -##### fn RangeMap.options.withFrom - -```jsonnet -RangeMap.options.withFrom(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Min value of the range. It can be null which means -Infinity -##### fn RangeMap.options.withResult - -```jsonnet -RangeMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withResultMixin - -```jsonnet -RangeMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withTo - -```jsonnet -RangeMap.options.withTo(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Max value of the range. It can be null which means +Infinity -##### obj RangeMap.options.result - - -###### fn RangeMap.options.result.withColor - -```jsonnet -RangeMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RangeMap.options.result.withIcon - -```jsonnet -RangeMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RangeMap.options.result.withIndex - -```jsonnet -RangeMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RangeMap.options.result.withText - -```jsonnet -RangeMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj RegexMap - - -#### fn RegexMap.withOptions - -```jsonnet -RegexMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withOptionsMixin - -```jsonnet -RegexMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withType - -```jsonnet -RegexMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RegexMap.options - - -##### fn RegexMap.options.withPattern - -```jsonnet -RegexMap.options.withPattern(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Regular expression to match against -##### fn RegexMap.options.withResult - -```jsonnet -RegexMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RegexMap.options.withResultMixin - -```jsonnet -RegexMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj RegexMap.options.result - - -###### fn RegexMap.options.result.withColor - -```jsonnet -RegexMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RegexMap.options.result.withIcon - -```jsonnet -RegexMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RegexMap.options.result.withIndex - -```jsonnet -RegexMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RegexMap.options.result.withText - -```jsonnet -RegexMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj SpecialValueMap - - -#### fn SpecialValueMap.withOptions - -```jsonnet -SpecialValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withOptionsMixin - -```jsonnet -SpecialValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withType - -```jsonnet -SpecialValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj SpecialValueMap.options - - -##### fn SpecialValueMap.options.withMatch - -```jsonnet -SpecialValueMap.options.withMatch(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` - -Special value types supported by the `SpecialValueMap` -##### fn SpecialValueMap.options.withResult - -```jsonnet -SpecialValueMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn SpecialValueMap.options.withResultMixin - -```jsonnet -SpecialValueMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj SpecialValueMap.options.result - - -###### fn SpecialValueMap.options.result.withColor - -```jsonnet -SpecialValueMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn SpecialValueMap.options.result.withIcon - -```jsonnet -SpecialValueMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn SpecialValueMap.options.result.withIndex - -```jsonnet -SpecialValueMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn SpecialValueMap.options.result.withText - -```jsonnet -SpecialValueMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj ValueMap - - -#### fn ValueMap.withOptions - -```jsonnet -ValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withOptionsMixin - -```jsonnet -ValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withType - -```jsonnet -ValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/nodeGraph/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/nodeGraph/standardOptions/threshold/step.md deleted file mode 100644 index 5212a21..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/nodeGraph/standardOptions/threshold/step.md +++ /dev/null @@ -1,34 +0,0 @@ -# threshold.step - - - -## Index - -* [`fn withColor(value)`](#fn-withcolor) -* [`fn withValue(value)`](#fn-withvalue) - -## Fields - -### fn withColor - -```jsonnet -withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. -### fn withValue - -```jsonnet -withValue(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. -Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/pieChart/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/pieChart/queryOptions/transformation.md deleted file mode 100644 index 17a3d45..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/pieChart/queryOptions/transformation.md +++ /dev/null @@ -1,115 +0,0 @@ -# transformation - - - -## Index - -* [`fn withDisabled(value=true)`](#fn-withdisabled) -* [`fn withFilter(value)`](#fn-withfilter) -* [`fn withFilterMixin(value)`](#fn-withfiltermixin) -* [`fn withId(value)`](#fn-withid) -* [`fn withOptions(value)`](#fn-withoptions) -* [`fn withTopic(value)`](#fn-withtopic) -* [`obj filter`](#obj-filter) - * [`fn withId(value="")`](#fn-filterwithid) - * [`fn withOptions(value)`](#fn-filterwithoptions) - -## Fields - -### fn withDisabled - -```jsonnet -withDisabled(value=true) -``` - -PARAMETERS: - -* **value** (`boolean`) - - default value: `true` - -Disabled transformations are skipped -### fn withFilter - -```jsonnet -withFilter(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withFilterMixin - -```jsonnet -withFilterMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withId - -```jsonnet -withId(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Unique identifier of transformer -### fn withOptions - -```jsonnet -withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Options to be passed to the transformer -Valid options depend on the transformer id -### fn withTopic - -```jsonnet -withTopic(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"series"`, `"annotations"`, `"alertStates"` - -Where to pull DataFrames from as input to transformation -### obj filter - - -#### fn filter.withId - -```jsonnet -filter.withId(value="") -``` - -PARAMETERS: - -* **value** (`string`) - - default value: `""` - -The matcher id. This is used to find the matcher implementation from registry. -#### fn filter.withOptions - -```jsonnet -filter.withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/pieChart/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/pieChart/standardOptions/mapping.md deleted file mode 100644 index 7f10ced..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/pieChart/standardOptions/mapping.md +++ /dev/null @@ -1,457 +0,0 @@ -# mapping - - - -## Index - -* [`obj RangeMap`](#obj-rangemap) - * [`fn withOptions(value)`](#fn-rangemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) - * [`fn withType(value)`](#fn-rangemapwithtype) - * [`obj options`](#obj-rangemapoptions) - * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) - * [`fn withResult(value)`](#fn-rangemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) - * [`fn withTo(value)`](#fn-rangemapoptionswithto) - * [`obj result`](#obj-rangemapoptionsresult) - * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) -* [`obj RegexMap`](#obj-regexmap) - * [`fn withOptions(value)`](#fn-regexmapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) - * [`fn withType(value)`](#fn-regexmapwithtype) - * [`obj options`](#obj-regexmapoptions) - * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) - * [`fn withResult(value)`](#fn-regexmapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) - * [`obj result`](#obj-regexmapoptionsresult) - * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) - * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) -* [`obj SpecialValueMap`](#obj-specialvaluemap) - * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) - * [`fn withType(value)`](#fn-specialvaluemapwithtype) - * [`obj options`](#obj-specialvaluemapoptions) - * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) - * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) - * [`obj result`](#obj-specialvaluemapoptionsresult) - * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) -* [`obj ValueMap`](#obj-valuemap) - * [`fn withOptions(value)`](#fn-valuemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) - * [`fn withType(value)`](#fn-valuemapwithtype) - -## Fields - -### obj RangeMap - - -#### fn RangeMap.withOptions - -```jsonnet -RangeMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withOptionsMixin - -```jsonnet -RangeMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withType - -```jsonnet -RangeMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RangeMap.options - - -##### fn RangeMap.options.withFrom - -```jsonnet -RangeMap.options.withFrom(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Min value of the range. It can be null which means -Infinity -##### fn RangeMap.options.withResult - -```jsonnet -RangeMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withResultMixin - -```jsonnet -RangeMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withTo - -```jsonnet -RangeMap.options.withTo(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Max value of the range. It can be null which means +Infinity -##### obj RangeMap.options.result - - -###### fn RangeMap.options.result.withColor - -```jsonnet -RangeMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RangeMap.options.result.withIcon - -```jsonnet -RangeMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RangeMap.options.result.withIndex - -```jsonnet -RangeMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RangeMap.options.result.withText - -```jsonnet -RangeMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj RegexMap - - -#### fn RegexMap.withOptions - -```jsonnet -RegexMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withOptionsMixin - -```jsonnet -RegexMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withType - -```jsonnet -RegexMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RegexMap.options - - -##### fn RegexMap.options.withPattern - -```jsonnet -RegexMap.options.withPattern(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Regular expression to match against -##### fn RegexMap.options.withResult - -```jsonnet -RegexMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RegexMap.options.withResultMixin - -```jsonnet -RegexMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj RegexMap.options.result - - -###### fn RegexMap.options.result.withColor - -```jsonnet -RegexMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RegexMap.options.result.withIcon - -```jsonnet -RegexMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RegexMap.options.result.withIndex - -```jsonnet -RegexMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RegexMap.options.result.withText - -```jsonnet -RegexMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj SpecialValueMap - - -#### fn SpecialValueMap.withOptions - -```jsonnet -SpecialValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withOptionsMixin - -```jsonnet -SpecialValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withType - -```jsonnet -SpecialValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj SpecialValueMap.options - - -##### fn SpecialValueMap.options.withMatch - -```jsonnet -SpecialValueMap.options.withMatch(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` - -Special value types supported by the `SpecialValueMap` -##### fn SpecialValueMap.options.withResult - -```jsonnet -SpecialValueMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn SpecialValueMap.options.withResultMixin - -```jsonnet -SpecialValueMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj SpecialValueMap.options.result - - -###### fn SpecialValueMap.options.result.withColor - -```jsonnet -SpecialValueMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn SpecialValueMap.options.result.withIcon - -```jsonnet -SpecialValueMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn SpecialValueMap.options.result.withIndex - -```jsonnet -SpecialValueMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn SpecialValueMap.options.result.withText - -```jsonnet -SpecialValueMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj ValueMap - - -#### fn ValueMap.withOptions - -```jsonnet -ValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withOptionsMixin - -```jsonnet -ValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withType - -```jsonnet -ValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/pieChart/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/pieChart/standardOptions/threshold/step.md deleted file mode 100644 index 5212a21..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/pieChart/standardOptions/threshold/step.md +++ /dev/null @@ -1,34 +0,0 @@ -# threshold.step - - - -## Index - -* [`fn withColor(value)`](#fn-withcolor) -* [`fn withValue(value)`](#fn-withvalue) - -## Fields - -### fn withColor - -```jsonnet -withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. -### fn withValue - -```jsonnet -withValue(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. -Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stat/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stat/queryOptions/transformation.md deleted file mode 100644 index 17a3d45..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stat/queryOptions/transformation.md +++ /dev/null @@ -1,115 +0,0 @@ -# transformation - - - -## Index - -* [`fn withDisabled(value=true)`](#fn-withdisabled) -* [`fn withFilter(value)`](#fn-withfilter) -* [`fn withFilterMixin(value)`](#fn-withfiltermixin) -* [`fn withId(value)`](#fn-withid) -* [`fn withOptions(value)`](#fn-withoptions) -* [`fn withTopic(value)`](#fn-withtopic) -* [`obj filter`](#obj-filter) - * [`fn withId(value="")`](#fn-filterwithid) - * [`fn withOptions(value)`](#fn-filterwithoptions) - -## Fields - -### fn withDisabled - -```jsonnet -withDisabled(value=true) -``` - -PARAMETERS: - -* **value** (`boolean`) - - default value: `true` - -Disabled transformations are skipped -### fn withFilter - -```jsonnet -withFilter(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withFilterMixin - -```jsonnet -withFilterMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withId - -```jsonnet -withId(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Unique identifier of transformer -### fn withOptions - -```jsonnet -withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Options to be passed to the transformer -Valid options depend on the transformer id -### fn withTopic - -```jsonnet -withTopic(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"series"`, `"annotations"`, `"alertStates"` - -Where to pull DataFrames from as input to transformation -### obj filter - - -#### fn filter.withId - -```jsonnet -filter.withId(value="") -``` - -PARAMETERS: - -* **value** (`string`) - - default value: `""` - -The matcher id. This is used to find the matcher implementation from registry. -#### fn filter.withOptions - -```jsonnet -filter.withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stat/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stat/standardOptions/mapping.md deleted file mode 100644 index 7f10ced..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stat/standardOptions/mapping.md +++ /dev/null @@ -1,457 +0,0 @@ -# mapping - - - -## Index - -* [`obj RangeMap`](#obj-rangemap) - * [`fn withOptions(value)`](#fn-rangemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) - * [`fn withType(value)`](#fn-rangemapwithtype) - * [`obj options`](#obj-rangemapoptions) - * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) - * [`fn withResult(value)`](#fn-rangemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) - * [`fn withTo(value)`](#fn-rangemapoptionswithto) - * [`obj result`](#obj-rangemapoptionsresult) - * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) -* [`obj RegexMap`](#obj-regexmap) - * [`fn withOptions(value)`](#fn-regexmapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) - * [`fn withType(value)`](#fn-regexmapwithtype) - * [`obj options`](#obj-regexmapoptions) - * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) - * [`fn withResult(value)`](#fn-regexmapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) - * [`obj result`](#obj-regexmapoptionsresult) - * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) - * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) -* [`obj SpecialValueMap`](#obj-specialvaluemap) - * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) - * [`fn withType(value)`](#fn-specialvaluemapwithtype) - * [`obj options`](#obj-specialvaluemapoptions) - * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) - * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) - * [`obj result`](#obj-specialvaluemapoptionsresult) - * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) -* [`obj ValueMap`](#obj-valuemap) - * [`fn withOptions(value)`](#fn-valuemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) - * [`fn withType(value)`](#fn-valuemapwithtype) - -## Fields - -### obj RangeMap - - -#### fn RangeMap.withOptions - -```jsonnet -RangeMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withOptionsMixin - -```jsonnet -RangeMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withType - -```jsonnet -RangeMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RangeMap.options - - -##### fn RangeMap.options.withFrom - -```jsonnet -RangeMap.options.withFrom(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Min value of the range. It can be null which means -Infinity -##### fn RangeMap.options.withResult - -```jsonnet -RangeMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withResultMixin - -```jsonnet -RangeMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withTo - -```jsonnet -RangeMap.options.withTo(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Max value of the range. It can be null which means +Infinity -##### obj RangeMap.options.result - - -###### fn RangeMap.options.result.withColor - -```jsonnet -RangeMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RangeMap.options.result.withIcon - -```jsonnet -RangeMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RangeMap.options.result.withIndex - -```jsonnet -RangeMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RangeMap.options.result.withText - -```jsonnet -RangeMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj RegexMap - - -#### fn RegexMap.withOptions - -```jsonnet -RegexMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withOptionsMixin - -```jsonnet -RegexMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withType - -```jsonnet -RegexMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RegexMap.options - - -##### fn RegexMap.options.withPattern - -```jsonnet -RegexMap.options.withPattern(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Regular expression to match against -##### fn RegexMap.options.withResult - -```jsonnet -RegexMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RegexMap.options.withResultMixin - -```jsonnet -RegexMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj RegexMap.options.result - - -###### fn RegexMap.options.result.withColor - -```jsonnet -RegexMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RegexMap.options.result.withIcon - -```jsonnet -RegexMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RegexMap.options.result.withIndex - -```jsonnet -RegexMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RegexMap.options.result.withText - -```jsonnet -RegexMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj SpecialValueMap - - -#### fn SpecialValueMap.withOptions - -```jsonnet -SpecialValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withOptionsMixin - -```jsonnet -SpecialValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withType - -```jsonnet -SpecialValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj SpecialValueMap.options - - -##### fn SpecialValueMap.options.withMatch - -```jsonnet -SpecialValueMap.options.withMatch(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` - -Special value types supported by the `SpecialValueMap` -##### fn SpecialValueMap.options.withResult - -```jsonnet -SpecialValueMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn SpecialValueMap.options.withResultMixin - -```jsonnet -SpecialValueMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj SpecialValueMap.options.result - - -###### fn SpecialValueMap.options.result.withColor - -```jsonnet -SpecialValueMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn SpecialValueMap.options.result.withIcon - -```jsonnet -SpecialValueMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn SpecialValueMap.options.result.withIndex - -```jsonnet -SpecialValueMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn SpecialValueMap.options.result.withText - -```jsonnet -SpecialValueMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj ValueMap - - -#### fn ValueMap.withOptions - -```jsonnet -ValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withOptionsMixin - -```jsonnet -ValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withType - -```jsonnet -ValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stat/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stat/standardOptions/threshold/step.md deleted file mode 100644 index 5212a21..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stat/standardOptions/threshold/step.md +++ /dev/null @@ -1,34 +0,0 @@ -# threshold.step - - - -## Index - -* [`fn withColor(value)`](#fn-withcolor) -* [`fn withValue(value)`](#fn-withvalue) - -## Fields - -### fn withColor - -```jsonnet -withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. -### fn withValue - -```jsonnet -withValue(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. -Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stateTimeline/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stateTimeline/queryOptions/transformation.md deleted file mode 100644 index 17a3d45..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stateTimeline/queryOptions/transformation.md +++ /dev/null @@ -1,115 +0,0 @@ -# transformation - - - -## Index - -* [`fn withDisabled(value=true)`](#fn-withdisabled) -* [`fn withFilter(value)`](#fn-withfilter) -* [`fn withFilterMixin(value)`](#fn-withfiltermixin) -* [`fn withId(value)`](#fn-withid) -* [`fn withOptions(value)`](#fn-withoptions) -* [`fn withTopic(value)`](#fn-withtopic) -* [`obj filter`](#obj-filter) - * [`fn withId(value="")`](#fn-filterwithid) - * [`fn withOptions(value)`](#fn-filterwithoptions) - -## Fields - -### fn withDisabled - -```jsonnet -withDisabled(value=true) -``` - -PARAMETERS: - -* **value** (`boolean`) - - default value: `true` - -Disabled transformations are skipped -### fn withFilter - -```jsonnet -withFilter(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withFilterMixin - -```jsonnet -withFilterMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withId - -```jsonnet -withId(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Unique identifier of transformer -### fn withOptions - -```jsonnet -withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Options to be passed to the transformer -Valid options depend on the transformer id -### fn withTopic - -```jsonnet -withTopic(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"series"`, `"annotations"`, `"alertStates"` - -Where to pull DataFrames from as input to transformation -### obj filter - - -#### fn filter.withId - -```jsonnet -filter.withId(value="") -``` - -PARAMETERS: - -* **value** (`string`) - - default value: `""` - -The matcher id. This is used to find the matcher implementation from registry. -#### fn filter.withOptions - -```jsonnet -filter.withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stateTimeline/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stateTimeline/standardOptions/mapping.md deleted file mode 100644 index 7f10ced..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stateTimeline/standardOptions/mapping.md +++ /dev/null @@ -1,457 +0,0 @@ -# mapping - - - -## Index - -* [`obj RangeMap`](#obj-rangemap) - * [`fn withOptions(value)`](#fn-rangemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) - * [`fn withType(value)`](#fn-rangemapwithtype) - * [`obj options`](#obj-rangemapoptions) - * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) - * [`fn withResult(value)`](#fn-rangemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) - * [`fn withTo(value)`](#fn-rangemapoptionswithto) - * [`obj result`](#obj-rangemapoptionsresult) - * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) -* [`obj RegexMap`](#obj-regexmap) - * [`fn withOptions(value)`](#fn-regexmapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) - * [`fn withType(value)`](#fn-regexmapwithtype) - * [`obj options`](#obj-regexmapoptions) - * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) - * [`fn withResult(value)`](#fn-regexmapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) - * [`obj result`](#obj-regexmapoptionsresult) - * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) - * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) -* [`obj SpecialValueMap`](#obj-specialvaluemap) - * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) - * [`fn withType(value)`](#fn-specialvaluemapwithtype) - * [`obj options`](#obj-specialvaluemapoptions) - * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) - * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) - * [`obj result`](#obj-specialvaluemapoptionsresult) - * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) -* [`obj ValueMap`](#obj-valuemap) - * [`fn withOptions(value)`](#fn-valuemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) - * [`fn withType(value)`](#fn-valuemapwithtype) - -## Fields - -### obj RangeMap - - -#### fn RangeMap.withOptions - -```jsonnet -RangeMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withOptionsMixin - -```jsonnet -RangeMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withType - -```jsonnet -RangeMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RangeMap.options - - -##### fn RangeMap.options.withFrom - -```jsonnet -RangeMap.options.withFrom(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Min value of the range. It can be null which means -Infinity -##### fn RangeMap.options.withResult - -```jsonnet -RangeMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withResultMixin - -```jsonnet -RangeMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withTo - -```jsonnet -RangeMap.options.withTo(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Max value of the range. It can be null which means +Infinity -##### obj RangeMap.options.result - - -###### fn RangeMap.options.result.withColor - -```jsonnet -RangeMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RangeMap.options.result.withIcon - -```jsonnet -RangeMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RangeMap.options.result.withIndex - -```jsonnet -RangeMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RangeMap.options.result.withText - -```jsonnet -RangeMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj RegexMap - - -#### fn RegexMap.withOptions - -```jsonnet -RegexMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withOptionsMixin - -```jsonnet -RegexMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withType - -```jsonnet -RegexMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RegexMap.options - - -##### fn RegexMap.options.withPattern - -```jsonnet -RegexMap.options.withPattern(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Regular expression to match against -##### fn RegexMap.options.withResult - -```jsonnet -RegexMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RegexMap.options.withResultMixin - -```jsonnet -RegexMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj RegexMap.options.result - - -###### fn RegexMap.options.result.withColor - -```jsonnet -RegexMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RegexMap.options.result.withIcon - -```jsonnet -RegexMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RegexMap.options.result.withIndex - -```jsonnet -RegexMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RegexMap.options.result.withText - -```jsonnet -RegexMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj SpecialValueMap - - -#### fn SpecialValueMap.withOptions - -```jsonnet -SpecialValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withOptionsMixin - -```jsonnet -SpecialValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withType - -```jsonnet -SpecialValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj SpecialValueMap.options - - -##### fn SpecialValueMap.options.withMatch - -```jsonnet -SpecialValueMap.options.withMatch(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` - -Special value types supported by the `SpecialValueMap` -##### fn SpecialValueMap.options.withResult - -```jsonnet -SpecialValueMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn SpecialValueMap.options.withResultMixin - -```jsonnet -SpecialValueMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj SpecialValueMap.options.result - - -###### fn SpecialValueMap.options.result.withColor - -```jsonnet -SpecialValueMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn SpecialValueMap.options.result.withIcon - -```jsonnet -SpecialValueMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn SpecialValueMap.options.result.withIndex - -```jsonnet -SpecialValueMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn SpecialValueMap.options.result.withText - -```jsonnet -SpecialValueMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj ValueMap - - -#### fn ValueMap.withOptions - -```jsonnet -ValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withOptionsMixin - -```jsonnet -ValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withType - -```jsonnet -ValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stateTimeline/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stateTimeline/standardOptions/threshold/step.md deleted file mode 100644 index 5212a21..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stateTimeline/standardOptions/threshold/step.md +++ /dev/null @@ -1,34 +0,0 @@ -# threshold.step - - - -## Index - -* [`fn withColor(value)`](#fn-withcolor) -* [`fn withValue(value)`](#fn-withvalue) - -## Fields - -### fn withColor - -```jsonnet -withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. -### fn withValue - -```jsonnet -withValue(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. -Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/statusHistory/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/statusHistory/queryOptions/transformation.md deleted file mode 100644 index 17a3d45..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/statusHistory/queryOptions/transformation.md +++ /dev/null @@ -1,115 +0,0 @@ -# transformation - - - -## Index - -* [`fn withDisabled(value=true)`](#fn-withdisabled) -* [`fn withFilter(value)`](#fn-withfilter) -* [`fn withFilterMixin(value)`](#fn-withfiltermixin) -* [`fn withId(value)`](#fn-withid) -* [`fn withOptions(value)`](#fn-withoptions) -* [`fn withTopic(value)`](#fn-withtopic) -* [`obj filter`](#obj-filter) - * [`fn withId(value="")`](#fn-filterwithid) - * [`fn withOptions(value)`](#fn-filterwithoptions) - -## Fields - -### fn withDisabled - -```jsonnet -withDisabled(value=true) -``` - -PARAMETERS: - -* **value** (`boolean`) - - default value: `true` - -Disabled transformations are skipped -### fn withFilter - -```jsonnet -withFilter(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withFilterMixin - -```jsonnet -withFilterMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withId - -```jsonnet -withId(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Unique identifier of transformer -### fn withOptions - -```jsonnet -withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Options to be passed to the transformer -Valid options depend on the transformer id -### fn withTopic - -```jsonnet -withTopic(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"series"`, `"annotations"`, `"alertStates"` - -Where to pull DataFrames from as input to transformation -### obj filter - - -#### fn filter.withId - -```jsonnet -filter.withId(value="") -``` - -PARAMETERS: - -* **value** (`string`) - - default value: `""` - -The matcher id. This is used to find the matcher implementation from registry. -#### fn filter.withOptions - -```jsonnet -filter.withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/statusHistory/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/statusHistory/standardOptions/mapping.md deleted file mode 100644 index 7f10ced..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/statusHistory/standardOptions/mapping.md +++ /dev/null @@ -1,457 +0,0 @@ -# mapping - - - -## Index - -* [`obj RangeMap`](#obj-rangemap) - * [`fn withOptions(value)`](#fn-rangemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) - * [`fn withType(value)`](#fn-rangemapwithtype) - * [`obj options`](#obj-rangemapoptions) - * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) - * [`fn withResult(value)`](#fn-rangemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) - * [`fn withTo(value)`](#fn-rangemapoptionswithto) - * [`obj result`](#obj-rangemapoptionsresult) - * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) -* [`obj RegexMap`](#obj-regexmap) - * [`fn withOptions(value)`](#fn-regexmapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) - * [`fn withType(value)`](#fn-regexmapwithtype) - * [`obj options`](#obj-regexmapoptions) - * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) - * [`fn withResult(value)`](#fn-regexmapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) - * [`obj result`](#obj-regexmapoptionsresult) - * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) - * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) -* [`obj SpecialValueMap`](#obj-specialvaluemap) - * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) - * [`fn withType(value)`](#fn-specialvaluemapwithtype) - * [`obj options`](#obj-specialvaluemapoptions) - * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) - * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) - * [`obj result`](#obj-specialvaluemapoptionsresult) - * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) -* [`obj ValueMap`](#obj-valuemap) - * [`fn withOptions(value)`](#fn-valuemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) - * [`fn withType(value)`](#fn-valuemapwithtype) - -## Fields - -### obj RangeMap - - -#### fn RangeMap.withOptions - -```jsonnet -RangeMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withOptionsMixin - -```jsonnet -RangeMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withType - -```jsonnet -RangeMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RangeMap.options - - -##### fn RangeMap.options.withFrom - -```jsonnet -RangeMap.options.withFrom(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Min value of the range. It can be null which means -Infinity -##### fn RangeMap.options.withResult - -```jsonnet -RangeMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withResultMixin - -```jsonnet -RangeMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withTo - -```jsonnet -RangeMap.options.withTo(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Max value of the range. It can be null which means +Infinity -##### obj RangeMap.options.result - - -###### fn RangeMap.options.result.withColor - -```jsonnet -RangeMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RangeMap.options.result.withIcon - -```jsonnet -RangeMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RangeMap.options.result.withIndex - -```jsonnet -RangeMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RangeMap.options.result.withText - -```jsonnet -RangeMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj RegexMap - - -#### fn RegexMap.withOptions - -```jsonnet -RegexMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withOptionsMixin - -```jsonnet -RegexMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withType - -```jsonnet -RegexMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RegexMap.options - - -##### fn RegexMap.options.withPattern - -```jsonnet -RegexMap.options.withPattern(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Regular expression to match against -##### fn RegexMap.options.withResult - -```jsonnet -RegexMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RegexMap.options.withResultMixin - -```jsonnet -RegexMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj RegexMap.options.result - - -###### fn RegexMap.options.result.withColor - -```jsonnet -RegexMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RegexMap.options.result.withIcon - -```jsonnet -RegexMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RegexMap.options.result.withIndex - -```jsonnet -RegexMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RegexMap.options.result.withText - -```jsonnet -RegexMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj SpecialValueMap - - -#### fn SpecialValueMap.withOptions - -```jsonnet -SpecialValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withOptionsMixin - -```jsonnet -SpecialValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withType - -```jsonnet -SpecialValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj SpecialValueMap.options - - -##### fn SpecialValueMap.options.withMatch - -```jsonnet -SpecialValueMap.options.withMatch(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` - -Special value types supported by the `SpecialValueMap` -##### fn SpecialValueMap.options.withResult - -```jsonnet -SpecialValueMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn SpecialValueMap.options.withResultMixin - -```jsonnet -SpecialValueMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj SpecialValueMap.options.result - - -###### fn SpecialValueMap.options.result.withColor - -```jsonnet -SpecialValueMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn SpecialValueMap.options.result.withIcon - -```jsonnet -SpecialValueMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn SpecialValueMap.options.result.withIndex - -```jsonnet -SpecialValueMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn SpecialValueMap.options.result.withText - -```jsonnet -SpecialValueMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj ValueMap - - -#### fn ValueMap.withOptions - -```jsonnet -ValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withOptionsMixin - -```jsonnet -ValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withType - -```jsonnet -ValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/statusHistory/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/statusHistory/standardOptions/threshold/step.md deleted file mode 100644 index 5212a21..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/statusHistory/standardOptions/threshold/step.md +++ /dev/null @@ -1,34 +0,0 @@ -# threshold.step - - - -## Index - -* [`fn withColor(value)`](#fn-withcolor) -* [`fn withValue(value)`](#fn-withvalue) - -## Fields - -### fn withColor - -```jsonnet -withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. -### fn withValue - -```jsonnet -withValue(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. -Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/table/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/table/queryOptions/transformation.md deleted file mode 100644 index 17a3d45..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/table/queryOptions/transformation.md +++ /dev/null @@ -1,115 +0,0 @@ -# transformation - - - -## Index - -* [`fn withDisabled(value=true)`](#fn-withdisabled) -* [`fn withFilter(value)`](#fn-withfilter) -* [`fn withFilterMixin(value)`](#fn-withfiltermixin) -* [`fn withId(value)`](#fn-withid) -* [`fn withOptions(value)`](#fn-withoptions) -* [`fn withTopic(value)`](#fn-withtopic) -* [`obj filter`](#obj-filter) - * [`fn withId(value="")`](#fn-filterwithid) - * [`fn withOptions(value)`](#fn-filterwithoptions) - -## Fields - -### fn withDisabled - -```jsonnet -withDisabled(value=true) -``` - -PARAMETERS: - -* **value** (`boolean`) - - default value: `true` - -Disabled transformations are skipped -### fn withFilter - -```jsonnet -withFilter(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withFilterMixin - -```jsonnet -withFilterMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withId - -```jsonnet -withId(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Unique identifier of transformer -### fn withOptions - -```jsonnet -withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Options to be passed to the transformer -Valid options depend on the transformer id -### fn withTopic - -```jsonnet -withTopic(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"series"`, `"annotations"`, `"alertStates"` - -Where to pull DataFrames from as input to transformation -### obj filter - - -#### fn filter.withId - -```jsonnet -filter.withId(value="") -``` - -PARAMETERS: - -* **value** (`string`) - - default value: `""` - -The matcher id. This is used to find the matcher implementation from registry. -#### fn filter.withOptions - -```jsonnet -filter.withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/table/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/table/standardOptions/mapping.md deleted file mode 100644 index 7f10ced..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/table/standardOptions/mapping.md +++ /dev/null @@ -1,457 +0,0 @@ -# mapping - - - -## Index - -* [`obj RangeMap`](#obj-rangemap) - * [`fn withOptions(value)`](#fn-rangemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) - * [`fn withType(value)`](#fn-rangemapwithtype) - * [`obj options`](#obj-rangemapoptions) - * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) - * [`fn withResult(value)`](#fn-rangemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) - * [`fn withTo(value)`](#fn-rangemapoptionswithto) - * [`obj result`](#obj-rangemapoptionsresult) - * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) -* [`obj RegexMap`](#obj-regexmap) - * [`fn withOptions(value)`](#fn-regexmapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) - * [`fn withType(value)`](#fn-regexmapwithtype) - * [`obj options`](#obj-regexmapoptions) - * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) - * [`fn withResult(value)`](#fn-regexmapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) - * [`obj result`](#obj-regexmapoptionsresult) - * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) - * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) -* [`obj SpecialValueMap`](#obj-specialvaluemap) - * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) - * [`fn withType(value)`](#fn-specialvaluemapwithtype) - * [`obj options`](#obj-specialvaluemapoptions) - * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) - * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) - * [`obj result`](#obj-specialvaluemapoptionsresult) - * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) -* [`obj ValueMap`](#obj-valuemap) - * [`fn withOptions(value)`](#fn-valuemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) - * [`fn withType(value)`](#fn-valuemapwithtype) - -## Fields - -### obj RangeMap - - -#### fn RangeMap.withOptions - -```jsonnet -RangeMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withOptionsMixin - -```jsonnet -RangeMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withType - -```jsonnet -RangeMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RangeMap.options - - -##### fn RangeMap.options.withFrom - -```jsonnet -RangeMap.options.withFrom(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Min value of the range. It can be null which means -Infinity -##### fn RangeMap.options.withResult - -```jsonnet -RangeMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withResultMixin - -```jsonnet -RangeMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withTo - -```jsonnet -RangeMap.options.withTo(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Max value of the range. It can be null which means +Infinity -##### obj RangeMap.options.result - - -###### fn RangeMap.options.result.withColor - -```jsonnet -RangeMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RangeMap.options.result.withIcon - -```jsonnet -RangeMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RangeMap.options.result.withIndex - -```jsonnet -RangeMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RangeMap.options.result.withText - -```jsonnet -RangeMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj RegexMap - - -#### fn RegexMap.withOptions - -```jsonnet -RegexMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withOptionsMixin - -```jsonnet -RegexMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withType - -```jsonnet -RegexMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RegexMap.options - - -##### fn RegexMap.options.withPattern - -```jsonnet -RegexMap.options.withPattern(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Regular expression to match against -##### fn RegexMap.options.withResult - -```jsonnet -RegexMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RegexMap.options.withResultMixin - -```jsonnet -RegexMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj RegexMap.options.result - - -###### fn RegexMap.options.result.withColor - -```jsonnet -RegexMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RegexMap.options.result.withIcon - -```jsonnet -RegexMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RegexMap.options.result.withIndex - -```jsonnet -RegexMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RegexMap.options.result.withText - -```jsonnet -RegexMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj SpecialValueMap - - -#### fn SpecialValueMap.withOptions - -```jsonnet -SpecialValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withOptionsMixin - -```jsonnet -SpecialValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withType - -```jsonnet -SpecialValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj SpecialValueMap.options - - -##### fn SpecialValueMap.options.withMatch - -```jsonnet -SpecialValueMap.options.withMatch(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` - -Special value types supported by the `SpecialValueMap` -##### fn SpecialValueMap.options.withResult - -```jsonnet -SpecialValueMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn SpecialValueMap.options.withResultMixin - -```jsonnet -SpecialValueMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj SpecialValueMap.options.result - - -###### fn SpecialValueMap.options.result.withColor - -```jsonnet -SpecialValueMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn SpecialValueMap.options.result.withIcon - -```jsonnet -SpecialValueMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn SpecialValueMap.options.result.withIndex - -```jsonnet -SpecialValueMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn SpecialValueMap.options.result.withText - -```jsonnet -SpecialValueMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj ValueMap - - -#### fn ValueMap.withOptions - -```jsonnet -ValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withOptionsMixin - -```jsonnet -ValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withType - -```jsonnet -ValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/table/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/table/standardOptions/threshold/step.md deleted file mode 100644 index 5212a21..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/table/standardOptions/threshold/step.md +++ /dev/null @@ -1,34 +0,0 @@ -# threshold.step - - - -## Index - -* [`fn withColor(value)`](#fn-withcolor) -* [`fn withValue(value)`](#fn-withvalue) - -## Fields - -### fn withColor - -```jsonnet -withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. -### fn withValue - -```jsonnet -withValue(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. -Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/text/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/text/queryOptions/transformation.md deleted file mode 100644 index 17a3d45..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/text/queryOptions/transformation.md +++ /dev/null @@ -1,115 +0,0 @@ -# transformation - - - -## Index - -* [`fn withDisabled(value=true)`](#fn-withdisabled) -* [`fn withFilter(value)`](#fn-withfilter) -* [`fn withFilterMixin(value)`](#fn-withfiltermixin) -* [`fn withId(value)`](#fn-withid) -* [`fn withOptions(value)`](#fn-withoptions) -* [`fn withTopic(value)`](#fn-withtopic) -* [`obj filter`](#obj-filter) - * [`fn withId(value="")`](#fn-filterwithid) - * [`fn withOptions(value)`](#fn-filterwithoptions) - -## Fields - -### fn withDisabled - -```jsonnet -withDisabled(value=true) -``` - -PARAMETERS: - -* **value** (`boolean`) - - default value: `true` - -Disabled transformations are skipped -### fn withFilter - -```jsonnet -withFilter(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withFilterMixin - -```jsonnet -withFilterMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withId - -```jsonnet -withId(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Unique identifier of transformer -### fn withOptions - -```jsonnet -withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Options to be passed to the transformer -Valid options depend on the transformer id -### fn withTopic - -```jsonnet -withTopic(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"series"`, `"annotations"`, `"alertStates"` - -Where to pull DataFrames from as input to transformation -### obj filter - - -#### fn filter.withId - -```jsonnet -filter.withId(value="") -``` - -PARAMETERS: - -* **value** (`string`) - - default value: `""` - -The matcher id. This is used to find the matcher implementation from registry. -#### fn filter.withOptions - -```jsonnet -filter.withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/text/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/text/standardOptions/mapping.md deleted file mode 100644 index 7f10ced..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/text/standardOptions/mapping.md +++ /dev/null @@ -1,457 +0,0 @@ -# mapping - - - -## Index - -* [`obj RangeMap`](#obj-rangemap) - * [`fn withOptions(value)`](#fn-rangemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) - * [`fn withType(value)`](#fn-rangemapwithtype) - * [`obj options`](#obj-rangemapoptions) - * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) - * [`fn withResult(value)`](#fn-rangemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) - * [`fn withTo(value)`](#fn-rangemapoptionswithto) - * [`obj result`](#obj-rangemapoptionsresult) - * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) -* [`obj RegexMap`](#obj-regexmap) - * [`fn withOptions(value)`](#fn-regexmapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) - * [`fn withType(value)`](#fn-regexmapwithtype) - * [`obj options`](#obj-regexmapoptions) - * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) - * [`fn withResult(value)`](#fn-regexmapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) - * [`obj result`](#obj-regexmapoptionsresult) - * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) - * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) -* [`obj SpecialValueMap`](#obj-specialvaluemap) - * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) - * [`fn withType(value)`](#fn-specialvaluemapwithtype) - * [`obj options`](#obj-specialvaluemapoptions) - * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) - * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) - * [`obj result`](#obj-specialvaluemapoptionsresult) - * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) -* [`obj ValueMap`](#obj-valuemap) - * [`fn withOptions(value)`](#fn-valuemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) - * [`fn withType(value)`](#fn-valuemapwithtype) - -## Fields - -### obj RangeMap - - -#### fn RangeMap.withOptions - -```jsonnet -RangeMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withOptionsMixin - -```jsonnet -RangeMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withType - -```jsonnet -RangeMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RangeMap.options - - -##### fn RangeMap.options.withFrom - -```jsonnet -RangeMap.options.withFrom(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Min value of the range. It can be null which means -Infinity -##### fn RangeMap.options.withResult - -```jsonnet -RangeMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withResultMixin - -```jsonnet -RangeMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withTo - -```jsonnet -RangeMap.options.withTo(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Max value of the range. It can be null which means +Infinity -##### obj RangeMap.options.result - - -###### fn RangeMap.options.result.withColor - -```jsonnet -RangeMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RangeMap.options.result.withIcon - -```jsonnet -RangeMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RangeMap.options.result.withIndex - -```jsonnet -RangeMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RangeMap.options.result.withText - -```jsonnet -RangeMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj RegexMap - - -#### fn RegexMap.withOptions - -```jsonnet -RegexMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withOptionsMixin - -```jsonnet -RegexMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withType - -```jsonnet -RegexMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RegexMap.options - - -##### fn RegexMap.options.withPattern - -```jsonnet -RegexMap.options.withPattern(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Regular expression to match against -##### fn RegexMap.options.withResult - -```jsonnet -RegexMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RegexMap.options.withResultMixin - -```jsonnet -RegexMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj RegexMap.options.result - - -###### fn RegexMap.options.result.withColor - -```jsonnet -RegexMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RegexMap.options.result.withIcon - -```jsonnet -RegexMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RegexMap.options.result.withIndex - -```jsonnet -RegexMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RegexMap.options.result.withText - -```jsonnet -RegexMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj SpecialValueMap - - -#### fn SpecialValueMap.withOptions - -```jsonnet -SpecialValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withOptionsMixin - -```jsonnet -SpecialValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withType - -```jsonnet -SpecialValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj SpecialValueMap.options - - -##### fn SpecialValueMap.options.withMatch - -```jsonnet -SpecialValueMap.options.withMatch(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` - -Special value types supported by the `SpecialValueMap` -##### fn SpecialValueMap.options.withResult - -```jsonnet -SpecialValueMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn SpecialValueMap.options.withResultMixin - -```jsonnet -SpecialValueMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj SpecialValueMap.options.result - - -###### fn SpecialValueMap.options.result.withColor - -```jsonnet -SpecialValueMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn SpecialValueMap.options.result.withIcon - -```jsonnet -SpecialValueMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn SpecialValueMap.options.result.withIndex - -```jsonnet -SpecialValueMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn SpecialValueMap.options.result.withText - -```jsonnet -SpecialValueMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj ValueMap - - -#### fn ValueMap.withOptions - -```jsonnet -ValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withOptionsMixin - -```jsonnet -ValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withType - -```jsonnet -ValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/text/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/text/standardOptions/threshold/step.md deleted file mode 100644 index 5212a21..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/text/standardOptions/threshold/step.md +++ /dev/null @@ -1,34 +0,0 @@ -# threshold.step - - - -## Index - -* [`fn withColor(value)`](#fn-withcolor) -* [`fn withValue(value)`](#fn-withvalue) - -## Fields - -### fn withColor - -```jsonnet -withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. -### fn withValue - -```jsonnet -withValue(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. -Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/timeSeries/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/timeSeries/queryOptions/transformation.md deleted file mode 100644 index 17a3d45..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/timeSeries/queryOptions/transformation.md +++ /dev/null @@ -1,115 +0,0 @@ -# transformation - - - -## Index - -* [`fn withDisabled(value=true)`](#fn-withdisabled) -* [`fn withFilter(value)`](#fn-withfilter) -* [`fn withFilterMixin(value)`](#fn-withfiltermixin) -* [`fn withId(value)`](#fn-withid) -* [`fn withOptions(value)`](#fn-withoptions) -* [`fn withTopic(value)`](#fn-withtopic) -* [`obj filter`](#obj-filter) - * [`fn withId(value="")`](#fn-filterwithid) - * [`fn withOptions(value)`](#fn-filterwithoptions) - -## Fields - -### fn withDisabled - -```jsonnet -withDisabled(value=true) -``` - -PARAMETERS: - -* **value** (`boolean`) - - default value: `true` - -Disabled transformations are skipped -### fn withFilter - -```jsonnet -withFilter(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withFilterMixin - -```jsonnet -withFilterMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withId - -```jsonnet -withId(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Unique identifier of transformer -### fn withOptions - -```jsonnet -withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Options to be passed to the transformer -Valid options depend on the transformer id -### fn withTopic - -```jsonnet -withTopic(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"series"`, `"annotations"`, `"alertStates"` - -Where to pull DataFrames from as input to transformation -### obj filter - - -#### fn filter.withId - -```jsonnet -filter.withId(value="") -``` - -PARAMETERS: - -* **value** (`string`) - - default value: `""` - -The matcher id. This is used to find the matcher implementation from registry. -#### fn filter.withOptions - -```jsonnet -filter.withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/timeSeries/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/timeSeries/standardOptions/mapping.md deleted file mode 100644 index 7f10ced..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/timeSeries/standardOptions/mapping.md +++ /dev/null @@ -1,457 +0,0 @@ -# mapping - - - -## Index - -* [`obj RangeMap`](#obj-rangemap) - * [`fn withOptions(value)`](#fn-rangemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) - * [`fn withType(value)`](#fn-rangemapwithtype) - * [`obj options`](#obj-rangemapoptions) - * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) - * [`fn withResult(value)`](#fn-rangemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) - * [`fn withTo(value)`](#fn-rangemapoptionswithto) - * [`obj result`](#obj-rangemapoptionsresult) - * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) -* [`obj RegexMap`](#obj-regexmap) - * [`fn withOptions(value)`](#fn-regexmapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) - * [`fn withType(value)`](#fn-regexmapwithtype) - * [`obj options`](#obj-regexmapoptions) - * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) - * [`fn withResult(value)`](#fn-regexmapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) - * [`obj result`](#obj-regexmapoptionsresult) - * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) - * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) -* [`obj SpecialValueMap`](#obj-specialvaluemap) - * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) - * [`fn withType(value)`](#fn-specialvaluemapwithtype) - * [`obj options`](#obj-specialvaluemapoptions) - * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) - * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) - * [`obj result`](#obj-specialvaluemapoptionsresult) - * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) -* [`obj ValueMap`](#obj-valuemap) - * [`fn withOptions(value)`](#fn-valuemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) - * [`fn withType(value)`](#fn-valuemapwithtype) - -## Fields - -### obj RangeMap - - -#### fn RangeMap.withOptions - -```jsonnet -RangeMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withOptionsMixin - -```jsonnet -RangeMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withType - -```jsonnet -RangeMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RangeMap.options - - -##### fn RangeMap.options.withFrom - -```jsonnet -RangeMap.options.withFrom(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Min value of the range. It can be null which means -Infinity -##### fn RangeMap.options.withResult - -```jsonnet -RangeMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withResultMixin - -```jsonnet -RangeMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withTo - -```jsonnet -RangeMap.options.withTo(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Max value of the range. It can be null which means +Infinity -##### obj RangeMap.options.result - - -###### fn RangeMap.options.result.withColor - -```jsonnet -RangeMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RangeMap.options.result.withIcon - -```jsonnet -RangeMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RangeMap.options.result.withIndex - -```jsonnet -RangeMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RangeMap.options.result.withText - -```jsonnet -RangeMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj RegexMap - - -#### fn RegexMap.withOptions - -```jsonnet -RegexMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withOptionsMixin - -```jsonnet -RegexMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withType - -```jsonnet -RegexMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RegexMap.options - - -##### fn RegexMap.options.withPattern - -```jsonnet -RegexMap.options.withPattern(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Regular expression to match against -##### fn RegexMap.options.withResult - -```jsonnet -RegexMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RegexMap.options.withResultMixin - -```jsonnet -RegexMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj RegexMap.options.result - - -###### fn RegexMap.options.result.withColor - -```jsonnet -RegexMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RegexMap.options.result.withIcon - -```jsonnet -RegexMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RegexMap.options.result.withIndex - -```jsonnet -RegexMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RegexMap.options.result.withText - -```jsonnet -RegexMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj SpecialValueMap - - -#### fn SpecialValueMap.withOptions - -```jsonnet -SpecialValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withOptionsMixin - -```jsonnet -SpecialValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withType - -```jsonnet -SpecialValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj SpecialValueMap.options - - -##### fn SpecialValueMap.options.withMatch - -```jsonnet -SpecialValueMap.options.withMatch(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` - -Special value types supported by the `SpecialValueMap` -##### fn SpecialValueMap.options.withResult - -```jsonnet -SpecialValueMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn SpecialValueMap.options.withResultMixin - -```jsonnet -SpecialValueMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj SpecialValueMap.options.result - - -###### fn SpecialValueMap.options.result.withColor - -```jsonnet -SpecialValueMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn SpecialValueMap.options.result.withIcon - -```jsonnet -SpecialValueMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn SpecialValueMap.options.result.withIndex - -```jsonnet -SpecialValueMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn SpecialValueMap.options.result.withText - -```jsonnet -SpecialValueMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj ValueMap - - -#### fn ValueMap.withOptions - -```jsonnet -ValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withOptionsMixin - -```jsonnet -ValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withType - -```jsonnet -ValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/timeSeries/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/timeSeries/standardOptions/threshold/step.md deleted file mode 100644 index 5212a21..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/timeSeries/standardOptions/threshold/step.md +++ /dev/null @@ -1,34 +0,0 @@ -# threshold.step - - - -## Index - -* [`fn withColor(value)`](#fn-withcolor) -* [`fn withValue(value)`](#fn-withvalue) - -## Fields - -### fn withColor - -```jsonnet -withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. -### fn withValue - -```jsonnet -withValue(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. -Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/trend/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/trend/queryOptions/transformation.md deleted file mode 100644 index 17a3d45..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/trend/queryOptions/transformation.md +++ /dev/null @@ -1,115 +0,0 @@ -# transformation - - - -## Index - -* [`fn withDisabled(value=true)`](#fn-withdisabled) -* [`fn withFilter(value)`](#fn-withfilter) -* [`fn withFilterMixin(value)`](#fn-withfiltermixin) -* [`fn withId(value)`](#fn-withid) -* [`fn withOptions(value)`](#fn-withoptions) -* [`fn withTopic(value)`](#fn-withtopic) -* [`obj filter`](#obj-filter) - * [`fn withId(value="")`](#fn-filterwithid) - * [`fn withOptions(value)`](#fn-filterwithoptions) - -## Fields - -### fn withDisabled - -```jsonnet -withDisabled(value=true) -``` - -PARAMETERS: - -* **value** (`boolean`) - - default value: `true` - -Disabled transformations are skipped -### fn withFilter - -```jsonnet -withFilter(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withFilterMixin - -```jsonnet -withFilterMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withId - -```jsonnet -withId(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Unique identifier of transformer -### fn withOptions - -```jsonnet -withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Options to be passed to the transformer -Valid options depend on the transformer id -### fn withTopic - -```jsonnet -withTopic(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"series"`, `"annotations"`, `"alertStates"` - -Where to pull DataFrames from as input to transformation -### obj filter - - -#### fn filter.withId - -```jsonnet -filter.withId(value="") -``` - -PARAMETERS: - -* **value** (`string`) - - default value: `""` - -The matcher id. This is used to find the matcher implementation from registry. -#### fn filter.withOptions - -```jsonnet -filter.withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/trend/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/trend/standardOptions/mapping.md deleted file mode 100644 index 7f10ced..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/trend/standardOptions/mapping.md +++ /dev/null @@ -1,457 +0,0 @@ -# mapping - - - -## Index - -* [`obj RangeMap`](#obj-rangemap) - * [`fn withOptions(value)`](#fn-rangemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) - * [`fn withType(value)`](#fn-rangemapwithtype) - * [`obj options`](#obj-rangemapoptions) - * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) - * [`fn withResult(value)`](#fn-rangemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) - * [`fn withTo(value)`](#fn-rangemapoptionswithto) - * [`obj result`](#obj-rangemapoptionsresult) - * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) -* [`obj RegexMap`](#obj-regexmap) - * [`fn withOptions(value)`](#fn-regexmapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) - * [`fn withType(value)`](#fn-regexmapwithtype) - * [`obj options`](#obj-regexmapoptions) - * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) - * [`fn withResult(value)`](#fn-regexmapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) - * [`obj result`](#obj-regexmapoptionsresult) - * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) - * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) -* [`obj SpecialValueMap`](#obj-specialvaluemap) - * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) - * [`fn withType(value)`](#fn-specialvaluemapwithtype) - * [`obj options`](#obj-specialvaluemapoptions) - * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) - * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) - * [`obj result`](#obj-specialvaluemapoptionsresult) - * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) -* [`obj ValueMap`](#obj-valuemap) - * [`fn withOptions(value)`](#fn-valuemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) - * [`fn withType(value)`](#fn-valuemapwithtype) - -## Fields - -### obj RangeMap - - -#### fn RangeMap.withOptions - -```jsonnet -RangeMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withOptionsMixin - -```jsonnet -RangeMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withType - -```jsonnet -RangeMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RangeMap.options - - -##### fn RangeMap.options.withFrom - -```jsonnet -RangeMap.options.withFrom(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Min value of the range. It can be null which means -Infinity -##### fn RangeMap.options.withResult - -```jsonnet -RangeMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withResultMixin - -```jsonnet -RangeMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withTo - -```jsonnet -RangeMap.options.withTo(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Max value of the range. It can be null which means +Infinity -##### obj RangeMap.options.result - - -###### fn RangeMap.options.result.withColor - -```jsonnet -RangeMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RangeMap.options.result.withIcon - -```jsonnet -RangeMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RangeMap.options.result.withIndex - -```jsonnet -RangeMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RangeMap.options.result.withText - -```jsonnet -RangeMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj RegexMap - - -#### fn RegexMap.withOptions - -```jsonnet -RegexMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withOptionsMixin - -```jsonnet -RegexMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withType - -```jsonnet -RegexMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RegexMap.options - - -##### fn RegexMap.options.withPattern - -```jsonnet -RegexMap.options.withPattern(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Regular expression to match against -##### fn RegexMap.options.withResult - -```jsonnet -RegexMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RegexMap.options.withResultMixin - -```jsonnet -RegexMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj RegexMap.options.result - - -###### fn RegexMap.options.result.withColor - -```jsonnet -RegexMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RegexMap.options.result.withIcon - -```jsonnet -RegexMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RegexMap.options.result.withIndex - -```jsonnet -RegexMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RegexMap.options.result.withText - -```jsonnet -RegexMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj SpecialValueMap - - -#### fn SpecialValueMap.withOptions - -```jsonnet -SpecialValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withOptionsMixin - -```jsonnet -SpecialValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withType - -```jsonnet -SpecialValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj SpecialValueMap.options - - -##### fn SpecialValueMap.options.withMatch - -```jsonnet -SpecialValueMap.options.withMatch(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` - -Special value types supported by the `SpecialValueMap` -##### fn SpecialValueMap.options.withResult - -```jsonnet -SpecialValueMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn SpecialValueMap.options.withResultMixin - -```jsonnet -SpecialValueMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj SpecialValueMap.options.result - - -###### fn SpecialValueMap.options.result.withColor - -```jsonnet -SpecialValueMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn SpecialValueMap.options.result.withIcon - -```jsonnet -SpecialValueMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn SpecialValueMap.options.result.withIndex - -```jsonnet -SpecialValueMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn SpecialValueMap.options.result.withText - -```jsonnet -SpecialValueMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj ValueMap - - -#### fn ValueMap.withOptions - -```jsonnet -ValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withOptionsMixin - -```jsonnet -ValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withType - -```jsonnet -ValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/trend/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/trend/standardOptions/threshold/step.md deleted file mode 100644 index 5212a21..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/trend/standardOptions/threshold/step.md +++ /dev/null @@ -1,34 +0,0 @@ -# threshold.step - - - -## Index - -* [`fn withColor(value)`](#fn-withcolor) -* [`fn withValue(value)`](#fn-withvalue) - -## Fields - -### fn withColor - -```jsonnet -withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. -### fn withValue - -```jsonnet -withValue(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. -Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/xyChart/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/xyChart/queryOptions/transformation.md deleted file mode 100644 index 17a3d45..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/xyChart/queryOptions/transformation.md +++ /dev/null @@ -1,115 +0,0 @@ -# transformation - - - -## Index - -* [`fn withDisabled(value=true)`](#fn-withdisabled) -* [`fn withFilter(value)`](#fn-withfilter) -* [`fn withFilterMixin(value)`](#fn-withfiltermixin) -* [`fn withId(value)`](#fn-withid) -* [`fn withOptions(value)`](#fn-withoptions) -* [`fn withTopic(value)`](#fn-withtopic) -* [`obj filter`](#obj-filter) - * [`fn withId(value="")`](#fn-filterwithid) - * [`fn withOptions(value)`](#fn-filterwithoptions) - -## Fields - -### fn withDisabled - -```jsonnet -withDisabled(value=true) -``` - -PARAMETERS: - -* **value** (`boolean`) - - default value: `true` - -Disabled transformations are skipped -### fn withFilter - -```jsonnet -withFilter(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withFilterMixin - -```jsonnet -withFilterMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. -It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. -### fn withId - -```jsonnet -withId(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Unique identifier of transformer -### fn withOptions - -```jsonnet -withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Options to be passed to the transformer -Valid options depend on the transformer id -### fn withTopic - -```jsonnet -withTopic(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"series"`, `"annotations"`, `"alertStates"` - -Where to pull DataFrames from as input to transformation -### obj filter - - -#### fn filter.withId - -```jsonnet -filter.withId(value="") -``` - -PARAMETERS: - -* **value** (`string`) - - default value: `""` - -The matcher id. This is used to find the matcher implementation from registry. -#### fn filter.withOptions - -```jsonnet -filter.withOptions(value) -``` - -PARAMETERS: - -* **value** (`string`) - -The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/xyChart/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/xyChart/standardOptions/mapping.md deleted file mode 100644 index 7f10ced..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/xyChart/standardOptions/mapping.md +++ /dev/null @@ -1,457 +0,0 @@ -# mapping - - - -## Index - -* [`obj RangeMap`](#obj-rangemap) - * [`fn withOptions(value)`](#fn-rangemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) - * [`fn withType(value)`](#fn-rangemapwithtype) - * [`obj options`](#obj-rangemapoptions) - * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) - * [`fn withResult(value)`](#fn-rangemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) - * [`fn withTo(value)`](#fn-rangemapoptionswithto) - * [`obj result`](#obj-rangemapoptionsresult) - * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) -* [`obj RegexMap`](#obj-regexmap) - * [`fn withOptions(value)`](#fn-regexmapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) - * [`fn withType(value)`](#fn-regexmapwithtype) - * [`obj options`](#obj-regexmapoptions) - * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) - * [`fn withResult(value)`](#fn-regexmapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) - * [`obj result`](#obj-regexmapoptionsresult) - * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) - * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) -* [`obj SpecialValueMap`](#obj-specialvaluemap) - * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) - * [`fn withType(value)`](#fn-specialvaluemapwithtype) - * [`obj options`](#obj-specialvaluemapoptions) - * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) - * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) - * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) - * [`obj result`](#obj-specialvaluemapoptionsresult) - * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) - * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) - * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) - * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) -* [`obj ValueMap`](#obj-valuemap) - * [`fn withOptions(value)`](#fn-valuemapwithoptions) - * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) - * [`fn withType(value)`](#fn-valuemapwithtype) - -## Fields - -### obj RangeMap - - -#### fn RangeMap.withOptions - -```jsonnet -RangeMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withOptionsMixin - -```jsonnet -RangeMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Range to match against and the result to apply when the value is within the range -#### fn RangeMap.withType - -```jsonnet -RangeMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RangeMap.options - - -##### fn RangeMap.options.withFrom - -```jsonnet -RangeMap.options.withFrom(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Min value of the range. It can be null which means -Infinity -##### fn RangeMap.options.withResult - -```jsonnet -RangeMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withResultMixin - -```jsonnet -RangeMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RangeMap.options.withTo - -```jsonnet -RangeMap.options.withTo(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Max value of the range. It can be null which means +Infinity -##### obj RangeMap.options.result - - -###### fn RangeMap.options.result.withColor - -```jsonnet -RangeMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RangeMap.options.result.withIcon - -```jsonnet -RangeMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RangeMap.options.result.withIndex - -```jsonnet -RangeMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RangeMap.options.result.withText - -```jsonnet -RangeMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj RegexMap - - -#### fn RegexMap.withOptions - -```jsonnet -RegexMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withOptionsMixin - -```jsonnet -RegexMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Regular expression to match against and the result to apply when the value matches the regex -#### fn RegexMap.withType - -```jsonnet -RegexMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj RegexMap.options - - -##### fn RegexMap.options.withPattern - -```jsonnet -RegexMap.options.withPattern(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Regular expression to match against -##### fn RegexMap.options.withResult - -```jsonnet -RegexMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn RegexMap.options.withResultMixin - -```jsonnet -RegexMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj RegexMap.options.result - - -###### fn RegexMap.options.result.withColor - -```jsonnet -RegexMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn RegexMap.options.result.withIcon - -```jsonnet -RegexMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn RegexMap.options.result.withIndex - -```jsonnet -RegexMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn RegexMap.options.result.withText - -```jsonnet -RegexMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj SpecialValueMap - - -#### fn SpecialValueMap.withOptions - -```jsonnet -SpecialValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withOptionsMixin - -```jsonnet -SpecialValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -#### fn SpecialValueMap.withType - -```jsonnet -SpecialValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - - -#### obj SpecialValueMap.options - - -##### fn SpecialValueMap.options.withMatch - -```jsonnet -SpecialValueMap.options.withMatch(value) -``` - -PARAMETERS: - -* **value** (`string`) - - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` - -Special value types supported by the `SpecialValueMap` -##### fn SpecialValueMap.options.withResult - -```jsonnet -SpecialValueMap.options.withResult(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### fn SpecialValueMap.options.withResultMixin - -```jsonnet -SpecialValueMap.options.withResultMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Result used as replacement with text and color when the value matches -##### obj SpecialValueMap.options.result - - -###### fn SpecialValueMap.options.result.withColor - -```jsonnet -SpecialValueMap.options.result.withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to use when the value matches -###### fn SpecialValueMap.options.result.withIcon - -```jsonnet -SpecialValueMap.options.result.withIcon(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Icon to display when the value matches. Only specific visualizations. -###### fn SpecialValueMap.options.result.withIndex - -```jsonnet -SpecialValueMap.options.result.withIndex(value) -``` - -PARAMETERS: - -* **value** (`integer`) - -Position in the mapping array. Only used internally. -###### fn SpecialValueMap.options.result.withText - -```jsonnet -SpecialValueMap.options.result.withText(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Text to display when the value matches -### obj ValueMap - - -#### fn ValueMap.withOptions - -```jsonnet -ValueMap.withOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withOptionsMixin - -```jsonnet -ValueMap.withOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } -#### fn ValueMap.withType - -```jsonnet -ValueMap.withType(value) -``` - -PARAMETERS: - -* **value** (`string`) - diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/xyChart/standardOptions/override.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/xyChart/standardOptions/override.md deleted file mode 100644 index 2997ad7..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/xyChart/standardOptions/override.md +++ /dev/null @@ -1,244 +0,0 @@ -# override - -Overrides allow you to customize visualization settings for specific fields or -series. This is accomplished by adding an override rule that targets -a particular set of fields and that can each define multiple options. - -```jsonnet -override.byType.new('number') -+ override.byType.withPropertiesFromOptions( - panel.standardOptions.withDecimals(2) - + panel.standardOptions.withUnit('s') -) -``` - - -## Index - -* [`obj byName`](#obj-byname) - * [`fn new(value)`](#fn-bynamenew) - * [`fn withPropertiesFromOptions(options)`](#fn-bynamewithpropertiesfromoptions) - * [`fn withProperty(id, value)`](#fn-bynamewithproperty) -* [`obj byQuery`](#obj-byquery) - * [`fn new(value)`](#fn-byquerynew) - * [`fn withPropertiesFromOptions(options)`](#fn-byquerywithpropertiesfromoptions) - * [`fn withProperty(id, value)`](#fn-byquerywithproperty) -* [`obj byRegexp`](#obj-byregexp) - * [`fn new(value)`](#fn-byregexpnew) - * [`fn withPropertiesFromOptions(options)`](#fn-byregexpwithpropertiesfromoptions) - * [`fn withProperty(id, value)`](#fn-byregexpwithproperty) -* [`obj byType`](#obj-bytype) - * [`fn new(value)`](#fn-bytypenew) - * [`fn withPropertiesFromOptions(options)`](#fn-bytypewithpropertiesfromoptions) - * [`fn withProperty(id, value)`](#fn-bytypewithproperty) -* [`obj byValue`](#obj-byvalue) - * [`fn new(value)`](#fn-byvaluenew) - * [`fn withPropertiesFromOptions(options)`](#fn-byvaluewithpropertiesfromoptions) - * [`fn withProperty(id, value)`](#fn-byvaluewithproperty) - -## Fields - -### obj byName - - -#### fn byName.new - -```jsonnet -byName.new(value) -``` - -PARAMETERS: - -* **value** (`string`) - -`new` creates a new override of type `byName`. -#### fn byName.withPropertiesFromOptions - -```jsonnet -byName.withPropertiesFromOptions(options) -``` - -PARAMETERS: - -* **options** (`object`) - -`withPropertiesFromOptions` takes an object with properties that need to be -overridden. See example code above. - -#### fn byName.withProperty - -```jsonnet -byName.withProperty(id, value) -``` - -PARAMETERS: - -* **id** (`string`) -* **value** (`any`) - -`withProperty` adds a property that needs to be overridden. This function can -be called multiple time, adding more properties. - -### obj byQuery - - -#### fn byQuery.new - -```jsonnet -byQuery.new(value) -``` - -PARAMETERS: - -* **value** (`string`) - -`new` creates a new override of type `byFrameRefID`. -#### fn byQuery.withPropertiesFromOptions - -```jsonnet -byQuery.withPropertiesFromOptions(options) -``` - -PARAMETERS: - -* **options** (`object`) - -`withPropertiesFromOptions` takes an object with properties that need to be -overridden. See example code above. - -#### fn byQuery.withProperty - -```jsonnet -byQuery.withProperty(id, value) -``` - -PARAMETERS: - -* **id** (`string`) -* **value** (`any`) - -`withProperty` adds a property that needs to be overridden. This function can -be called multiple time, adding more properties. - -### obj byRegexp - - -#### fn byRegexp.new - -```jsonnet -byRegexp.new(value) -``` - -PARAMETERS: - -* **value** (`string`) - -`new` creates a new override of type `byRegexp`. -#### fn byRegexp.withPropertiesFromOptions - -```jsonnet -byRegexp.withPropertiesFromOptions(options) -``` - -PARAMETERS: - -* **options** (`object`) - -`withPropertiesFromOptions` takes an object with properties that need to be -overridden. See example code above. - -#### fn byRegexp.withProperty - -```jsonnet -byRegexp.withProperty(id, value) -``` - -PARAMETERS: - -* **id** (`string`) -* **value** (`any`) - -`withProperty` adds a property that needs to be overridden. This function can -be called multiple time, adding more properties. - -### obj byType - - -#### fn byType.new - -```jsonnet -byType.new(value) -``` - -PARAMETERS: - -* **value** (`string`) - -`new` creates a new override of type `byType`. -#### fn byType.withPropertiesFromOptions - -```jsonnet -byType.withPropertiesFromOptions(options) -``` - -PARAMETERS: - -* **options** (`object`) - -`withPropertiesFromOptions` takes an object with properties that need to be -overridden. See example code above. - -#### fn byType.withProperty - -```jsonnet -byType.withProperty(id, value) -``` - -PARAMETERS: - -* **id** (`string`) -* **value** (`any`) - -`withProperty` adds a property that needs to be overridden. This function can -be called multiple time, adding more properties. - -### obj byValue - - -#### fn byValue.new - -```jsonnet -byValue.new(value) -``` - -PARAMETERS: - -* **value** (`string`) - -`new` creates a new override of type `byValue`. -#### fn byValue.withPropertiesFromOptions - -```jsonnet -byValue.withPropertiesFromOptions(options) -``` - -PARAMETERS: - -* **options** (`object`) - -`withPropertiesFromOptions` takes an object with properties that need to be -overridden. See example code above. - -#### fn byValue.withProperty - -```jsonnet -byValue.withProperty(id, value) -``` - -PARAMETERS: - -* **id** (`string`) -* **value** (`any`) - -`withProperty` adds a property that needs to be overridden. This function can -be called multiple time, adding more properties. diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/xyChart/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/xyChart/standardOptions/threshold/step.md deleted file mode 100644 index 5212a21..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/xyChart/standardOptions/threshold/step.md +++ /dev/null @@ -1,34 +0,0 @@ -# threshold.step - - - -## Index - -* [`fn withColor(value)`](#fn-withcolor) -* [`fn withValue(value)`](#fn-withvalue) - -## Fields - -### fn withColor - -```jsonnet -withColor(value) -``` - -PARAMETERS: - -* **value** (`string`) - -Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. -### fn withValue - -```jsonnet -withValue(value) -``` - -PARAMETERS: - -* **value** (`null`,`number`) - -Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. -Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/main.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/main.libsonnet deleted file mode 100644 index 75a6feb..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/main.libsonnet +++ /dev/null @@ -1,26 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { - filename: 'main.libsonnet', - help: 'Jsonnet library for rendering Grafana resources\n## Install\n\n```\njb install github.com/grafana/grafonnet/gen/grafonnet-v10.4.0@main\n```\n\n## Usage\n\n```jsonnet\nlocal grafonnet = import "github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/main.libsonnet"\n```\n', - 'import': 'github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/main.libsonnet', - installTemplate: '\n## Install\n\n```\njb install %(url)s@%(version)s\n```\n', - name: 'grafonnet', - url: 'github.com/grafana/grafonnet/gen/grafonnet-v10.4.0', - usageTemplate: '\n## Usage\n\n```jsonnet\nlocal %(name)s = import "%(import)s"\n```\n', - version: 'main', - }, - accesspolicy: import 'raw/accesspolicy.libsonnet', - dashboard: import 'clean/dashboard.libsonnet', - librarypanel: import 'raw/librarypanel.libsonnet', - preferences: import 'raw/preferences.libsonnet', - publicdashboard: import 'raw/publicdashboard.libsonnet', - role: import 'raw/role.libsonnet', - rolebinding: import 'raw/rolebinding.libsonnet', - team: import 'raw/team.libsonnet', - folder: import 'raw/folder.libsonnet', - panel: import 'panel.libsonnet', - query: import 'query.libsonnet', - util: import 'custom/util/main.libsonnet', - alerting: import 'alerting.libsonnet', -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/panel.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/panel.libsonnet deleted file mode 100644 index 466d30a..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/panel.libsonnet +++ /dev/null @@ -1,31 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.panel', name: 'panel' }, - alertList: import 'clean/panel/alertList.libsonnet', - alertGroups: import 'clean/panel/alertGroups.libsonnet', - annotationsList: import 'clean/panel/annotationsList.libsonnet', - barChart: import 'clean/panel/barChart.libsonnet', - barGauge: import 'clean/panel/barGauge.libsonnet', - candlestick: import 'clean/panel/candlestick.libsonnet', - canvas: import 'clean/panel/canvas.libsonnet', - dashboardList: import 'clean/panel/dashboardList.libsonnet', - datagrid: import 'clean/panel/datagrid.libsonnet', - debug: import 'clean/panel/debug.libsonnet', - gauge: import 'clean/panel/gauge.libsonnet', - geomap: import 'clean/panel/geomap.libsonnet', - heatmap: import 'clean/panel/heatmap.libsonnet', - histogram: import 'clean/panel/histogram.libsonnet', - logs: import 'clean/panel/logs.libsonnet', - news: import 'clean/panel/news.libsonnet', - nodeGraph: import 'clean/panel/nodeGraph.libsonnet', - pieChart: import 'clean/panel/pieChart.libsonnet', - stat: import 'clean/panel/stat.libsonnet', - stateTimeline: import 'clean/panel/stateTimeline.libsonnet', - statusHistory: import 'clean/panel/statusHistory.libsonnet', - table: import 'clean/panel/table.libsonnet', - text: import 'clean/panel/text.libsonnet', - timeSeries: import 'clean/panel/timeSeries.libsonnet', - trend: import 'clean/panel/trend.libsonnet', - xyChart: import 'clean/panel/xyChart.libsonnet', - row: import 'raw/panel/row.libsonnet', -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/query.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/query.libsonnet deleted file mode 100644 index 116452d..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/query.libsonnet +++ /dev/null @@ -1,14 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.query', name: 'query' }, - azureMonitor: import 'raw/query/azureMonitor.libsonnet', - googleCloudMonitoring: import 'raw/query/googleCloudMonitoring.libsonnet', - cloudWatch: import 'raw/query/cloudWatch.libsonnet', - elasticsearch: import 'raw/query/elasticsearch.libsonnet', - grafanaPyroscope: import 'raw/query/grafanaPyroscope.libsonnet', - testData: import 'raw/query/testData.libsonnet', - loki: import 'clean/query/loki.libsonnet', - parca: import 'raw/query/parca.libsonnet', - prometheus: import 'clean/query/prometheus.libsonnet', - tempo: import 'clean/query/tempo.libsonnet', -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/accesspolicy.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/accesspolicy.libsonnet deleted file mode 100644 index 1881f85..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/accesspolicy.libsonnet +++ /dev/null @@ -1,46 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.accesspolicy', name: 'accesspolicy' }, - '#withRole': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withRole(value): { role: value }, - '#withRoleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withRoleMixin(value): { role+: value }, - role+: - { - '#withKind': { 'function': { args: [{ default: null, enums: ['Role', 'BuiltinRole', 'Team', 'User'], name: 'value', type: ['string'] }], help: 'Policies can apply to roles, teams, or users\nApplying policies to individual users is supported, but discouraged' } }, - withKind(value): { role+: { kind: value } }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { role+: { name: value } }, - '#withXname': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withXname(value): { role+: { xname: value } }, - }, - '#withRules': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'The set of rules to apply. Note that * is required to modify\naccess policy rules, and that "none" will reject all actions' } }, - withRules(value): { rules: (if std.isArray(value) - then value - else [value]) }, - '#withRulesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'The set of rules to apply. Note that * is required to modify\naccess policy rules, and that "none" will reject all actions' } }, - withRulesMixin(value): { rules+: (if std.isArray(value) - then value - else [value]) }, - rules+: - { - '#': { help: '', name: 'rules' }, - '#withKind': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The kind this rule applies to (dashboards, alert, etc)' } }, - withKind(value): { kind: value }, - '#withTarget': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specific sub-elements like "alert.rules" or "dashboard.permissions"????' } }, - withTarget(value): { target: value }, - '#withVerb': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'READ, WRITE, CREATE, DELETE, ...\nshould move to k8s style verbs like: "get", "list", "watch", "create", "update", "patch", "delete"' } }, - withVerb(value): { verb: value }, - }, - '#withScope': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withScope(value): { scope: value }, - '#withScopeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withScopeMixin(value): { scope+: value }, - scope+: - { - '#withKind': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withKind(value): { scope+: { kind: value } }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { scope+: { name: value } }, - }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/alerting/contactPoint.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/alerting/contactPoint.libsonnet deleted file mode 100644 index 882405a..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/alerting/contactPoint.libsonnet +++ /dev/null @@ -1,18 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.alerting.contactPoint', name: 'contactPoint' }, - '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withDisableResolveMessage(value=true): { disableResolveMessage: value }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name is used as grouping key in the UI. Contact points with the\nsame name will be grouped in the UI.' } }, - withName(value): { name: value }, - '#withProvenance': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withProvenance(value): { provenance: value }, - '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettings(value): { settings: value }, - '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsMixin(value): { settings+: value }, - '#withType': { 'function': { args: [{ default: null, enums: ['alertmanager', ' dingding', ' discord', ' email', ' googlechat', ' kafka', ' line', ' opsgenie', ' pagerduty', ' pushover', ' sensugo', ' slack', ' teams', ' telegram', ' threema', ' victorops', ' webhook', ' wecom'], name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID is the unique identifier of the contact point. The UID can be\nset by the user.' } }, - withUid(value): { uid: value }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/alerting/muteTiming.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/alerting/muteTiming.libsonnet deleted file mode 100644 index 658dea7..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/alerting/muteTiming.libsonnet +++ /dev/null @@ -1,68 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.alerting.muteTiming', name: 'muteTiming' }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { name: value }, - '#withTimeIntervals': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withTimeIntervals(value): { time_intervals: (if std.isArray(value) - then value - else [value]) }, - '#withTimeIntervalsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withTimeIntervalsMixin(value): { time_intervals+: (if std.isArray(value) - then value - else [value]) }, - time_intervals+: - { - '#': { help: '', name: 'time_intervals' }, - '#withDaysOfMonth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDaysOfMonth(value): { days_of_month: (if std.isArray(value) - then value - else [value]) }, - '#withDaysOfMonthMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDaysOfMonthMixin(value): { days_of_month+: (if std.isArray(value) - then value - else [value]) }, - '#withLocation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLocation(value): { location: value }, - '#withMonths': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withMonths(value): { months: (if std.isArray(value) - then value - else [value]) }, - '#withMonthsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withMonthsMixin(value): { months+: (if std.isArray(value) - then value - else [value]) }, - '#withTimes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withTimes(value): { times: (if std.isArray(value) - then value - else [value]) }, - '#withTimesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withTimesMixin(value): { times+: (if std.isArray(value) - then value - else [value]) }, - times+: - { - '#': { help: '', name: 'times' }, - '#withFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFrom(value): { from: value }, - '#withTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withTo(value): { to: value }, - }, - '#withWeekdays': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withWeekdays(value): { weekdays: (if std.isArray(value) - then value - else [value]) }, - '#withWeekdaysMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withWeekdaysMixin(value): { weekdays+: (if std.isArray(value) - then value - else [value]) }, - '#withYears': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withYears(value): { years: (if std.isArray(value) - then value - else [value]) }, - '#withYearsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withYearsMixin(value): { years+: (if std.isArray(value) - then value - else [value]) }, - }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/alerting/notificationPolicy.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/alerting/notificationPolicy.libsonnet deleted file mode 100644 index 0f5160c..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/alerting/notificationPolicy.libsonnet +++ /dev/null @@ -1,74 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.alerting.notificationPolicy', name: 'notificationPolicy' }, - '#withContinue': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withContinue(value=true): { continue: value }, - '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withGroupBy(value): { group_by: (if std.isArray(value) - then value - else [value]) }, - '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withGroupByMixin(value): { group_by+: (if std.isArray(value) - then value - else [value]) }, - '#withGroupInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withGroupInterval(value): { group_interval: value }, - '#withGroupWait': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withGroupWait(value): { group_wait: value }, - '#withMatch': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Deprecated. Remove before v1.0 release.' } }, - withMatch(value): { match: value }, - '#withMatchMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Deprecated. Remove before v1.0 release.' } }, - withMatchMixin(value): { match+: value }, - '#withMatchRe': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchRegexps represents a map of Regexp.' } }, - withMatchRe(value): { match_re: value }, - '#withMatchReMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'MatchRegexps represents a map of Regexp.' } }, - withMatchReMixin(value): { match_re+: value }, - '#withMatchers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Matchers is a slice of Matchers that is sortable, implements Stringer, and\nprovides a Matches method to match a LabelSet against all Matchers in the\nslice. Note that some users of Matchers might require it to be sorted.' } }, - withMatchers(value): { matchers: (if std.isArray(value) - then value - else [value]) }, - '#withMatchersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Matchers is a slice of Matchers that is sortable, implements Stringer, and\nprovides a Matches method to match a LabelSet against all Matchers in the\nslice. Note that some users of Matchers might require it to be sorted.' } }, - withMatchersMixin(value): { matchers+: (if std.isArray(value) - then value - else [value]) }, - matchers+: - { - '#': { help: '', name: 'matchers' }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { Name: value }, - '#withType': { 'function': { args: [{ default: null, enums: ['=', '!=', '=~', '!~'], name: 'value', type: ['string'] }], help: 'MatchType is an enum for label matching types.' } }, - withType(value): { Type: value }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withValue(value): { Value: value }, - }, - '#withMuteTimeIntervals': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withMuteTimeIntervals(value): { mute_time_intervals: (if std.isArray(value) - then value - else [value]) }, - '#withMuteTimeIntervalsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withMuteTimeIntervalsMixin(value): { mute_time_intervals+: (if std.isArray(value) - then value - else [value]) }, - '#withObjectMatchers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withObjectMatchers(value): { object_matchers: (if std.isArray(value) - then value - else [value]) }, - '#withObjectMatchersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withObjectMatchersMixin(value): { object_matchers+: (if std.isArray(value) - then value - else [value]) }, - '#withProvenance': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withProvenance(value): { provenance: value }, - '#withReceiver': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withReceiver(value): { receiver: value }, - '#withRepeatInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withRepeatInterval(value): { repeat_interval: value }, - '#withRoutes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withRoutes(value): { routes: (if std.isArray(value) - then value - else [value]) }, - '#withRoutesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withRoutesMixin(value): { routes+: (if std.isArray(value) - then value - else [value]) }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/alerting/ruleGroup.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/alerting/ruleGroup.libsonnet deleted file mode 100644 index b515d28..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/alerting/ruleGroup.libsonnet +++ /dev/null @@ -1,89 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.alerting.ruleGroup', name: 'ruleGroup' }, - '#withFolderUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFolderUid(value): { folderUid: value }, - '#withInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withInterval(value): { interval: value }, - '#withRules': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withRules(value): { rules: (if std.isArray(value) - then value - else [value]) }, - '#withRulesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withRulesMixin(value): { rules+: (if std.isArray(value) - then value - else [value]) }, - rules+: - { - '#': { help: '', name: 'rules' }, - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withAnnotations(value): { annotations: value }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withAnnotationsMixin(value): { annotations+: value }, - '#withCondition': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withCondition(value): { condition: value }, - '#withData': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withData(value): { data: (if std.isArray(value) - then value - else [value]) }, - '#withDataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDataMixin(value): { data+: (if std.isArray(value) - then value - else [value]) }, - data+: - { - '#': { help: '', name: 'data' }, - '#withDatasourceUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "Grafana data source unique identifier; it should be '__expr__' for a Server Side Expression operation." } }, - withDatasourceUid(value): { datasourceUid: value }, - '#withModel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'JSON is the raw JSON query and includes the above properties as well as custom properties.' } }, - withModel(value): { model: value }, - '#withModelMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'JSON is the raw JSON query and includes the above properties as well as custom properties.' } }, - withModelMixin(value): { model+: value }, - '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'QueryType is an optional identifier for the type of query.\nIt can be used to distinguish different types of queries.' } }, - withQueryType(value): { queryType: value }, - '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'RefID is the unique identifier of the query, set by the frontend call.' } }, - withRefId(value): { refId: value }, - '#withRelativeTimeRange': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'RelativeTimeRange is the per query start and end time\nfor requests.' } }, - withRelativeTimeRange(value): { relativeTimeRange: value }, - '#withRelativeTimeRangeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'RelativeTimeRange is the per query start and end time\nfor requests.' } }, - withRelativeTimeRangeMixin(value): { relativeTimeRange+: value }, - relativeTimeRange+: - { - '#withFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A Duration represents the elapsed time between two instants\nas an int64 nanosecond count. The representation limits the\nlargest representable duration to approximately 290 years.' } }, - withFrom(value): { relativeTimeRange+: { from: value } }, - '#withTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A Duration represents the elapsed time between two instants\nas an int64 nanosecond count. The representation limits the\nlargest representable duration to approximately 290 years.' } }, - withTo(value): { relativeTimeRange+: { to: value } }, - }, - }, - '#withExecErrState': { 'function': { args: [{ default: null, enums: ['OK', 'Alerting', 'Error'], name: 'value', type: ['string'] }], help: '' } }, - withExecErrState(value): { execErrState: value }, - '#withFolderUID': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFolderUID(value): { folderUID: value }, - '#withFor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'A Duration represents the elapsed time between two instants\nas an int64 nanosecond count. The representation limits the\nlargest representable duration to approximately 290 years.' } }, - withFor(value): { 'for': value }, - '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withId(value): { id: value }, - '#withIsPaused': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withIsPaused(value=true): { isPaused: value }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLabels(value): { labels: value }, - '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLabelsMixin(value): { labels+: value }, - '#withNoDataState': { 'function': { args: [{ default: null, enums: ['Alerting', 'NoData', 'OK'], name: 'value', type: ['string'] }], help: '' } }, - withNoDataState(value): { noDataState: value }, - '#withOrgID': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withOrgID(value): { orgID: value }, - '#withProvenance': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withProvenance(value): { provenance: value }, - '#withRuleGroup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withRuleGroup(value): { ruleGroup: value }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withTitle(value): { title: value }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withUid(value): { uid: value }, - '#withUpdated': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withUpdated(value): { updated: value }, - }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withTitle(value): { title: value }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/dashboard.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/dashboard.libsonnet deleted file mode 100644 index f0cc55b..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/dashboard.libsonnet +++ /dev/null @@ -1,334 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.dashboard', name: 'dashboard' }, - '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Contains the list of annotations that are associated with the dashboard.\nAnnotations are used to overlay event markers and overlay event tags on graphs.\nGrafana comes with a native annotation store and the ability to add annotation events directly from the graph panel or via the HTTP API.\nSee https://grafana.com/docs/grafana/latest/dashboards/build-dashboards/annotate-visualizations/' } }, - withAnnotations(value): { annotations: value }, - '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Contains the list of annotations that are associated with the dashboard.\nAnnotations are used to overlay event markers and overlay event tags on graphs.\nGrafana comes with a native annotation store and the ability to add annotation events directly from the graph panel or via the HTTP API.\nSee https://grafana.com/docs/grafana/latest/dashboards/build-dashboards/annotate-visualizations/' } }, - withAnnotationsMixin(value): { annotations+: value }, - annotations+: - { - '#withList': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of annotations' } }, - withList(value): { annotations+: { list: (if std.isArray(value) - then value - else [value]) } }, - '#withListMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of annotations' } }, - withListMixin(value): { annotations+: { list+: (if std.isArray(value) - then value - else [value]) } }, - list+: - { - '#': { help: '', name: 'list' }, - '#withBuiltIn': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['number'] }], help: 'Set to 1 for the standard annotation query all dashboards have by default.' } }, - withBuiltIn(value=0): { builtIn: value }, - '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Ref to a DataSource instance' } }, - withDatasource(value): { datasource: value }, - '#withDatasourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Ref to a DataSource instance' } }, - withDatasourceMixin(value): { datasource+: value }, - datasource+: - { - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The plugin type-id' } }, - withType(value): { datasource+: { type: value } }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specific datasource instance' } }, - withUid(value): { datasource+: { uid: value } }, - }, - '#withEnable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'When enabled the annotation query is issued with every dashboard refresh' } }, - withEnable(value=true): { enable: value }, - '#withFilter': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withFilter(value): { filter: value }, - '#withFilterMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withFilterMixin(value): { filter+: value }, - filter+: - { - '#withExclude': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Should the specified panels be included or excluded' } }, - withExclude(value=true): { filter+: { exclude: value } }, - '#withIds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Panel IDs that should be included or excluded' } }, - withIds(value): { filter+: { ids: (if std.isArray(value) - then value - else [value]) } }, - '#withIdsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Panel IDs that should be included or excluded' } }, - withIdsMixin(value): { filter+: { ids+: (if std.isArray(value) - then value - else [value]) } }, - }, - '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Annotation queries can be toggled on or off at the top of the dashboard.\nWhen hide is true, the toggle is not shown in the dashboard.' } }, - withHide(value=true): { hide: value }, - '#withIconColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Color to use for the annotation event markers' } }, - withIconColor(value): { iconColor: value }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of annotation.' } }, - withName(value): { name: value }, - '#withTarget': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO: this should be a regular DataQuery that depends on the selected dashboard\nthese match the properties of the "grafana" datasouce that is default in most dashboards' } }, - withTarget(value): { target: value }, - '#withTargetMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO: this should be a regular DataQuery that depends on the selected dashboard\nthese match the properties of the "grafana" datasouce that is default in most dashboards' } }, - withTargetMixin(value): { target+: value }, - target+: - { - '#withLimit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Only required/valid for the grafana datasource...\nbut code+tests is already depending on it so hard to change' } }, - withLimit(value): { target+: { limit: value } }, - '#withMatchAny': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Only required/valid for the grafana datasource...\nbut code+tests is already depending on it so hard to change' } }, - withMatchAny(value=true): { target+: { matchAny: value } }, - '#withTags': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Only required/valid for the grafana datasource...\nbut code+tests is already depending on it so hard to change' } }, - withTags(value): { target+: { tags: (if std.isArray(value) - then value - else [value]) } }, - '#withTagsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Only required/valid for the grafana datasource...\nbut code+tests is already depending on it so hard to change' } }, - withTagsMixin(value): { target+: { tags+: (if std.isArray(value) - then value - else [value]) } }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Only required/valid for the grafana datasource...\nbut code+tests is already depending on it so hard to change' } }, - withType(value): { target+: { type: value } }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'TODO -- this should not exist here, it is based on the --grafana-- datasource' } }, - withType(value): { type: value }, - }, - }, - '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Description of dashboard.' } }, - withDescription(value): { description: value }, - '#withEditable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Whether a dashboard is editable or not.' } }, - withEditable(value=true): { editable: value }, - '#withFiscalYearStartMonth': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['integer'] }], help: 'The month that the fiscal year starts on. 0 = January, 11 = December' } }, - withFiscalYearStartMonth(value=0): { fiscalYearStartMonth: value }, - '#withGnetId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'ID of a dashboard imported from the https://grafana.com/grafana/dashboards/ portal' } }, - withGnetId(value): { gnetId: value }, - '#withGraphTooltip': { 'function': { args: [{ default: 0, enums: [0, 1, 2], name: 'value', type: ['integer'] }], help: '0 for no shared crosshair or tooltip (default).\n1 for shared crosshair.\n2 for shared crosshair AND shared tooltip.' } }, - withGraphTooltip(value=0): { graphTooltip: value }, - '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer', 'null'] }], help: 'Unique numeric identifier for the dashboard.\n`id` is internal to a specific Grafana instance. `uid` should be used to identify a dashboard across Grafana instances.' } }, - withId(value): { id: value }, - '#withLinks': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Links with references to other dashboards or external websites.' } }, - withLinks(value): { links: (if std.isArray(value) - then value - else [value]) }, - '#withLinksMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Links with references to other dashboards or external websites.' } }, - withLinksMixin(value): { links+: (if std.isArray(value) - then value - else [value]) }, - links+: - { - '#': { help: '', name: 'links' }, - '#withAsDropdown': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true, all dashboards links will be displayed in a dropdown. If false, all dashboards links will be displayed side by side. Only valid if the type is dashboards' } }, - withAsDropdown(value=true): { asDropdown: value }, - '#withIcon': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Icon name to be displayed with the link' } }, - withIcon(value): { icon: value }, - '#withIncludeVars': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true, includes current template variables values in the link as query params' } }, - withIncludeVars(value=true): { includeVars: value }, - '#withKeepTime': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true, includes current time range in the link as query params' } }, - withKeepTime(value=true): { keepTime: value }, - '#withTags': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of tags to limit the linked dashboards. If empty, all dashboards will be displayed. Only valid if the type is dashboards' } }, - withTags(value): { tags: (if std.isArray(value) - then value - else [value]) }, - '#withTagsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of tags to limit the linked dashboards. If empty, all dashboards will be displayed. Only valid if the type is dashboards' } }, - withTagsMixin(value): { tags+: (if std.isArray(value) - then value - else [value]) }, - '#withTargetBlank': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true, the link will be opened in a new tab' } }, - withTargetBlank(value=true): { targetBlank: value }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Title to display with the link' } }, - withTitle(value): { title: value }, - '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Tooltip to display when the user hovers their mouse over it' } }, - withTooltip(value): { tooltip: value }, - '#withType': { 'function': { args: [{ default: null, enums: ['link', 'dashboards'], name: 'value', type: ['string'] }], help: 'Dashboard Link type. Accepted values are dashboards (to refer to another dashboard) and link (to refer to an external resource)' } }, - withType(value): { type: value }, - '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Link URL. Only required/valid if the type is link' } }, - withUrl(value): { url: value }, - }, - '#withLiveNow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'When set to true, the dashboard will redraw panels at an interval matching the pixel width.\nThis will keep data "moving left" regardless of the query refresh rate. This setting helps\navoid dashboards presenting stale live data' } }, - withLiveNow(value=true): { liveNow: value }, - '#withPanels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withPanels(value): { panels: (if std.isArray(value) - then value - else [value]) }, - '#withPanelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withPanelsMixin(value): { panels+: (if std.isArray(value) - then value - else [value]) }, - '#withRefresh': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Refresh rate of dashboard. Represented via interval string, e.g. "5s", "1m", "1h", "1d".' } }, - withRefresh(value): { refresh: value }, - '#withRevision': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'This property should only be used in dashboards defined by plugins. It is a quick check\nto see if the version has changed since the last time.' } }, - withRevision(value): { revision: value }, - '#withSchemaVersion': { 'function': { args: [{ default: 36, enums: null, name: 'value', type: ['integer'] }], help: 'Version of the JSON schema, incremented each time a Grafana update brings\nchanges to said schema.' } }, - withSchemaVersion(value=36): { schemaVersion: value }, - '#withSnapshot': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'A dashboard snapshot shares an interactive dashboard publicly.\nIt is a read-only version of a dashboard, and is not editable.\nIt is possible to create a snapshot of a snapshot.\nGrafana strips away all sensitive information from the dashboard.\nSensitive information stripped: queries (metric, template,annotation) and panel links.' } }, - withSnapshot(value): { snapshot: value }, - '#withSnapshotMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'A dashboard snapshot shares an interactive dashboard publicly.\nIt is a read-only version of a dashboard, and is not editable.\nIt is possible to create a snapshot of a snapshot.\nGrafana strips away all sensitive information from the dashboard.\nSensitive information stripped: queries (metric, template,annotation) and panel links.' } }, - withSnapshotMixin(value): { snapshot+: value }, - snapshot+: - { - '#withCreated': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Time when the snapshot was created' } }, - withCreated(value): { snapshot+: { created: value } }, - '#withExpires': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Time when the snapshot expires, default is never to expire' } }, - withExpires(value): { snapshot+: { expires: value } }, - '#withExternal': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Is the snapshot saved in an external grafana instance' } }, - withExternal(value=true): { snapshot+: { external: value } }, - '#withExternalUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'external url, if snapshot was shared in external grafana instance' } }, - withExternalUrl(value): { snapshot+: { externalUrl: value } }, - '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Unique identifier of the snapshot' } }, - withId(value): { snapshot+: { id: value } }, - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Optional, defined the unique key of the snapshot, required if external is true' } }, - withKey(value): { snapshot+: { key: value } }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Optional, name of the snapshot' } }, - withName(value): { snapshot+: { name: value } }, - '#withOrgId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'org id of the snapshot' } }, - withOrgId(value): { snapshot+: { orgId: value } }, - '#withOriginalUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'original url, url of the dashboard that was snapshotted' } }, - withOriginalUrl(value): { snapshot+: { originalUrl: value } }, - '#withUpdated': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'last time when the snapshot was updated' } }, - withUpdated(value): { snapshot+: { updated: value } }, - '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'url of the snapshot, if snapshot was shared internally' } }, - withUrl(value): { snapshot+: { url: value } }, - '#withUserId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'user id of the snapshot creator' } }, - withUserId(value): { snapshot+: { userId: value } }, - }, - '#withTags': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Tags associated with dashboard.' } }, - withTags(value): { tags: (if std.isArray(value) - then value - else [value]) }, - '#withTagsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Tags associated with dashboard.' } }, - withTagsMixin(value): { tags+: (if std.isArray(value) - then value - else [value]) }, - '#withTemplating': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Configured template variables' } }, - withTemplating(value): { templating: value }, - '#withTemplatingMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Configured template variables' } }, - withTemplatingMixin(value): { templating+: value }, - templating+: - { - '#withList': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of configured template variables with their saved values along with some other metadata' } }, - withList(value): { templating+: { list: (if std.isArray(value) - then value - else [value]) } }, - '#withListMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of configured template variables with their saved values along with some other metadata' } }, - withListMixin(value): { templating+: { list+: (if std.isArray(value) - then value - else [value]) } }, - list+: - { - '#': { help: '', name: 'list' }, - '#withAllValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Custom all value' } }, - withAllValue(value): { allValue: value }, - '#withCurrent': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Option to be selected in a variable.' } }, - withCurrent(value): { current: value }, - '#withCurrentMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Option to be selected in a variable.' } }, - withCurrentMixin(value): { current+: value }, - current+: - { - '#withSelected': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Whether the option is selected or not' } }, - withSelected(value=true): { current+: { selected: value } }, - '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'array'] }], help: 'Text to be displayed for the option' } }, - withText(value): { current+: { text: value } }, - '#withTextMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'array'] }], help: 'Text to be displayed for the option' } }, - withTextMixin(value): { current+: { text+: value } }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'array'] }], help: 'Value of the option' } }, - withValue(value): { current+: { value: value } }, - '#withValueMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'array'] }], help: 'Value of the option' } }, - withValueMixin(value): { current+: { value+: value } }, - }, - '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Ref to a DataSource instance' } }, - withDatasource(value): { datasource: value }, - '#withDatasourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Ref to a DataSource instance' } }, - withDatasourceMixin(value): { datasource+: value }, - datasource+: - { - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The plugin type-id' } }, - withType(value): { datasource+: { type: value } }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specific datasource instance' } }, - withUid(value): { datasource+: { uid: value } }, - }, - '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Description of variable. It can be defined but `null`.' } }, - withDescription(value): { description: value }, - '#withHide': { 'function': { args: [{ default: null, enums: [0, 1, 2], name: 'value', type: ['integer'] }], help: 'Determine if the variable shows on dashboard\nAccepted values are 0 (show label and value), 1 (show value only), 2 (show nothing).' } }, - withHide(value): { hide: value }, - '#withIncludeAll': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Whether all value option is available or not' } }, - withIncludeAll(value=true): { includeAll: value }, - '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Optional display name' } }, - withLabel(value): { label: value }, - '#withMulti': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Whether multiple values can be selected or not from variable value list' } }, - withMulti(value=true): { multi: value }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of variable' } }, - withName(value): { name: value }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Options that can be selected for a variable.' } }, - withOptions(value): { options: (if std.isArray(value) - then value - else [value]) }, - '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Options that can be selected for a variable.' } }, - withOptionsMixin(value): { options+: (if std.isArray(value) - then value - else [value]) }, - options+: - { - '#': { help: '', name: 'options' }, - '#withSelected': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Whether the option is selected or not' } }, - withSelected(value=true): { selected: value }, - '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'array'] }], help: 'Text to be displayed for the option' } }, - withText(value): { text: value }, - '#withTextMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'array'] }], help: 'Text to be displayed for the option' } }, - withTextMixin(value): { text+: value }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'array'] }], help: 'Value of the option' } }, - withValue(value): { value: value }, - '#withValueMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'array'] }], help: 'Value of the option' } }, - withValueMixin(value): { value+: value }, - }, - '#withQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'object'] }], help: 'Query used to fetch values for a variable' } }, - withQuery(value): { query: value }, - '#withQueryMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'object'] }], help: 'Query used to fetch values for a variable' } }, - withQueryMixin(value): { query+: value }, - '#withRefresh': { 'function': { args: [{ default: null, enums: [0, 1, 2], name: 'value', type: ['integer'] }], help: 'Options to config when to refresh a variable\n`0`: Never refresh the variable\n`1`: Queries the data source every time the dashboard loads.\n`2`: Queries the data source when the dashboard time range changes.' } }, - withRefresh(value): { refresh: value }, - '#withRegex': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Optional field, if you want to extract part of a series name or metric node segment.\nNamed capture groups can be used to separate the display text and value.' } }, - withRegex(value): { regex: value }, - '#withSkipUrlSync': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Whether the variable value should be managed by URL query params or not' } }, - withSkipUrlSync(value=true): { skipUrlSync: value }, - '#withSort': { 'function': { args: [{ default: null, enums: [0, 1, 2, 3, 4, 5, 6, 7, 8], name: 'value', type: ['integer'] }], help: 'Sort variable options\nAccepted values are:\n`0`: No sorting\n`1`: Alphabetical ASC\n`2`: Alphabetical DESC\n`3`: Numerical ASC\n`4`: Numerical DESC\n`5`: Alphabetical Case Insensitive ASC\n`6`: Alphabetical Case Insensitive DESC\n`7`: Natural ASC\n`8`: Natural DESC' } }, - withSort(value): { sort: value }, - '#withType': { 'function': { args: [{ default: null, enums: ['query', 'adhoc', 'groupby', 'constant', 'datasource', 'interval', 'textbox', 'custom', 'system'], name: 'value', type: ['string'] }], help: 'Dashboard variable type\n`query`: Query-generated list of values such as metric names, server names, sensor IDs, data centers, and so on.\n`adhoc`: Key/value filters that are automatically added to all metric queries for a data source (Prometheus, Loki, InfluxDB, and Elasticsearch only).\n`constant`: \tDefine a hidden constant.\n`datasource`: Quickly change the data source for an entire dashboard.\n`interval`: Interval variables represent time spans.\n`textbox`: Display a free text input field with an optional default value.\n`custom`: Define the variable options manually using a comma-separated list.\n`system`: Variables defined by Grafana. See: https://grafana.com/docs/grafana/latest/dashboards/variables/add-template-variables/#global-variables' } }, - withType(value): { type: value }, - }, - }, - '#withTime': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: "Time range for dashboard.\nAccepted values are relative time strings like {from: 'now-6h', to: 'now'} or absolute time strings like {from: '2020-07-10T08:00:00.000Z', to: '2020-07-10T14:00:00.000Z'}." } }, - withTime(value): { time: value }, - '#withTimeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: "Time range for dashboard.\nAccepted values are relative time strings like {from: 'now-6h', to: 'now'} or absolute time strings like {from: '2020-07-10T08:00:00.000Z', to: '2020-07-10T14:00:00.000Z'}." } }, - withTimeMixin(value): { time+: value }, - time+: - { - '#withFrom': { 'function': { args: [{ default: 'now-6h', enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFrom(value='now-6h'): { time+: { from: value } }, - '#withTo': { 'function': { args: [{ default: 'now', enums: null, name: 'value', type: ['string'] }], help: '' } }, - withTo(value='now'): { time+: { to: value } }, - }, - '#withTimepicker': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Time picker configuration\nIt defines the default config for the time picker and the refresh picker for the specific dashboard.' } }, - withTimepicker(value): { timepicker: value }, - '#withTimepickerMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Time picker configuration\nIt defines the default config for the time picker and the refresh picker for the specific dashboard.' } }, - withTimepickerMixin(value): { timepicker+: value }, - timepicker+: - { - '#withHidden': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Whether timepicker is visible or not.' } }, - withHidden(value=true): { timepicker+: { hidden: value } }, - '#withNowDelay': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Override the now time by entering a time delay. Use this option to accommodate known delays in data aggregation to avoid null values.' } }, - withNowDelay(value): { timepicker+: { nowDelay: value } }, - '#withRefreshIntervals': { 'function': { args: [{ default: ['5s', '10s', '30s', '1m', '5m', '15m', '30m', '1h', '2h', '1d'], enums: null, name: 'value', type: ['array'] }], help: 'Interval options available in the refresh picker dropdown.' } }, - withRefreshIntervals(value): { timepicker+: { refresh_intervals: (if std.isArray(value) - then value - else [value]) } }, - '#withRefreshIntervalsMixin': { 'function': { args: [{ default: ['5s', '10s', '30s', '1m', '5m', '15m', '30m', '1h', '2h', '1d'], enums: null, name: 'value', type: ['array'] }], help: 'Interval options available in the refresh picker dropdown.' } }, - withRefreshIntervalsMixin(value): { timepicker+: { refresh_intervals+: (if std.isArray(value) - then value - else [value]) } }, - '#withTimeOptions': { 'function': { args: [{ default: ['5m', '15m', '1h', '6h', '12h', '24h', '2d', '7d', '30d'], enums: null, name: 'value', type: ['array'] }], help: 'Selectable options available in the time picker dropdown. Has no effect on provisioned dashboard.' } }, - withTimeOptions(value): { timepicker+: { time_options: (if std.isArray(value) - then value - else [value]) } }, - '#withTimeOptionsMixin': { 'function': { args: [{ default: ['5m', '15m', '1h', '6h', '12h', '24h', '2d', '7d', '30d'], enums: null, name: 'value', type: ['array'] }], help: 'Selectable options available in the time picker dropdown. Has no effect on provisioned dashboard.' } }, - withTimeOptionsMixin(value): { timepicker+: { time_options+: (if std.isArray(value) - then value - else [value]) } }, - }, - '#withTimezone': { 'function': { args: [{ default: 'browser', enums: null, name: 'value', type: ['string'] }], help: 'Timezone of dashboard. Accepted values are IANA TZDB zone ID or "browser" or "utc".' } }, - withTimezone(value='browser'): { timezone: value }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Title of dashboard.' } }, - withTitle(value): { title: value }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Unique dashboard identifier that can be generated by anyone. string (8-40)' } }, - withUid(value): { uid: value }, - '#withVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Version of the dashboard, incremented each time the dashboard is updated.' } }, - withVersion(value): { version: value }, - '#withWeekStart': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Day when the week starts. Expressed by the name of the day in lowercase, e.g. "monday".' } }, - withWeekStart(value): { weekStart: value }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/librarypanel.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/librarypanel.libsonnet deleted file mode 100644 index eeb97e4..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/librarypanel.libsonnet +++ /dev/null @@ -1,65 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.librarypanel', name: 'librarypanel' }, - '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Panel description' } }, - withDescription(value): { description: value }, - '#withFolderUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Folder UID' } }, - withFolderUid(value): { folderUid: value }, - '#withMeta': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMeta(value): { meta: value }, - '#withMetaMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMetaMixin(value): { meta+: value }, - meta+: - { - '#withConnectedDashboards': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withConnectedDashboards(value): { meta+: { connectedDashboards: value } }, - '#withCreated': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withCreated(value): { meta+: { created: value } }, - '#withCreatedBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCreatedBy(value): { meta+: { createdBy: value } }, - '#withCreatedByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCreatedByMixin(value): { meta+: { createdBy+: value } }, - createdBy+: - { - '#withAvatarUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withAvatarUrl(value): { meta+: { createdBy+: { avatarUrl: value } } }, - '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withId(value): { meta+: { createdBy+: { id: value } } }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { meta+: { createdBy+: { name: value } } }, - }, - '#withFolderName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFolderName(value): { meta+: { folderName: value } }, - '#withFolderUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFolderUid(value): { meta+: { folderUid: value } }, - '#withUpdated': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withUpdated(value): { meta+: { updated: value } }, - '#withUpdatedBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withUpdatedBy(value): { meta+: { updatedBy: value } }, - '#withUpdatedByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withUpdatedByMixin(value): { meta+: { updatedBy+: value } }, - updatedBy+: - { - '#withAvatarUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withAvatarUrl(value): { meta+: { updatedBy+: { avatarUrl: value } } }, - '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withId(value): { meta+: { updatedBy+: { id: value } } }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { meta+: { updatedBy+: { name: value } } }, - }, - }, - '#withModel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: "TODO: should be the same panel schema defined in dashboard\nTypescript: Omit;" } }, - withModel(value): { model: value }, - '#withModelMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: "TODO: should be the same panel schema defined in dashboard\nTypescript: Omit;" } }, - withModelMixin(value): { model+: value }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Panel name (also saved in the model)' } }, - withName(value): { name: value }, - '#withSchemaVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Dashboard version when this was saved (zero if unknown)' } }, - withSchemaVersion(value): { schemaVersion: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The panel type (from inside the model)' } }, - withType(value): { type: value }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Library element UID' } }, - withUid(value): { uid: value }, - '#withVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'panel version, incremented each time the dashboard is updated.' } }, - withVersion(value): { version: value }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel.libsonnet deleted file mode 100644 index de5742d..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel.libsonnet +++ /dev/null @@ -1,391 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.panel', name: 'panel' }, - '#withCacheTimeout': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Sets panel queries cache timeout.' } }, - withCacheTimeout(value): { cacheTimeout: value }, - '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Ref to a DataSource instance' } }, - withDatasource(value): { datasource: value }, - '#withDatasourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Ref to a DataSource instance' } }, - withDatasourceMixin(value): { datasource+: value }, - datasource+: - { - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The plugin type-id' } }, - withType(value): { datasource+: { type: value } }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specific datasource instance' } }, - withUid(value): { datasource+: { uid: value } }, - }, - '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Panel description.' } }, - withDescription(value): { description: value }, - '#withFieldConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The data model used in Grafana, namely the data frame, is a columnar-oriented table structure that unifies both time series and table query results.\nEach column within this structure is called a field. A field can represent a single time series or table column.\nField options allow you to change how the data is displayed in your visualizations.' } }, - withFieldConfig(value): { fieldConfig: value }, - '#withFieldConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The data model used in Grafana, namely the data frame, is a columnar-oriented table structure that unifies both time series and table query results.\nEach column within this structure is called a field. A field can represent a single time series or table column.\nField options allow you to change how the data is displayed in your visualizations.' } }, - withFieldConfigMixin(value): { fieldConfig+: value }, - fieldConfig+: - { - '#withDefaults': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The data model used in Grafana, namely the data frame, is a columnar-oriented table structure that unifies both time series and table query results.\nEach column within this structure is called a field. A field can represent a single time series or table column.\nField options allow you to change how the data is displayed in your visualizations.' } }, - withDefaults(value): { fieldConfig+: { defaults: value } }, - '#withDefaultsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The data model used in Grafana, namely the data frame, is a columnar-oriented table structure that unifies both time series and table query results.\nEach column within this structure is called a field. A field can represent a single time series or table column.\nField options allow you to change how the data is displayed in your visualizations.' } }, - withDefaultsMixin(value): { fieldConfig+: { defaults+: value } }, - defaults+: - { - '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map a field to a color.' } }, - withColor(value): { fieldConfig+: { defaults+: { color: value } } }, - '#withColorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map a field to a color.' } }, - withColorMixin(value): { fieldConfig+: { defaults+: { color+: value } } }, - color+: - { - '#withFixedColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The fixed color value for fixed or shades color modes.' } }, - withFixedColor(value): { fieldConfig+: { defaults+: { color+: { fixedColor: value } } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['thresholds', 'palette-classic', 'palette-classic-by-name', 'continuous-GrYlRd', 'continuous-RdYlGr', 'continuous-BlYlRd', 'continuous-YlRd', 'continuous-BlPu', 'continuous-YlBl', 'continuous-blues', 'continuous-reds', 'continuous-greens', 'continuous-purples', 'fixed', 'shades'], name: 'value', type: ['string'] }], help: 'Color mode for a field. You can specify a single color, or select a continuous (gradient) color schemes, based on a value.\nContinuous color interpolates a color using the percentage of a value relative to min and max.\nAccepted values are:\n`thresholds`: From thresholds. Informs Grafana to take the color from the matching threshold\n`palette-classic`: Classic palette. Grafana will assign color by looking up a color in a palette by series index. Useful for Graphs and pie charts and other categorical data visualizations\n`palette-classic-by-name`: Classic palette (by name). Grafana will assign color by looking up a color in a palette by series name. Useful for Graphs and pie charts and other categorical data visualizations\n`continuous-GrYlRd`: ontinuous Green-Yellow-Red palette mode\n`continuous-RdYlGr`: Continuous Red-Yellow-Green palette mode\n`continuous-BlYlRd`: Continuous Blue-Yellow-Red palette mode\n`continuous-YlRd`: Continuous Yellow-Red palette mode\n`continuous-BlPu`: Continuous Blue-Purple palette mode\n`continuous-YlBl`: Continuous Yellow-Blue palette mode\n`continuous-blues`: Continuous Blue palette mode\n`continuous-reds`: Continuous Red palette mode\n`continuous-greens`: Continuous Green palette mode\n`continuous-purples`: Continuous Purple palette mode\n`shades`: Shades of a single color. Specify a single color, useful in an override rule.\n`fixed`: Fixed color mode. Specify a single color, useful in an override rule.' } }, - withMode(value): { fieldConfig+: { defaults+: { color+: { mode: value } } } }, - '#withSeriesBy': { 'function': { args: [{ default: null, enums: ['min', 'max', 'last'], name: 'value', type: ['string'] }], help: 'Defines how to assign a series color from "by value" color schemes. For example for an aggregated data points like a timeseries, the color can be assigned by the min, max or last value.' } }, - withSeriesBy(value): { fieldConfig+: { defaults+: { color+: { seriesBy: value } } } }, - }, - '#withCustom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'custom is specified by the FieldConfig field\nin panel plugin schemas.' } }, - withCustom(value): { fieldConfig+: { defaults+: { custom: value } } }, - '#withCustomMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'custom is specified by the FieldConfig field\nin panel plugin schemas.' } }, - withCustomMixin(value): { fieldConfig+: { defaults+: { custom+: value } } }, - '#withDecimals': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Specify the number of decimals Grafana includes in the rendered value.\nIf you leave this field blank, Grafana automatically truncates the number of decimals based on the value.\nFor example 1.1234 will display as 1.12 and 100.456 will display as 100.\nTo display all decimals, set the unit to `String`.' } }, - withDecimals(value): { fieldConfig+: { defaults+: { decimals: value } } }, - '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Human readable field metadata' } }, - withDescription(value): { fieldConfig+: { defaults+: { description: value } } }, - '#withDisplayName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The display value for this field. This supports template variables blank is auto' } }, - withDisplayName(value): { fieldConfig+: { defaults+: { displayName: value } } }, - '#withDisplayNameFromDS': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'This can be used by data sources that return and explicit naming structure for values and labels\nWhen this property is configured, this value is used rather than the default naming strategy.' } }, - withDisplayNameFromDS(value): { fieldConfig+: { defaults+: { displayNameFromDS: value } } }, - '#withFilterable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'True if data source field supports ad-hoc filters' } }, - withFilterable(value=true): { fieldConfig+: { defaults+: { filterable: value } } }, - '#withLinks': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'The behavior when clicking on a result' } }, - withLinks(value): { fieldConfig+: { defaults+: { links: (if std.isArray(value) - then value - else [value]) } } }, - '#withLinksMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'The behavior when clicking on a result' } }, - withLinksMixin(value): { fieldConfig+: { defaults+: { links+: (if std.isArray(value) - then value - else [value]) } } }, - '#withMappings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Convert input values into a display string' } }, - withMappings(value): { fieldConfig+: { defaults+: { mappings: (if std.isArray(value) - then value - else [value]) } } }, - '#withMappingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Convert input values into a display string' } }, - withMappingsMixin(value): { fieldConfig+: { defaults+: { mappings+: (if std.isArray(value) - then value - else [value]) } } }, - mappings+: - { - '#': { help: '', name: 'mappings' }, - ValueMap+: - { - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } }' } }, - withOptions(value): { options: value }, - '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } }' } }, - withOptionsMixin(value): { options+: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, - }, - RangeMap+: - { - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Range to match against and the result to apply when the value is within the range' } }, - withOptions(value): { options: value }, - '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Range to match against and the result to apply when the value is within the range' } }, - withOptionsMixin(value): { options+: value }, - options+: - { - '#withFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number', 'null'] }], help: 'Min value of the range. It can be null which means -Infinity' } }, - withFrom(value): { options+: { from: value } }, - '#withResult': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Result used as replacement with text and color when the value matches' } }, - withResult(value): { options+: { result: value } }, - '#withResultMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Result used as replacement with text and color when the value matches' } }, - withResultMixin(value): { options+: { result+: value } }, - result+: - { - '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Text to use when the value matches' } }, - withColor(value): { options+: { result+: { color: value } } }, - '#withIcon': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Icon to display when the value matches. Only specific visualizations.' } }, - withIcon(value): { options+: { result+: { icon: value } } }, - '#withIndex': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Position in the mapping array. Only used internally.' } }, - withIndex(value): { options+: { result+: { index: value } } }, - '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Text to display when the value matches' } }, - withText(value): { options+: { result+: { text: value } } }, - }, - '#withTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number', 'null'] }], help: 'Max value of the range. It can be null which means +Infinity' } }, - withTo(value): { options+: { to: value } }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, - }, - RegexMap+: - { - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Regular expression to match against and the result to apply when the value matches the regex' } }, - withOptions(value): { options: value }, - '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Regular expression to match against and the result to apply when the value matches the regex' } }, - withOptionsMixin(value): { options+: value }, - options+: - { - '#withPattern': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Regular expression to match against' } }, - withPattern(value): { options+: { pattern: value } }, - '#withResult': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Result used as replacement with text and color when the value matches' } }, - withResult(value): { options+: { result: value } }, - '#withResultMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Result used as replacement with text and color when the value matches' } }, - withResultMixin(value): { options+: { result+: value } }, - result+: - { - '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Text to use when the value matches' } }, - withColor(value): { options+: { result+: { color: value } } }, - '#withIcon': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Icon to display when the value matches. Only specific visualizations.' } }, - withIcon(value): { options+: { result+: { icon: value } } }, - '#withIndex': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Position in the mapping array. Only used internally.' } }, - withIndex(value): { options+: { result+: { index: value } } }, - '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Text to display when the value matches' } }, - withText(value): { options+: { result+: { text: value } } }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, - }, - SpecialValueMap+: - { - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptions(value): { options: value }, - '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptionsMixin(value): { options+: value }, - options+: - { - '#withMatch': { 'function': { args: [{ default: null, enums: ['true', 'false', 'null', 'nan', 'null+nan', 'empty'], name: 'value', type: ['string'] }], help: 'Special value types supported by the `SpecialValueMap`' } }, - withMatch(value): { options+: { match: value } }, - '#withResult': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Result used as replacement with text and color when the value matches' } }, - withResult(value): { options+: { result: value } }, - '#withResultMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Result used as replacement with text and color when the value matches' } }, - withResultMixin(value): { options+: { result+: value } }, - result+: - { - '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Text to use when the value matches' } }, - withColor(value): { options+: { result+: { color: value } } }, - '#withIcon': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Icon to display when the value matches. Only specific visualizations.' } }, - withIcon(value): { options+: { result+: { icon: value } } }, - '#withIndex': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Position in the mapping array. Only used internally.' } }, - withIndex(value): { options+: { result+: { index: value } } }, - '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Text to display when the value matches' } }, - withText(value): { options+: { result+: { text: value } } }, - }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, - }, - }, - '#withMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'The maximum value used in percentage threshold calculations. Leave blank for auto calculation based on all series and fields.' } }, - withMax(value): { fieldConfig+: { defaults+: { max: value } } }, - '#withMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'The minimum value used in percentage threshold calculations. Leave blank for auto calculation based on all series and fields.' } }, - withMin(value): { fieldConfig+: { defaults+: { min: value } } }, - '#withNoValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Alternative to empty string' } }, - withNoValue(value): { fieldConfig+: { defaults+: { noValue: value } } }, - '#withPath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An explicit path to the field in the datasource. When the frame meta includes a path,\nThis will default to `${frame.meta.path}/${field.name}\n\nWhen defined, this value can be used as an identifier within the datasource scope, and\nmay be used to update the results' } }, - withPath(value): { fieldConfig+: { defaults+: { path: value } } }, - '#withThresholds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Thresholds configuration for the panel' } }, - withThresholds(value): { fieldConfig+: { defaults+: { thresholds: value } } }, - '#withThresholdsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Thresholds configuration for the panel' } }, - withThresholdsMixin(value): { fieldConfig+: { defaults+: { thresholds+: value } } }, - thresholds+: - { - '#withMode': { 'function': { args: [{ default: null, enums: ['absolute', 'percentage'], name: 'value', type: ['string'] }], help: 'Thresholds can either be `absolute` (specific number) or `percentage` (relative to min or max, it will be values between 0 and 1).' } }, - withMode(value): { fieldConfig+: { defaults+: { thresholds+: { mode: value } } } }, - '#withSteps': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "Must be sorted by 'value', first value is always -Infinity" } }, - withSteps(value): { fieldConfig+: { defaults+: { thresholds+: { steps: (if std.isArray(value) - then value - else [value]) } } } }, - '#withStepsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "Must be sorted by 'value', first value is always -Infinity" } }, - withStepsMixin(value): { fieldConfig+: { defaults+: { thresholds+: { steps+: (if std.isArray(value) - then value - else [value]) } } } }, - steps+: - { - '#': { help: '', name: 'steps' }, - '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded.' } }, - withColor(value): { color: value }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number', 'null'] }], help: 'Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded.\nNulls currently appear here when serializing -Infinity to JSON.' } }, - withValue(value): { value: value }, - }, - }, - '#withUnit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Unit a field should use. The unit you select is applied to all fields except time.\nYou can use the units ID availables in Grafana or a custom unit.\nAvailable units in Grafana: https://github.com/grafana/grafana/blob/main/packages/grafana-data/src/valueFormats/categories.ts\nAs custom unit, you can use the following formats:\n`suffix:` for custom unit that should go after value.\n`prefix:` for custom unit that should go before value.\n`time:` For custom date time formats type for example `time:YYYY-MM-DD`.\n`si:` for custom SI units. For example: `si: mF`. This one is a bit more advanced as you can specify both a unit and the source data scale. So if your source data is represented as milli (thousands of) something prefix the unit with that SI scale character.\n`count:` for a custom count unit.\n`currency:` for custom a currency unit.' } }, - withUnit(value): { fieldConfig+: { defaults+: { unit: value } } }, - '#withWriteable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'True if data source can write a value to the path. Auth/authz are supported separately' } }, - withWriteable(value=true): { fieldConfig+: { defaults+: { writeable: value } } }, - }, - '#withOverrides': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Overrides are the options applied to specific fields overriding the defaults.' } }, - withOverrides(value): { fieldConfig+: { overrides: (if std.isArray(value) - then value - else [value]) } }, - '#withOverridesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Overrides are the options applied to specific fields overriding the defaults.' } }, - withOverridesMixin(value): { fieldConfig+: { overrides+: (if std.isArray(value) - then value - else [value]) } }, - overrides+: - { - '#': { help: '', name: 'overrides' }, - '#withMatcher': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation.\nIt comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type.' } }, - withMatcher(value): { matcher: value }, - '#withMatcherMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation.\nIt comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type.' } }, - withMatcherMixin(value): { matcher+: value }, - matcher+: - { - '#withId': { 'function': { args: [{ default: '', enums: null, name: 'value', type: ['string'] }], help: 'The matcher id. This is used to find the matcher implementation from registry.' } }, - withId(value=''): { matcher+: { id: value } }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The matcher options. This is specific to the matcher implementation.' } }, - withOptions(value): { matcher+: { options: value } }, - }, - '#withProperties': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withProperties(value): { properties: (if std.isArray(value) - then value - else [value]) }, - '#withPropertiesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withPropertiesMixin(value): { properties+: (if std.isArray(value) - then value - else [value]) }, - properties+: - { - '#': { help: '', name: 'properties' }, - '#withId': { 'function': { args: [{ default: '', enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value=''): { id: value }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withValue(value): { value: value }, - }, - }, - }, - '#withGridPos': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Position and dimensions of a panel in the grid' } }, - withGridPos(value): { gridPos: value }, - '#withGridPosMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Position and dimensions of a panel in the grid' } }, - withGridPosMixin(value): { gridPos+: value }, - gridPos+: - { - '#withH': { 'function': { args: [{ default: 9, enums: null, name: 'value', type: ['integer'] }], help: 'Panel height. The height is the number of rows from the top edge of the panel.' } }, - withH(value=9): { gridPos+: { h: value } }, - '#withStatic': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "Whether the panel is fixed within the grid. If true, the panel will not be affected by other panels' interactions" } }, - withStatic(value=true): { gridPos+: { static: value } }, - '#withW': { 'function': { args: [{ default: 12, enums: null, name: 'value', type: ['integer'] }], help: 'Panel width. The width is the number of columns from the left edge of the panel.' } }, - withW(value=12): { gridPos+: { w: value } }, - '#withX': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['integer'] }], help: 'Panel x. The x coordinate is the number of columns from the left edge of the grid' } }, - withX(value=0): { gridPos+: { x: value } }, - '#withY': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['integer'] }], help: 'Panel y. The y coordinate is the number of rows from the top edge of the grid' } }, - withY(value=0): { gridPos+: { y: value } }, - }, - '#withHideTimeOverride': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Controls if the timeFrom or timeShift overrides are shown in the panel header' } }, - withHideTimeOverride(value=true): { hideTimeOverride: value }, - '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Unique identifier of the panel. Generated by Grafana when creating a new panel. It must be unique within a dashboard, but not globally.' } }, - withId(value): { id: value }, - '#withInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The min time interval setting defines a lower limit for the $__interval and $__interval_ms variables.\nThis value must be formatted as a number followed by a valid time\nidentifier like: "40s", "3d", etc.\nSee: https://grafana.com/docs/grafana/latest/panels-visualizations/query-transform-data/#query-options' } }, - withInterval(value): { interval: value }, - '#withLibraryPanel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'A library panel is a reusable panel that you can use in any dashboard.\nWhen you make a change to a library panel, that change propagates to all instances of where the panel is used.\nLibrary panels streamline reuse of panels across multiple dashboards.' } }, - withLibraryPanel(value): { libraryPanel: value }, - '#withLibraryPanelMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'A library panel is a reusable panel that you can use in any dashboard.\nWhen you make a change to a library panel, that change propagates to all instances of where the panel is used.\nLibrary panels streamline reuse of panels across multiple dashboards.' } }, - withLibraryPanelMixin(value): { libraryPanel+: value }, - libraryPanel+: - { - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Library panel name' } }, - withName(value): { libraryPanel+: { name: value } }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Library panel uid' } }, - withUid(value): { libraryPanel+: { uid: value } }, - }, - '#withLinks': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Panel links.' } }, - withLinks(value): { links: (if std.isArray(value) - then value - else [value]) }, - '#withLinksMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Panel links.' } }, - withLinksMixin(value): { links+: (if std.isArray(value) - then value - else [value]) }, - links+: - { - '#': { help: '', name: 'links' }, - '#withAsDropdown': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true, all dashboards links will be displayed in a dropdown. If false, all dashboards links will be displayed side by side. Only valid if the type is dashboards' } }, - withAsDropdown(value=true): { asDropdown: value }, - '#withIcon': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Icon name to be displayed with the link' } }, - withIcon(value): { icon: value }, - '#withIncludeVars': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true, includes current template variables values in the link as query params' } }, - withIncludeVars(value=true): { includeVars: value }, - '#withKeepTime': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true, includes current time range in the link as query params' } }, - withKeepTime(value=true): { keepTime: value }, - '#withTags': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of tags to limit the linked dashboards. If empty, all dashboards will be displayed. Only valid if the type is dashboards' } }, - withTags(value): { tags: (if std.isArray(value) - then value - else [value]) }, - '#withTagsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of tags to limit the linked dashboards. If empty, all dashboards will be displayed. Only valid if the type is dashboards' } }, - withTagsMixin(value): { tags+: (if std.isArray(value) - then value - else [value]) }, - '#withTargetBlank': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true, the link will be opened in a new tab' } }, - withTargetBlank(value=true): { targetBlank: value }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Title to display with the link' } }, - withTitle(value): { title: value }, - '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Tooltip to display when the user hovers their mouse over it' } }, - withTooltip(value): { tooltip: value }, - '#withType': { 'function': { args: [{ default: null, enums: ['link', 'dashboards'], name: 'value', type: ['string'] }], help: 'Dashboard Link type. Accepted values are dashboards (to refer to another dashboard) and link (to refer to an external resource)' } }, - withType(value): { type: value }, - '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Link URL. Only required/valid if the type is link' } }, - withUrl(value): { url: value }, - }, - '#withMaxDataPoints': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'The maximum number of data points that the panel queries are retrieving.' } }, - withMaxDataPoints(value): { maxDataPoints: value }, - '#withMaxPerRow': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Option for repeated panels that controls max items per row\nOnly relevant for horizontally repeated panels' } }, - withMaxPerRow(value): { maxPerRow: value }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'It depends on the panel plugin. They are specified by the Options field in panel plugin schemas.' } }, - withOptions(value): { options: value }, - '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'It depends on the panel plugin. They are specified by the Options field in panel plugin schemas.' } }, - withOptionsMixin(value): { options+: value }, - '#withPluginVersion': { 'function': { args: [], help: '' } }, - withPluginVersion(): { pluginVersion: 'v10.4.0' }, - '#withQueryCachingTTL': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Overrides the data source configured time-to-live for a query cache item in milliseconds' } }, - withQueryCachingTTL(value): { queryCachingTTL: value }, - '#withRepeat': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of template variable to repeat for.' } }, - withRepeat(value): { repeat: value }, - '#withRepeatDirection': { 'function': { args: [{ default: 'h', enums: ['h', 'v'], name: 'value', type: ['string'] }], help: "Direction to repeat in if 'repeat' is set.\n`h` for horizontal, `v` for vertical." } }, - withRepeatDirection(value='h'): { repeatDirection: value }, - '#withTargets': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Depends on the panel plugin. See the plugin documentation for details.' } }, - withTargets(value): { targets: (if std.isArray(value) - then value - else [value]) }, - '#withTargetsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Depends on the panel plugin. See the plugin documentation for details.' } }, - withTargetsMixin(value): { targets+: (if std.isArray(value) - then value - else [value]) }, - '#withTimeFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Overrides the relative time range for individual panels,\nwhich causes them to be different than what is selected in\nthe dashboard time picker in the top-right corner of the dashboard. You can use this to show metrics from different\ntime periods or days on the same dashboard.\nThe value is formatted as time operation like: `now-5m` (Last 5 minutes), `now/d` (the day so far),\n`now-5d/d`(Last 5 days), `now/w` (This week so far), `now-2y/y` (Last 2 years).\nNote: Panel time overrides have no effect when the dashboard’s time range is absolute.\nSee: https://grafana.com/docs/grafana/latest/panels-visualizations/query-transform-data/#query-options' } }, - withTimeFrom(value): { timeFrom: value }, - '#withTimeShift': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Overrides the time range for individual panels by shifting its start and end relative to the time picker.\nFor example, you can shift the time range for the panel to be two hours earlier than the dashboard time picker setting `2h`.\nNote: Panel time overrides have no effect when the dashboard’s time range is absolute.\nSee: https://grafana.com/docs/grafana/latest/panels-visualizations/query-transform-data/#query-options' } }, - withTimeShift(value): { timeShift: value }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Panel title.' } }, - withTitle(value): { title: value }, - '#withTransformations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of transformations that are applied to the panel data before rendering.\nWhen there are multiple transformations, Grafana applies them in the order they are listed.\nEach transformation creates a result set that then passes on to the next transformation in the processing pipeline.' } }, - withTransformations(value): { transformations: (if std.isArray(value) - then value - else [value]) }, - '#withTransformationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of transformations that are applied to the panel data before rendering.\nWhen there are multiple transformations, Grafana applies them in the order they are listed.\nEach transformation creates a result set that then passes on to the next transformation in the processing pipeline.' } }, - withTransformationsMixin(value): { transformations+: (if std.isArray(value) - then value - else [value]) }, - transformations+: - { - '#': { help: '', name: 'transformations' }, - '#withDisabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Disabled transformations are skipped' } }, - withDisabled(value=true): { disabled: value }, - '#withFilter': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation.\nIt comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type.' } }, - withFilter(value): { filter: value }, - '#withFilterMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation.\nIt comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type.' } }, - withFilterMixin(value): { filter+: value }, - filter+: - { - '#withId': { 'function': { args: [{ default: '', enums: null, name: 'value', type: ['string'] }], help: 'The matcher id. This is used to find the matcher implementation from registry.' } }, - withId(value=''): { filter+: { id: value } }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The matcher options. This is specific to the matcher implementation.' } }, - withOptions(value): { filter+: { options: value } }, - }, - '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Unique identifier of transformer' } }, - withId(value): { id: value }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Options to be passed to the transformer\nValid options depend on the transformer id' } }, - withOptions(value): { options: value }, - '#withTopic': { 'function': { args: [{ default: null, enums: ['series', 'annotations', 'alertStates'], name: 'value', type: ['string'] }], help: 'Where to pull DataFrames from as input to transformation' } }, - withTopic(value): { topic: value }, - }, - '#withTransparent': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Whether to display the panel without a background.' } }, - withTransparent(value=true): { transparent: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The panel plugin type id. This is used to find the plugin to display the panel.' } }, - withType(value): { type: value }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/alertGroups.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/alertGroups.libsonnet deleted file mode 100644 index 9cc6691..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/alertGroups.libsonnet +++ /dev/null @@ -1,19 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.panel.alertGroups', name: 'alertGroups' }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptions(value): { options: value }, - '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptionsMixin(value): { options+: value }, - options+: - { - '#withAlertmanager': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the alertmanager used as a source for alerts' } }, - withAlertmanager(value): { options+: { alertmanager: value } }, - '#withExpandAll': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Expand all alert groups by default' } }, - withExpandAll(value=true): { options+: { expandAll: value } }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Comma-separated list of values used to filter alert results' } }, - withLabels(value): { options+: { labels: value } }, - }, - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'alertGroups' }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/alertList.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/alertList.libsonnet deleted file mode 100644 index e5d9903..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/alertList.libsonnet +++ /dev/null @@ -1,124 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.panel.alertList', name: 'alertList' }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object', 'object'] }], help: '' } }, - withOptions(value): { options: value }, - '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object', 'object'] }], help: '' } }, - withOptionsMixin(value): { options+: value }, - options+: - { - '#withAlertListOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withAlertListOptions(value): { options+: { AlertListOptions: value } }, - '#withAlertListOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withAlertListOptionsMixin(value): { options+: { AlertListOptions+: value } }, - AlertListOptions+: - { - '#withAlertName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withAlertName(value): { options+: { alertName: value } }, - '#withDashboardAlerts': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withDashboardAlerts(value=true): { options+: { dashboardAlerts: value } }, - '#withDashboardTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withDashboardTitle(value): { options+: { dashboardTitle: value } }, - '#withFolderId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withFolderId(value): { options+: { folderId: value } }, - '#withMaxItems': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxItems(value): { options+: { maxItems: value } }, - '#withShowOptions': { 'function': { args: [{ default: null, enums: ['current', 'changes'], name: 'value', type: ['string'] }], help: '' } }, - withShowOptions(value): { options+: { showOptions: value } }, - '#withSortOrder': { 'function': { args: [{ default: null, enums: [1, 2, 3, 4, 5], name: 'value', type: ['number'] }], help: '' } }, - withSortOrder(value): { options+: { sortOrder: value } }, - '#withStateFilter': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withStateFilter(value): { options+: { stateFilter: value } }, - '#withStateFilterMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withStateFilterMixin(value): { options+: { stateFilter+: value } }, - stateFilter+: - { - '#withAlerting': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAlerting(value=true): { options+: { stateFilter+: { alerting: value } } }, - '#withExecutionError': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withExecutionError(value=true): { options+: { stateFilter+: { execution_error: value } } }, - '#withNoData': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withNoData(value=true): { options+: { stateFilter+: { no_data: value } } }, - '#withOk': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withOk(value=true): { options+: { stateFilter+: { ok: value } } }, - '#withPaused': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withPaused(value=true): { options+: { stateFilter+: { paused: value } } }, - '#withPending': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withPending(value=true): { options+: { stateFilter+: { pending: value } } }, - }, - '#withTags': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withTags(value): { options+: { tags: (if std.isArray(value) - then value - else [value]) } }, - '#withTagsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withTagsMixin(value): { options+: { tags+: (if std.isArray(value) - then value - else [value]) } }, - }, - '#withUnifiedAlertListOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withUnifiedAlertListOptions(value): { options+: { UnifiedAlertListOptions: value } }, - '#withUnifiedAlertListOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withUnifiedAlertListOptionsMixin(value): { options+: { UnifiedAlertListOptions+: value } }, - UnifiedAlertListOptions+: - { - '#withAlertInstanceLabelFilter': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withAlertInstanceLabelFilter(value): { options+: { alertInstanceLabelFilter: value } }, - '#withAlertName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withAlertName(value): { options+: { alertName: value } }, - '#withDashboardAlerts': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withDashboardAlerts(value=true): { options+: { dashboardAlerts: value } }, - '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withDatasource(value): { options+: { datasource: value } }, - '#withFolder': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withFolder(value): { options+: { folder: value } }, - '#withFolderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withFolderMixin(value): { options+: { folder+: value } }, - folder+: - { - '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withId(value): { options+: { folder+: { id: value } } }, - '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withTitle(value): { options+: { folder+: { title: value } } }, - }, - '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withGroupBy(value): { options+: { groupBy: (if std.isArray(value) - then value - else [value]) } }, - '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withGroupByMixin(value): { options+: { groupBy+: (if std.isArray(value) - then value - else [value]) } }, - '#withGroupMode': { 'function': { args: [{ default: null, enums: ['default', 'custom'], name: 'value', type: ['string'] }], help: '' } }, - withGroupMode(value): { options+: { groupMode: value } }, - '#withMaxItems': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxItems(value): { options+: { maxItems: value } }, - '#withShowInstances': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowInstances(value=true): { options+: { showInstances: value } }, - '#withSortOrder': { 'function': { args: [{ default: null, enums: [1, 2, 3, 4, 5], name: 'value', type: ['number'] }], help: '' } }, - withSortOrder(value): { options+: { sortOrder: value } }, - '#withStateFilter': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withStateFilter(value): { options+: { stateFilter: value } }, - '#withStateFilterMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withStateFilterMixin(value): { options+: { stateFilter+: value } }, - stateFilter+: - { - '#withError': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withError(value=true): { options+: { stateFilter+: { 'error': value } } }, - '#withFiring': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withFiring(value=true): { options+: { stateFilter+: { firing: value } } }, - '#withInactive': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withInactive(value=true): { options+: { stateFilter+: { inactive: value } } }, - '#withNoData': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withNoData(value=true): { options+: { stateFilter+: { noData: value } } }, - '#withNormal': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withNormal(value=true): { options+: { stateFilter+: { normal: value } } }, - '#withPending': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withPending(value=true): { options+: { stateFilter+: { pending: value } } }, - }, - '#withViewMode': { 'function': { args: [{ default: null, enums: ['list', 'stat'], name: 'value', type: ['string'] }], help: '' } }, - withViewMode(value): { options+: { viewMode: value } }, - }, - }, - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'alertlist' }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/annotationsList.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/annotationsList.libsonnet deleted file mode 100644 index 54d6770..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/annotationsList.libsonnet +++ /dev/null @@ -1,39 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.panel.annotationsList', name: 'annotationsList' }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptions(value): { options: value }, - '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptionsMixin(value): { options+: value }, - options+: - { - '#withLimit': { 'function': { args: [{ default: 10, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withLimit(value=10): { options+: { limit: value } }, - '#withNavigateAfter': { 'function': { args: [{ default: '10m', enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNavigateAfter(value='10m'): { options+: { navigateAfter: value } }, - '#withNavigateBefore': { 'function': { args: [{ default: '10m', enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNavigateBefore(value='10m'): { options+: { navigateBefore: value } }, - '#withNavigateToPanel': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withNavigateToPanel(value=true): { options+: { navigateToPanel: value } }, - '#withOnlyFromThisDashboard': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withOnlyFromThisDashboard(value=true): { options+: { onlyFromThisDashboard: value } }, - '#withOnlyInTimeRange': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withOnlyInTimeRange(value=true): { options+: { onlyInTimeRange: value } }, - '#withShowTags': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowTags(value=true): { options+: { showTags: value } }, - '#withShowTime': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowTime(value=true): { options+: { showTime: value } }, - '#withShowUser': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowUser(value=true): { options+: { showUser: value } }, - '#withTags': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withTags(value): { options+: { tags: (if std.isArray(value) - then value - else [value]) } }, - '#withTagsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withTagsMixin(value): { options+: { tags+: (if std.isArray(value) - then value - else [value]) } }, - }, - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'annolist' }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/barChart.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/barChart.libsonnet deleted file mode 100644 index e3d8a5d..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/barChart.libsonnet +++ /dev/null @@ -1,174 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.panel.barChart', name: 'barChart' }, - '#withFieldConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withFieldConfig(value): { fieldConfig: value }, - '#withFieldConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withFieldConfigMixin(value): { fieldConfig+: value }, - fieldConfig+: - { - '#withDefaults': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withDefaults(value): { fieldConfig+: { defaults: value } }, - '#withDefaultsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withDefaultsMixin(value): { fieldConfig+: { defaults+: value } }, - defaults+: - { - '#withCustom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCustom(value): { fieldConfig+: { defaults+: { custom: value } } }, - '#withCustomMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCustomMixin(value): { fieldConfig+: { defaults+: { custom+: value } } }, - custom+: - { - '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisBorderShow(value=true): { fieldConfig+: { defaults+: { custom+: { axisBorderShow: value } } } }, - '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisCenteredZero(value=true): { fieldConfig+: { defaults+: { custom+: { axisCenteredZero: value } } } }, - '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisColorMode(value): { fieldConfig+: { defaults+: { custom+: { axisColorMode: value } } } }, - '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisGridShow(value=true): { fieldConfig+: { defaults+: { custom+: { axisGridShow: value } } } }, - '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withAxisLabel(value): { fieldConfig+: { defaults+: { custom+: { axisLabel: value } } } }, - '#withAxisPlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'right', 'bottom', 'left', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisPlacement(value): { fieldConfig+: { defaults+: { custom+: { axisPlacement: value } } } }, - '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMax(value): { fieldConfig+: { defaults+: { custom+: { axisSoftMax: value } } } }, - '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMin(value): { fieldConfig+: { defaults+: { custom+: { axisSoftMin: value } } } }, - '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisWidth(value): { fieldConfig+: { defaults+: { custom+: { axisWidth: value } } } }, - '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistribution(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution: value } } } }, - '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistributionMixin(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: value } } } }, - scaleDistribution+: - { - '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLinearThreshold(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { linearThreshold: value } } } } }, - '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLog(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { log: value } } } } }, - '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withType(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { type: value } } } } }, - }, - '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFrom(value): { fieldConfig+: { defaults+: { custom+: { hideFrom: value } } } }, - '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFromMixin(value): { fieldConfig+: { defaults+: { custom+: { hideFrom+: value } } } }, - hideFrom+: - { - '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withLegend(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { legend: value } } } } }, - '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withTooltip(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { tooltip: value } } } } }, - '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withViz(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { viz: value } } } } }, - }, - '#withFillOpacity': { 'function': { args: [{ default: 80, enums: null, name: 'value', type: ['integer'] }], help: 'Controls the fill opacity of the bars.' } }, - withFillOpacity(value=80): { fieldConfig+: { defaults+: { custom+: { fillOpacity: value } } } }, - '#withGradientMode': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Set the mode of the gradient fill. Fill gradient is based on the line color. To change the color, use the standard color scheme field option.\nGradient appearance is influenced by the Fill opacity setting.' } }, - withGradientMode(value): { fieldConfig+: { defaults+: { custom+: { gradientMode: value } } } }, - '#withLineWidth': { 'function': { args: [{ default: 1, enums: null, name: 'value', type: ['integer'] }], help: 'Controls line width of the bars.' } }, - withLineWidth(value=1): { fieldConfig+: { defaults+: { custom+: { lineWidth: value } } } }, - '#withThresholdsStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withThresholdsStyle(value): { fieldConfig+: { defaults+: { custom+: { thresholdsStyle: value } } } }, - '#withThresholdsStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withThresholdsStyleMixin(value): { fieldConfig+: { defaults+: { custom+: { thresholdsStyle+: value } } } }, - thresholdsStyle+: - { - '#withMode': { 'function': { args: [{ default: null, enums: ['off', 'line', 'dashed', 'area', 'line+area', 'dashed+area', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { fieldConfig+: { defaults+: { custom+: { thresholdsStyle+: { mode: value } } } } }, - }, - }, - }, - }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptions(value): { options: value }, - '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptionsMixin(value): { options+: value }, - options+: - { - '#withLegend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLegend(value): { options+: { legend: value } }, - '#withLegendMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLegendMixin(value): { options+: { legend+: value } }, - legend+: - { - '#withAsTable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAsTable(value=true): { options+: { legend+: { asTable: value } } }, - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcs(value): { options+: { legend+: { calcs: (if std.isArray(value) - then value - else [value]) } } }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcsMixin(value): { options+: { legend+: { calcs+: (if std.isArray(value) - then value - else [value]) } } }, - '#withDisplayMode': { 'function': { args: [{ default: null, enums: ['list', 'table', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs\nNote: "hidden" needs to remain as an option for plugins compatibility' } }, - withDisplayMode(value): { options+: { legend+: { displayMode: value } } }, - '#withIsVisible': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withIsVisible(value=true): { options+: { legend+: { isVisible: value } } }, - '#withPlacement': { 'function': { args: [{ default: null, enums: ['bottom', 'right'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withPlacement(value): { options+: { legend+: { placement: value } } }, - '#withShowLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowLegend(value=true): { options+: { legend+: { showLegend: value } } }, - '#withSortBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withSortBy(value): { options+: { legend+: { sortBy: value } } }, - '#withSortDesc': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withSortDesc(value=true): { options+: { legend+: { sortDesc: value } } }, - '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withWidth(value): { options+: { legend+: { width: value } } }, - }, - '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltip(value): { options+: { tooltip: value } }, - '#withTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltipMixin(value): { options+: { tooltip+: value } }, - tooltip+: - { - '#withMaxHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxHeight(value): { options+: { tooltip+: { maxHeight: value } } }, - '#withMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxWidth(value): { options+: { tooltip+: { maxWidth: value } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['single', 'multi', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { options+: { tooltip+: { mode: value } } }, - '#withSort': { 'function': { args: [{ default: null, enums: ['asc', 'desc', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withSort(value): { options+: { tooltip+: { sort: value } } }, - }, - '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withText(value): { options+: { text: value } }, - '#withTextMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTextMixin(value): { options+: { text+: value } }, - text+: - { - '#withTitleSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Explicit title text size' } }, - withTitleSize(value): { options+: { text+: { titleSize: value } } }, - '#withValueSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Explicit value text size' } }, - withValueSize(value): { options+: { text+: { valueSize: value } } }, - }, - '#withBarRadius': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['number'] }], help: 'Controls the radius of each bar.' } }, - withBarRadius(value=0): { options+: { barRadius: value } }, - '#withBarWidth': { 'function': { args: [{ default: 0.96999999999999997, enums: null, name: 'value', type: ['number'] }], help: 'Controls the width of bars. 1 = Max width, 0 = Min width.' } }, - withBarWidth(value=0.96999999999999997): { options+: { barWidth: value } }, - '#withColorByField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Use the color value for a sibling field to color each bar value.' } }, - withColorByField(value): { options+: { colorByField: value } }, - '#withFullHighlight': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Enables mode which highlights the entire bar area and shows tooltip when cursor\nhovers over highlighted area' } }, - withFullHighlight(value=true): { options+: { fullHighlight: value } }, - '#withGroupWidth': { 'function': { args: [{ default: 0.69999999999999996, enums: null, name: 'value', type: ['number'] }], help: 'Controls the width of groups. 1 = max with, 0 = min width.' } }, - withGroupWidth(value=0.69999999999999996): { options+: { groupWidth: value } }, - '#withOrientation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Controls the orientation of the bar chart, either vertical or horizontal.' } }, - withOrientation(value): { options+: { orientation: value } }, - '#withShowValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'This controls whether values are shown on top or to the left of bars.' } }, - withShowValue(value): { options+: { showValue: value } }, - '#withStacking': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Controls whether bars are stacked or not, either normally or in percent mode.' } }, - withStacking(value): { options+: { stacking: value } }, - '#withXField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Manually select which field from the dataset to represent the x field.' } }, - withXField(value): { options+: { xField: value } }, - '#withXTickLabelMaxLength': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Sets the max length that a label can have before it is truncated.' } }, - withXTickLabelMaxLength(value): { options+: { xTickLabelMaxLength: value } }, - '#withXTickLabelRotation': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['integer'] }], help: 'Controls the rotation of the x axis labels.' } }, - withXTickLabelRotation(value=0): { options+: { xTickLabelRotation: value } }, - '#withXTickLabelSpacing': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['integer'] }], help: 'Controls the spacing between x axis labels.\nnegative values indicate backwards skipping behavior' } }, - withXTickLabelSpacing(value=0): { options+: { xTickLabelSpacing: value } }, - }, - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'barchart' }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/barGauge.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/barGauge.libsonnet deleted file mode 100644 index 124911b..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/barGauge.libsonnet +++ /dev/null @@ -1,63 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.panel.barGauge', name: 'barGauge' }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptions(value): { options: value }, - '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptionsMixin(value): { options+: value }, - options+: - { - '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withText(value): { options+: { text: value } }, - '#withTextMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTextMixin(value): { options+: { text+: value } }, - text+: - { - '#withTitleSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Explicit title text size' } }, - withTitleSize(value): { options+: { text+: { titleSize: value } } }, - '#withValueSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Explicit value text size' } }, - withValueSize(value): { options+: { text+: { valueSize: value } } }, - }, - '#withOrientation': { 'function': { args: [{ default: null, enums: ['auto', 'vertical', 'horizontal'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withOrientation(value): { options+: { orientation: value } }, - '#withReduceOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withReduceOptions(value): { options+: { reduceOptions: value } }, - '#withReduceOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withReduceOptionsMixin(value): { options+: { reduceOptions+: value } }, - reduceOptions+: - { - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'When !values, pick one value for the whole field' } }, - withCalcs(value): { options+: { reduceOptions+: { calcs: (if std.isArray(value) - then value - else [value]) } } }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'When !values, pick one value for the whole field' } }, - withCalcsMixin(value): { options+: { reduceOptions+: { calcs+: (if std.isArray(value) - then value - else [value]) } } }, - '#withFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Which fields to show. By default this is only numeric fields' } }, - withFields(value): { options+: { reduceOptions+: { fields: value } } }, - '#withLimit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'if showing all values limit' } }, - withLimit(value): { options+: { reduceOptions+: { limit: value } } }, - '#withValues': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true show each row value' } }, - withValues(value=true): { options+: { reduceOptions+: { values: value } } }, - }, - '#withDisplayMode': { 'function': { args: [{ default: null, enums: ['basic', 'lcd', 'gradient'], name: 'value', type: ['string'] }], help: 'Enum expressing the possible display modes\nfor the bar gauge component of Grafana UI' } }, - withDisplayMode(value): { options+: { displayMode: value } }, - '#withMaxVizHeight': { 'function': { args: [{ default: 300, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withMaxVizHeight(value=300): { options+: { maxVizHeight: value } }, - '#withMinVizHeight': { 'function': { args: [{ default: 16, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withMinVizHeight(value=16): { options+: { minVizHeight: value } }, - '#withMinVizWidth': { 'function': { args: [{ default: 8, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withMinVizWidth(value=8): { options+: { minVizWidth: value } }, - '#withNamePlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'left'], name: 'value', type: ['string'] }], help: 'Allows for the bar gauge name to be placed explicitly' } }, - withNamePlacement(value): { options+: { namePlacement: value } }, - '#withShowUnfilled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowUnfilled(value=true): { options+: { showUnfilled: value } }, - '#withSizing': { 'function': { args: [{ default: null, enums: ['auto', 'manual'], name: 'value', type: ['string'] }], help: 'Allows for the bar gauge size to be set explicitly' } }, - withSizing(value): { options+: { sizing: value } }, - '#withValueMode': { 'function': { args: [{ default: null, enums: ['color', 'text', 'hidden'], name: 'value', type: ['string'] }], help: 'Allows for the table cell gauge display type to set the gauge mode.' } }, - withValueMode(value): { options+: { valueMode: value } }, - }, - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'bargauge' }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/candlestick.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/candlestick.libsonnet deleted file mode 100644 index e7f51c9..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/candlestick.libsonnet +++ /dev/null @@ -1,278 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.panel.candlestick', name: 'candlestick' }, - '#withCandleStyle': { 'function': { args: [{ default: null, enums: ['candles', 'ohlcbars'], name: 'value', type: ['string'] }], help: '' } }, - withCandleStyle(value): { CandleStyle: value }, - '#withCandlestickColors': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCandlestickColors(value): { CandlestickColors: value }, - '#withCandlestickColorsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCandlestickColorsMixin(value): { CandlestickColors+: value }, - CandlestickColors+: - { - '#withDown': { 'function': { args: [{ default: 'red', enums: null, name: 'value', type: ['string'] }], help: '' } }, - withDown(value='red'): { CandlestickColors+: { down: value } }, - '#withFlat': { 'function': { args: [{ default: 'gray', enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFlat(value='gray'): { CandlestickColors+: { flat: value } }, - '#withUp': { 'function': { args: [{ default: 'green', enums: null, name: 'value', type: ['string'] }], help: '' } }, - withUp(value='green'): { CandlestickColors+: { up: value } }, - }, - '#withCandlestickFieldMap': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCandlestickFieldMap(value): { CandlestickFieldMap: value }, - '#withCandlestickFieldMapMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCandlestickFieldMapMixin(value): { CandlestickFieldMap+: value }, - CandlestickFieldMap+: - { - '#withClose': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Corresponds to the final (end) value of the given period' } }, - withClose(value): { CandlestickFieldMap+: { close: value } }, - '#withHigh': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Corresponds to the highest value of the given period' } }, - withHigh(value): { CandlestickFieldMap+: { high: value } }, - '#withLow': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Corresponds to the lowest value of the given period' } }, - withLow(value): { CandlestickFieldMap+: { low: value } }, - '#withOpen': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Corresponds to the starting value of the given period' } }, - withOpen(value): { CandlestickFieldMap+: { open: value } }, - '#withVolume': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Corresponds to the sample count in the given period. (e.g. number of trades)' } }, - withVolume(value): { CandlestickFieldMap+: { volume: value } }, - }, - '#withColorStrategy': { 'function': { args: [{ default: null, enums: ['open-close', 'close-close'], name: 'value', type: ['string'] }], help: '' } }, - withColorStrategy(value): { ColorStrategy: value }, - '#withVizDisplayMode': { 'function': { args: [{ default: null, enums: ['candles+volume', 'candles', 'volume'], name: 'value', type: ['string'] }], help: '' } }, - withVizDisplayMode(value): { VizDisplayMode: value }, - '#withFieldConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withFieldConfig(value): { fieldConfig: value }, - '#withFieldConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withFieldConfigMixin(value): { fieldConfig+: value }, - fieldConfig+: - { - '#withDefaults': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withDefaults(value): { fieldConfig+: { defaults: value } }, - '#withDefaultsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withDefaultsMixin(value): { fieldConfig+: { defaults+: value } }, - defaults+: - { - '#withCustom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withCustom(value): { fieldConfig+: { defaults+: { custom: value } } }, - '#withCustomMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withCustomMixin(value): { fieldConfig+: { defaults+: { custom+: value } } }, - custom+: - { - '#withLineColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLineColor(value): { fieldConfig+: { defaults+: { custom+: { lineColor: value } } } }, - '#withLineInterpolation': { 'function': { args: [{ default: null, enums: ['linear', 'smooth', 'stepBefore', 'stepAfter'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withLineInterpolation(value): { fieldConfig+: { defaults+: { custom+: { lineInterpolation: value } } } }, - '#withLineStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyle(value): { fieldConfig+: { defaults+: { custom+: { lineStyle: value } } } }, - '#withLineStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyleMixin(value): { fieldConfig+: { defaults+: { custom+: { lineStyle+: value } } } }, - lineStyle+: - { - '#withDash': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDash(value): { fieldConfig+: { defaults+: { custom+: { lineStyle+: { dash: (if std.isArray(value) - then value - else [value]) } } } } }, - '#withDashMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDashMixin(value): { fieldConfig+: { defaults+: { custom+: { lineStyle+: { dash+: (if std.isArray(value) - then value - else [value]) } } } } }, - '#withFill': { 'function': { args: [{ default: null, enums: ['solid', 'dash', 'dot', 'square'], name: 'value', type: ['string'] }], help: '' } }, - withFill(value): { fieldConfig+: { defaults+: { custom+: { lineStyle+: { fill: value } } } } }, - }, - '#withLineWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLineWidth(value): { fieldConfig+: { defaults+: { custom+: { lineWidth: value } } } }, - '#withSpanNulls': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'number'] }], help: 'Indicate if null values should be treated as gaps or connected.\nWhen the value is a number, it represents the maximum delta in the\nX axis that should be considered connected. For timeseries, this is milliseconds' } }, - withSpanNulls(value): { fieldConfig+: { defaults+: { custom+: { spanNulls: value } } } }, - '#withSpanNullsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'number'] }], help: 'Indicate if null values should be treated as gaps or connected.\nWhen the value is a number, it represents the maximum delta in the\nX axis that should be considered connected. For timeseries, this is milliseconds' } }, - withSpanNullsMixin(value): { fieldConfig+: { defaults+: { custom+: { spanNulls+: value } } } }, - '#withFillBelowTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFillBelowTo(value): { fieldConfig+: { defaults+: { custom+: { fillBelowTo: value } } } }, - '#withFillColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFillColor(value): { fieldConfig+: { defaults+: { custom+: { fillColor: value } } } }, - '#withFillOpacity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withFillOpacity(value): { fieldConfig+: { defaults+: { custom+: { fillOpacity: value } } } }, - '#withPointColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPointColor(value): { fieldConfig+: { defaults+: { custom+: { pointColor: value } } } }, - '#withPointSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withPointSize(value): { fieldConfig+: { defaults+: { custom+: { pointSize: value } } } }, - '#withPointSymbol': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPointSymbol(value): { fieldConfig+: { defaults+: { custom+: { pointSymbol: value } } } }, - '#withShowPoints': { 'function': { args: [{ default: null, enums: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withShowPoints(value): { fieldConfig+: { defaults+: { custom+: { showPoints: value } } } }, - '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisBorderShow(value=true): { fieldConfig+: { defaults+: { custom+: { axisBorderShow: value } } } }, - '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisCenteredZero(value=true): { fieldConfig+: { defaults+: { custom+: { axisCenteredZero: value } } } }, - '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisColorMode(value): { fieldConfig+: { defaults+: { custom+: { axisColorMode: value } } } }, - '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisGridShow(value=true): { fieldConfig+: { defaults+: { custom+: { axisGridShow: value } } } }, - '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withAxisLabel(value): { fieldConfig+: { defaults+: { custom+: { axisLabel: value } } } }, - '#withAxisPlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'right', 'bottom', 'left', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisPlacement(value): { fieldConfig+: { defaults+: { custom+: { axisPlacement: value } } } }, - '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMax(value): { fieldConfig+: { defaults+: { custom+: { axisSoftMax: value } } } }, - '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMin(value): { fieldConfig+: { defaults+: { custom+: { axisSoftMin: value } } } }, - '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisWidth(value): { fieldConfig+: { defaults+: { custom+: { axisWidth: value } } } }, - '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistribution(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution: value } } } }, - '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistributionMixin(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: value } } } }, - scaleDistribution+: - { - '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLinearThreshold(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { linearThreshold: value } } } } }, - '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLog(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { log: value } } } } }, - '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withType(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { type: value } } } } }, - }, - '#withBarAlignment': { 'function': { args: [{ default: null, enums: [-1, 0, 1], name: 'value', type: ['integer'] }], help: 'TODO docs' } }, - withBarAlignment(value): { fieldConfig+: { defaults+: { custom+: { barAlignment: value } } } }, - '#withBarMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withBarMaxWidth(value): { fieldConfig+: { defaults+: { custom+: { barMaxWidth: value } } } }, - '#withBarWidthFactor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withBarWidthFactor(value): { fieldConfig+: { defaults+: { custom+: { barWidthFactor: value } } } }, - '#withStacking': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withStacking(value): { fieldConfig+: { defaults+: { custom+: { stacking: value } } } }, - '#withStackingMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withStackingMixin(value): { fieldConfig+: { defaults+: { custom+: { stacking+: value } } } }, - stacking+: - { - '#withGroup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withGroup(value): { fieldConfig+: { defaults+: { custom+: { stacking+: { group: value } } } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['none', 'normal', 'percent'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { fieldConfig+: { defaults+: { custom+: { stacking+: { mode: value } } } } }, - }, - '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFrom(value): { fieldConfig+: { defaults+: { custom+: { hideFrom: value } } } }, - '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFromMixin(value): { fieldConfig+: { defaults+: { custom+: { hideFrom+: value } } } }, - hideFrom+: - { - '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withLegend(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { legend: value } } } } }, - '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withTooltip(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { tooltip: value } } } } }, - '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withViz(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { viz: value } } } } }, - }, - '#withDrawStyle': { 'function': { args: [{ default: null, enums: ['line', 'bars', 'points'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withDrawStyle(value): { fieldConfig+: { defaults+: { custom+: { drawStyle: value } } } }, - '#withGradientMode': { 'function': { args: [{ default: null, enums: ['none', 'opacity', 'hue', 'scheme'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withGradientMode(value): { fieldConfig+: { defaults+: { custom+: { gradientMode: value } } } }, - '#withThresholdsStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withThresholdsStyle(value): { fieldConfig+: { defaults+: { custom+: { thresholdsStyle: value } } } }, - '#withThresholdsStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withThresholdsStyleMixin(value): { fieldConfig+: { defaults+: { custom+: { thresholdsStyle+: value } } } }, - thresholdsStyle+: - { - '#withMode': { 'function': { args: [{ default: null, enums: ['off', 'line', 'dashed', 'area', 'line+area', 'dashed+area', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { fieldConfig+: { defaults+: { custom+: { thresholdsStyle+: { mode: value } } } } }, - }, - '#withTransform': { 'function': { args: [{ default: null, enums: ['constant', 'negative-Y'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withTransform(value): { fieldConfig+: { defaults+: { custom+: { transform: value } } } }, - }, - }, - }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptions(value): { options: value }, - '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptionsMixin(value): { options+: value }, - options+: - { - '#withLegend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLegend(value): { options+: { legend: value } }, - '#withLegendMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLegendMixin(value): { options+: { legend+: value } }, - legend+: - { - '#withAsTable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAsTable(value=true): { options+: { legend+: { asTable: value } } }, - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcs(value): { options+: { legend+: { calcs: (if std.isArray(value) - then value - else [value]) } } }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcsMixin(value): { options+: { legend+: { calcs+: (if std.isArray(value) - then value - else [value]) } } }, - '#withDisplayMode': { 'function': { args: [{ default: null, enums: ['list', 'table', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs\nNote: "hidden" needs to remain as an option for plugins compatibility' } }, - withDisplayMode(value): { options+: { legend+: { displayMode: value } } }, - '#withIsVisible': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withIsVisible(value=true): { options+: { legend+: { isVisible: value } } }, - '#withPlacement': { 'function': { args: [{ default: null, enums: ['bottom', 'right'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withPlacement(value): { options+: { legend+: { placement: value } } }, - '#withShowLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowLegend(value=true): { options+: { legend+: { showLegend: value } } }, - '#withSortBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withSortBy(value): { options+: { legend+: { sortBy: value } } }, - '#withSortDesc': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withSortDesc(value=true): { options+: { legend+: { sortDesc: value } } }, - '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withWidth(value): { options+: { legend+: { width: value } } }, - }, - '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltip(value): { options+: { tooltip: value } }, - '#withTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltipMixin(value): { options+: { tooltip+: value } }, - tooltip+: - { - '#withMaxHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxHeight(value): { options+: { tooltip+: { maxHeight: value } } }, - '#withMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxWidth(value): { options+: { tooltip+: { maxWidth: value } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['single', 'multi', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { options+: { tooltip+: { mode: value } } }, - '#withSort': { 'function': { args: [{ default: null, enums: ['asc', 'desc', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withSort(value): { options+: { tooltip+: { sort: value } } }, - }, - '#withCandleStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Sets the style of the candlesticks' } }, - withCandleStyle(value): { options+: { candleStyle: value } }, - '#withColorStrategy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Sets the color strategy for the candlesticks' } }, - withColorStrategy(value): { options+: { colorStrategy: value } }, - '#withColors': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withColors(value): { options+: { colors: value } }, - '#withColorsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withColorsMixin(value): { options+: { colors+: value } }, - colors+: - { - '#withDown': { 'function': { args: [{ default: 'red', enums: null, name: 'value', type: ['string'] }], help: '' } }, - withDown(value='red'): { options+: { colors+: { down: value } } }, - '#withFlat': { 'function': { args: [{ default: 'gray', enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFlat(value='gray'): { options+: { colors+: { flat: value } } }, - '#withUp': { 'function': { args: [{ default: 'green', enums: null, name: 'value', type: ['string'] }], help: '' } }, - withUp(value='green'): { options+: { colors+: { up: value } } }, - }, - '#withFields': { 'function': { args: [{ default: {}, enums: null, name: 'value', type: ['object'] }], help: 'Map fields to appropriate dimension' } }, - withFields(value={}): { options+: { fields: value } }, - '#withFieldsMixin': { 'function': { args: [{ default: {}, enums: null, name: 'value', type: ['object'] }], help: 'Map fields to appropriate dimension' } }, - withFieldsMixin(value): { options+: { fields+: value } }, - fields+: - { - '#withCandlestickFieldMap': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCandlestickFieldMap(value): { options+: { fields+: { CandlestickFieldMap: value } } }, - '#withCandlestickFieldMapMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCandlestickFieldMapMixin(value): { options+: { fields+: { CandlestickFieldMap+: value } } }, - CandlestickFieldMap+: - { - '#withClose': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Corresponds to the final (end) value of the given period' } }, - withClose(value): { options+: { fields+: { close: value } } }, - '#withHigh': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Corresponds to the highest value of the given period' } }, - withHigh(value): { options+: { fields+: { high: value } } }, - '#withLow': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Corresponds to the lowest value of the given period' } }, - withLow(value): { options+: { fields+: { low: value } } }, - '#withOpen': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Corresponds to the starting value of the given period' } }, - withOpen(value): { options+: { fields+: { open: value } } }, - '#withVolume': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Corresponds to the sample count in the given period. (e.g. number of trades)' } }, - withVolume(value): { options+: { fields+: { volume: value } } }, - }, - }, - '#withIncludeAllFields': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'When enabled, all fields will be sent to the graph' } }, - withIncludeAllFields(value=true): { options+: { includeAllFields: value } }, - '#withMode': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Sets which dimensions are used for the visualization' } }, - withMode(value): { options+: { mode: value } }, - }, - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'candlestick' }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/canvas.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/canvas.libsonnet deleted file mode 100644 index a667b47..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/canvas.libsonnet +++ /dev/null @@ -1,524 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.panel.canvas', name: 'canvas' }, - '#withBackgroundConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withBackgroundConfig(value): { BackgroundConfig: value }, - '#withBackgroundConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withBackgroundConfigMixin(value): { BackgroundConfig+: value }, - BackgroundConfig+: - { - '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withColor(value): { BackgroundConfig+: { color: value } }, - '#withColorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withColorMixin(value): { BackgroundConfig+: { color+: value } }, - color+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { BackgroundConfig+: { color+: { field: value } } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFixed(value): { BackgroundConfig+: { color+: { fixed: value } } }, - }, - '#withImage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Links to a resource (image/svg path)' } }, - withImage(value): { BackgroundConfig+: { image: value } }, - '#withImageMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Links to a resource (image/svg path)' } }, - withImageMixin(value): { BackgroundConfig+: { image+: value } }, - image+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { BackgroundConfig+: { image+: { field: value } } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFixed(value): { BackgroundConfig+: { image+: { fixed: value } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['fixed', 'field', 'mapping'], name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { BackgroundConfig+: { image+: { mode: value } } }, - }, - '#withSize': { 'function': { args: [{ default: null, enums: ['original', 'contain', 'cover', 'fill', 'tile'], name: 'value', type: ['string'] }], help: '' } }, - withSize(value): { BackgroundConfig+: { size: value } }, - }, - '#withBackgroundImageSize': { 'function': { args: [{ default: null, enums: ['original', 'contain', 'cover', 'fill', 'tile'], name: 'value', type: ['string'] }], help: '' } }, - withBackgroundImageSize(value): { BackgroundImageSize: value }, - '#withCanvasConnection': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCanvasConnection(value): { CanvasConnection: value }, - '#withCanvasConnectionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCanvasConnectionMixin(value): { CanvasConnection+: value }, - CanvasConnection+: - { - '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withColor(value): { CanvasConnection+: { color: value } }, - '#withColorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withColorMixin(value): { CanvasConnection+: { color+: value } }, - color+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { CanvasConnection+: { color+: { field: value } } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFixed(value): { CanvasConnection+: { color+: { fixed: value } } }, - }, - '#withPath': { 'function': { args: [{ default: null, enums: ['straight'], name: 'value', type: ['string'] }], help: '' } }, - withPath(value): { CanvasConnection+: { path: value } }, - '#withSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSize(value): { CanvasConnection+: { size: value } }, - '#withSizeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSizeMixin(value): { CanvasConnection+: { size+: value } }, - size+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { CanvasConnection+: { size+: { field: value } } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withFixed(value): { CanvasConnection+: { size+: { fixed: value } } }, - '#withMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMax(value): { CanvasConnection+: { size+: { max: value } } }, - '#withMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMin(value): { CanvasConnection+: { size+: { min: value } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['linear', 'quad'], name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { CanvasConnection+: { size+: { mode: value } } }, - }, - '#withSource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSource(value): { CanvasConnection+: { source: value } }, - '#withSourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSourceMixin(value): { CanvasConnection+: { source+: value } }, - source+: - { - '#withX': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withX(value): { CanvasConnection+: { source+: { x: value } } }, - '#withY': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withY(value): { CanvasConnection+: { source+: { y: value } } }, - }, - '#withTarget': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withTarget(value): { CanvasConnection+: { target: value } }, - '#withTargetMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withTargetMixin(value): { CanvasConnection+: { target+: value } }, - target+: - { - '#withX': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withX(value): { CanvasConnection+: { target+: { x: value } } }, - '#withY': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withY(value): { CanvasConnection+: { target+: { y: value } } }, - }, - '#withTargetName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withTargetName(value): { CanvasConnection+: { targetName: value } }, - }, - '#withCanvasElementOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCanvasElementOptions(value): { CanvasElementOptions: value }, - '#withCanvasElementOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCanvasElementOptionsMixin(value): { CanvasElementOptions+: value }, - CanvasElementOptions+: - { - '#withBackground': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withBackground(value): { CanvasElementOptions+: { background: value } }, - '#withBackgroundMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withBackgroundMixin(value): { CanvasElementOptions+: { background+: value } }, - background+: - { - '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withColor(value): { CanvasElementOptions+: { background+: { color: value } } }, - '#withColorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withColorMixin(value): { CanvasElementOptions+: { background+: { color+: value } } }, - color+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { CanvasElementOptions+: { background+: { color+: { field: value } } } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFixed(value): { CanvasElementOptions+: { background+: { color+: { fixed: value } } } }, - }, - '#withImage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Links to a resource (image/svg path)' } }, - withImage(value): { CanvasElementOptions+: { background+: { image: value } } }, - '#withImageMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Links to a resource (image/svg path)' } }, - withImageMixin(value): { CanvasElementOptions+: { background+: { image+: value } } }, - image+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { CanvasElementOptions+: { background+: { image+: { field: value } } } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFixed(value): { CanvasElementOptions+: { background+: { image+: { fixed: value } } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['fixed', 'field', 'mapping'], name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { CanvasElementOptions+: { background+: { image+: { mode: value } } } }, - }, - '#withSize': { 'function': { args: [{ default: null, enums: ['original', 'contain', 'cover', 'fill', 'tile'], name: 'value', type: ['string'] }], help: '' } }, - withSize(value): { CanvasElementOptions+: { background+: { size: value } } }, - }, - '#withBorder': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withBorder(value): { CanvasElementOptions+: { border: value } }, - '#withBorderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withBorderMixin(value): { CanvasElementOptions+: { border+: value } }, - border+: - { - '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withColor(value): { CanvasElementOptions+: { border+: { color: value } } }, - '#withColorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withColorMixin(value): { CanvasElementOptions+: { border+: { color+: value } } }, - color+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { CanvasElementOptions+: { border+: { color+: { field: value } } } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFixed(value): { CanvasElementOptions+: { border+: { color+: { fixed: value } } } }, - }, - '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withWidth(value): { CanvasElementOptions+: { border+: { width: value } } }, - }, - '#withConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'TODO: figure out how to define this (element config(s))' } }, - withConfig(value): { CanvasElementOptions+: { config: value } }, - '#withConnections': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withConnections(value): { CanvasElementOptions+: { connections: (if std.isArray(value) - then value - else [value]) } }, - '#withConnectionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withConnectionsMixin(value): { CanvasElementOptions+: { connections+: (if std.isArray(value) - then value - else [value]) } }, - connections+: - { - '#': { help: '', name: 'connections' }, - '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withColor(value): { color: value }, - '#withColorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withColorMixin(value): { color+: value }, - color+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { color+: { field: value } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFixed(value): { color+: { fixed: value } }, - }, - '#withPath': { 'function': { args: [{ default: null, enums: ['straight'], name: 'value', type: ['string'] }], help: '' } }, - withPath(value): { path: value }, - '#withSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSize(value): { size: value }, - '#withSizeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSizeMixin(value): { size+: value }, - size+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { size+: { field: value } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withFixed(value): { size+: { fixed: value } }, - '#withMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMax(value): { size+: { max: value } }, - '#withMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMin(value): { size+: { min: value } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['linear', 'quad'], name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { size+: { mode: value } }, - }, - '#withSource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSource(value): { source: value }, - '#withSourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSourceMixin(value): { source+: value }, - source+: - { - '#withX': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withX(value): { source+: { x: value } }, - '#withY': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withY(value): { source+: { y: value } }, - }, - '#withTarget': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withTarget(value): { target: value }, - '#withTargetMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withTargetMixin(value): { target+: value }, - target+: - { - '#withX': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withX(value): { target+: { x: value } }, - '#withY': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withY(value): { target+: { y: value } }, - }, - '#withTargetName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withTargetName(value): { targetName: value }, - }, - '#withConstraint': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withConstraint(value): { CanvasElementOptions+: { constraint: value } }, - '#withConstraintMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withConstraintMixin(value): { CanvasElementOptions+: { constraint+: value } }, - constraint+: - { - '#withHorizontal': { 'function': { args: [{ default: null, enums: ['left', 'right', 'leftright', 'center', 'scale'], name: 'value', type: ['string'] }], help: '' } }, - withHorizontal(value): { CanvasElementOptions+: { constraint+: { horizontal: value } } }, - '#withVertical': { 'function': { args: [{ default: null, enums: ['top', 'bottom', 'topbottom', 'center', 'scale'], name: 'value', type: ['string'] }], help: '' } }, - withVertical(value): { CanvasElementOptions+: { constraint+: { vertical: value } } }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { CanvasElementOptions+: { name: value } }, - '#withPlacement': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPlacement(value): { CanvasElementOptions+: { placement: value } }, - '#withPlacementMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPlacementMixin(value): { CanvasElementOptions+: { placement+: value } }, - placement+: - { - '#withBottom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withBottom(value): { CanvasElementOptions+: { placement+: { bottom: value } } }, - '#withHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withHeight(value): { CanvasElementOptions+: { placement+: { height: value } } }, - '#withLeft': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLeft(value): { CanvasElementOptions+: { placement+: { left: value } } }, - '#withRight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withRight(value): { CanvasElementOptions+: { placement+: { right: value } } }, - '#withTop': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withTop(value): { CanvasElementOptions+: { placement+: { top: value } } }, - '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withWidth(value): { CanvasElementOptions+: { placement+: { width: value } } }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { CanvasElementOptions+: { type: value } }, - }, - '#withConnectionCoordinates': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withConnectionCoordinates(value): { ConnectionCoordinates: value }, - '#withConnectionCoordinatesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withConnectionCoordinatesMixin(value): { ConnectionCoordinates+: value }, - ConnectionCoordinates+: - { - '#withX': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withX(value): { ConnectionCoordinates+: { x: value } }, - '#withY': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withY(value): { ConnectionCoordinates+: { y: value } }, - }, - '#withConnectionPath': { 'function': { args: [{ default: null, enums: ['straight'], name: 'value', type: ['string'] }], help: '' } }, - withConnectionPath(value): { ConnectionPath: value }, - '#withConstraint': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withConstraint(value): { Constraint: value }, - '#withConstraintMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withConstraintMixin(value): { Constraint+: value }, - Constraint+: - { - '#withHorizontal': { 'function': { args: [{ default: null, enums: ['left', 'right', 'leftright', 'center', 'scale'], name: 'value', type: ['string'] }], help: '' } }, - withHorizontal(value): { Constraint+: { horizontal: value } }, - '#withVertical': { 'function': { args: [{ default: null, enums: ['top', 'bottom', 'topbottom', 'center', 'scale'], name: 'value', type: ['string'] }], help: '' } }, - withVertical(value): { Constraint+: { vertical: value } }, - }, - '#withHorizontalConstraint': { 'function': { args: [{ default: null, enums: ['left', 'right', 'leftright', 'center', 'scale'], name: 'value', type: ['string'] }], help: '' } }, - withHorizontalConstraint(value): { HorizontalConstraint: value }, - '#withHttpRequestMethod': { 'function': { args: [{ default: null, enums: ['GET', 'POST', 'PUT'], name: 'value', type: ['string'] }], help: '' } }, - withHttpRequestMethod(value): { HttpRequestMethod: value }, - '#withLineConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLineConfig(value): { LineConfig: value }, - '#withLineConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLineConfigMixin(value): { LineConfig+: value }, - LineConfig+: - { - '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withColor(value): { LineConfig+: { color: value } }, - '#withColorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withColorMixin(value): { LineConfig+: { color+: value } }, - color+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { LineConfig+: { color+: { field: value } } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFixed(value): { LineConfig+: { color+: { fixed: value } } }, - }, - '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withWidth(value): { LineConfig+: { width: value } }, - }, - '#withPlacement': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPlacement(value): { Placement: value }, - '#withPlacementMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPlacementMixin(value): { Placement+: value }, - Placement+: - { - '#withBottom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withBottom(value): { Placement+: { bottom: value } }, - '#withHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withHeight(value): { Placement+: { height: value } }, - '#withLeft': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLeft(value): { Placement+: { left: value } }, - '#withRight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withRight(value): { Placement+: { right: value } }, - '#withTop': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withTop(value): { Placement+: { top: value } }, - '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withWidth(value): { Placement+: { width: value } }, - }, - '#withVerticalConstraint': { 'function': { args: [{ default: null, enums: ['top', 'bottom', 'topbottom', 'center', 'scale'], name: 'value', type: ['string'] }], help: '' } }, - withVerticalConstraint(value): { VerticalConstraint: value }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptions(value): { options: value }, - '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptionsMixin(value): { options+: value }, - options+: - { - '#withInlineEditing': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Enable inline editing' } }, - withInlineEditing(value=true): { options+: { inlineEditing: value } }, - '#withPanZoom': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Enable pan and zoom' } }, - withPanZoom(value=true): { options+: { panZoom: value } }, - '#withRoot': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The root element of canvas (frame), where all canvas elements are nested\nTODO: Figure out how to define a default value for this' } }, - withRoot(value): { options+: { root: value } }, - '#withRootMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The root element of canvas (frame), where all canvas elements are nested\nTODO: Figure out how to define a default value for this' } }, - withRootMixin(value): { options+: { root+: value } }, - root+: - { - '#withElements': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'The list of canvas elements attached to the root element' } }, - withElements(value): { options+: { root+: { elements: (if std.isArray(value) - then value - else [value]) } } }, - '#withElementsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'The list of canvas elements attached to the root element' } }, - withElementsMixin(value): { options+: { root+: { elements+: (if std.isArray(value) - then value - else [value]) } } }, - elements+: - { - '#': { help: '', name: 'elements' }, - '#withBackground': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withBackground(value): { background: value }, - '#withBackgroundMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withBackgroundMixin(value): { background+: value }, - background+: - { - '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withColor(value): { background+: { color: value } }, - '#withColorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withColorMixin(value): { background+: { color+: value } }, - color+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { background+: { color+: { field: value } } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFixed(value): { background+: { color+: { fixed: value } } }, - }, - '#withImage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Links to a resource (image/svg path)' } }, - withImage(value): { background+: { image: value } }, - '#withImageMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Links to a resource (image/svg path)' } }, - withImageMixin(value): { background+: { image+: value } }, - image+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { background+: { image+: { field: value } } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFixed(value): { background+: { image+: { fixed: value } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['fixed', 'field', 'mapping'], name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { background+: { image+: { mode: value } } }, - }, - '#withSize': { 'function': { args: [{ default: null, enums: ['original', 'contain', 'cover', 'fill', 'tile'], name: 'value', type: ['string'] }], help: '' } }, - withSize(value): { background+: { size: value } }, - }, - '#withBorder': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withBorder(value): { border: value }, - '#withBorderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withBorderMixin(value): { border+: value }, - border+: - { - '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withColor(value): { border+: { color: value } }, - '#withColorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withColorMixin(value): { border+: { color+: value } }, - color+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { border+: { color+: { field: value } } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFixed(value): { border+: { color+: { fixed: value } } }, - }, - '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withWidth(value): { border+: { width: value } }, - }, - '#withConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'TODO: figure out how to define this (element config(s))' } }, - withConfig(value): { config: value }, - '#withConnections': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withConnections(value): { connections: (if std.isArray(value) - then value - else [value]) }, - '#withConnectionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withConnectionsMixin(value): { connections+: (if std.isArray(value) - then value - else [value]) }, - connections+: - { - '#': { help: '', name: 'connections' }, - '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withColor(value): { color: value }, - '#withColorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withColorMixin(value): { color+: value }, - color+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { color+: { field: value } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFixed(value): { color+: { fixed: value } }, - }, - '#withPath': { 'function': { args: [{ default: null, enums: ['straight'], name: 'value', type: ['string'] }], help: '' } }, - withPath(value): { path: value }, - '#withSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSize(value): { size: value }, - '#withSizeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSizeMixin(value): { size+: value }, - size+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { size+: { field: value } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withFixed(value): { size+: { fixed: value } }, - '#withMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMax(value): { size+: { max: value } }, - '#withMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMin(value): { size+: { min: value } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['linear', 'quad'], name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { size+: { mode: value } }, - }, - '#withSource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSource(value): { source: value }, - '#withSourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSourceMixin(value): { source+: value }, - source+: - { - '#withX': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withX(value): { source+: { x: value } }, - '#withY': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withY(value): { source+: { y: value } }, - }, - '#withTarget': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withTarget(value): { target: value }, - '#withTargetMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withTargetMixin(value): { target+: value }, - target+: - { - '#withX': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withX(value): { target+: { x: value } }, - '#withY': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withY(value): { target+: { y: value } }, - }, - '#withTargetName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withTargetName(value): { targetName: value }, - }, - '#withConstraint': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withConstraint(value): { constraint: value }, - '#withConstraintMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withConstraintMixin(value): { constraint+: value }, - constraint+: - { - '#withHorizontal': { 'function': { args: [{ default: null, enums: ['left', 'right', 'leftright', 'center', 'scale'], name: 'value', type: ['string'] }], help: '' } }, - withHorizontal(value): { constraint+: { horizontal: value } }, - '#withVertical': { 'function': { args: [{ default: null, enums: ['top', 'bottom', 'topbottom', 'center', 'scale'], name: 'value', type: ['string'] }], help: '' } }, - withVertical(value): { constraint+: { vertical: value } }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { name: value }, - '#withPlacement': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPlacement(value): { placement: value }, - '#withPlacementMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPlacementMixin(value): { placement+: value }, - placement+: - { - '#withBottom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withBottom(value): { placement+: { bottom: value } }, - '#withHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withHeight(value): { placement+: { height: value } }, - '#withLeft': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLeft(value): { placement+: { left: value } }, - '#withRight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withRight(value): { placement+: { right: value } }, - '#withTop': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withTop(value): { placement+: { top: value } }, - '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withWidth(value): { placement+: { width: value } }, - }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the root element' } }, - withName(value): { options+: { root+: { name: value } } }, - '#withType': { 'function': { args: [{ default: null, enums: ['frame'], name: 'value', type: ['string'] }], help: 'Type of root element (frame)' } }, - withType(value): { options+: { root+: { type: value } } }, - }, - '#withShowAdvancedTypes': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Show all available element types' } }, - withShowAdvancedTypes(value=true): { options+: { showAdvancedTypes: value } }, - }, - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'canvas' }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/dashboardList.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/dashboardList.libsonnet deleted file mode 100644 index bb94183..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/dashboardList.libsonnet +++ /dev/null @@ -1,41 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.panel.dashboardList', name: 'dashboardList' }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptions(value): { options: value }, - '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptionsMixin(value): { options+: value }, - options+: - { - '#withFolderId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'folderId is deprecated, and migrated to folderUid on panel init' } }, - withFolderId(value): { options+: { folderId: value } }, - '#withFolderUID': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFolderUID(value): { options+: { folderUID: value } }, - '#withIncludeVars': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withIncludeVars(value=true): { options+: { includeVars: value } }, - '#withKeepTime': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withKeepTime(value=true): { options+: { keepTime: value } }, - '#withMaxItems': { 'function': { args: [{ default: 10, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withMaxItems(value=10): { options+: { maxItems: value } }, - '#withQuery': { 'function': { args: [{ default: '', enums: null, name: 'value', type: ['string'] }], help: '' } }, - withQuery(value=''): { options+: { query: value } }, - '#withShowHeadings': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowHeadings(value=true): { options+: { showHeadings: value } }, - '#withShowRecentlyViewed': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowRecentlyViewed(value=true): { options+: { showRecentlyViewed: value } }, - '#withShowSearch': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowSearch(value=true): { options+: { showSearch: value } }, - '#withShowStarred': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowStarred(value=true): { options+: { showStarred: value } }, - '#withTags': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withTags(value): { options+: { tags: (if std.isArray(value) - then value - else [value]) } }, - '#withTagsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withTagsMixin(value): { options+: { tags+: (if std.isArray(value) - then value - else [value]) } }, - }, - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'dashlist' }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/datagrid.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/datagrid.libsonnet deleted file mode 100644 index d63bda1..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/datagrid.libsonnet +++ /dev/null @@ -1,15 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.panel.datagrid', name: 'datagrid' }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptions(value): { options: value }, - '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptionsMixin(value): { options+: value }, - options+: - { - '#withSelectedSeries': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withSelectedSeries(value=0): { options+: { selectedSeries: value } }, - }, - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'datagrid' }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/debug.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/debug.libsonnet deleted file mode 100644 index 2038d7b..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/debug.libsonnet +++ /dev/null @@ -1,43 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.panel.debug', name: 'debug' }, - '#withDebugMode': { 'function': { args: [{ default: null, enums: ['render', 'events', 'cursor', 'State', 'ThrowError'], name: 'value', type: ['string'] }], help: '' } }, - withDebugMode(value): { DebugMode: value }, - '#withUpdateConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withUpdateConfig(value): { UpdateConfig: value }, - '#withUpdateConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withUpdateConfigMixin(value): { UpdateConfig+: value }, - UpdateConfig+: - { - '#withDataChanged': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withDataChanged(value=true): { UpdateConfig+: { dataChanged: value } }, - '#withRender': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withRender(value=true): { UpdateConfig+: { render: value } }, - '#withSchemaChanged': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withSchemaChanged(value=true): { UpdateConfig+: { schemaChanged: value } }, - }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptions(value): { options: value }, - '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptionsMixin(value): { options+: value }, - options+: - { - '#withCounters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCounters(value): { options+: { counters: value } }, - '#withCountersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCountersMixin(value): { options+: { counters+: value } }, - counters+: - { - '#withDataChanged': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withDataChanged(value=true): { options+: { counters+: { dataChanged: value } } }, - '#withRender': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withRender(value=true): { options+: { counters+: { render: value } } }, - '#withSchemaChanged': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withSchemaChanged(value=true): { options+: { counters+: { schemaChanged: value } } }, - }, - '#withMode': { 'function': { args: [{ default: null, enums: ['render', 'events', 'cursor', 'State', 'ThrowError'], name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { options+: { mode: value } }, - }, - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'debug' }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/gauge.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/gauge.libsonnet deleted file mode 100644 index 1e60bf4..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/gauge.libsonnet +++ /dev/null @@ -1,57 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.panel.gauge', name: 'gauge' }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptions(value): { options: value }, - '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptionsMixin(value): { options+: value }, - options+: - { - '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withText(value): { options+: { text: value } }, - '#withTextMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTextMixin(value): { options+: { text+: value } }, - text+: - { - '#withTitleSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Explicit title text size' } }, - withTitleSize(value): { options+: { text+: { titleSize: value } } }, - '#withValueSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Explicit value text size' } }, - withValueSize(value): { options+: { text+: { valueSize: value } } }, - }, - '#withOrientation': { 'function': { args: [{ default: null, enums: ['auto', 'vertical', 'horizontal'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withOrientation(value): { options+: { orientation: value } }, - '#withReduceOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withReduceOptions(value): { options+: { reduceOptions: value } }, - '#withReduceOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withReduceOptionsMixin(value): { options+: { reduceOptions+: value } }, - reduceOptions+: - { - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'When !values, pick one value for the whole field' } }, - withCalcs(value): { options+: { reduceOptions+: { calcs: (if std.isArray(value) - then value - else [value]) } } }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'When !values, pick one value for the whole field' } }, - withCalcsMixin(value): { options+: { reduceOptions+: { calcs+: (if std.isArray(value) - then value - else [value]) } } }, - '#withFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Which fields to show. By default this is only numeric fields' } }, - withFields(value): { options+: { reduceOptions+: { fields: value } } }, - '#withLimit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'if showing all values limit' } }, - withLimit(value): { options+: { reduceOptions+: { limit: value } } }, - '#withValues': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true show each row value' } }, - withValues(value=true): { options+: { reduceOptions+: { values: value } } }, - }, - '#withMinVizHeight': { 'function': { args: [{ default: 75, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withMinVizHeight(value=75): { options+: { minVizHeight: value } }, - '#withMinVizWidth': { 'function': { args: [{ default: 75, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withMinVizWidth(value=75): { options+: { minVizWidth: value } }, - '#withShowThresholdLabels': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowThresholdLabels(value=true): { options+: { showThresholdLabels: value } }, - '#withShowThresholdMarkers': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowThresholdMarkers(value=true): { options+: { showThresholdMarkers: value } }, - '#withSizing': { 'function': { args: [{ default: null, enums: ['auto', 'manual'], name: 'value', type: ['string'] }], help: 'Allows for the bar gauge size to be set explicitly' } }, - withSizing(value): { options+: { sizing: value } }, - }, - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'gauge' }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/geomap.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/geomap.libsonnet deleted file mode 100644 index b04f202..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/geomap.libsonnet +++ /dev/null @@ -1,216 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.panel.geomap', name: 'geomap' }, - '#withControlsOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withControlsOptions(value): { ControlsOptions: value }, - '#withControlsOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withControlsOptionsMixin(value): { ControlsOptions+: value }, - ControlsOptions+: - { - '#withMouseWheelZoom': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'let the mouse wheel zoom' } }, - withMouseWheelZoom(value=true): { ControlsOptions+: { mouseWheelZoom: value } }, - '#withShowAttribution': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Lower right' } }, - withShowAttribution(value=true): { ControlsOptions+: { showAttribution: value } }, - '#withShowDebug': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Show debug' } }, - withShowDebug(value=true): { ControlsOptions+: { showDebug: value } }, - '#withShowMeasure': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Show measure' } }, - withShowMeasure(value=true): { ControlsOptions+: { showMeasure: value } }, - '#withShowScale': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Scale options' } }, - withShowScale(value=true): { ControlsOptions+: { showScale: value } }, - '#withShowZoom': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Zoom (upper left)' } }, - withShowZoom(value=true): { ControlsOptions+: { showZoom: value } }, - }, - '#withMapCenterID': { 'function': { args: [{ default: null, enums: ['zero', 'coords', 'fit'], name: 'value', type: ['string'] }], help: '' } }, - withMapCenterID(value): { MapCenterID: value }, - '#withMapViewConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMapViewConfig(value): { MapViewConfig: value }, - '#withMapViewConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMapViewConfigMixin(value): { MapViewConfig+: value }, - MapViewConfig+: - { - '#withAllLayers': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAllLayers(value=true): { MapViewConfig+: { allLayers: value } }, - '#withId': { 'function': { args: [{ default: 'zero', enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value='zero'): { MapViewConfig+: { id: value } }, - '#withLastOnly': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withLastOnly(value=true): { MapViewConfig+: { lastOnly: value } }, - '#withLat': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withLat(value=0): { MapViewConfig+: { lat: value } }, - '#withLayer': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLayer(value): { MapViewConfig+: { layer: value } }, - '#withLon': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withLon(value=0): { MapViewConfig+: { lon: value } }, - '#withMaxZoom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withMaxZoom(value): { MapViewConfig+: { maxZoom: value } }, - '#withMinZoom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withMinZoom(value): { MapViewConfig+: { minZoom: value } }, - '#withPadding': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withPadding(value): { MapViewConfig+: { padding: value } }, - '#withShared': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShared(value=true): { MapViewConfig+: { shared: value } }, - '#withZoom': { 'function': { args: [{ default: 1, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withZoom(value=1): { MapViewConfig+: { zoom: value } }, - }, - '#withTooltipMode': { 'function': { args: [{ default: null, enums: ['none', 'details'], name: 'value', type: ['string'] }], help: '' } }, - withTooltipMode(value): { TooltipMode: value }, - '#withTooltipOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withTooltipOptions(value): { TooltipOptions: value }, - '#withTooltipOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withTooltipOptionsMixin(value): { TooltipOptions+: value }, - TooltipOptions+: - { - '#withMode': { 'function': { args: [{ default: null, enums: ['none', 'details'], name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { TooltipOptions+: { mode: value } }, - }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptions(value): { options: value }, - '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptionsMixin(value): { options+: value }, - options+: - { - '#withBasemap': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withBasemap(value): { options+: { basemap: value } }, - '#withBasemapMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withBasemapMixin(value): { options+: { basemap+: value } }, - basemap+: - { - '#withConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Custom options depending on the type' } }, - withConfig(value): { options+: { basemap+: { config: value } } }, - '#withFilterData': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Defines a frame MatcherConfig that may filter data for the given layer' } }, - withFilterData(value): { options+: { basemap+: { filterData: value } } }, - '#withLocation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLocation(value): { options+: { basemap+: { location: value } } }, - '#withLocationMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLocationMixin(value): { options+: { basemap+: { location+: value } } }, - location+: - { - '#withGazetteer': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Path to Gazetteer' } }, - withGazetteer(value): { options+: { basemap+: { location+: { gazetteer: value } } } }, - '#withGeohash': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Field mappings' } }, - withGeohash(value): { options+: { basemap+: { location+: { geohash: value } } } }, - '#withLatitude': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLatitude(value): { options+: { basemap+: { location+: { latitude: value } } } }, - '#withLongitude': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLongitude(value): { options+: { basemap+: { location+: { longitude: value } } } }, - '#withLookup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLookup(value): { options+: { basemap+: { location+: { lookup: value } } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['auto', 'geohash', 'coords', 'lookup'], name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { options+: { basemap+: { location+: { mode: value } } } }, - '#withWkt': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withWkt(value): { options+: { basemap+: { location+: { wkt: value } } } }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'configured unique display name' } }, - withName(value): { options+: { basemap+: { name: value } } }, - '#withOpacity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Common properties:\nhttps://openlayers.org/en/latest/apidoc/module-ol_layer_Base-BaseLayer.html\nLayer opacity (0-1)' } }, - withOpacity(value): { options+: { basemap+: { opacity: value } } }, - '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Check tooltip (defaults to true)' } }, - withTooltip(value=true): { options+: { basemap+: { tooltip: value } } }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { options+: { basemap+: { type: value } } }, - }, - '#withControls': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withControls(value): { options+: { controls: value } }, - '#withControlsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withControlsMixin(value): { options+: { controls+: value } }, - controls+: - { - '#withMouseWheelZoom': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'let the mouse wheel zoom' } }, - withMouseWheelZoom(value=true): { options+: { controls+: { mouseWheelZoom: value } } }, - '#withShowAttribution': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Lower right' } }, - withShowAttribution(value=true): { options+: { controls+: { showAttribution: value } } }, - '#withShowDebug': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Show debug' } }, - withShowDebug(value=true): { options+: { controls+: { showDebug: value } } }, - '#withShowMeasure': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Show measure' } }, - withShowMeasure(value=true): { options+: { controls+: { showMeasure: value } } }, - '#withShowScale': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Scale options' } }, - withShowScale(value=true): { options+: { controls+: { showScale: value } } }, - '#withShowZoom': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Zoom (upper left)' } }, - withShowZoom(value=true): { options+: { controls+: { showZoom: value } } }, - }, - '#withLayers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withLayers(value): { options+: { layers: (if std.isArray(value) - then value - else [value]) } }, - '#withLayersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withLayersMixin(value): { options+: { layers+: (if std.isArray(value) - then value - else [value]) } }, - layers+: - { - '#': { help: '', name: 'layers' }, - '#withConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Custom options depending on the type' } }, - withConfig(value): { config: value }, - '#withFilterData': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Defines a frame MatcherConfig that may filter data for the given layer' } }, - withFilterData(value): { filterData: value }, - '#withLocation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLocation(value): { location: value }, - '#withLocationMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLocationMixin(value): { location+: value }, - location+: - { - '#withGazetteer': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Path to Gazetteer' } }, - withGazetteer(value): { location+: { gazetteer: value } }, - '#withGeohash': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Field mappings' } }, - withGeohash(value): { location+: { geohash: value } }, - '#withLatitude': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLatitude(value): { location+: { latitude: value } }, - '#withLongitude': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLongitude(value): { location+: { longitude: value } }, - '#withLookup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLookup(value): { location+: { lookup: value } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['auto', 'geohash', 'coords', 'lookup'], name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { location+: { mode: value } }, - '#withWkt': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withWkt(value): { location+: { wkt: value } }, - }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'configured unique display name' } }, - withName(value): { name: value }, - '#withOpacity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Common properties:\nhttps://openlayers.org/en/latest/apidoc/module-ol_layer_Base-BaseLayer.html\nLayer opacity (0-1)' } }, - withOpacity(value): { opacity: value }, - '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Check tooltip (defaults to true)' } }, - withTooltip(value=true): { tooltip: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, - }, - '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withTooltip(value): { options+: { tooltip: value } }, - '#withTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withTooltipMixin(value): { options+: { tooltip+: value } }, - tooltip+: - { - '#withMode': { 'function': { args: [{ default: null, enums: ['none', 'details'], name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { options+: { tooltip+: { mode: value } } }, - }, - '#withView': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withView(value): { options+: { view: value } }, - '#withViewMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withViewMixin(value): { options+: { view+: value } }, - view+: - { - '#withAllLayers': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAllLayers(value=true): { options+: { view+: { allLayers: value } } }, - '#withId': { 'function': { args: [{ default: 'zero', enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value='zero'): { options+: { view+: { id: value } } }, - '#withLastOnly': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withLastOnly(value=true): { options+: { view+: { lastOnly: value } } }, - '#withLat': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withLat(value=0): { options+: { view+: { lat: value } } }, - '#withLayer': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLayer(value): { options+: { view+: { layer: value } } }, - '#withLon': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withLon(value=0): { options+: { view+: { lon: value } } }, - '#withMaxZoom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withMaxZoom(value): { options+: { view+: { maxZoom: value } } }, - '#withMinZoom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withMinZoom(value): { options+: { view+: { minZoom: value } } }, - '#withPadding': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withPadding(value): { options+: { view+: { padding: value } } }, - '#withShared': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShared(value=true): { options+: { view+: { shared: value } } }, - '#withZoom': { 'function': { args: [{ default: 1, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withZoom(value=1): { options+: { view+: { zoom: value } } }, - }, - }, - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'geomap' }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/heatmap.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/heatmap.libsonnet deleted file mode 100644 index b7e7e74..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/heatmap.libsonnet +++ /dev/null @@ -1,437 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.panel.heatmap', name: 'heatmap' }, - '#withCellValues': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls cell value options' } }, - withCellValues(value): { CellValues: value }, - '#withCellValuesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls cell value options' } }, - withCellValuesMixin(value): { CellValues+: value }, - CellValues+: - { - '#withDecimals': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Controls the number of decimals for cell values' } }, - withDecimals(value): { CellValues+: { decimals: value } }, - '#withUnit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Controls the cell value unit' } }, - withUnit(value): { CellValues+: { unit: value } }, - }, - '#withExemplarConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls exemplar options' } }, - withExemplarConfig(value): { ExemplarConfig: value }, - '#withExemplarConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls exemplar options' } }, - withExemplarConfigMixin(value): { ExemplarConfig+: value }, - ExemplarConfig+: - { - '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Sets the color of the exemplar markers' } }, - withColor(value): { ExemplarConfig+: { color: value } }, - }, - '#withFilterValueRange': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls the value filter range' } }, - withFilterValueRange(value): { FilterValueRange: value }, - '#withFilterValueRangeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls the value filter range' } }, - withFilterValueRangeMixin(value): { FilterValueRange+: value }, - FilterValueRange+: - { - '#withGe': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Sets the filter range to values greater than or equal to the given value' } }, - withGe(value): { FilterValueRange+: { ge: value } }, - '#withLe': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Sets the filter range to values less than or equal to the given value' } }, - withLe(value): { FilterValueRange+: { le: value } }, - }, - '#withHeatmapColorMode': { 'function': { args: [{ default: null, enums: ['opacity', 'scheme'], name: 'value', type: ['string'] }], help: 'Controls the color mode of the heatmap' } }, - withHeatmapColorMode(value): { HeatmapColorMode: value }, - '#withHeatmapColorOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls various color options' } }, - withHeatmapColorOptions(value): { HeatmapColorOptions: value }, - '#withHeatmapColorOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls various color options' } }, - withHeatmapColorOptionsMixin(value): { HeatmapColorOptions+: value }, - HeatmapColorOptions+: - { - '#withExponent': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Controls the exponent when scale is set to exponential' } }, - withExponent(value): { HeatmapColorOptions+: { exponent: value } }, - '#withFill': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Controls the color fill when in opacity mode' } }, - withFill(value): { HeatmapColorOptions+: { fill: value } }, - '#withMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Sets the maximum value for the color scale' } }, - withMax(value): { HeatmapColorOptions+: { max: value } }, - '#withMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Sets the minimum value for the color scale' } }, - withMin(value): { HeatmapColorOptions+: { min: value } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['opacity', 'scheme'], name: 'value', type: ['string'] }], help: 'Controls the color mode of the heatmap' } }, - withMode(value): { HeatmapColorOptions+: { mode: value } }, - '#withReverse': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Reverses the color scheme' } }, - withReverse(value=true): { HeatmapColorOptions+: { reverse: value } }, - '#withScale': { 'function': { args: [{ default: null, enums: ['linear', 'exponential'], name: 'value', type: ['string'] }], help: 'Controls the color scale of the heatmap' } }, - withScale(value): { HeatmapColorOptions+: { scale: value } }, - '#withScheme': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Controls the color scheme used' } }, - withScheme(value): { HeatmapColorOptions+: { scheme: value } }, - '#withSteps': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Controls the number of color steps' } }, - withSteps(value): { HeatmapColorOptions+: { steps: value } }, - }, - '#withHeatmapColorScale': { 'function': { args: [{ default: null, enums: ['linear', 'exponential'], name: 'value', type: ['string'] }], help: 'Controls the color scale of the heatmap' } }, - withHeatmapColorScale(value): { HeatmapColorScale: value }, - '#withHeatmapLegend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls legend options' } }, - withHeatmapLegend(value): { HeatmapLegend: value }, - '#withHeatmapLegendMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls legend options' } }, - withHeatmapLegendMixin(value): { HeatmapLegend+: value }, - HeatmapLegend+: - { - '#withShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Controls if the legend is shown' } }, - withShow(value=true): { HeatmapLegend+: { show: value } }, - }, - '#withHeatmapTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls tooltip options' } }, - withHeatmapTooltip(value): { HeatmapTooltip: value }, - '#withHeatmapTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls tooltip options' } }, - withHeatmapTooltipMixin(value): { HeatmapTooltip+: value }, - HeatmapTooltip+: - { - '#withMaxHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxHeight(value): { HeatmapTooltip+: { maxHeight: value } }, - '#withMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxWidth(value): { HeatmapTooltip+: { maxWidth: value } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['single', 'multi', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { HeatmapTooltip+: { mode: value } }, - '#withShowColorScale': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Controls if the tooltip shows a color scale in header' } }, - withShowColorScale(value=true): { HeatmapTooltip+: { showColorScale: value } }, - '#withYHistogram': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Controls if the tooltip shows a histogram of the y-axis values' } }, - withYHistogram(value=true): { HeatmapTooltip+: { yHistogram: value } }, - }, - '#withRowsHeatmapOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls frame rows options' } }, - withRowsHeatmapOptions(value): { RowsHeatmapOptions: value }, - '#withRowsHeatmapOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls frame rows options' } }, - withRowsHeatmapOptionsMixin(value): { RowsHeatmapOptions+: value }, - RowsHeatmapOptions+: - { - '#withLayout': { 'function': { args: [{ default: null, enums: ['le', 'ge', 'unknown', 'auto'], name: 'value', type: ['string'] }], help: '' } }, - withLayout(value): { RowsHeatmapOptions+: { layout: value } }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Sets the name of the cell when not calculating from data' } }, - withValue(value): { RowsHeatmapOptions+: { value: value } }, - }, - '#withYAxisConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Configuration options for the yAxis' } }, - withYAxisConfig(value): { YAxisConfig: value }, - '#withYAxisConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Configuration options for the yAxis' } }, - withYAxisConfigMixin(value): { YAxisConfig+: value }, - YAxisConfig+: - { - '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisBorderShow(value=true): { YAxisConfig+: { axisBorderShow: value } }, - '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisCenteredZero(value=true): { YAxisConfig+: { axisCenteredZero: value } }, - '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisColorMode(value): { YAxisConfig+: { axisColorMode: value } }, - '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisGridShow(value=true): { YAxisConfig+: { axisGridShow: value } }, - '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withAxisLabel(value): { YAxisConfig+: { axisLabel: value } }, - '#withAxisPlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'right', 'bottom', 'left', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisPlacement(value): { YAxisConfig+: { axisPlacement: value } }, - '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMax(value): { YAxisConfig+: { axisSoftMax: value } }, - '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMin(value): { YAxisConfig+: { axisSoftMin: value } }, - '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisWidth(value): { YAxisConfig+: { axisWidth: value } }, - '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistribution(value): { YAxisConfig+: { scaleDistribution: value } }, - '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistributionMixin(value): { YAxisConfig+: { scaleDistribution+: value } }, - scaleDistribution+: - { - '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLinearThreshold(value): { YAxisConfig+: { scaleDistribution+: { linearThreshold: value } } }, - '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLog(value): { YAxisConfig+: { scaleDistribution+: { log: value } } }, - '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withType(value): { YAxisConfig+: { scaleDistribution+: { type: value } } }, - }, - '#withDecimals': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Controls the number of decimals for yAxis values' } }, - withDecimals(value): { YAxisConfig+: { decimals: value } }, - '#withMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Sets the maximum value for the yAxis' } }, - withMax(value): { YAxisConfig+: { max: value } }, - '#withMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Sets the minimum value for the yAxis' } }, - withMin(value): { YAxisConfig+: { min: value } }, - '#withReverse': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Reverses the yAxis' } }, - withReverse(value=true): { YAxisConfig+: { reverse: value } }, - '#withUnit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Sets the yAxis unit' } }, - withUnit(value): { YAxisConfig+: { unit: value } }, - }, - '#withFieldConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withFieldConfig(value): { fieldConfig: value }, - '#withFieldConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withFieldConfigMixin(value): { fieldConfig+: value }, - fieldConfig+: - { - '#withDefaults': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withDefaults(value): { fieldConfig+: { defaults: value } }, - '#withDefaultsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withDefaultsMixin(value): { fieldConfig+: { defaults+: value } }, - defaults+: - { - '#withCustom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCustom(value): { fieldConfig+: { defaults+: { custom: value } } }, - '#withCustomMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCustomMixin(value): { fieldConfig+: { defaults+: { custom+: value } } }, - custom+: - { - '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFrom(value): { fieldConfig+: { defaults+: { custom+: { hideFrom: value } } } }, - '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFromMixin(value): { fieldConfig+: { defaults+: { custom+: { hideFrom+: value } } } }, - hideFrom+: - { - '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withLegend(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { legend: value } } } } }, - '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withTooltip(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { tooltip: value } } } } }, - '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withViz(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { viz: value } } } } }, - }, - '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistribution(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution: value } } } }, - '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistributionMixin(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: value } } } }, - scaleDistribution+: - { - '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLinearThreshold(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { linearThreshold: value } } } } }, - '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLog(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { log: value } } } } }, - '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withType(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { type: value } } } } }, - }, - }, - }, - }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptions(value): { options: value }, - '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptionsMixin(value): { options+: value }, - options+: - { - '#withCalculate': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Controls if the heatmap should be calculated from data' } }, - withCalculate(value=true): { options+: { calculate: value } }, - '#withCalculation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCalculation(value): { options+: { calculation: value } }, - '#withCalculationMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCalculationMixin(value): { options+: { calculation+: value } }, - calculation+: - { - '#withXBuckets': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withXBuckets(value): { options+: { calculation+: { xBuckets: value } } }, - '#withXBucketsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withXBucketsMixin(value): { options+: { calculation+: { xBuckets+: value } } }, - xBuckets+: - { - '#withMode': { 'function': { args: [{ default: null, enums: ['size', 'count'], name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { options+: { calculation+: { xBuckets+: { mode: value } } } }, - '#withScale': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScale(value): { options+: { calculation+: { xBuckets+: { scale: value } } } }, - '#withScaleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleMixin(value): { options+: { calculation+: { xBuckets+: { scale+: value } } } }, - scale+: - { - '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLinearThreshold(value): { options+: { calculation+: { xBuckets+: { scale+: { linearThreshold: value } } } } }, - '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLog(value): { options+: { calculation+: { xBuckets+: { scale+: { log: value } } } } }, - '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withType(value): { options+: { calculation+: { xBuckets+: { scale+: { type: value } } } } }, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The number of buckets to use for the axis in the heatmap' } }, - withValue(value): { options+: { calculation+: { xBuckets+: { value: value } } } }, - }, - '#withYBuckets': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withYBuckets(value): { options+: { calculation+: { yBuckets: value } } }, - '#withYBucketsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withYBucketsMixin(value): { options+: { calculation+: { yBuckets+: value } } }, - yBuckets+: - { - '#withMode': { 'function': { args: [{ default: null, enums: ['size', 'count'], name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { options+: { calculation+: { yBuckets+: { mode: value } } } }, - '#withScale': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScale(value): { options+: { calculation+: { yBuckets+: { scale: value } } } }, - '#withScaleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleMixin(value): { options+: { calculation+: { yBuckets+: { scale+: value } } } }, - scale+: - { - '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLinearThreshold(value): { options+: { calculation+: { yBuckets+: { scale+: { linearThreshold: value } } } } }, - '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLog(value): { options+: { calculation+: { yBuckets+: { scale+: { log: value } } } } }, - '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withType(value): { options+: { calculation+: { yBuckets+: { scale+: { type: value } } } } }, - }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The number of buckets to use for the axis in the heatmap' } }, - withValue(value): { options+: { calculation+: { yBuckets+: { value: value } } } }, - }, - }, - '#withCellGap': { 'function': { args: [{ default: 1, enums: null, name: 'value', type: ['integer'] }], help: 'Controls gap between cells' } }, - withCellGap(value=1): { options+: { cellGap: value } }, - '#withCellRadius': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Controls cell radius' } }, - withCellRadius(value): { options+: { cellRadius: value } }, - '#withCellValues': { 'function': { args: [{ default: {}, enums: null, name: 'value', type: ['object'] }], help: 'Controls cell value unit' } }, - withCellValues(value={}): { options+: { cellValues: value } }, - '#withCellValuesMixin': { 'function': { args: [{ default: {}, enums: null, name: 'value', type: ['object'] }], help: 'Controls cell value unit' } }, - withCellValuesMixin(value): { options+: { cellValues+: value } }, - cellValues+: - { - '#withCellValues': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls cell value options' } }, - withCellValues(value): { options+: { cellValues+: { CellValues: value } } }, - '#withCellValuesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls cell value options' } }, - withCellValuesMixin(value): { options+: { cellValues+: { CellValues+: value } } }, - CellValues+: - { - '#withDecimals': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Controls the number of decimals for cell values' } }, - withDecimals(value): { options+: { cellValues+: { decimals: value } } }, - '#withUnit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Controls the cell value unit' } }, - withUnit(value): { options+: { cellValues+: { unit: value } } }, - }, - }, - '#withColor': { 'function': { args: [{ default: { exponent: 0.5, fill: 'dark-orange', reverse: false, scheme: 'Oranges', steps: 64 }, enums: null, name: 'value', type: ['object'] }], help: 'Controls the color options' } }, - withColor(value={ exponent: 0.5, fill: 'dark-orange', reverse: false, scheme: 'Oranges', steps: 64 }): { options+: { color: value } }, - '#withColorMixin': { 'function': { args: [{ default: { exponent: 0.5, fill: 'dark-orange', reverse: false, scheme: 'Oranges', steps: 64 }, enums: null, name: 'value', type: ['object'] }], help: 'Controls the color options' } }, - withColorMixin(value): { options+: { color+: value } }, - color+: - { - '#withHeatmapColorOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls various color options' } }, - withHeatmapColorOptions(value): { options+: { color+: { HeatmapColorOptions: value } } }, - '#withHeatmapColorOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls various color options' } }, - withHeatmapColorOptionsMixin(value): { options+: { color+: { HeatmapColorOptions+: value } } }, - HeatmapColorOptions+: - { - '#withExponent': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Controls the exponent when scale is set to exponential' } }, - withExponent(value): { options+: { color+: { exponent: value } } }, - '#withFill': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Controls the color fill when in opacity mode' } }, - withFill(value): { options+: { color+: { fill: value } } }, - '#withMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Sets the maximum value for the color scale' } }, - withMax(value): { options+: { color+: { max: value } } }, - '#withMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Sets the minimum value for the color scale' } }, - withMin(value): { options+: { color+: { min: value } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['opacity', 'scheme'], name: 'value', type: ['string'] }], help: 'Controls the color mode of the heatmap' } }, - withMode(value): { options+: { color+: { mode: value } } }, - '#withReverse': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Reverses the color scheme' } }, - withReverse(value=true): { options+: { color+: { reverse: value } } }, - '#withScale': { 'function': { args: [{ default: null, enums: ['linear', 'exponential'], name: 'value', type: ['string'] }], help: 'Controls the color scale of the heatmap' } }, - withScale(value): { options+: { color+: { scale: value } } }, - '#withScheme': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Controls the color scheme used' } }, - withScheme(value): { options+: { color+: { scheme: value } } }, - '#withSteps': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Controls the number of color steps' } }, - withSteps(value): { options+: { color+: { steps: value } } }, - }, - }, - '#withExemplars': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls exemplar options' } }, - withExemplars(value): { options+: { exemplars: value } }, - '#withExemplarsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls exemplar options' } }, - withExemplarsMixin(value): { options+: { exemplars+: value } }, - exemplars+: - { - '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Sets the color of the exemplar markers' } }, - withColor(value): { options+: { exemplars+: { color: value } } }, - }, - '#withFilterValues': { 'function': { args: [{ default: { le: 1.0000000000000001e-09 }, enums: null, name: 'value', type: ['object'] }], help: 'Filters values between a given range' } }, - withFilterValues(value={ le: 1.0000000000000001e-09 }): { options+: { filterValues: value } }, - '#withFilterValuesMixin': { 'function': { args: [{ default: { le: 1.0000000000000001e-09 }, enums: null, name: 'value', type: ['object'] }], help: 'Filters values between a given range' } }, - withFilterValuesMixin(value): { options+: { filterValues+: value } }, - filterValues+: - { - '#withFilterValueRange': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls the value filter range' } }, - withFilterValueRange(value): { options+: { filterValues+: { FilterValueRange: value } } }, - '#withFilterValueRangeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls the value filter range' } }, - withFilterValueRangeMixin(value): { options+: { filterValues+: { FilterValueRange+: value } } }, - FilterValueRange+: - { - '#withGe': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Sets the filter range to values greater than or equal to the given value' } }, - withGe(value): { options+: { filterValues+: { ge: value } } }, - '#withLe': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Sets the filter range to values less than or equal to the given value' } }, - withLe(value): { options+: { filterValues+: { le: value } } }, - }, - }, - '#withLegend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls legend options' } }, - withLegend(value): { options+: { legend: value } }, - '#withLegendMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls legend options' } }, - withLegendMixin(value): { options+: { legend+: value } }, - legend+: - { - '#withShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Controls if the legend is shown' } }, - withShow(value=true): { options+: { legend+: { show: value } } }, - }, - '#withRowsFrame': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls frame rows options' } }, - withRowsFrame(value): { options+: { rowsFrame: value } }, - '#withRowsFrameMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls frame rows options' } }, - withRowsFrameMixin(value): { options+: { rowsFrame+: value } }, - rowsFrame+: - { - '#withLayout': { 'function': { args: [{ default: null, enums: ['le', 'ge', 'unknown', 'auto'], name: 'value', type: ['string'] }], help: '' } }, - withLayout(value): { options+: { rowsFrame+: { layout: value } } }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Sets the name of the cell when not calculating from data' } }, - withValue(value): { options+: { rowsFrame+: { value: value } } }, - }, - '#withShowValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '| *{\n\tlayout: ui.HeatmapCellLayout & "auto" // TODO: fix after remove when https://github.com/grafana/cuetsy/issues/74 is fixed\n}\nControls the display of the value in the cell' } }, - withShowValue(value): { options+: { showValue: value } }, - '#withTooltip': { 'function': { args: [{ default: { mode: 'single', showColorScale: false, yHistogram: false }, enums: null, name: 'value', type: ['object'] }], help: 'Controls tooltip options' } }, - withTooltip(value={ mode: 'single', showColorScale: false, yHistogram: false }): { options+: { tooltip: value } }, - '#withTooltipMixin': { 'function': { args: [{ default: { mode: 'single', showColorScale: false, yHistogram: false }, enums: null, name: 'value', type: ['object'] }], help: 'Controls tooltip options' } }, - withTooltipMixin(value): { options+: { tooltip+: value } }, - tooltip+: - { - '#withHeatmapTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls tooltip options' } }, - withHeatmapTooltip(value): { options+: { tooltip+: { HeatmapTooltip: value } } }, - '#withHeatmapTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls tooltip options' } }, - withHeatmapTooltipMixin(value): { options+: { tooltip+: { HeatmapTooltip+: value } } }, - HeatmapTooltip+: - { - '#withMaxHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxHeight(value): { options+: { tooltip+: { maxHeight: value } } }, - '#withMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxWidth(value): { options+: { tooltip+: { maxWidth: value } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['single', 'multi', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { options+: { tooltip+: { mode: value } } }, - '#withShowColorScale': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Controls if the tooltip shows a color scale in header' } }, - withShowColorScale(value=true): { options+: { tooltip+: { showColorScale: value } } }, - '#withYHistogram': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Controls if the tooltip shows a histogram of the y-axis values' } }, - withYHistogram(value=true): { options+: { tooltip+: { yHistogram: value } } }, - }, - }, - '#withYAxis': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Configuration options for the yAxis' } }, - withYAxis(value): { options+: { yAxis: value } }, - '#withYAxisMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Configuration options for the yAxis' } }, - withYAxisMixin(value): { options+: { yAxis+: value } }, - yAxis+: - { - '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisBorderShow(value=true): { options+: { yAxis+: { axisBorderShow: value } } }, - '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisCenteredZero(value=true): { options+: { yAxis+: { axisCenteredZero: value } } }, - '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisColorMode(value): { options+: { yAxis+: { axisColorMode: value } } }, - '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisGridShow(value=true): { options+: { yAxis+: { axisGridShow: value } } }, - '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withAxisLabel(value): { options+: { yAxis+: { axisLabel: value } } }, - '#withAxisPlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'right', 'bottom', 'left', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisPlacement(value): { options+: { yAxis+: { axisPlacement: value } } }, - '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMax(value): { options+: { yAxis+: { axisSoftMax: value } } }, - '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMin(value): { options+: { yAxis+: { axisSoftMin: value } } }, - '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisWidth(value): { options+: { yAxis+: { axisWidth: value } } }, - '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistribution(value): { options+: { yAxis+: { scaleDistribution: value } } }, - '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistributionMixin(value): { options+: { yAxis+: { scaleDistribution+: value } } }, - scaleDistribution+: - { - '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLinearThreshold(value): { options+: { yAxis+: { scaleDistribution+: { linearThreshold: value } } } }, - '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLog(value): { options+: { yAxis+: { scaleDistribution+: { log: value } } } }, - '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withType(value): { options+: { yAxis+: { scaleDistribution+: { type: value } } } }, - }, - '#withDecimals': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Controls the number of decimals for yAxis values' } }, - withDecimals(value): { options+: { yAxis+: { decimals: value } } }, - '#withMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Sets the maximum value for the yAxis' } }, - withMax(value): { options+: { yAxis+: { max: value } } }, - '#withMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Sets the minimum value for the yAxis' } }, - withMin(value): { options+: { yAxis+: { min: value } } }, - '#withReverse': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Reverses the yAxis' } }, - withReverse(value=true): { options+: { yAxis+: { reverse: value } } }, - '#withUnit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Sets the yAxis unit' } }, - withUnit(value): { options+: { yAxis+: { unit: value } } }, - }, - }, - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'heatmap' }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/histogram.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/histogram.libsonnet deleted file mode 100644 index 2e61743..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/histogram.libsonnet +++ /dev/null @@ -1,138 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.panel.histogram', name: 'histogram' }, - '#withFieldConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withFieldConfig(value): { fieldConfig: value }, - '#withFieldConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withFieldConfigMixin(value): { fieldConfig+: value }, - fieldConfig+: - { - '#withDefaults': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withDefaults(value): { fieldConfig+: { defaults: value } }, - '#withDefaultsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withDefaultsMixin(value): { fieldConfig+: { defaults+: value } }, - defaults+: - { - '#withCustom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCustom(value): { fieldConfig+: { defaults+: { custom: value } } }, - '#withCustomMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCustomMixin(value): { fieldConfig+: { defaults+: { custom+: value } } }, - custom+: - { - '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisBorderShow(value=true): { fieldConfig+: { defaults+: { custom+: { axisBorderShow: value } } } }, - '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisCenteredZero(value=true): { fieldConfig+: { defaults+: { custom+: { axisCenteredZero: value } } } }, - '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisColorMode(value): { fieldConfig+: { defaults+: { custom+: { axisColorMode: value } } } }, - '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisGridShow(value=true): { fieldConfig+: { defaults+: { custom+: { axisGridShow: value } } } }, - '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withAxisLabel(value): { fieldConfig+: { defaults+: { custom+: { axisLabel: value } } } }, - '#withAxisPlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'right', 'bottom', 'left', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisPlacement(value): { fieldConfig+: { defaults+: { custom+: { axisPlacement: value } } } }, - '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMax(value): { fieldConfig+: { defaults+: { custom+: { axisSoftMax: value } } } }, - '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMin(value): { fieldConfig+: { defaults+: { custom+: { axisSoftMin: value } } } }, - '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisWidth(value): { fieldConfig+: { defaults+: { custom+: { axisWidth: value } } } }, - '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistribution(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution: value } } } }, - '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistributionMixin(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: value } } } }, - scaleDistribution+: - { - '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLinearThreshold(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { linearThreshold: value } } } } }, - '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLog(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { log: value } } } } }, - '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withType(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { type: value } } } } }, - }, - '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFrom(value): { fieldConfig+: { defaults+: { custom+: { hideFrom: value } } } }, - '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFromMixin(value): { fieldConfig+: { defaults+: { custom+: { hideFrom+: value } } } }, - hideFrom+: - { - '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withLegend(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { legend: value } } } } }, - '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withTooltip(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { tooltip: value } } } } }, - '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withViz(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { viz: value } } } } }, - }, - '#withFillOpacity': { 'function': { args: [{ default: 80, enums: null, name: 'value', type: ['integer'] }], help: 'Controls the fill opacity of the bars.' } }, - withFillOpacity(value=80): { fieldConfig+: { defaults+: { custom+: { fillOpacity: value } } } }, - '#withGradientMode': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Set the mode of the gradient fill. Fill gradient is based on the line color. To change the color, use the standard color scheme field option.\nGradient appearance is influenced by the Fill opacity setting.' } }, - withGradientMode(value): { fieldConfig+: { defaults+: { custom+: { gradientMode: value } } } }, - '#withLineWidth': { 'function': { args: [{ default: 1, enums: null, name: 'value', type: ['integer'] }], help: 'Controls line width of the bars.' } }, - withLineWidth(value=1): { fieldConfig+: { defaults+: { custom+: { lineWidth: value } } } }, - }, - }, - }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptions(value): { options: value }, - '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptionsMixin(value): { options+: value }, - options+: - { - '#withLegend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLegend(value): { options+: { legend: value } }, - '#withLegendMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLegendMixin(value): { options+: { legend+: value } }, - legend+: - { - '#withAsTable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAsTable(value=true): { options+: { legend+: { asTable: value } } }, - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcs(value): { options+: { legend+: { calcs: (if std.isArray(value) - then value - else [value]) } } }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcsMixin(value): { options+: { legend+: { calcs+: (if std.isArray(value) - then value - else [value]) } } }, - '#withDisplayMode': { 'function': { args: [{ default: null, enums: ['list', 'table', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs\nNote: "hidden" needs to remain as an option for plugins compatibility' } }, - withDisplayMode(value): { options+: { legend+: { displayMode: value } } }, - '#withIsVisible': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withIsVisible(value=true): { options+: { legend+: { isVisible: value } } }, - '#withPlacement': { 'function': { args: [{ default: null, enums: ['bottom', 'right'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withPlacement(value): { options+: { legend+: { placement: value } } }, - '#withShowLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowLegend(value=true): { options+: { legend+: { showLegend: value } } }, - '#withSortBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withSortBy(value): { options+: { legend+: { sortBy: value } } }, - '#withSortDesc': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withSortDesc(value=true): { options+: { legend+: { sortDesc: value } } }, - '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withWidth(value): { options+: { legend+: { width: value } } }, - }, - '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltip(value): { options+: { tooltip: value } }, - '#withTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltipMixin(value): { options+: { tooltip+: value } }, - tooltip+: - { - '#withMaxHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxHeight(value): { options+: { tooltip+: { maxHeight: value } } }, - '#withMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxWidth(value): { options+: { tooltip+: { maxWidth: value } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['single', 'multi', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { options+: { tooltip+: { mode: value } } }, - '#withSort': { 'function': { args: [{ default: null, enums: ['asc', 'desc', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withSort(value): { options+: { tooltip+: { sort: value } } }, - }, - '#withBucketCount': { 'function': { args: [{ default: 30, enums: null, name: 'value', type: ['integer'] }], help: 'Bucket count (approx)' } }, - withBucketCount(value=30): { options+: { bucketCount: value } }, - '#withBucketOffset': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['number'] }], help: 'Offset buckets by this amount' } }, - withBucketOffset(value=0): { options+: { bucketOffset: value } }, - '#withBucketSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Size of each bucket' } }, - withBucketSize(value): { options+: { bucketSize: value } }, - '#withCombine': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Combines multiple series into a single histogram' } }, - withCombine(value=true): { options+: { combine: value } }, - }, - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'histogram' }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/logs.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/logs.libsonnet deleted file mode 100644 index 528ad6b..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/logs.libsonnet +++ /dev/null @@ -1,31 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.panel.logs', name: 'logs' }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptions(value): { options: value }, - '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptionsMixin(value): { options+: value }, - options+: - { - '#withDedupStrategy': { 'function': { args: [{ default: null, enums: ['none', 'exact', 'numbers', 'signature'], name: 'value', type: ['string'] }], help: '' } }, - withDedupStrategy(value): { options+: { dedupStrategy: value } }, - '#withEnableLogDetails': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withEnableLogDetails(value=true): { options+: { enableLogDetails: value } }, - '#withPrettifyLogMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withPrettifyLogMessage(value=true): { options+: { prettifyLogMessage: value } }, - '#withShowCommonLabels': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowCommonLabels(value=true): { options+: { showCommonLabels: value } }, - '#withShowLabels': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowLabels(value=true): { options+: { showLabels: value } }, - '#withShowLogContextToggle': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowLogContextToggle(value=true): { options+: { showLogContextToggle: value } }, - '#withShowTime': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowTime(value=true): { options+: { showTime: value } }, - '#withSortOrder': { 'function': { args: [{ default: null, enums: ['Descending', 'Ascending'], name: 'value', type: ['string'] }], help: '' } }, - withSortOrder(value): { options+: { sortOrder: value } }, - '#withWrapLogMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withWrapLogMessage(value=true): { options+: { wrapLogMessage: value } }, - }, - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'logs' }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/news.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/news.libsonnet deleted file mode 100644 index 0b12f85..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/news.libsonnet +++ /dev/null @@ -1,17 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.panel.news', name: 'news' }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptions(value): { options: value }, - '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptionsMixin(value): { options+: value }, - options+: - { - '#withFeedUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'empty/missing will default to grafana blog' } }, - withFeedUrl(value): { options+: { feedUrl: value } }, - '#withShowImage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowImage(value=true): { options+: { showImage: value } }, - }, - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'news' }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/nodeGraph.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/nodeGraph.libsonnet deleted file mode 100644 index 447b29c..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/nodeGraph.libsonnet +++ /dev/null @@ -1,100 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.panel.nodeGraph', name: 'nodeGraph' }, - '#withArcOption': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withArcOption(value): { ArcOption: value }, - '#withArcOptionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withArcOptionMixin(value): { ArcOption+: value }, - ArcOption+: - { - '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The color of the arc.' } }, - withColor(value): { ArcOption+: { color: value } }, - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Field from which to get the value. Values should be less than 1, representing fraction of a circle.' } }, - withField(value): { ArcOption+: { field: value } }, - }, - '#withEdgeOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withEdgeOptions(value): { EdgeOptions: value }, - '#withEdgeOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withEdgeOptionsMixin(value): { EdgeOptions+: value }, - EdgeOptions+: - { - '#withMainStatUnit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Unit for the main stat to override what ever is set in the data frame.' } }, - withMainStatUnit(value): { EdgeOptions+: { mainStatUnit: value } }, - '#withSecondaryStatUnit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Unit for the secondary stat to override what ever is set in the data frame.' } }, - withSecondaryStatUnit(value): { EdgeOptions+: { secondaryStatUnit: value } }, - }, - '#withNodeOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withNodeOptions(value): { NodeOptions: value }, - '#withNodeOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withNodeOptionsMixin(value): { NodeOptions+: value }, - NodeOptions+: - { - '#withArcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Define which fields are shown as part of the node arc (colored circle around the node).' } }, - withArcs(value): { NodeOptions+: { arcs: (if std.isArray(value) - then value - else [value]) } }, - '#withArcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Define which fields are shown as part of the node arc (colored circle around the node).' } }, - withArcsMixin(value): { NodeOptions+: { arcs+: (if std.isArray(value) - then value - else [value]) } }, - arcs+: - { - '#': { help: '', name: 'arcs' }, - '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The color of the arc.' } }, - withColor(value): { color: value }, - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Field from which to get the value. Values should be less than 1, representing fraction of a circle.' } }, - withField(value): { field: value }, - }, - '#withMainStatUnit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Unit for the main stat to override what ever is set in the data frame.' } }, - withMainStatUnit(value): { NodeOptions+: { mainStatUnit: value } }, - '#withSecondaryStatUnit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Unit for the secondary stat to override what ever is set in the data frame.' } }, - withSecondaryStatUnit(value): { NodeOptions+: { secondaryStatUnit: value } }, - }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptions(value): { options: value }, - '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptionsMixin(value): { options+: value }, - options+: - { - '#withEdges': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withEdges(value): { options+: { edges: value } }, - '#withEdgesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withEdgesMixin(value): { options+: { edges+: value } }, - edges+: - { - '#withMainStatUnit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Unit for the main stat to override what ever is set in the data frame.' } }, - withMainStatUnit(value): { options+: { edges+: { mainStatUnit: value } } }, - '#withSecondaryStatUnit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Unit for the secondary stat to override what ever is set in the data frame.' } }, - withSecondaryStatUnit(value): { options+: { edges+: { secondaryStatUnit: value } } }, - }, - '#withNodes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withNodes(value): { options+: { nodes: value } }, - '#withNodesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withNodesMixin(value): { options+: { nodes+: value } }, - nodes+: - { - '#withArcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Define which fields are shown as part of the node arc (colored circle around the node).' } }, - withArcs(value): { options+: { nodes+: { arcs: (if std.isArray(value) - then value - else [value]) } } }, - '#withArcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Define which fields are shown as part of the node arc (colored circle around the node).' } }, - withArcsMixin(value): { options+: { nodes+: { arcs+: (if std.isArray(value) - then value - else [value]) } } }, - arcs+: - { - '#': { help: '', name: 'arcs' }, - '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The color of the arc.' } }, - withColor(value): { color: value }, - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Field from which to get the value. Values should be less than 1, representing fraction of a circle.' } }, - withField(value): { field: value }, - }, - '#withMainStatUnit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Unit for the main stat to override what ever is set in the data frame.' } }, - withMainStatUnit(value): { options+: { nodes+: { mainStatUnit: value } } }, - '#withSecondaryStatUnit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Unit for the secondary stat to override what ever is set in the data frame.' } }, - withSecondaryStatUnit(value): { options+: { nodes+: { secondaryStatUnit: value } } }, - }, - }, - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'nodeGraph' }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/pieChart.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/pieChart.libsonnet deleted file mode 100644 index a535d19..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/pieChart.libsonnet +++ /dev/null @@ -1,190 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.panel.pieChart', name: 'pieChart' }, - '#withPieChartLabels': { 'function': { args: [{ default: null, enums: ['name', 'value', 'percent'], name: 'value', type: ['string'] }], help: 'Select labels to display on the pie chart.\n - Name - The series or field name.\n - Percent - The percentage of the whole.\n - Value - The raw numerical value.' } }, - withPieChartLabels(value): { PieChartLabels: value }, - '#withPieChartLegendOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPieChartLegendOptions(value): { PieChartLegendOptions: value }, - '#withPieChartLegendOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPieChartLegendOptionsMixin(value): { PieChartLegendOptions+: value }, - PieChartLegendOptions+: - { - '#withAsTable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAsTable(value=true): { PieChartLegendOptions+: { asTable: value } }, - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcs(value): { PieChartLegendOptions+: { calcs: (if std.isArray(value) - then value - else [value]) } }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcsMixin(value): { PieChartLegendOptions+: { calcs+: (if std.isArray(value) - then value - else [value]) } }, - '#withDisplayMode': { 'function': { args: [{ default: null, enums: ['list', 'table', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs\nNote: "hidden" needs to remain as an option for plugins compatibility' } }, - withDisplayMode(value): { PieChartLegendOptions+: { displayMode: value } }, - '#withIsVisible': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withIsVisible(value=true): { PieChartLegendOptions+: { isVisible: value } }, - '#withPlacement': { 'function': { args: [{ default: null, enums: ['bottom', 'right'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withPlacement(value): { PieChartLegendOptions+: { placement: value } }, - '#withShowLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowLegend(value=true): { PieChartLegendOptions+: { showLegend: value } }, - '#withSortBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withSortBy(value): { PieChartLegendOptions+: { sortBy: value } }, - '#withSortDesc': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withSortDesc(value=true): { PieChartLegendOptions+: { sortDesc: value } }, - '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withWidth(value): { PieChartLegendOptions+: { width: value } }, - '#withValues': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withValues(value): { PieChartLegendOptions+: { values: (if std.isArray(value) - then value - else [value]) } }, - '#withValuesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withValuesMixin(value): { PieChartLegendOptions+: { values+: (if std.isArray(value) - then value - else [value]) } }, - }, - '#withPieChartLegendValues': { 'function': { args: [{ default: null, enums: ['value', 'percent'], name: 'value', type: ['string'] }], help: 'Select values to display in the legend.\n - Percent: The percentage of the whole.\n - Value: The raw numerical value.' } }, - withPieChartLegendValues(value): { PieChartLegendValues: value }, - '#withPieChartType': { 'function': { args: [{ default: null, enums: ['pie', 'donut'], name: 'value', type: ['string'] }], help: 'Select the pie chart display style.' } }, - withPieChartType(value): { PieChartType: value }, - '#withFieldConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withFieldConfig(value): { fieldConfig: value }, - '#withFieldConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withFieldConfigMixin(value): { fieldConfig+: value }, - fieldConfig+: - { - '#withDefaults': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withDefaults(value): { fieldConfig+: { defaults: value } }, - '#withDefaultsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withDefaultsMixin(value): { fieldConfig+: { defaults+: value } }, - defaults+: - { - '#withCustom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withCustom(value): { fieldConfig+: { defaults+: { custom: value } } }, - '#withCustomMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withCustomMixin(value): { fieldConfig+: { defaults+: { custom+: value } } }, - custom+: - { - '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFrom(value): { fieldConfig+: { defaults+: { custom+: { hideFrom: value } } } }, - '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFromMixin(value): { fieldConfig+: { defaults+: { custom+: { hideFrom+: value } } } }, - hideFrom+: - { - '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withLegend(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { legend: value } } } } }, - '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withTooltip(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { tooltip: value } } } } }, - '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withViz(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { viz: value } } } } }, - }, - }, - }, - }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptions(value): { options: value }, - '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptionsMixin(value): { options+: value }, - options+: - { - '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltip(value): { options+: { tooltip: value } }, - '#withTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltipMixin(value): { options+: { tooltip+: value } }, - tooltip+: - { - '#withMaxHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxHeight(value): { options+: { tooltip+: { maxHeight: value } } }, - '#withMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxWidth(value): { options+: { tooltip+: { maxWidth: value } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['single', 'multi', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { options+: { tooltip+: { mode: value } } }, - '#withSort': { 'function': { args: [{ default: null, enums: ['asc', 'desc', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withSort(value): { options+: { tooltip+: { sort: value } } }, - }, - '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withText(value): { options+: { text: value } }, - '#withTextMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTextMixin(value): { options+: { text+: value } }, - text+: - { - '#withTitleSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Explicit title text size' } }, - withTitleSize(value): { options+: { text+: { titleSize: value } } }, - '#withValueSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Explicit value text size' } }, - withValueSize(value): { options+: { text+: { valueSize: value } } }, - }, - '#withOrientation': { 'function': { args: [{ default: null, enums: ['auto', 'vertical', 'horizontal'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withOrientation(value): { options+: { orientation: value } }, - '#withReduceOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withReduceOptions(value): { options+: { reduceOptions: value } }, - '#withReduceOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withReduceOptionsMixin(value): { options+: { reduceOptions+: value } }, - reduceOptions+: - { - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'When !values, pick one value for the whole field' } }, - withCalcs(value): { options+: { reduceOptions+: { calcs: (if std.isArray(value) - then value - else [value]) } } }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'When !values, pick one value for the whole field' } }, - withCalcsMixin(value): { options+: { reduceOptions+: { calcs+: (if std.isArray(value) - then value - else [value]) } } }, - '#withFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Which fields to show. By default this is only numeric fields' } }, - withFields(value): { options+: { reduceOptions+: { fields: value } } }, - '#withLimit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'if showing all values limit' } }, - withLimit(value): { options+: { reduceOptions+: { limit: value } } }, - '#withValues': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true show each row value' } }, - withValues(value=true): { options+: { reduceOptions+: { values: value } } }, - }, - '#withDisplayLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDisplayLabels(value): { options+: { displayLabels: (if std.isArray(value) - then value - else [value]) } }, - '#withDisplayLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDisplayLabelsMixin(value): { options+: { displayLabels+: (if std.isArray(value) - then value - else [value]) } }, - '#withLegend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLegend(value): { options+: { legend: value } }, - '#withLegendMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLegendMixin(value): { options+: { legend+: value } }, - legend+: - { - '#withAsTable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAsTable(value=true): { options+: { legend+: { asTable: value } } }, - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcs(value): { options+: { legend+: { calcs: (if std.isArray(value) - then value - else [value]) } } }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcsMixin(value): { options+: { legend+: { calcs+: (if std.isArray(value) - then value - else [value]) } } }, - '#withDisplayMode': { 'function': { args: [{ default: null, enums: ['list', 'table', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs\nNote: "hidden" needs to remain as an option for plugins compatibility' } }, - withDisplayMode(value): { options+: { legend+: { displayMode: value } } }, - '#withIsVisible': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withIsVisible(value=true): { options+: { legend+: { isVisible: value } } }, - '#withPlacement': { 'function': { args: [{ default: null, enums: ['bottom', 'right'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withPlacement(value): { options+: { legend+: { placement: value } } }, - '#withShowLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowLegend(value=true): { options+: { legend+: { showLegend: value } } }, - '#withSortBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withSortBy(value): { options+: { legend+: { sortBy: value } } }, - '#withSortDesc': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withSortDesc(value=true): { options+: { legend+: { sortDesc: value } } }, - '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withWidth(value): { options+: { legend+: { width: value } } }, - '#withValues': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withValues(value): { options+: { legend+: { values: (if std.isArray(value) - then value - else [value]) } } }, - '#withValuesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withValuesMixin(value): { options+: { legend+: { values+: (if std.isArray(value) - then value - else [value]) } } }, - }, - '#withPieType': { 'function': { args: [{ default: null, enums: ['pie', 'donut'], name: 'value', type: ['string'] }], help: 'Select the pie chart display style.' } }, - withPieType(value): { options+: { pieType: value } }, - }, - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'piechart' }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/stat.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/stat.libsonnet deleted file mode 100644 index 3d19c51..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/stat.libsonnet +++ /dev/null @@ -1,59 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.panel.stat', name: 'stat' }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptions(value): { options: value }, - '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptionsMixin(value): { options+: value }, - options+: - { - '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withText(value): { options+: { text: value } }, - '#withTextMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTextMixin(value): { options+: { text+: value } }, - text+: - { - '#withTitleSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Explicit title text size' } }, - withTitleSize(value): { options+: { text+: { titleSize: value } } }, - '#withValueSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Explicit value text size' } }, - withValueSize(value): { options+: { text+: { valueSize: value } } }, - }, - '#withOrientation': { 'function': { args: [{ default: null, enums: ['auto', 'vertical', 'horizontal'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withOrientation(value): { options+: { orientation: value } }, - '#withReduceOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withReduceOptions(value): { options+: { reduceOptions: value } }, - '#withReduceOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withReduceOptionsMixin(value): { options+: { reduceOptions+: value } }, - reduceOptions+: - { - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'When !values, pick one value for the whole field' } }, - withCalcs(value): { options+: { reduceOptions+: { calcs: (if std.isArray(value) - then value - else [value]) } } }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'When !values, pick one value for the whole field' } }, - withCalcsMixin(value): { options+: { reduceOptions+: { calcs+: (if std.isArray(value) - then value - else [value]) } } }, - '#withFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Which fields to show. By default this is only numeric fields' } }, - withFields(value): { options+: { reduceOptions+: { fields: value } } }, - '#withLimit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'if showing all values limit' } }, - withLimit(value): { options+: { reduceOptions+: { limit: value } } }, - '#withValues': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true show each row value' } }, - withValues(value=true): { options+: { reduceOptions+: { values: value } } }, - }, - '#withColorMode': { 'function': { args: [{ default: null, enums: ['value', 'background', 'background_solid', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withColorMode(value): { options+: { colorMode: value } }, - '#withGraphMode': { 'function': { args: [{ default: null, enums: ['none', 'line', 'area'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withGraphMode(value): { options+: { graphMode: value } }, - '#withJustifyMode': { 'function': { args: [{ default: null, enums: ['auto', 'center'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withJustifyMode(value): { options+: { justifyMode: value } }, - '#withShowPercentChange': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowPercentChange(value=true): { options+: { showPercentChange: value } }, - '#withTextMode': { 'function': { args: [{ default: null, enums: ['auto', 'value', 'value_and_name', 'name', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withTextMode(value): { options+: { textMode: value } }, - '#withWideLayout': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withWideLayout(value=true): { options+: { wideLayout: value } }, - }, - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'stat' }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/stateTimeline.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/stateTimeline.libsonnet deleted file mode 100644 index 924684c..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/stateTimeline.libsonnet +++ /dev/null @@ -1,113 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.panel.stateTimeline', name: 'stateTimeline' }, - '#withFieldConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withFieldConfig(value): { fieldConfig: value }, - '#withFieldConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withFieldConfigMixin(value): { fieldConfig+: value }, - fieldConfig+: - { - '#withDefaults': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withDefaults(value): { fieldConfig+: { defaults: value } }, - '#withDefaultsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withDefaultsMixin(value): { fieldConfig+: { defaults+: value } }, - defaults+: - { - '#withCustom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCustom(value): { fieldConfig+: { defaults+: { custom: value } } }, - '#withCustomMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCustomMixin(value): { fieldConfig+: { defaults+: { custom+: value } } }, - custom+: - { - '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFrom(value): { fieldConfig+: { defaults+: { custom+: { hideFrom: value } } } }, - '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFromMixin(value): { fieldConfig+: { defaults+: { custom+: { hideFrom+: value } } } }, - hideFrom+: - { - '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withLegend(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { legend: value } } } } }, - '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withTooltip(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { tooltip: value } } } } }, - '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withViz(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { viz: value } } } } }, - }, - '#withFillOpacity': { 'function': { args: [{ default: 70, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withFillOpacity(value=70): { fieldConfig+: { defaults+: { custom+: { fillOpacity: value } } } }, - '#withLineWidth': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withLineWidth(value=0): { fieldConfig+: { defaults+: { custom+: { lineWidth: value } } } }, - }, - }, - }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptions(value): { options: value }, - '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptionsMixin(value): { options+: value }, - options+: - { - '#withLegend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLegend(value): { options+: { legend: value } }, - '#withLegendMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLegendMixin(value): { options+: { legend+: value } }, - legend+: - { - '#withAsTable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAsTable(value=true): { options+: { legend+: { asTable: value } } }, - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcs(value): { options+: { legend+: { calcs: (if std.isArray(value) - then value - else [value]) } } }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcsMixin(value): { options+: { legend+: { calcs+: (if std.isArray(value) - then value - else [value]) } } }, - '#withDisplayMode': { 'function': { args: [{ default: null, enums: ['list', 'table', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs\nNote: "hidden" needs to remain as an option for plugins compatibility' } }, - withDisplayMode(value): { options+: { legend+: { displayMode: value } } }, - '#withIsVisible': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withIsVisible(value=true): { options+: { legend+: { isVisible: value } } }, - '#withPlacement': { 'function': { args: [{ default: null, enums: ['bottom', 'right'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withPlacement(value): { options+: { legend+: { placement: value } } }, - '#withShowLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowLegend(value=true): { options+: { legend+: { showLegend: value } } }, - '#withSortBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withSortBy(value): { options+: { legend+: { sortBy: value } } }, - '#withSortDesc': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withSortDesc(value=true): { options+: { legend+: { sortDesc: value } } }, - '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withWidth(value): { options+: { legend+: { width: value } } }, - }, - '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltip(value): { options+: { tooltip: value } }, - '#withTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltipMixin(value): { options+: { tooltip+: value } }, - tooltip+: - { - '#withMaxHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxHeight(value): { options+: { tooltip+: { maxHeight: value } } }, - '#withMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxWidth(value): { options+: { tooltip+: { maxWidth: value } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['single', 'multi', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { options+: { tooltip+: { mode: value } } }, - '#withSort': { 'function': { args: [{ default: null, enums: ['asc', 'desc', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withSort(value): { options+: { tooltip+: { sort: value } } }, - }, - '#withTimezone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withTimezone(value): { options+: { timezone: (if std.isArray(value) - then value - else [value]) } }, - '#withTimezoneMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withTimezoneMixin(value): { options+: { timezone+: (if std.isArray(value) - then value - else [value]) } }, - '#withAlignValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Controls value alignment on the timelines' } }, - withAlignValue(value): { options+: { alignValue: value } }, - '#withMergeValues': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Merge equal consecutive values' } }, - withMergeValues(value=true): { options+: { mergeValues: value } }, - '#withRowHeight': { 'function': { args: [{ default: 0.90000000000000002, enums: null, name: 'value', type: ['number'] }], help: 'Controls the row height' } }, - withRowHeight(value=0.90000000000000002): { options+: { rowHeight: value } }, - '#withShowValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Show timeline values on chart' } }, - withShowValue(value): { options+: { showValue: value } }, - }, - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'state-timeline' }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/statusHistory.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/statusHistory.libsonnet deleted file mode 100644 index 8fb1ec9..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/statusHistory.libsonnet +++ /dev/null @@ -1,111 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.panel.statusHistory', name: 'statusHistory' }, - '#withFieldConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withFieldConfig(value): { fieldConfig: value }, - '#withFieldConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withFieldConfigMixin(value): { fieldConfig+: value }, - fieldConfig+: - { - '#withDefaults': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withDefaults(value): { fieldConfig+: { defaults: value } }, - '#withDefaultsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withDefaultsMixin(value): { fieldConfig+: { defaults+: value } }, - defaults+: - { - '#withCustom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCustom(value): { fieldConfig+: { defaults+: { custom: value } } }, - '#withCustomMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCustomMixin(value): { fieldConfig+: { defaults+: { custom+: value } } }, - custom+: - { - '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFrom(value): { fieldConfig+: { defaults+: { custom+: { hideFrom: value } } } }, - '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFromMixin(value): { fieldConfig+: { defaults+: { custom+: { hideFrom+: value } } } }, - hideFrom+: - { - '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withLegend(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { legend: value } } } } }, - '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withTooltip(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { tooltip: value } } } } }, - '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withViz(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { viz: value } } } } }, - }, - '#withFillOpacity': { 'function': { args: [{ default: 70, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withFillOpacity(value=70): { fieldConfig+: { defaults+: { custom+: { fillOpacity: value } } } }, - '#withLineWidth': { 'function': { args: [{ default: 1, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withLineWidth(value=1): { fieldConfig+: { defaults+: { custom+: { lineWidth: value } } } }, - }, - }, - }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptions(value): { options: value }, - '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptionsMixin(value): { options+: value }, - options+: - { - '#withLegend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLegend(value): { options+: { legend: value } }, - '#withLegendMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLegendMixin(value): { options+: { legend+: value } }, - legend+: - { - '#withAsTable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAsTable(value=true): { options+: { legend+: { asTable: value } } }, - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcs(value): { options+: { legend+: { calcs: (if std.isArray(value) - then value - else [value]) } } }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcsMixin(value): { options+: { legend+: { calcs+: (if std.isArray(value) - then value - else [value]) } } }, - '#withDisplayMode': { 'function': { args: [{ default: null, enums: ['list', 'table', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs\nNote: "hidden" needs to remain as an option for plugins compatibility' } }, - withDisplayMode(value): { options+: { legend+: { displayMode: value } } }, - '#withIsVisible': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withIsVisible(value=true): { options+: { legend+: { isVisible: value } } }, - '#withPlacement': { 'function': { args: [{ default: null, enums: ['bottom', 'right'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withPlacement(value): { options+: { legend+: { placement: value } } }, - '#withShowLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowLegend(value=true): { options+: { legend+: { showLegend: value } } }, - '#withSortBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withSortBy(value): { options+: { legend+: { sortBy: value } } }, - '#withSortDesc': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withSortDesc(value=true): { options+: { legend+: { sortDesc: value } } }, - '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withWidth(value): { options+: { legend+: { width: value } } }, - }, - '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltip(value): { options+: { tooltip: value } }, - '#withTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltipMixin(value): { options+: { tooltip+: value } }, - tooltip+: - { - '#withMaxHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxHeight(value): { options+: { tooltip+: { maxHeight: value } } }, - '#withMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxWidth(value): { options+: { tooltip+: { maxWidth: value } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['single', 'multi', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { options+: { tooltip+: { mode: value } } }, - '#withSort': { 'function': { args: [{ default: null, enums: ['asc', 'desc', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withSort(value): { options+: { tooltip+: { sort: value } } }, - }, - '#withTimezone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withTimezone(value): { options+: { timezone: (if std.isArray(value) - then value - else [value]) } }, - '#withTimezoneMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withTimezoneMixin(value): { options+: { timezone+: (if std.isArray(value) - then value - else [value]) } }, - '#withColWidth': { 'function': { args: [{ default: 0.90000000000000002, enums: null, name: 'value', type: ['number'] }], help: 'Controls the column width' } }, - withColWidth(value=0.90000000000000002): { options+: { colWidth: value } }, - '#withRowHeight': { 'function': { args: [{ default: 0.90000000000000002, enums: null, name: 'value', type: ['number'] }], help: 'Set the height of the rows' } }, - withRowHeight(value=0.90000000000000002): { options+: { rowHeight: value } }, - '#withShowValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Show values on the columns' } }, - withShowValue(value): { options+: { showValue: value } }, - }, - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'status-history' }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/table.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/table.libsonnet deleted file mode 100644 index 97784ef..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/table.libsonnet +++ /dev/null @@ -1,314 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.panel.table', name: 'table' }, - '#withFieldConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withFieldConfig(value): { fieldConfig: value }, - '#withFieldConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withFieldConfigMixin(value): { fieldConfig+: value }, - fieldConfig+: - { - '#withDefaults': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withDefaults(value): { fieldConfig+: { defaults: value } }, - '#withDefaultsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withDefaultsMixin(value): { fieldConfig+: { defaults+: value } }, - defaults+: - { - '#withCustom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCustom(value): { fieldConfig+: { defaults+: { custom: value } } }, - '#withCustomMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCustomMixin(value): { fieldConfig+: { defaults+: { custom+: value } } }, - custom+: - { - '#withAlign': { 'function': { args: [{ default: null, enums: ['auto', 'left', 'right', 'center'], name: 'value', type: ['string'] }], help: 'TODO -- should not be table specific!\nTODO docs' } }, - withAlign(value): { fieldConfig+: { defaults+: { custom+: { align: value } } } }, - '#withCellOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Table cell options. Each cell has a display mode\nand other potential options for that display.' } }, - withCellOptions(value): { fieldConfig+: { defaults+: { custom+: { cellOptions: value } } } }, - '#withCellOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Table cell options. Each cell has a display mode\nand other potential options for that display.' } }, - withCellOptionsMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: value } } } }, - cellOptions+: - { - '#withTableAutoCellOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Auto mode table cell options' } }, - withTableAutoCellOptions(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { TableAutoCellOptions: value } } } } }, - '#withTableAutoCellOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Auto mode table cell options' } }, - withTableAutoCellOptionsMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { TableAutoCellOptions+: value } } } } }, - TableAutoCellOptions+: - { - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { type: value } } } } }, - }, - '#withTableSparklineCellOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Sparkline cell options' } }, - withTableSparklineCellOptions(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { TableSparklineCellOptions: value } } } } }, - '#withTableSparklineCellOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Sparkline cell options' } }, - withTableSparklineCellOptionsMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { TableSparklineCellOptions+: value } } } } }, - TableSparklineCellOptions+: - { - '#withLineColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLineColor(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { lineColor: value } } } } }, - '#withLineInterpolation': { 'function': { args: [{ default: null, enums: ['linear', 'smooth', 'stepBefore', 'stepAfter'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withLineInterpolation(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { lineInterpolation: value } } } } }, - '#withLineStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyle(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { lineStyle: value } } } } }, - '#withLineStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyleMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { lineStyle+: value } } } } }, - lineStyle+: - { - '#withDash': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDash(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { lineStyle+: { dash: (if std.isArray(value) - then value - else [value]) } } } } } }, - '#withDashMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDashMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { lineStyle+: { dash+: (if std.isArray(value) - then value - else [value]) } } } } } }, - '#withFill': { 'function': { args: [{ default: null, enums: ['solid', 'dash', 'dot', 'square'], name: 'value', type: ['string'] }], help: '' } }, - withFill(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { lineStyle+: { fill: value } } } } } }, - }, - '#withLineWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLineWidth(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { lineWidth: value } } } } }, - '#withSpanNulls': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'number'] }], help: 'Indicate if null values should be treated as gaps or connected.\nWhen the value is a number, it represents the maximum delta in the\nX axis that should be considered connected. For timeseries, this is milliseconds' } }, - withSpanNulls(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { spanNulls: value } } } } }, - '#withSpanNullsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'number'] }], help: 'Indicate if null values should be treated as gaps or connected.\nWhen the value is a number, it represents the maximum delta in the\nX axis that should be considered connected. For timeseries, this is milliseconds' } }, - withSpanNullsMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { spanNulls+: value } } } } }, - '#withFillBelowTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFillBelowTo(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { fillBelowTo: value } } } } }, - '#withFillColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFillColor(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { fillColor: value } } } } }, - '#withFillOpacity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withFillOpacity(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { fillOpacity: value } } } } }, - '#withPointColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPointColor(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { pointColor: value } } } } }, - '#withPointSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withPointSize(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { pointSize: value } } } } }, - '#withPointSymbol': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPointSymbol(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { pointSymbol: value } } } } }, - '#withShowPoints': { 'function': { args: [{ default: null, enums: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withShowPoints(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { showPoints: value } } } } }, - '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisBorderShow(value=true): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { axisBorderShow: value } } } } }, - '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisCenteredZero(value=true): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { axisCenteredZero: value } } } } }, - '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisColorMode(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { axisColorMode: value } } } } }, - '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisGridShow(value=true): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { axisGridShow: value } } } } }, - '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withAxisLabel(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { axisLabel: value } } } } }, - '#withAxisPlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'right', 'bottom', 'left', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisPlacement(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { axisPlacement: value } } } } }, - '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMax(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { axisSoftMax: value } } } } }, - '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { axisSoftMin: value } } } } }, - '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisWidth(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { axisWidth: value } } } } }, - '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistribution(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { scaleDistribution: value } } } } }, - '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistributionMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { scaleDistribution+: value } } } } }, - scaleDistribution+: - { - '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLinearThreshold(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { scaleDistribution+: { linearThreshold: value } } } } } }, - '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLog(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { scaleDistribution+: { log: value } } } } } }, - '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withType(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { scaleDistribution+: { type: value } } } } } }, - }, - '#withBarAlignment': { 'function': { args: [{ default: null, enums: [-1, 0, 1], name: 'value', type: ['integer'] }], help: 'TODO docs' } }, - withBarAlignment(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { barAlignment: value } } } } }, - '#withBarMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withBarMaxWidth(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { barMaxWidth: value } } } } }, - '#withBarWidthFactor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withBarWidthFactor(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { barWidthFactor: value } } } } }, - '#withStacking': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withStacking(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { stacking: value } } } } }, - '#withStackingMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withStackingMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { stacking+: value } } } } }, - stacking+: - { - '#withGroup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withGroup(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { stacking+: { group: value } } } } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['none', 'normal', 'percent'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { stacking+: { mode: value } } } } } }, - }, - '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFrom(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { hideFrom: value } } } } }, - '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFromMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { hideFrom+: value } } } } }, - hideFrom+: - { - '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withLegend(value=true): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { hideFrom+: { legend: value } } } } } }, - '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withTooltip(value=true): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { hideFrom+: { tooltip: value } } } } } }, - '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withViz(value=true): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { hideFrom+: { viz: value } } } } } }, - }, - '#withDrawStyle': { 'function': { args: [{ default: null, enums: ['line', 'bars', 'points'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withDrawStyle(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { drawStyle: value } } } } }, - '#withGradientMode': { 'function': { args: [{ default: null, enums: ['none', 'opacity', 'hue', 'scheme'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withGradientMode(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { gradientMode: value } } } } }, - '#withThresholdsStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withThresholdsStyle(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { thresholdsStyle: value } } } } }, - '#withThresholdsStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withThresholdsStyleMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { thresholdsStyle+: value } } } } }, - thresholdsStyle+: - { - '#withMode': { 'function': { args: [{ default: null, enums: ['off', 'line', 'dashed', 'area', 'line+area', 'dashed+area', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { thresholdsStyle+: { mode: value } } } } } }, - }, - '#withTransform': { 'function': { args: [{ default: null, enums: ['constant', 'negative-Y'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withTransform(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { transform: value } } } } }, - '#withHideValue': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withHideValue(value=true): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { hideValue: value } } } } }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { type: value } } } } }, - }, - '#withTableBarGaugeCellOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Gauge cell options' } }, - withTableBarGaugeCellOptions(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { TableBarGaugeCellOptions: value } } } } }, - '#withTableBarGaugeCellOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Gauge cell options' } }, - withTableBarGaugeCellOptionsMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { TableBarGaugeCellOptions+: value } } } } }, - TableBarGaugeCellOptions+: - { - '#withMode': { 'function': { args: [{ default: null, enums: ['basic', 'lcd', 'gradient'], name: 'value', type: ['string'] }], help: 'Enum expressing the possible display modes\nfor the bar gauge component of Grafana UI' } }, - withMode(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { mode: value } } } } }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { type: value } } } } }, - '#withValueDisplayMode': { 'function': { args: [{ default: null, enums: ['color', 'text', 'hidden'], name: 'value', type: ['string'] }], help: 'Allows for the table cell gauge display type to set the gauge mode.' } }, - withValueDisplayMode(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { valueDisplayMode: value } } } } }, - }, - '#withTableColoredBackgroundCellOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Colored background cell options' } }, - withTableColoredBackgroundCellOptions(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { TableColoredBackgroundCellOptions: value } } } } }, - '#withTableColoredBackgroundCellOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Colored background cell options' } }, - withTableColoredBackgroundCellOptionsMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { TableColoredBackgroundCellOptions+: value } } } } }, - TableColoredBackgroundCellOptions+: - { - '#withMode': { 'function': { args: [{ default: null, enums: ['basic', 'gradient'], name: 'value', type: ['string'] }], help: 'Display mode to the "Colored Background" display\nmode for table cells. Either displays a solid color (basic mode)\nor a gradient.' } }, - withMode(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { mode: value } } } } }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { type: value } } } } }, - }, - '#withTableColorTextCellOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Colored text cell options' } }, - withTableColorTextCellOptions(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { TableColorTextCellOptions: value } } } } }, - '#withTableColorTextCellOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Colored text cell options' } }, - withTableColorTextCellOptionsMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { TableColorTextCellOptions+: value } } } } }, - TableColorTextCellOptions+: - { - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { type: value } } } } }, - }, - '#withTableImageCellOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Json view cell options' } }, - withTableImageCellOptions(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { TableImageCellOptions: value } } } } }, - '#withTableImageCellOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Json view cell options' } }, - withTableImageCellOptionsMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { TableImageCellOptions+: value } } } } }, - TableImageCellOptions+: - { - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { type: value } } } } }, - }, - '#withTableDataLinksCellOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Show data links in the cell' } }, - withTableDataLinksCellOptions(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { TableDataLinksCellOptions: value } } } } }, - '#withTableDataLinksCellOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Show data links in the cell' } }, - withTableDataLinksCellOptionsMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { TableDataLinksCellOptions+: value } } } } }, - TableDataLinksCellOptions+: - { - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { type: value } } } } }, - }, - '#withTableJsonViewCellOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Json view cell options' } }, - withTableJsonViewCellOptions(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { TableJsonViewCellOptions: value } } } } }, - '#withTableJsonViewCellOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Json view cell options' } }, - withTableJsonViewCellOptionsMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { TableJsonViewCellOptions+: value } } } } }, - TableJsonViewCellOptions+: - { - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { type: value } } } } }, - }, - }, - '#withDisplayMode': { 'function': { args: [{ default: null, enums: ['auto', 'color-text', 'color-background', 'color-background-solid', 'gradient-gauge', 'lcd-gauge', 'json-view', 'basic', 'image', 'gauge', 'sparkline', 'data-links', 'custom'], name: 'value', type: ['string'] }], help: "Internally, this is the \"type\" of cell that's being displayed\nin the table such as colored text, JSON, gauge, etc.\nThe color-background-solid, gradient-gauge, and lcd-gauge\nmodes are deprecated in favor of new cell subOptions" } }, - withDisplayMode(value): { fieldConfig+: { defaults+: { custom+: { displayMode: value } } } }, - '#withFilterable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withFilterable(value=true): { fieldConfig+: { defaults+: { custom+: { filterable: value } } } }, - '#withHidden': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withHidden(value=true): { fieldConfig+: { defaults+: { custom+: { hidden: value } } } }, - '#withHideHeader': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Hides any header for a column, useful for columns that show some static content or buttons.' } }, - withHideHeader(value=true): { fieldConfig+: { defaults+: { custom+: { hideHeader: value } } } }, - '#withInspect': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withInspect(value=true): { fieldConfig+: { defaults+: { custom+: { inspect: value } } } }, - '#withMinWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMinWidth(value): { fieldConfig+: { defaults+: { custom+: { minWidth: value } } } }, - '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withWidth(value): { fieldConfig+: { defaults+: { custom+: { width: value } } } }, - }, - }, - }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptions(value): { options: value }, - '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptionsMixin(value): { options+: value }, - options+: - { - '#withCellHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Controls the height of the rows' } }, - withCellHeight(value): { options+: { cellHeight: value } }, - '#withFooter': { 'function': { args: [{ default: { countRows: false, reducer: [], show: false }, enums: null, name: 'value', type: ['object'] }], help: 'Controls footer options' } }, - withFooter(value={ countRows: false, reducer: [], show: false }): { options+: { footer: value } }, - '#withFooterMixin': { 'function': { args: [{ default: { countRows: false, reducer: [], show: false }, enums: null, name: 'value', type: ['object'] }], help: 'Controls footer options' } }, - withFooterMixin(value): { options+: { footer+: value } }, - footer+: - { - '#withTableFooterOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Footer options' } }, - withTableFooterOptions(value): { options+: { footer+: { TableFooterOptions: value } } }, - '#withTableFooterOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Footer options' } }, - withTableFooterOptionsMixin(value): { options+: { footer+: { TableFooterOptions+: value } } }, - TableFooterOptions+: - { - '#withCountRows': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withCountRows(value=true): { options+: { footer+: { countRows: value } } }, - '#withEnablePagination': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withEnablePagination(value=true): { options+: { footer+: { enablePagination: value } } }, - '#withFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withFields(value): { options+: { footer+: { fields: (if std.isArray(value) - then value - else [value]) } } }, - '#withFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withFieldsMixin(value): { options+: { footer+: { fields+: (if std.isArray(value) - then value - else [value]) } } }, - '#withReducer': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withReducer(value): { options+: { footer+: { reducer: (if std.isArray(value) - then value - else [value]) } } }, - '#withReducerMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withReducerMixin(value): { options+: { footer+: { reducer+: (if std.isArray(value) - then value - else [value]) } } }, - '#withShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShow(value=true): { options+: { footer+: { show: value } } }, - }, - }, - '#withFrameIndex': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['number'] }], help: 'Represents the index of the selected frame' } }, - withFrameIndex(value=0): { options+: { frameIndex: value } }, - '#withShowHeader': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Controls whether the panel should show the header' } }, - withShowHeader(value=true): { options+: { showHeader: value } }, - '#withShowTypeIcons': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Controls whether the header should show icons for the column types' } }, - withShowTypeIcons(value=true): { options+: { showTypeIcons: value } }, - '#withSortBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Used to control row sorting' } }, - withSortBy(value): { options+: { sortBy: (if std.isArray(value) - then value - else [value]) } }, - '#withSortByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Used to control row sorting' } }, - withSortByMixin(value): { options+: { sortBy+: (if std.isArray(value) - then value - else [value]) } }, - sortBy+: - { - '#': { help: '', name: 'sortBy' }, - '#withDesc': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Flag used to indicate descending sort order' } }, - withDesc(value=true): { desc: value }, - '#withDisplayName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Sets the display name of the field to sort by' } }, - withDisplayName(value): { displayName: value }, - }, - }, - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'table' }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/text.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/text.libsonnet deleted file mode 100644 index 1054c03..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/text.libsonnet +++ /dev/null @@ -1,47 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.panel.text', name: 'text' }, - '#withCodeLanguage': { 'function': { args: [{ default: 'plaintext', enums: ['plaintext', 'yaml', 'xml', 'typescript', 'sql', 'go', 'markdown', 'html', 'json'], name: 'value', type: ['string'] }], help: '' } }, - withCodeLanguage(value='plaintext'): { CodeLanguage: value }, - '#withCodeOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCodeOptions(value): { CodeOptions: value }, - '#withCodeOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCodeOptionsMixin(value): { CodeOptions+: value }, - CodeOptions+: - { - '#withLanguage': { 'function': { args: [{ default: 'plaintext', enums: ['plaintext', 'yaml', 'xml', 'typescript', 'sql', 'go', 'markdown', 'html', 'json'], name: 'value', type: ['string'] }], help: '' } }, - withLanguage(value='plaintext'): { CodeOptions+: { language: value } }, - '#withShowLineNumbers': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowLineNumbers(value=true): { CodeOptions+: { showLineNumbers: value } }, - '#withShowMiniMap': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowMiniMap(value=true): { CodeOptions+: { showMiniMap: value } }, - }, - '#withTextMode': { 'function': { args: [{ default: null, enums: ['html', 'markdown', 'code'], name: 'value', type: ['string'] }], help: '' } }, - withTextMode(value): { TextMode: value }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptions(value): { options: value }, - '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptionsMixin(value): { options+: value }, - options+: - { - '#withCode': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCode(value): { options+: { code: value } }, - '#withCodeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCodeMixin(value): { options+: { code+: value } }, - code+: - { - '#withLanguage': { 'function': { args: [{ default: 'plaintext', enums: ['plaintext', 'yaml', 'xml', 'typescript', 'sql', 'go', 'markdown', 'html', 'json'], name: 'value', type: ['string'] }], help: '' } }, - withLanguage(value='plaintext'): { options+: { code+: { language: value } } }, - '#withShowLineNumbers': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowLineNumbers(value=true): { options+: { code+: { showLineNumbers: value } } }, - '#withShowMiniMap': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowMiniMap(value=true): { options+: { code+: { showMiniMap: value } } }, - }, - '#withContent': { 'function': { args: [{ default: '# Title\n\nFor markdown syntax help: [commonmark.org/help](https://commonmark.org/help/)', enums: null, name: 'value', type: ['string'] }], help: '' } }, - withContent(value='# Title\n\nFor markdown syntax help: [commonmark.org/help](https://commonmark.org/help/)'): { options+: { content: value } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['html', 'markdown', 'code'], name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { options+: { mode: value } }, - }, - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'text' }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/timeSeries.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/timeSeries.libsonnet deleted file mode 100644 index 1c1c689..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/timeSeries.libsonnet +++ /dev/null @@ -1,205 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.panel.timeSeries', name: 'timeSeries' }, - '#withFieldConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withFieldConfig(value): { fieldConfig: value }, - '#withFieldConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withFieldConfigMixin(value): { fieldConfig+: value }, - fieldConfig+: - { - '#withDefaults': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withDefaults(value): { fieldConfig+: { defaults: value } }, - '#withDefaultsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withDefaultsMixin(value): { fieldConfig+: { defaults+: value } }, - defaults+: - { - '#withCustom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withCustom(value): { fieldConfig+: { defaults+: { custom: value } } }, - '#withCustomMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withCustomMixin(value): { fieldConfig+: { defaults+: { custom+: value } } }, - custom+: - { - '#withLineColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLineColor(value): { fieldConfig+: { defaults+: { custom+: { lineColor: value } } } }, - '#withLineInterpolation': { 'function': { args: [{ default: null, enums: ['linear', 'smooth', 'stepBefore', 'stepAfter'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withLineInterpolation(value): { fieldConfig+: { defaults+: { custom+: { lineInterpolation: value } } } }, - '#withLineStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyle(value): { fieldConfig+: { defaults+: { custom+: { lineStyle: value } } } }, - '#withLineStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyleMixin(value): { fieldConfig+: { defaults+: { custom+: { lineStyle+: value } } } }, - lineStyle+: - { - '#withDash': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDash(value): { fieldConfig+: { defaults+: { custom+: { lineStyle+: { dash: (if std.isArray(value) - then value - else [value]) } } } } }, - '#withDashMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDashMixin(value): { fieldConfig+: { defaults+: { custom+: { lineStyle+: { dash+: (if std.isArray(value) - then value - else [value]) } } } } }, - '#withFill': { 'function': { args: [{ default: null, enums: ['solid', 'dash', 'dot', 'square'], name: 'value', type: ['string'] }], help: '' } }, - withFill(value): { fieldConfig+: { defaults+: { custom+: { lineStyle+: { fill: value } } } } }, - }, - '#withLineWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLineWidth(value): { fieldConfig+: { defaults+: { custom+: { lineWidth: value } } } }, - '#withSpanNulls': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'number'] }], help: 'Indicate if null values should be treated as gaps or connected.\nWhen the value is a number, it represents the maximum delta in the\nX axis that should be considered connected. For timeseries, this is milliseconds' } }, - withSpanNulls(value): { fieldConfig+: { defaults+: { custom+: { spanNulls: value } } } }, - '#withSpanNullsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'number'] }], help: 'Indicate if null values should be treated as gaps or connected.\nWhen the value is a number, it represents the maximum delta in the\nX axis that should be considered connected. For timeseries, this is milliseconds' } }, - withSpanNullsMixin(value): { fieldConfig+: { defaults+: { custom+: { spanNulls+: value } } } }, - '#withFillBelowTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFillBelowTo(value): { fieldConfig+: { defaults+: { custom+: { fillBelowTo: value } } } }, - '#withFillColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFillColor(value): { fieldConfig+: { defaults+: { custom+: { fillColor: value } } } }, - '#withFillOpacity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withFillOpacity(value): { fieldConfig+: { defaults+: { custom+: { fillOpacity: value } } } }, - '#withPointColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPointColor(value): { fieldConfig+: { defaults+: { custom+: { pointColor: value } } } }, - '#withPointSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withPointSize(value): { fieldConfig+: { defaults+: { custom+: { pointSize: value } } } }, - '#withPointSymbol': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPointSymbol(value): { fieldConfig+: { defaults+: { custom+: { pointSymbol: value } } } }, - '#withShowPoints': { 'function': { args: [{ default: null, enums: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withShowPoints(value): { fieldConfig+: { defaults+: { custom+: { showPoints: value } } } }, - '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisBorderShow(value=true): { fieldConfig+: { defaults+: { custom+: { axisBorderShow: value } } } }, - '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisCenteredZero(value=true): { fieldConfig+: { defaults+: { custom+: { axisCenteredZero: value } } } }, - '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisColorMode(value): { fieldConfig+: { defaults+: { custom+: { axisColorMode: value } } } }, - '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisGridShow(value=true): { fieldConfig+: { defaults+: { custom+: { axisGridShow: value } } } }, - '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withAxisLabel(value): { fieldConfig+: { defaults+: { custom+: { axisLabel: value } } } }, - '#withAxisPlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'right', 'bottom', 'left', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisPlacement(value): { fieldConfig+: { defaults+: { custom+: { axisPlacement: value } } } }, - '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMax(value): { fieldConfig+: { defaults+: { custom+: { axisSoftMax: value } } } }, - '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMin(value): { fieldConfig+: { defaults+: { custom+: { axisSoftMin: value } } } }, - '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisWidth(value): { fieldConfig+: { defaults+: { custom+: { axisWidth: value } } } }, - '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistribution(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution: value } } } }, - '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistributionMixin(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: value } } } }, - scaleDistribution+: - { - '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLinearThreshold(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { linearThreshold: value } } } } }, - '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLog(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { log: value } } } } }, - '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withType(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { type: value } } } } }, - }, - '#withBarAlignment': { 'function': { args: [{ default: null, enums: [-1, 0, 1], name: 'value', type: ['integer'] }], help: 'TODO docs' } }, - withBarAlignment(value): { fieldConfig+: { defaults+: { custom+: { barAlignment: value } } } }, - '#withBarMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withBarMaxWidth(value): { fieldConfig+: { defaults+: { custom+: { barMaxWidth: value } } } }, - '#withBarWidthFactor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withBarWidthFactor(value): { fieldConfig+: { defaults+: { custom+: { barWidthFactor: value } } } }, - '#withStacking': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withStacking(value): { fieldConfig+: { defaults+: { custom+: { stacking: value } } } }, - '#withStackingMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withStackingMixin(value): { fieldConfig+: { defaults+: { custom+: { stacking+: value } } } }, - stacking+: - { - '#withGroup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withGroup(value): { fieldConfig+: { defaults+: { custom+: { stacking+: { group: value } } } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['none', 'normal', 'percent'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { fieldConfig+: { defaults+: { custom+: { stacking+: { mode: value } } } } }, - }, - '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFrom(value): { fieldConfig+: { defaults+: { custom+: { hideFrom: value } } } }, - '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFromMixin(value): { fieldConfig+: { defaults+: { custom+: { hideFrom+: value } } } }, - hideFrom+: - { - '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withLegend(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { legend: value } } } } }, - '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withTooltip(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { tooltip: value } } } } }, - '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withViz(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { viz: value } } } } }, - }, - '#withDrawStyle': { 'function': { args: [{ default: null, enums: ['line', 'bars', 'points'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withDrawStyle(value): { fieldConfig+: { defaults+: { custom+: { drawStyle: value } } } }, - '#withGradientMode': { 'function': { args: [{ default: null, enums: ['none', 'opacity', 'hue', 'scheme'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withGradientMode(value): { fieldConfig+: { defaults+: { custom+: { gradientMode: value } } } }, - '#withThresholdsStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withThresholdsStyle(value): { fieldConfig+: { defaults+: { custom+: { thresholdsStyle: value } } } }, - '#withThresholdsStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withThresholdsStyleMixin(value): { fieldConfig+: { defaults+: { custom+: { thresholdsStyle+: value } } } }, - thresholdsStyle+: - { - '#withMode': { 'function': { args: [{ default: null, enums: ['off', 'line', 'dashed', 'area', 'line+area', 'dashed+area', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { fieldConfig+: { defaults+: { custom+: { thresholdsStyle+: { mode: value } } } } }, - }, - '#withTransform': { 'function': { args: [{ default: null, enums: ['constant', 'negative-Y'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withTransform(value): { fieldConfig+: { defaults+: { custom+: { transform: value } } } }, - }, - }, - }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptions(value): { options: value }, - '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptionsMixin(value): { options+: value }, - options+: - { - '#withTimezone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withTimezone(value): { options+: { timezone: (if std.isArray(value) - then value - else [value]) } }, - '#withTimezoneMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withTimezoneMixin(value): { options+: { timezone+: (if std.isArray(value) - then value - else [value]) } }, - '#withLegend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLegend(value): { options+: { legend: value } }, - '#withLegendMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLegendMixin(value): { options+: { legend+: value } }, - legend+: - { - '#withAsTable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAsTable(value=true): { options+: { legend+: { asTable: value } } }, - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcs(value): { options+: { legend+: { calcs: (if std.isArray(value) - then value - else [value]) } } }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcsMixin(value): { options+: { legend+: { calcs+: (if std.isArray(value) - then value - else [value]) } } }, - '#withDisplayMode': { 'function': { args: [{ default: null, enums: ['list', 'table', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs\nNote: "hidden" needs to remain as an option for plugins compatibility' } }, - withDisplayMode(value): { options+: { legend+: { displayMode: value } } }, - '#withIsVisible': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withIsVisible(value=true): { options+: { legend+: { isVisible: value } } }, - '#withPlacement': { 'function': { args: [{ default: null, enums: ['bottom', 'right'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withPlacement(value): { options+: { legend+: { placement: value } } }, - '#withShowLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowLegend(value=true): { options+: { legend+: { showLegend: value } } }, - '#withSortBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withSortBy(value): { options+: { legend+: { sortBy: value } } }, - '#withSortDesc': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withSortDesc(value=true): { options+: { legend+: { sortDesc: value } } }, - '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withWidth(value): { options+: { legend+: { width: value } } }, - }, - '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltip(value): { options+: { tooltip: value } }, - '#withTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltipMixin(value): { options+: { tooltip+: value } }, - tooltip+: - { - '#withMaxHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxHeight(value): { options+: { tooltip+: { maxHeight: value } } }, - '#withMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxWidth(value): { options+: { tooltip+: { maxWidth: value } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['single', 'multi', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { options+: { tooltip+: { mode: value } } }, - '#withSort': { 'function': { args: [{ default: null, enums: ['asc', 'desc', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withSort(value): { options+: { tooltip+: { sort: value } } }, - }, - }, - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'timeseries' }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/trend.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/trend.libsonnet deleted file mode 100644 index 47b698a..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/trend.libsonnet +++ /dev/null @@ -1,199 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.panel.trend', name: 'trend' }, - '#withFieldConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withFieldConfig(value): { fieldConfig: value }, - '#withFieldConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withFieldConfigMixin(value): { fieldConfig+: value }, - fieldConfig+: - { - '#withDefaults': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withDefaults(value): { fieldConfig+: { defaults: value } }, - '#withDefaultsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withDefaultsMixin(value): { fieldConfig+: { defaults+: value } }, - defaults+: - { - '#withCustom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withCustom(value): { fieldConfig+: { defaults+: { custom: value } } }, - '#withCustomMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withCustomMixin(value): { fieldConfig+: { defaults+: { custom+: value } } }, - custom+: - { - '#withLineColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLineColor(value): { fieldConfig+: { defaults+: { custom+: { lineColor: value } } } }, - '#withLineInterpolation': { 'function': { args: [{ default: null, enums: ['linear', 'smooth', 'stepBefore', 'stepAfter'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withLineInterpolation(value): { fieldConfig+: { defaults+: { custom+: { lineInterpolation: value } } } }, - '#withLineStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyle(value): { fieldConfig+: { defaults+: { custom+: { lineStyle: value } } } }, - '#withLineStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyleMixin(value): { fieldConfig+: { defaults+: { custom+: { lineStyle+: value } } } }, - lineStyle+: - { - '#withDash': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDash(value): { fieldConfig+: { defaults+: { custom+: { lineStyle+: { dash: (if std.isArray(value) - then value - else [value]) } } } } }, - '#withDashMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDashMixin(value): { fieldConfig+: { defaults+: { custom+: { lineStyle+: { dash+: (if std.isArray(value) - then value - else [value]) } } } } }, - '#withFill': { 'function': { args: [{ default: null, enums: ['solid', 'dash', 'dot', 'square'], name: 'value', type: ['string'] }], help: '' } }, - withFill(value): { fieldConfig+: { defaults+: { custom+: { lineStyle+: { fill: value } } } } }, - }, - '#withLineWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLineWidth(value): { fieldConfig+: { defaults+: { custom+: { lineWidth: value } } } }, - '#withSpanNulls': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'number'] }], help: 'Indicate if null values should be treated as gaps or connected.\nWhen the value is a number, it represents the maximum delta in the\nX axis that should be considered connected. For timeseries, this is milliseconds' } }, - withSpanNulls(value): { fieldConfig+: { defaults+: { custom+: { spanNulls: value } } } }, - '#withSpanNullsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'number'] }], help: 'Indicate if null values should be treated as gaps or connected.\nWhen the value is a number, it represents the maximum delta in the\nX axis that should be considered connected. For timeseries, this is milliseconds' } }, - withSpanNullsMixin(value): { fieldConfig+: { defaults+: { custom+: { spanNulls+: value } } } }, - '#withFillBelowTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFillBelowTo(value): { fieldConfig+: { defaults+: { custom+: { fillBelowTo: value } } } }, - '#withFillColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFillColor(value): { fieldConfig+: { defaults+: { custom+: { fillColor: value } } } }, - '#withFillOpacity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withFillOpacity(value): { fieldConfig+: { defaults+: { custom+: { fillOpacity: value } } } }, - '#withPointColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPointColor(value): { fieldConfig+: { defaults+: { custom+: { pointColor: value } } } }, - '#withPointSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withPointSize(value): { fieldConfig+: { defaults+: { custom+: { pointSize: value } } } }, - '#withPointSymbol': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPointSymbol(value): { fieldConfig+: { defaults+: { custom+: { pointSymbol: value } } } }, - '#withShowPoints': { 'function': { args: [{ default: null, enums: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withShowPoints(value): { fieldConfig+: { defaults+: { custom+: { showPoints: value } } } }, - '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisBorderShow(value=true): { fieldConfig+: { defaults+: { custom+: { axisBorderShow: value } } } }, - '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisCenteredZero(value=true): { fieldConfig+: { defaults+: { custom+: { axisCenteredZero: value } } } }, - '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisColorMode(value): { fieldConfig+: { defaults+: { custom+: { axisColorMode: value } } } }, - '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisGridShow(value=true): { fieldConfig+: { defaults+: { custom+: { axisGridShow: value } } } }, - '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withAxisLabel(value): { fieldConfig+: { defaults+: { custom+: { axisLabel: value } } } }, - '#withAxisPlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'right', 'bottom', 'left', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisPlacement(value): { fieldConfig+: { defaults+: { custom+: { axisPlacement: value } } } }, - '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMax(value): { fieldConfig+: { defaults+: { custom+: { axisSoftMax: value } } } }, - '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMin(value): { fieldConfig+: { defaults+: { custom+: { axisSoftMin: value } } } }, - '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisWidth(value): { fieldConfig+: { defaults+: { custom+: { axisWidth: value } } } }, - '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistribution(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution: value } } } }, - '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistributionMixin(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: value } } } }, - scaleDistribution+: - { - '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLinearThreshold(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { linearThreshold: value } } } } }, - '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLog(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { log: value } } } } }, - '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withType(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { type: value } } } } }, - }, - '#withBarAlignment': { 'function': { args: [{ default: null, enums: [-1, 0, 1], name: 'value', type: ['integer'] }], help: 'TODO docs' } }, - withBarAlignment(value): { fieldConfig+: { defaults+: { custom+: { barAlignment: value } } } }, - '#withBarMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withBarMaxWidth(value): { fieldConfig+: { defaults+: { custom+: { barMaxWidth: value } } } }, - '#withBarWidthFactor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withBarWidthFactor(value): { fieldConfig+: { defaults+: { custom+: { barWidthFactor: value } } } }, - '#withStacking': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withStacking(value): { fieldConfig+: { defaults+: { custom+: { stacking: value } } } }, - '#withStackingMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withStackingMixin(value): { fieldConfig+: { defaults+: { custom+: { stacking+: value } } } }, - stacking+: - { - '#withGroup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withGroup(value): { fieldConfig+: { defaults+: { custom+: { stacking+: { group: value } } } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['none', 'normal', 'percent'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { fieldConfig+: { defaults+: { custom+: { stacking+: { mode: value } } } } }, - }, - '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFrom(value): { fieldConfig+: { defaults+: { custom+: { hideFrom: value } } } }, - '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFromMixin(value): { fieldConfig+: { defaults+: { custom+: { hideFrom+: value } } } }, - hideFrom+: - { - '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withLegend(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { legend: value } } } } }, - '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withTooltip(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { tooltip: value } } } } }, - '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withViz(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { viz: value } } } } }, - }, - '#withDrawStyle': { 'function': { args: [{ default: null, enums: ['line', 'bars', 'points'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withDrawStyle(value): { fieldConfig+: { defaults+: { custom+: { drawStyle: value } } } }, - '#withGradientMode': { 'function': { args: [{ default: null, enums: ['none', 'opacity', 'hue', 'scheme'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withGradientMode(value): { fieldConfig+: { defaults+: { custom+: { gradientMode: value } } } }, - '#withThresholdsStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withThresholdsStyle(value): { fieldConfig+: { defaults+: { custom+: { thresholdsStyle: value } } } }, - '#withThresholdsStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withThresholdsStyleMixin(value): { fieldConfig+: { defaults+: { custom+: { thresholdsStyle+: value } } } }, - thresholdsStyle+: - { - '#withMode': { 'function': { args: [{ default: null, enums: ['off', 'line', 'dashed', 'area', 'line+area', 'dashed+area', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { fieldConfig+: { defaults+: { custom+: { thresholdsStyle+: { mode: value } } } } }, - }, - '#withTransform': { 'function': { args: [{ default: null, enums: ['constant', 'negative-Y'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withTransform(value): { fieldConfig+: { defaults+: { custom+: { transform: value } } } }, - }, - }, - }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Identical to timeseries... except it does not have timezone settings' } }, - withOptions(value): { options: value }, - '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Identical to timeseries... except it does not have timezone settings' } }, - withOptionsMixin(value): { options+: value }, - options+: - { - '#withLegend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLegend(value): { options+: { legend: value } }, - '#withLegendMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLegendMixin(value): { options+: { legend+: value } }, - legend+: - { - '#withAsTable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAsTable(value=true): { options+: { legend+: { asTable: value } } }, - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcs(value): { options+: { legend+: { calcs: (if std.isArray(value) - then value - else [value]) } } }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcsMixin(value): { options+: { legend+: { calcs+: (if std.isArray(value) - then value - else [value]) } } }, - '#withDisplayMode': { 'function': { args: [{ default: null, enums: ['list', 'table', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs\nNote: "hidden" needs to remain as an option for plugins compatibility' } }, - withDisplayMode(value): { options+: { legend+: { displayMode: value } } }, - '#withIsVisible': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withIsVisible(value=true): { options+: { legend+: { isVisible: value } } }, - '#withPlacement': { 'function': { args: [{ default: null, enums: ['bottom', 'right'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withPlacement(value): { options+: { legend+: { placement: value } } }, - '#withShowLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowLegend(value=true): { options+: { legend+: { showLegend: value } } }, - '#withSortBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withSortBy(value): { options+: { legend+: { sortBy: value } } }, - '#withSortDesc': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withSortDesc(value=true): { options+: { legend+: { sortDesc: value } } }, - '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withWidth(value): { options+: { legend+: { width: value } } }, - }, - '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltip(value): { options+: { tooltip: value } }, - '#withTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltipMixin(value): { options+: { tooltip+: value } }, - tooltip+: - { - '#withMaxHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxHeight(value): { options+: { tooltip+: { maxHeight: value } } }, - '#withMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxWidth(value): { options+: { tooltip+: { maxWidth: value } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['single', 'multi', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { options+: { tooltip+: { mode: value } } }, - '#withSort': { 'function': { args: [{ default: null, enums: ['asc', 'desc', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withSort(value): { options+: { tooltip+: { sort: value } } }, - }, - '#withXField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the x field to use (defaults to first number)' } }, - withXField(value): { options+: { xField: value } }, - }, - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'trend' }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/xyChart.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/xyChart.libsonnet deleted file mode 100644 index 50b456a..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/xyChart.libsonnet +++ /dev/null @@ -1,516 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.panel.xyChart', name: 'xyChart' }, - '#withScatterSeriesConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withScatterSeriesConfig(value): { ScatterSeriesConfig: value }, - '#withScatterSeriesConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withScatterSeriesConfigMixin(value): { ScatterSeriesConfig+: value }, - ScatterSeriesConfig+: - { - '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFrom(value): { ScatterSeriesConfig+: { hideFrom: value } }, - '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFromMixin(value): { ScatterSeriesConfig+: { hideFrom+: value } }, - hideFrom+: - { - '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withLegend(value=true): { ScatterSeriesConfig+: { hideFrom+: { legend: value } } }, - '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withTooltip(value=true): { ScatterSeriesConfig+: { hideFrom+: { tooltip: value } } }, - '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withViz(value=true): { ScatterSeriesConfig+: { hideFrom+: { viz: value } } }, - }, - '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisBorderShow(value=true): { ScatterSeriesConfig+: { axisBorderShow: value } }, - '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisCenteredZero(value=true): { ScatterSeriesConfig+: { axisCenteredZero: value } }, - '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisColorMode(value): { ScatterSeriesConfig+: { axisColorMode: value } }, - '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisGridShow(value=true): { ScatterSeriesConfig+: { axisGridShow: value } }, - '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withAxisLabel(value): { ScatterSeriesConfig+: { axisLabel: value } }, - '#withAxisPlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'right', 'bottom', 'left', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisPlacement(value): { ScatterSeriesConfig+: { axisPlacement: value } }, - '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMax(value): { ScatterSeriesConfig+: { axisSoftMax: value } }, - '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMin(value): { ScatterSeriesConfig+: { axisSoftMin: value } }, - '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisWidth(value): { ScatterSeriesConfig+: { axisWidth: value } }, - '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistribution(value): { ScatterSeriesConfig+: { scaleDistribution: value } }, - '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistributionMixin(value): { ScatterSeriesConfig+: { scaleDistribution+: value } }, - scaleDistribution+: - { - '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLinearThreshold(value): { ScatterSeriesConfig+: { scaleDistribution+: { linearThreshold: value } } }, - '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLog(value): { ScatterSeriesConfig+: { scaleDistribution+: { log: value } } }, - '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withType(value): { ScatterSeriesConfig+: { scaleDistribution+: { type: value } } }, - }, - '#withLabel': { 'function': { args: [{ default: null, enums: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withLabel(value): { ScatterSeriesConfig+: { label: value } }, - '#withLabelValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLabelValue(value): { ScatterSeriesConfig+: { labelValue: value } }, - '#withLabelValueMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLabelValueMixin(value): { ScatterSeriesConfig+: { labelValue+: value } }, - labelValue+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { ScatterSeriesConfig+: { labelValue+: { field: value } } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFixed(value): { ScatterSeriesConfig+: { labelValue+: { fixed: value } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['fixed', 'field', 'template'], name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { ScatterSeriesConfig+: { labelValue+: { mode: value } } }, - }, - '#withLineColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLineColor(value): { ScatterSeriesConfig+: { lineColor: value } }, - '#withLineColorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLineColorMixin(value): { ScatterSeriesConfig+: { lineColor+: value } }, - lineColor+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { ScatterSeriesConfig+: { lineColor+: { field: value } } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFixed(value): { ScatterSeriesConfig+: { lineColor+: { fixed: value } } }, - }, - '#withLineStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyle(value): { ScatterSeriesConfig+: { lineStyle: value } }, - '#withLineStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyleMixin(value): { ScatterSeriesConfig+: { lineStyle+: value } }, - lineStyle+: - { - '#withDash': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDash(value): { ScatterSeriesConfig+: { lineStyle+: { dash: (if std.isArray(value) - then value - else [value]) } } }, - '#withDashMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDashMixin(value): { ScatterSeriesConfig+: { lineStyle+: { dash+: (if std.isArray(value) - then value - else [value]) } } }, - '#withFill': { 'function': { args: [{ default: null, enums: ['solid', 'dash', 'dot', 'square'], name: 'value', type: ['string'] }], help: '' } }, - withFill(value): { ScatterSeriesConfig+: { lineStyle+: { fill: value } } }, - }, - '#withLineWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withLineWidth(value): { ScatterSeriesConfig+: { lineWidth: value } }, - '#withPointColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPointColor(value): { ScatterSeriesConfig+: { pointColor: value } }, - '#withPointColorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPointColorMixin(value): { ScatterSeriesConfig+: { pointColor+: value } }, - pointColor+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { ScatterSeriesConfig+: { pointColor+: { field: value } } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFixed(value): { ScatterSeriesConfig+: { pointColor+: { fixed: value } } }, - }, - '#withPointSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPointSize(value): { ScatterSeriesConfig+: { pointSize: value } }, - '#withPointSizeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPointSizeMixin(value): { ScatterSeriesConfig+: { pointSize+: value } }, - pointSize+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { ScatterSeriesConfig+: { pointSize+: { field: value } } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withFixed(value): { ScatterSeriesConfig+: { pointSize+: { fixed: value } } }, - '#withMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMax(value): { ScatterSeriesConfig+: { pointSize+: { max: value } } }, - '#withMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMin(value): { ScatterSeriesConfig+: { pointSize+: { min: value } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['linear', 'quad'], name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { ScatterSeriesConfig+: { pointSize+: { mode: value } } }, - }, - '#withShow': { 'function': { args: [{ default: null, enums: ['points', 'lines', 'points+lines'], name: 'value', type: ['string'] }], help: '' } }, - withShow(value): { ScatterSeriesConfig+: { show: value } }, - '#withFrame': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withFrame(value): { ScatterSeriesConfig+: { frame: value } }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { ScatterSeriesConfig+: { name: value } }, - '#withX': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withX(value): { ScatterSeriesConfig+: { x: value } }, - '#withY': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withY(value): { ScatterSeriesConfig+: { y: value } }, - }, - '#withScatterShow': { 'function': { args: [{ default: null, enums: ['points', 'lines', 'points+lines'], name: 'value', type: ['string'] }], help: '' } }, - withScatterShow(value): { ScatterShow: value }, - '#withSeriesMapping': { 'function': { args: [{ default: null, enums: ['auto', 'manual'], name: 'value', type: ['string'] }], help: 'Auto is "table" in the UI' } }, - withSeriesMapping(value): { SeriesMapping: value }, - '#withXYDimensionConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Configuration for the Table/Auto mode' } }, - withXYDimensionConfig(value): { XYDimensionConfig: value }, - '#withXYDimensionConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Configuration for the Table/Auto mode' } }, - withXYDimensionConfigMixin(value): { XYDimensionConfig+: value }, - XYDimensionConfig+: - { - '#withExclude': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withExclude(value): { XYDimensionConfig+: { exclude: (if std.isArray(value) - then value - else [value]) } }, - '#withExcludeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withExcludeMixin(value): { XYDimensionConfig+: { exclude+: (if std.isArray(value) - then value - else [value]) } }, - '#withFrame': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withFrame(value): { XYDimensionConfig+: { frame: value } }, - '#withX': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withX(value): { XYDimensionConfig+: { x: value } }, - }, - '#withFieldConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withFieldConfig(value): { fieldConfig: value }, - '#withFieldConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withFieldConfigMixin(value): { fieldConfig+: value }, - fieldConfig+: - { - '#withDefaults': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withDefaults(value): { fieldConfig+: { defaults: value } }, - '#withDefaultsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withDefaultsMixin(value): { fieldConfig+: { defaults+: value } }, - defaults+: - { - '#withCustom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCustom(value): { fieldConfig+: { defaults+: { custom: value } } }, - '#withCustomMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCustomMixin(value): { fieldConfig+: { defaults+: { custom+: value } } }, - custom+: - { - '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFrom(value): { fieldConfig+: { defaults+: { custom+: { hideFrom: value } } } }, - '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFromMixin(value): { fieldConfig+: { defaults+: { custom+: { hideFrom+: value } } } }, - hideFrom+: - { - '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withLegend(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { legend: value } } } } }, - '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withTooltip(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { tooltip: value } } } } }, - '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withViz(value=true): { fieldConfig+: { defaults+: { custom+: { hideFrom+: { viz: value } } } } }, - }, - '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisBorderShow(value=true): { fieldConfig+: { defaults+: { custom+: { axisBorderShow: value } } } }, - '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisCenteredZero(value=true): { fieldConfig+: { defaults+: { custom+: { axisCenteredZero: value } } } }, - '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisColorMode(value): { fieldConfig+: { defaults+: { custom+: { axisColorMode: value } } } }, - '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisGridShow(value=true): { fieldConfig+: { defaults+: { custom+: { axisGridShow: value } } } }, - '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withAxisLabel(value): { fieldConfig+: { defaults+: { custom+: { axisLabel: value } } } }, - '#withAxisPlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'right', 'bottom', 'left', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisPlacement(value): { fieldConfig+: { defaults+: { custom+: { axisPlacement: value } } } }, - '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMax(value): { fieldConfig+: { defaults+: { custom+: { axisSoftMax: value } } } }, - '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMin(value): { fieldConfig+: { defaults+: { custom+: { axisSoftMin: value } } } }, - '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisWidth(value): { fieldConfig+: { defaults+: { custom+: { axisWidth: value } } } }, - '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistribution(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution: value } } } }, - '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistributionMixin(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: value } } } }, - scaleDistribution+: - { - '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLinearThreshold(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { linearThreshold: value } } } } }, - '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLog(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { log: value } } } } }, - '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withType(value): { fieldConfig+: { defaults+: { custom+: { scaleDistribution+: { type: value } } } } }, - }, - '#withLabel': { 'function': { args: [{ default: null, enums: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withLabel(value): { fieldConfig+: { defaults+: { custom+: { label: value } } } }, - '#withLabelValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLabelValue(value): { fieldConfig+: { defaults+: { custom+: { labelValue: value } } } }, - '#withLabelValueMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLabelValueMixin(value): { fieldConfig+: { defaults+: { custom+: { labelValue+: value } } } }, - labelValue+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { fieldConfig+: { defaults+: { custom+: { labelValue+: { field: value } } } } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFixed(value): { fieldConfig+: { defaults+: { custom+: { labelValue+: { fixed: value } } } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['fixed', 'field', 'template'], name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { fieldConfig+: { defaults+: { custom+: { labelValue+: { mode: value } } } } }, - }, - '#withLineColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLineColor(value): { fieldConfig+: { defaults+: { custom+: { lineColor: value } } } }, - '#withLineColorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLineColorMixin(value): { fieldConfig+: { defaults+: { custom+: { lineColor+: value } } } }, - lineColor+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { fieldConfig+: { defaults+: { custom+: { lineColor+: { field: value } } } } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFixed(value): { fieldConfig+: { defaults+: { custom+: { lineColor+: { fixed: value } } } } }, - }, - '#withLineStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyle(value): { fieldConfig+: { defaults+: { custom+: { lineStyle: value } } } }, - '#withLineStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyleMixin(value): { fieldConfig+: { defaults+: { custom+: { lineStyle+: value } } } }, - lineStyle+: - { - '#withDash': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDash(value): { fieldConfig+: { defaults+: { custom+: { lineStyle+: { dash: (if std.isArray(value) - then value - else [value]) } } } } }, - '#withDashMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDashMixin(value): { fieldConfig+: { defaults+: { custom+: { lineStyle+: { dash+: (if std.isArray(value) - then value - else [value]) } } } } }, - '#withFill': { 'function': { args: [{ default: null, enums: ['solid', 'dash', 'dot', 'square'], name: 'value', type: ['string'] }], help: '' } }, - withFill(value): { fieldConfig+: { defaults+: { custom+: { lineStyle+: { fill: value } } } } }, - }, - '#withLineWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withLineWidth(value): { fieldConfig+: { defaults+: { custom+: { lineWidth: value } } } }, - '#withPointColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPointColor(value): { fieldConfig+: { defaults+: { custom+: { pointColor: value } } } }, - '#withPointColorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPointColorMixin(value): { fieldConfig+: { defaults+: { custom+: { pointColor+: value } } } }, - pointColor+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { fieldConfig+: { defaults+: { custom+: { pointColor+: { field: value } } } } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFixed(value): { fieldConfig+: { defaults+: { custom+: { pointColor+: { fixed: value } } } } }, - }, - '#withPointSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPointSize(value): { fieldConfig+: { defaults+: { custom+: { pointSize: value } } } }, - '#withPointSizeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPointSizeMixin(value): { fieldConfig+: { defaults+: { custom+: { pointSize+: value } } } }, - pointSize+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { fieldConfig+: { defaults+: { custom+: { pointSize+: { field: value } } } } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withFixed(value): { fieldConfig+: { defaults+: { custom+: { pointSize+: { fixed: value } } } } }, - '#withMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMax(value): { fieldConfig+: { defaults+: { custom+: { pointSize+: { max: value } } } } }, - '#withMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMin(value): { fieldConfig+: { defaults+: { custom+: { pointSize+: { min: value } } } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['linear', 'quad'], name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { fieldConfig+: { defaults+: { custom+: { pointSize+: { mode: value } } } } }, - }, - '#withShow': { 'function': { args: [{ default: null, enums: ['points', 'lines', 'points+lines'], name: 'value', type: ['string'] }], help: '' } }, - withShow(value): { fieldConfig+: { defaults+: { custom+: { show: value } } } }, - }, - }, - }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptions(value): { options: value }, - '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptionsMixin(value): { options+: value }, - options+: - { - '#withLegend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLegend(value): { options+: { legend: value } }, - '#withLegendMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLegendMixin(value): { options+: { legend+: value } }, - legend+: - { - '#withAsTable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAsTable(value=true): { options+: { legend+: { asTable: value } } }, - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcs(value): { options+: { legend+: { calcs: (if std.isArray(value) - then value - else [value]) } } }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCalcsMixin(value): { options+: { legend+: { calcs+: (if std.isArray(value) - then value - else [value]) } } }, - '#withDisplayMode': { 'function': { args: [{ default: null, enums: ['list', 'table', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs\nNote: "hidden" needs to remain as an option for plugins compatibility' } }, - withDisplayMode(value): { options+: { legend+: { displayMode: value } } }, - '#withIsVisible': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withIsVisible(value=true): { options+: { legend+: { isVisible: value } } }, - '#withPlacement': { 'function': { args: [{ default: null, enums: ['bottom', 'right'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withPlacement(value): { options+: { legend+: { placement: value } } }, - '#withShowLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowLegend(value=true): { options+: { legend+: { showLegend: value } } }, - '#withSortBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withSortBy(value): { options+: { legend+: { sortBy: value } } }, - '#withSortDesc': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withSortDesc(value=true): { options+: { legend+: { sortDesc: value } } }, - '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withWidth(value): { options+: { legend+: { width: value } } }, - }, - '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltip(value): { options+: { tooltip: value } }, - '#withTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTooltipMixin(value): { options+: { tooltip+: value } }, - tooltip+: - { - '#withMaxHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxHeight(value): { options+: { tooltip+: { maxHeight: value } } }, - '#withMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMaxWidth(value): { options+: { tooltip+: { maxWidth: value } } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['single', 'multi', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withMode(value): { options+: { tooltip+: { mode: value } } }, - '#withSort': { 'function': { args: [{ default: null, enums: ['asc', 'desc', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withSort(value): { options+: { tooltip+: { sort: value } } }, - }, - '#withDims': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Configuration for the Table/Auto mode' } }, - withDims(value): { options+: { dims: value } }, - '#withDimsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Configuration for the Table/Auto mode' } }, - withDimsMixin(value): { options+: { dims+: value } }, - dims+: - { - '#withExclude': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withExclude(value): { options+: { dims+: { exclude: (if std.isArray(value) - then value - else [value]) } } }, - '#withExcludeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withExcludeMixin(value): { options+: { dims+: { exclude+: (if std.isArray(value) - then value - else [value]) } } }, - '#withFrame': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withFrame(value): { options+: { dims+: { frame: value } } }, - '#withX': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withX(value): { options+: { dims+: { x: value } } }, - }, - '#withSeries': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Manual Mode' } }, - withSeries(value): { options+: { series: (if std.isArray(value) - then value - else [value]) } }, - '#withSeriesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Manual Mode' } }, - withSeriesMixin(value): { options+: { series+: (if std.isArray(value) - then value - else [value]) } }, - series+: - { - '#': { help: '', name: 'series' }, - '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFrom(value): { hideFrom: value }, - '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFromMixin(value): { hideFrom+: value }, - hideFrom+: - { - '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withLegend(value=true): { hideFrom+: { legend: value } }, - '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withTooltip(value=true): { hideFrom+: { tooltip: value } }, - '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withViz(value=true): { hideFrom+: { viz: value } }, - }, - '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisBorderShow(value=true): { axisBorderShow: value }, - '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisCenteredZero(value=true): { axisCenteredZero: value }, - '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisColorMode(value): { axisColorMode: value }, - '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisGridShow(value=true): { axisGridShow: value }, - '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withAxisLabel(value): { axisLabel: value }, - '#withAxisPlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'right', 'bottom', 'left', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisPlacement(value): { axisPlacement: value }, - '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMax(value): { axisSoftMax: value }, - '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMin(value): { axisSoftMin: value }, - '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisWidth(value): { axisWidth: value }, - '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistribution(value): { scaleDistribution: value }, - '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistributionMixin(value): { scaleDistribution+: value }, - scaleDistribution+: - { - '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLinearThreshold(value): { scaleDistribution+: { linearThreshold: value } }, - '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLog(value): { scaleDistribution+: { log: value } }, - '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withType(value): { scaleDistribution+: { type: value } }, - }, - '#withLabel': { 'function': { args: [{ default: null, enums: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withLabel(value): { label: value }, - '#withLabelValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLabelValue(value): { labelValue: value }, - '#withLabelValueMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLabelValueMixin(value): { labelValue+: value }, - labelValue+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { labelValue+: { field: value } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFixed(value): { labelValue+: { fixed: value } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['fixed', 'field', 'template'], name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { labelValue+: { mode: value } }, - }, - '#withLineColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLineColor(value): { lineColor: value }, - '#withLineColorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withLineColorMixin(value): { lineColor+: value }, - lineColor+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { lineColor+: { field: value } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFixed(value): { lineColor+: { fixed: value } }, - }, - '#withLineStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyle(value): { lineStyle: value }, - '#withLineStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyleMixin(value): { lineStyle+: value }, - lineStyle+: - { - '#withDash': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDash(value): { lineStyle+: { dash: (if std.isArray(value) - then value - else [value]) } }, - '#withDashMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withDashMixin(value): { lineStyle+: { dash+: (if std.isArray(value) - then value - else [value]) } }, - '#withFill': { 'function': { args: [{ default: null, enums: ['solid', 'dash', 'dot', 'square'], name: 'value', type: ['string'] }], help: '' } }, - withFill(value): { lineStyle+: { fill: value } }, - }, - '#withLineWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withLineWidth(value): { lineWidth: value }, - '#withPointColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPointColor(value): { pointColor: value }, - '#withPointColorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPointColorMixin(value): { pointColor+: value }, - pointColor+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { pointColor+: { field: value } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFixed(value): { pointColor+: { fixed: value } }, - }, - '#withPointSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPointSize(value): { pointSize: value }, - '#withPointSizeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPointSizeMixin(value): { pointSize+: value }, - pointSize+: - { - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, - withField(value): { pointSize+: { field: value } }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withFixed(value): { pointSize+: { fixed: value } }, - '#withMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMax(value): { pointSize+: { max: value } }, - '#withMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withMin(value): { pointSize+: { min: value } }, - '#withMode': { 'function': { args: [{ default: null, enums: ['linear', 'quad'], name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { pointSize+: { mode: value } }, - }, - '#withShow': { 'function': { args: [{ default: null, enums: ['points', 'lines', 'points+lines'], name: 'value', type: ['string'] }], help: '' } }, - withShow(value): { show: value }, - '#withFrame': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withFrame(value): { frame: value }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { name: value }, - '#withX': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withX(value): { x: value }, - '#withY': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withY(value): { y: value }, - }, - '#withSeriesMapping': { 'function': { args: [{ default: null, enums: ['auto', 'manual'], name: 'value', type: ['string'] }], help: 'Auto is "table" in the UI' } }, - withSeriesMapping(value): { options+: { seriesMapping: value } }, - }, - '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'xychart' }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/loki.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/loki.libsonnet deleted file mode 100644 index 4760476..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/loki.libsonnet +++ /dev/null @@ -1,28 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.query.loki', name: 'loki' }, - '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, - withDatasource(value): { datasource: value }, - '#withEditorMode': { 'function': { args: [{ default: null, enums: ['code', 'builder'], name: 'value', type: ['string'] }], help: '' } }, - withEditorMode(value): { editorMode: value }, - '#withExpr': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The LogQL query.' } }, - withExpr(value): { expr: value }, - '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'true if query is disabled (ie should not be returned to the dashboard)\nNote this does not always imply that the query should not be executed since\nthe results from a hidden query may be used as the input to other queries (SSE etc)' } }, - withHide(value=true): { hide: value }, - '#withInstant': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '@deprecated, now use queryType.' } }, - withInstant(value=true): { instant: value }, - '#withLegendFormat': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Used to override the name of the series.' } }, - withLegendFormat(value): { legendFormat: value }, - '#withMaxLines': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Used to limit the number of log rows returned.' } }, - withMaxLines(value): { maxLines: value }, - '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specify the query flavor\nTODO make this required and give it a default' } }, - withQueryType(value): { queryType: value }, - '#withRange': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '@deprecated, now use queryType.' } }, - withRange(value=true): { range: value }, - '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A unique identifier for the query within the list of targets.\nIn server side expressions, the refId is used as a variable name to identify results.\nBy default, the UI will assign A->Z; however setting meaningful names may be useful.' } }, - withRefId(value): { refId: value }, - '#withResolution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '@deprecated, now use step.' } }, - withResolution(value): { resolution: value }, - '#withStep': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Used to set step value for range queries.' } }, - withStep(value): { step: value }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/testData.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/testData.libsonnet deleted file mode 100644 index e61083d..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/testData.libsonnet +++ /dev/null @@ -1,174 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.query.testData', name: 'testData' }, - '#withAlias': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withAlias(value): { alias: value }, - '#withChannel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withChannel(value): { channel: value }, - '#withCsvContent': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withCsvContent(value): { csvContent: value }, - '#withCsvFileName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withCsvFileName(value): { csvFileName: value }, - '#withCsvWave': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCsvWave(value): { csvWave: (if std.isArray(value) - then value - else [value]) }, - '#withCsvWaveMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withCsvWaveMixin(value): { csvWave+: (if std.isArray(value) - then value - else [value]) }, - csvWave+: - { - '#': { help: '', name: 'csvWave' }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLabels(value): { labels: value }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { name: value }, - '#withTimeStep': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withTimeStep(value): { timeStep: value }, - '#withValuesCSV': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withValuesCSV(value): { valuesCSV: value }, - }, - '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, - withDatasource(value): { datasource: value }, - '#withDropPercent': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Drop percentage (the chance we will lose a point 0-100)' } }, - withDropPercent(value): { dropPercent: value }, - '#withErrorType': { 'function': { args: [{ default: null, enums: ['server_panic', 'frontend_exception', 'frontend_observable'], name: 'value', type: ['string'] }], help: '' } }, - withErrorType(value): { errorType: value }, - '#withFlamegraphDiff': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withFlamegraphDiff(value=true): { flamegraphDiff: value }, - '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'true if query is disabled (ie should not be returned to the dashboard)\nNote this does not always imply that the query should not be executed since\nthe results from a hidden query may be used as the input to other queries (SSE etc)' } }, - withHide(value=true): { hide: value }, - '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLabels(value): { labels: value }, - '#withLevelColumn': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withLevelColumn(value=true): { levelColumn: value }, - '#withLines': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withLines(value): { lines: value }, - '#withNodes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withNodes(value): { nodes: value }, - '#withNodesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withNodesMixin(value): { nodes+: value }, - nodes+: - { - '#withCount': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withCount(value): { nodes+: { count: value } }, - '#withSeed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withSeed(value): { nodes+: { seed: value } }, - '#withType': { 'function': { args: [{ default: null, enums: ['random', 'response_small', 'response_medium', 'random edges'], name: 'value', type: ['string'] }], help: '' } }, - withType(value): { nodes+: { type: value } }, - }, - '#withPoints': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withPoints(value): { points: (if std.isArray(value) - then value - else [value]) }, - '#withPointsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withPointsMixin(value): { points+: (if std.isArray(value) - then value - else [value]) }, - '#withPulseWave': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPulseWave(value): { pulseWave: value }, - '#withPulseWaveMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPulseWaveMixin(value): { pulseWave+: value }, - pulseWave+: - { - '#withOffCount': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withOffCount(value): { pulseWave+: { offCount: value } }, - '#withOffValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withOffValue(value): { pulseWave+: { offValue: value } }, - '#withOnCount': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withOnCount(value): { pulseWave+: { onCount: value } }, - '#withOnValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withOnValue(value): { pulseWave+: { onValue: value } }, - '#withTimeStep': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withTimeStep(value): { pulseWave+: { timeStep: value } }, - }, - '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specify the query flavor\nTODO make this required and give it a default' } }, - withQueryType(value): { queryType: value }, - '#withRawFrameContent': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withRawFrameContent(value): { rawFrameContent: value }, - '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A unique identifier for the query within the list of targets.\nIn server side expressions, the refId is used as a variable name to identify results.\nBy default, the UI will assign A->Z; however setting meaningful names may be useful.' } }, - withRefId(value): { refId: value }, - '#withScenarioId': { 'function': { args: [{ default: null, enums: ['random_walk', 'slow_query', 'random_walk_with_error', 'random_walk_table', 'exponential_heatmap_bucket_data', 'linear_heatmap_bucket_data', 'no_data_points', 'datapoints_outside_range', 'csv_metric_values', 'predictable_pulse', 'predictable_csv_wave', 'streaming_client', 'simulation', 'usa', 'live', 'grafana_api', 'arrow', 'annotations', 'table_static', 'server_error_500', 'logs', 'node_graph', 'flame_graph', 'raw_frame', 'csv_file', 'csv_content', 'trace', 'manual_entry', 'variables-query'], name: 'value', type: ['string'] }], help: '' } }, - withScenarioId(value): { scenarioId: value }, - '#withSeriesCount': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withSeriesCount(value): { seriesCount: value }, - '#withSim': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSim(value): { sim: value }, - '#withSimMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSimMixin(value): { sim+: value }, - sim+: - { - '#withConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withConfig(value): { sim+: { config: value } }, - '#withConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withConfigMixin(value): { sim+: { config+: value } }, - '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withKey(value): { sim+: { key: value } }, - '#withKeyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withKeyMixin(value): { sim+: { key+: value } }, - key+: - { - '#withTick': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withTick(value): { sim+: { key+: { tick: value } } }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { sim+: { key+: { type: value } } }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withUid(value): { sim+: { key+: { uid: value } } }, - }, - '#withLast': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withLast(value=true): { sim+: { last: value } }, - '#withStream': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withStream(value=true): { sim+: { stream: value } }, - }, - '#withSpanCount': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withSpanCount(value): { spanCount: value }, - '#withStream': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withStream(value): { stream: value }, - '#withStreamMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withStreamMixin(value): { stream+: value }, - stream+: - { - '#withBands': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withBands(value): { stream+: { bands: value } }, - '#withNoise': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withNoise(value): { stream+: { noise: value } }, - '#withSpeed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withSpeed(value): { stream+: { speed: value } }, - '#withSpread': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withSpread(value): { stream+: { spread: value } }, - '#withType': { 'function': { args: [{ default: null, enums: ['signal', 'logs', 'fetch', 'traces'], name: 'value', type: ['string'] }], help: '' } }, - withType(value): { stream+: { type: value } }, - '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withUrl(value): { stream+: { url: value } }, - }, - '#withStringInput': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withStringInput(value): { stringInput: value }, - '#withUsa': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withUsa(value): { usa: value }, - '#withUsaMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withUsaMixin(value): { usa+: value }, - usa+: - { - '#withFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withFields(value): { usa+: { fields: (if std.isArray(value) - then value - else [value]) } }, - '#withFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withFieldsMixin(value): { usa+: { fields+: (if std.isArray(value) - then value - else [value]) } }, - '#withMode': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { usa+: { mode: value } }, - '#withPeriod': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPeriod(value): { usa+: { period: value } }, - '#withStates': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withStates(value): { usa+: { states: (if std.isArray(value) - then value - else [value]) } }, - '#withStatesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withStatesMixin(value): { usa+: { states+: (if std.isArray(value) - then value - else [value]) } }, - }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/rolebinding.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/rolebinding.libsonnet deleted file mode 100644 index 7c16662..0000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/rolebinding.libsonnet +++ /dev/null @@ -1,44 +0,0 @@ -// This file is generated, do not manually edit. -{ - '#': { help: 'grafonnet.rolebinding', name: 'rolebinding' }, - '#withRole': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The role we are discussing' } }, - withRole(value): { role: value }, - '#withRoleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The role we are discussing' } }, - withRoleMixin(value): { role+: value }, - role+: - { - '#withBuiltinRoleRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withBuiltinRoleRef(value): { role+: { BuiltinRoleRef: value } }, - '#withBuiltinRoleRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withBuiltinRoleRefMixin(value): { role+: { BuiltinRoleRef+: value } }, - BuiltinRoleRef+: - { - '#withKind': { 'function': { args: [{ default: null, enums: ['BuiltinRole'], name: 'value', type: ['string'] }], help: '' } }, - withKind(value): { role+: { kind: value } }, - '#withName': { 'function': { args: [{ default: null, enums: ['viewer', 'editor', 'admin'], name: 'value', type: ['string'] }], help: '' } }, - withName(value): { role+: { name: value } }, - }, - '#withCustomRoleRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCustomRoleRef(value): { role+: { CustomRoleRef: value } }, - '#withCustomRoleRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCustomRoleRefMixin(value): { role+: { CustomRoleRef+: value } }, - CustomRoleRef+: - { - '#withKind': { 'function': { args: [{ default: null, enums: ['Role'], name: 'value', type: ['string'] }], help: '' } }, - withKind(value): { role+: { kind: value } }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { role+: { name: value } }, - }, - }, - '#withSubject': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSubject(value): { subject: value }, - '#withSubjectMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSubjectMixin(value): { subject+: value }, - subject+: - { - '#withKind': { 'function': { args: [{ default: null, enums: ['Team', 'User'], name: 'value', type: ['string'] }], help: '' } }, - withKind(value): { subject+: { kind: value } }, - '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The team/user identifier name' } }, - withName(value): { subject+: { name: value } }, - }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/accesspolicy.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/accesspolicy.libsonnet new file mode 100644 index 0000000..2f07e07 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/accesspolicy.libsonnet @@ -0,0 +1,90 @@ +// This file is generated, do not manually edit. +{ + '#': { help: 'grafonnet.accesspolicy', name: 'accesspolicy' }, + '#withRole': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The role that must apply this policy' } }, + withRole(value): { + role: value, + }, + '#withRoleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The role that must apply this policy' } }, + withRoleMixin(value): { + role+: value, + }, + role+: + { + '#withKind': { 'function': { args: [{ default: null, enums: ['Role', 'BuiltinRole', 'Team', 'User'], name: 'value', type: ['string'] }], help: 'Policies can apply to roles, teams, or users\nApplying policies to individual users is supported, but discouraged' } }, + withKind(value): { + role+: { + kind: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + role+: { + name: value, + }, + }, + '#withXname': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withXname(value): { + role+: { + xname: value, + }, + }, + }, + '#withRules': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'The set of rules to apply. Note that * is required to modify\naccess policy rules, and that "none" will reject all actions' } }, + withRules(value): { + rules: + (if std.isArray(value) + then value + else [value]), + }, + '#withRulesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'The set of rules to apply. Note that * is required to modify\naccess policy rules, and that "none" will reject all actions' } }, + withRulesMixin(value): { + rules+: + (if std.isArray(value) + then value + else [value]), + }, + rules+: + { + '#': { help: '', name: 'rules' }, + '#withKind': { 'function': { args: [{ default: '*', enums: null, name: 'value', type: ['string'] }], help: 'The kind this rule applies to (dashboards, alert, etc)' } }, + withKind(value='*'): { + kind: value, + }, + '#withTarget': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specific sub-elements like "alert.rules" or "dashboard.permissions"????' } }, + withTarget(value): { + target: value, + }, + '#withVerb': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'string', 'string'] }], help: 'READ, WRITE, CREATE, DELETE, ...\nshould move to k8s style verbs like: "get", "list", "watch", "create", "update", "patch", "delete"' } }, + withVerb(value): { + verb: value, + }, + '#withVerbMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'string', 'string'] }], help: 'READ, WRITE, CREATE, DELETE, ...\nshould move to k8s style verbs like: "get", "list", "watch", "create", "update", "patch", "delete"' } }, + withVerbMixin(value): { + verb+: value, + }, + }, + '#withScope': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The scope where these policies should apply' } }, + withScope(value): { + scope: value, + }, + '#withScopeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The scope where these policies should apply' } }, + withScopeMixin(value): { + scope+: value, + }, + scope+: + { + '#withKind': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withKind(value): { + scope+: { + kind: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + scope+: { + name: value, + }, + }, + }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/alerting.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/alerting.libsonnet similarity index 82% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/alerting.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/alerting.libsonnet index 621020b..c5e1415 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/alerting.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/alerting.libsonnet @@ -5,5 +5,5 @@ notificationPolicy: import 'clean/alerting/notificationPolicy.libsonnet', muteTiming: import 'clean/alerting/muteTiming.libsonnet', ruleGroup: import 'clean/alerting/ruleGroup.libsonnet', - messageTemplate: import 'clean/alerting/messageTemplate.libsonnet', + notificationTemplate: import 'clean/alerting/notificationTemplate.libsonnet', } diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/clean/alerting/contactPoint.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/clean/alerting/contactPoint.libsonnet new file mode 100644 index 0000000..b7678f9 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/clean/alerting/contactPoint.libsonnet @@ -0,0 +1,33 @@ +// This file is generated, do not manually edit. +{ + '#': { help: 'grafonnet.alerting.contactPoint', name: 'contactPoint' }, + '#withDisableResolveMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'EmbeddedContactPoint is the contact point type that is used\nby grafanas embedded alertmanager implementation.' } }, + withDisableResolveMessage(value=true): { + disableResolveMessage: value, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'EmbeddedContactPoint is the contact point type that is used\nby grafanas embedded alertmanager implementation.' } }, + withName(value): { + name: value, + }, + '#withProvenance': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'EmbeddedContactPoint is the contact point type that is used\nby grafanas embedded alertmanager implementation.' } }, + withProvenance(value): { + provenance: value, + }, + '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'EmbeddedContactPoint is the contact point type that is used\nby grafanas embedded alertmanager implementation.' } }, + withSettings(value): { + settings: value, + }, + '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'EmbeddedContactPoint is the contact point type that is used\nby grafanas embedded alertmanager implementation.' } }, + withSettingsMixin(value): { + settings+: value, + }, + '#withType': { 'function': { args: [{ default: null, enums: ['alertmanager', ' dingding', ' discord', ' email', ' googlechat', ' kafka', ' line', ' opsgenie', ' pagerduty', ' pushover', ' sensugo', ' slack', ' teams', ' telegram', ' threema', ' victorops', ' webhook', ' wecom'], name: 'value', type: ['string'] }], help: 'EmbeddedContactPoint is the contact point type that is used\nby grafanas embedded alertmanager implementation.' } }, + withType(value): { + type: value, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'EmbeddedContactPoint is the contact point type that is used\nby grafanas embedded alertmanager implementation.' } }, + withUid(value): { + uid: value, + }, +} ++ (import '../../custom/alerting/contactPoint.libsonnet') diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/clean/alerting/muteTiming.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/clean/alerting/muteTiming.libsonnet new file mode 100644 index 0000000..a36d339 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/clean/alerting/muteTiming.libsonnet @@ -0,0 +1,135 @@ +// This file is generated, do not manually edit. +{ + '#': { help: 'grafonnet.alerting.muteTiming', name: 'muteTiming' }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + name: value, + }, + '#withTimeIntervals': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withTimeIntervals(value): { + time_intervals: + (if std.isArray(value) + then value + else [value]), + }, + '#withTimeIntervalsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withTimeIntervalsMixin(value): { + time_intervals+: + (if std.isArray(value) + then value + else [value]), + }, + interval+: + { + '#': { help: '', name: 'interval' }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + name: value, + }, + '#withTimeIntervals': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withTimeIntervals(value): { + time_intervals: + (if std.isArray(value) + then value + else [value]), + }, + '#withTimeIntervalsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withTimeIntervalsMixin(value): { + time_intervals+: + (if std.isArray(value) + then value + else [value]), + }, + time_intervals+: + { + '#': { help: '', name: 'time_intervals' }, + '#withDaysOfMonth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withDaysOfMonth(value): { + days_of_month: + (if std.isArray(value) + then value + else [value]), + }, + '#withDaysOfMonthMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withDaysOfMonthMixin(value): { + days_of_month+: + (if std.isArray(value) + then value + else [value]), + }, + '#withLocation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withLocation(value): { + location: value, + }, + '#withMonths': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withMonths(value): { + months: + (if std.isArray(value) + then value + else [value]), + }, + '#withMonthsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withMonthsMixin(value): { + months+: + (if std.isArray(value) + then value + else [value]), + }, + '#withTimes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withTimes(value): { + times: + (if std.isArray(value) + then value + else [value]), + }, + '#withTimesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withTimesMixin(value): { + times+: + (if std.isArray(value) + then value + else [value]), + }, + times+: + { + '#': { help: '', name: 'times' }, + '#withEndTime': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withEndTime(value): { + end_time: value, + }, + '#withStartTime': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withStartTime(value): { + start_time: value, + }, + }, + '#withWeekdays': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withWeekdays(value): { + weekdays: + (if std.isArray(value) + then value + else [value]), + }, + '#withWeekdaysMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withWeekdaysMixin(value): { + weekdays+: + (if std.isArray(value) + then value + else [value]), + }, + '#withYears': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withYears(value): { + years: + (if std.isArray(value) + then value + else [value]), + }, + '#withYearsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withYearsMixin(value): { + years+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, +} ++ (import '../../custom/alerting/muteTiming.libsonnet') diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/clean/alerting/notificationPolicy.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/clean/alerting/notificationPolicy.libsonnet new file mode 100644 index 0000000..618b6a9 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/clean/alerting/notificationPolicy.libsonnet @@ -0,0 +1,97 @@ +// This file is generated, do not manually edit. +{ + '#': { help: 'grafonnet.alerting.notificationPolicy', name: 'notificationPolicy' }, + '#withContinue': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'A Route is a node that contains definitions of how to handle alerts. This is modified\nfrom the upstream alertmanager in that it adds the ObjectMatchers property.' } }, + withContinue(value=true): { + continue: value, + }, + '#withGroupInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A Route is a node that contains definitions of how to handle alerts. This is modified\nfrom the upstream alertmanager in that it adds the ObjectMatchers property.' } }, + withGroupInterval(value): { + group_interval: value, + }, + '#withGroupWait': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A Route is a node that contains definitions of how to handle alerts. This is modified\nfrom the upstream alertmanager in that it adds the ObjectMatchers property.' } }, + withGroupWait(value): { + group_wait: value, + }, + '#withRepeatInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A Route is a node that contains definitions of how to handle alerts. This is modified\nfrom the upstream alertmanager in that it adds the ObjectMatchers property.' } }, + withRepeatInterval(value): { + repeat_interval: value, + }, + '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'A Route is a node that contains definitions of how to handle alerts. This is modified\nfrom the upstream alertmanager in that it adds the ObjectMatchers property.' } }, + withGroupBy(value): { + group_by: + (if std.isArray(value) + then value + else [value]), + }, + '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'A Route is a node that contains definitions of how to handle alerts. This is modified\nfrom the upstream alertmanager in that it adds the ObjectMatchers property.' } }, + withGroupByMixin(value): { + group_by+: + (if std.isArray(value) + then value + else [value]), + }, + '#withMatchers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Matchers is a slice of Matchers that is sortable, implements Stringer, and\nprovides a Matches method to match a LabelSet against all Matchers in the\nslice. Note that some users of Matchers might require it to be sorted.' } }, + withMatchers(value): { + matchers: + (if std.isArray(value) + then value + else [value]), + }, + '#withMatchersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Matchers is a slice of Matchers that is sortable, implements Stringer, and\nprovides a Matches method to match a LabelSet against all Matchers in the\nslice. Note that some users of Matchers might require it to be sorted.' } }, + withMatchersMixin(value): { + matchers+: + (if std.isArray(value) + then value + else [value]), + }, + '#withMuteTimeIntervals': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'A Route is a node that contains definitions of how to handle alerts. This is modified\nfrom the upstream alertmanager in that it adds the ObjectMatchers property.' } }, + withMuteTimeIntervals(value): { + mute_time_intervals: + (if std.isArray(value) + then value + else [value]), + }, + '#withMuteTimeIntervalsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'A Route is a node that contains definitions of how to handle alerts. This is modified\nfrom the upstream alertmanager in that it adds the ObjectMatchers property.' } }, + withMuteTimeIntervalsMixin(value): { + mute_time_intervals+: + (if std.isArray(value) + then value + else [value]), + }, + '#withReceiver': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A Route is a node that contains definitions of how to handle alerts. This is modified\nfrom the upstream alertmanager in that it adds the ObjectMatchers property.' } }, + withReceiver(value): { + receiver: value, + }, + '#withRoutes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'A Route is a node that contains definitions of how to handle alerts. This is modified\nfrom the upstream alertmanager in that it adds the ObjectMatchers property.' } }, + withRoutes(value): { + routes: + (if std.isArray(value) + then value + else [value]), + }, + '#withRoutesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'A Route is a node that contains definitions of how to handle alerts. This is modified\nfrom the upstream alertmanager in that it adds the ObjectMatchers property.' } }, + withRoutesMixin(value): { + routes+: + (if std.isArray(value) + then value + else [value]), + }, + matcher+: + { + '#': { help: '', name: 'matcher' }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + Name: value, + }, + '#withType': { 'function': { args: [{ default: null, enums: ['=', '!=', '=~', '!~'], name: 'value', type: ['string'] }], help: '' } }, + withType(value): { + Type: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withValue(value): { + Value: value, + }, + }, +} ++ (import '../../custom/alerting/notificationPolicy.libsonnet') diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/alerting/messageTemplate.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/clean/alerting/notificationTemplate.libsonnet similarity index 63% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/alerting/messageTemplate.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/clean/alerting/notificationTemplate.libsonnet index 098d4e1..fe210e8 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/alerting/messageTemplate.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/clean/alerting/notificationTemplate.libsonnet @@ -1,10 +1,16 @@ // This file is generated, do not manually edit. { - '#': { help: 'grafonnet.alerting.messageTemplate', name: 'messageTemplate' }, + '#': { help: 'grafonnet.alerting.notificationTemplate', name: 'notificationTemplate' }, '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { name: value }, + withName(value): { + name: value, + }, '#withProvenance': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withProvenance(value): { provenance: value }, + withProvenance(value): { + provenance: value, + }, '#withTemplate': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withTemplate(value): { template: value }, + withTemplate(value): { + template: value, + }, } diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/clean/alerting/ruleGroup.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/clean/alerting/ruleGroup.libsonnet new file mode 100644 index 0000000..f844a0a --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/clean/alerting/ruleGroup.libsonnet @@ -0,0 +1,147 @@ +// This file is generated, do not manually edit. +{ + '#': { help: 'grafonnet.alerting.ruleGroup', name: 'ruleGroup' }, + '#withFolderUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withFolderUid(value): { + folderUid: value, + }, + '#withInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Duration in seconds.' } }, + withInterval(value): { + interval: value, + }, + '#withRules': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withRules(value): { + rules: + (if std.isArray(value) + then value + else [value]), + }, + '#withRulesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withRulesMixin(value): { + rules+: + (if std.isArray(value) + then value + else [value]), + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withTitle(value): { + title: value, + }, + rule+: + { + '#withAnnotations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withAnnotations(value): { + annotations: value, + }, + '#withAnnotationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withAnnotationsMixin(value): { + annotations+: value, + }, + '#withCondition': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withCondition(value): { + condition: value, + }, + '#withData': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withData(value): { + data: + (if std.isArray(value) + then value + else [value]), + }, + '#withDataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withDataMixin(value): { + data+: + (if std.isArray(value) + then value + else [value]), + }, + '#withExecErrState': { 'function': { args: [{ default: null, enums: ['OK', 'Alerting', 'Error'], name: 'value', type: ['string'] }], help: '' } }, + withExecErrState(value): { + execErrState: value, + }, + '#withFolderUID': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withFolderUID(value): { + folderUID: value, + }, + '#withFor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The amount of time, in seconds, for which the rule must be breached for the rule to be considered to be Firing.\nBefore this time has elapsed, the rule is only considered to be Pending.' } }, + withFor(value): { + 'for': value, + }, + '#withIsPaused': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withIsPaused(value=true): { + isPaused: value, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withLabels(value): { + labels: value, + }, + '#withLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withLabelsMixin(value): { + labels+: value, + }, + '#withNoDataState': { 'function': { args: [{ default: null, enums: ['Alerting', 'NoData', 'OK'], name: 'value', type: ['string'] }], help: '' } }, + withNoDataState(value): { + noDataState: value, + }, + '#withOrgID': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withOrgID(value): { + orgID: value, + }, + '#withRuleGroup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withRuleGroup(value): { + ruleGroup: value, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withTitle(value): { + title: value, + }, + data+: + { + '#': { help: '', name: 'data' }, + '#withDatasourceUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withDatasourceUid(value): { + datasourceUid: value, + }, + '#withModel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withModel(value): { + model: value, + }, + '#withModelMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withModelMixin(value): { + model+: value, + }, + '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withQueryType(value): { + queryType: value, + }, + '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withRefId(value): { + refId: value, + }, + '#withRelativeTimeRange': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'RelativeTimeRange is the per query start and end time\nfor requests.' } }, + withRelativeTimeRange(value): { + relativeTimeRange: value, + }, + '#withRelativeTimeRangeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'RelativeTimeRange is the per query start and end time\nfor requests.' } }, + withRelativeTimeRangeMixin(value): { + relativeTimeRange+: value, + }, + relativeTimeRange+: + { + '#withFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Duration in seconds.' } }, + withFrom(value): { + relativeTimeRange+: { + from: value, + }, + }, + '#withTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Duration in seconds.' } }, + withTo(value): { + relativeTimeRange+: { + to: value, + }, + }, + }, + }, + }, +} ++ (import '../../custom/alerting/ruleGroup.libsonnet') diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/alerting/contactPoint.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/alerting/contactPoint.libsonnet similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/alerting/contactPoint.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/alerting/contactPoint.libsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/alerting/muteTiming.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/alerting/muteTiming.libsonnet similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/alerting/muteTiming.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/alerting/muteTiming.libsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/alerting/notificationPolicy.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/alerting/notificationPolicy.libsonnet similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/alerting/notificationPolicy.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/alerting/notificationPolicy.libsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/alerting/ruleGroup.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/alerting/ruleGroup.libsonnet similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/alerting/ruleGroup.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/alerting/ruleGroup.libsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/dashboard.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/dashboard.libsonnet similarity index 92% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/dashboard.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/dashboard.libsonnet index 1478f3d..ea8cb55 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/dashboard.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/dashboard.libsonnet @@ -13,6 +13,11 @@ local d = import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'; + self.time.withFrom('now-6h') + self.time.withTo('now'), + '#withSchemaVersion': { 'function'+: { args: [d.arg('value', d.T.integer, default=39)] } }, + withSchemaVersion(value=39): { + schemaVersion: value, + }, + '#withPanels':: d.func.new( '`withPanels` sets the panels on a dashboard authoratively. It automatically adds IDs to the panels, this can be disabled with `setPanelIDs=false`.', args=[ diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/dashboard/annotation.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/dashboard/annotation.libsonnet similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/dashboard/annotation.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/dashboard/annotation.libsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/dashboard/link.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/dashboard/link.libsonnet similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/dashboard/link.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/dashboard/link.libsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/dashboard/variable.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/dashboard/variable.libsonnet similarity index 97% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/dashboard/variable.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/dashboard/variable.libsonnet index d95565f..b4ce4d3 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/dashboard/variable.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/dashboard/variable.libsonnet @@ -132,7 +132,7 @@ local d = import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'; |||, args=[ d.arg('value', d.T.boolean, default=true), - d.arg('customAllValue', d.T.boolean, default=null), + d.arg('customAllValue', d.T.string, default=null), ] ), withIncludeAll(value=true, customAllValue=null): { @@ -259,6 +259,15 @@ local d = import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'; if metric == '' then var.withQuery('label_values(%s)' % label) else var.withQuery('label_values(%s, %s)' % [metric, label]), + + '#withQueryResult':: d.func.new( + 'Construct a Prometheus template variable using `query_result()`.', + args=[ + d.arg('query', d.T.string), + ] + ), + withQueryResult(query): + var.withQuery('query_result(%s)' % query), }, // Deliberately undocumented, use `refresh` below diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/panel.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/panel.libsonnet similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/panel.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/panel.libsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/azureMonitor.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/azureMonitor.libsonnet new file mode 100644 index 0000000..8926449 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/azureMonitor.libsonnet @@ -0,0 +1,17 @@ +local d = import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'; + +{ + '#withDatasource':: d.func.new( + 'Set the datasource for this query.', + args=[ + d.arg('value', d.T.string), + ] + ), + withDatasource(value): { + datasource+: { + type: 'grafana-azure-monitor-datasource', + uid: value, + }, + }, + '#withDatasourceMixin':: { ignore: true }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/cloudWatch.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/cloudWatch.libsonnet new file mode 100644 index 0000000..208ee65 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/cloudWatch.libsonnet @@ -0,0 +1,23 @@ +local d = import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'; + +{ + local withDatasourceStub = { + '#withDatasource':: d.func.new( + 'Set the datasource for this query.', + args=[ + d.arg('value', d.T.string), + ] + ), + withDatasource(value): { + datasource+: { + type: 'cloudwatch', + uid: value, + }, + }, + '#withDatasourceMixin':: { ignore: true }, + }, + + CloudWatchAnnotationQuery+: withDatasourceStub, + CloudWatchLogsQuery+: withDatasourceStub, + CloudWatchMetricsQuery+: withDatasourceStub, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/elasticsearch.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/elasticsearch.libsonnet new file mode 100644 index 0000000..7d1d54a --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/elasticsearch.libsonnet @@ -0,0 +1,20 @@ +local d = import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'; + +{ + bucketAggs+: { '#': { help: '', name: 'bucketAggs' } }, + metrics+: { '#': { help: '', name: 'metrics' } }, + + '#withDatasource':: d.func.new( + 'Set the datasource for this query.', + args=[ + d.arg('value', d.T.string), + ] + ), + withDatasource(value): { + datasource+: { + type: 'elasticsearch', + uid: value, + }, + }, + '#withDatasourceMixin':: { ignore: true }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/expr.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/expr.libsonnet new file mode 100644 index 0000000..02417b6 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/expr.libsonnet @@ -0,0 +1,12 @@ +{ + '#': { + help: 'Server Side Expression operations for grafonnet.alerting.ruleGroup.rule', + name: 'expr', + }, + TypeMath+: { '#': { help: 'grafonnet.query.expr.TypeMath', name: 'TypeMath' } }, + TypeReduce+: { '#': { help: 'grafonnet.query.expr.TypeReduce', name: 'TypeReduce' } }, + TypeResample+: { '#': { help: 'grafonnet.query.expr.TypeResample', name: 'TypeResample' } }, + TypeClassicConditions+: { '#': { help: 'grafonnet.query.expr.TypeClassicConditions', name: 'TypeClassicConditions' } }, + TypeThreshold+: { '#': { help: 'grafonnet.query.expr.TypeThreshold', name: 'TypeThreshold' } }, + TypeSql+: { '#': { help: 'grafonnet.query.expr.TypeSql', name: 'TypeSql' } }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/googleCloudMonitoring.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/googleCloudMonitoring.libsonnet new file mode 100644 index 0000000..1adaa99 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/googleCloudMonitoring.libsonnet @@ -0,0 +1,17 @@ +local d = import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'; + +{ + '#withDatasource':: d.func.new( + 'Set the datasource for this query.', + args=[ + d.arg('value', d.T.string), + ] + ), + withDatasource(value): { + datasource+: { + type: 'cloud-monitoring', + uid: value, + }, + }, + '#withDatasourceMixin':: { ignore: true }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/grafanaPyroscope.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/grafanaPyroscope.libsonnet new file mode 100644 index 0000000..2f52821 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/grafanaPyroscope.libsonnet @@ -0,0 +1,17 @@ +local d = import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'; + +{ + '#withDatasource':: d.func.new( + 'Set the datasource for this query.', + args=[ + d.arg('value', d.T.string), + ] + ), + withDatasource(value): { + datasource+: { + type: 'grafanapyroscope', + uid: value, + }, + }, + '#withDatasourceMixin':: { ignore: true }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/query/loki.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/loki.libsonnet similarity index 92% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/query/loki.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/loki.libsonnet index 9c19f83..4831145 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/query/loki.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/loki.libsonnet @@ -24,4 +24,5 @@ local d = import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'; uid: value, }, }, + '#withDatasourceMixin':: { ignore: true }, } diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/parca.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/parca.libsonnet new file mode 100644 index 0000000..35c454e --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/parca.libsonnet @@ -0,0 +1,17 @@ +local d = import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'; + +{ + '#withDatasource':: d.func.new( + 'Set the datasource for this query.', + args=[ + d.arg('value', d.T.string), + ] + ), + withDatasource(value): { + datasource+: { + type: 'parca', + uid: value, + }, + }, + '#withDatasourceMixin':: { ignore: true }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/query/prometheus.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/prometheus.libsonnet similarity index 95% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/query/prometheus.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/prometheus.libsonnet index 3abe221..68e1e05 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/query/prometheus.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/prometheus.libsonnet @@ -44,4 +44,5 @@ local d = import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'; uid: value, }, }, + '#withDatasourceMixin':: { ignore: true }, } diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/query/tempo.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/tempo.libsonnet similarity index 93% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/query/tempo.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/tempo.libsonnet index debcb73..f9fc910 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/query/tempo.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/tempo.libsonnet @@ -26,4 +26,5 @@ local d = import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'; uid: value, }, }, + '#withDatasourceMixin':: { ignore: true }, } diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/testData.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/testData.libsonnet new file mode 100644 index 0000000..b482dbc --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/query/testData.libsonnet @@ -0,0 +1,17 @@ +local d = import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'; + +{ + '#withDatasource':: d.func.new( + 'Set the datasource for this query.', + args=[ + d.arg('value', d.T.string), + ] + ), + withDatasource(): { + datasource+: { + type: 'datasource', + uid: 'grafana', + }, + }, + '#withDatasourceMixin':: { ignore: true }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/row.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/row.libsonnet similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/row.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/row.libsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/util/dashboard.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/util/dashboard.libsonnet similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/util/dashboard.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/util/dashboard.libsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/util/grid.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/util/grid.libsonnet similarity index 55% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/util/grid.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/util/grid.libsonnet index 90a7ec8..8214cdd 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/util/grid.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/util/grid.libsonnet @@ -90,77 +90,116 @@ local panelUtil = import './panel.libsonnet'; ], ), wrapPanels(panels, panelWidth=8, panelHeight=8, startY=0): + + local calculateGridPosForPanel(acc, panel) = + local gridPos = std.get(panel, 'gridPos', {}); + local width = std.get(gridPos, 'w', panelWidth); + local height = std.get(gridPos, 'h', panelHeight); + if acc.cursor.x + width > gridWidth + then + // start new row as width exceeds gridWidth + { + panels+: [ + panel + { + gridPos+: + { + x: 0, + y: acc.cursor.y + height, + w: width, + h: height, + }, + }, + ], + cursor+:: { + x: 0 + width, + y: acc.cursor.y + height, + maxH: if height > acc.cursor.maxH then height else acc.cursor.maxH, + }, + } + else + // enough width, place panel on current row + { + panels+: [ + panel + { + gridPos+: + { + x: acc.cursor.x, + y: acc.cursor.y, + w: width, + h: height, + }, + }, + ], + cursor+:: { + x: acc.cursor.x + width, + y: acc.cursor.y, + maxH: if height > acc.cursor.maxH then height else acc.cursor.maxH, + }, + }; + std.foldl( function(acc, panel) if panel.type == 'row' then - // when type=row, start new row immediatly and shift Y of new row by max height recorded - acc + { - panels+: [ - panel + { - gridPos+: + ( + if std.objectHas(panel, 'panels') && std.length(panel.panels) > 0 + then + local rowPanels = + std.foldl( + function(acc, panel) + acc + calculateGridPosForPanel(acc, panel), + panel.panels, { - x: acc.cursor.x, - y: acc.cursor.y + acc.cursor.maxH, - w: 0, - h: 1, - }, - }, - ], - cursor:: { - x: 0, - y: acc.cursor.y + acc.cursor.maxH + 1, - maxH: 0, - }, - } - else - // handle regular panel - local gridPos = std.get(panel, 'gridPos', {}); - local width = std.get(gridPos, 'w', panelWidth); - local height = std.get(gridPos, 'h', panelHeight); - if acc.cursor.x + width > gridWidth - then - // start new row as width exceeds gridWidth - acc + { - panels+: [ - panel + { - gridPos+: - { + panels+: [], + // initial + cursor:: { x: 0, - y: acc.cursor.y + height, - w: width, - h: height, + y: acc.cursor.y + acc.cursor.maxH + 1, + maxH: 0, }, - }, - ], - cursor+:: { - x: 0 + width, - y: acc.cursor.y + height, - maxH: if height > super.maxH then height else super.maxH, - }, - } - else - // enough width, place panel on current row - acc + { - panels+: [ - panel + { - gridPos+: - { - x: acc.cursor.x, - y: acc.cursor.y, - w: width, - h: height, + }, + ); + acc + { + panels+: [ + panel + { + //rows panels + panels: rowPanels.panels, + gridPos+: { + x: 0, + y: acc.cursor.y + acc.cursor.maxH, + w: 0, }, + + }, + ], + cursor:: rowPanels.cursor, + } + else + acc + { + panels+: [ + panel + { + panels: [], + gridPos+: + { + x: acc.cursor.x, + y: acc.cursor.y + acc.cursor.maxH, + w: 0, + h: 1, + }, + }, + ], + cursor:: { + x: 0, + y: acc.cursor.y + acc.cursor.maxH + 1, + maxH: 0, }, - ], - cursor+:: { - x: acc.cursor.x + width, - y: acc.cursor.y, - maxH: if height > super.maxH then height else super.maxH, - }, - }, + } + ) + else + // handle regular panel + acc + calculateGridPosForPanel(acc, panel), panels, - // Initial value for acc + // Initial value for acc: { panels: [], cursor:: { diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/util/main.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/util/main.libsonnet similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/util/main.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/util/main.libsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/util/panel.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/util/panel.libsonnet similarity index 74% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/util/panel.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/util/panel.libsonnet index 8d81cda..89e0bd7 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/util/panel.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/util/panel.libsonnet @@ -318,4 +318,103 @@ local xtd = import 'github.com/jsonnet-libs/xtd/main.libsonnet'; else p, panels ), + + + '#setRefIDs':: d.func.new( + ||| + `setRefIDs` calculates the `refId` field for each target on a panel. + |||, + args=[ + d.arg('panel', d.T.object), + d.arg('overrideExistingIDs', d.T.bool, default=true), + ] + ), + setRefIDs(panel, overrideExistingIDs=true): + local calculateRefID(n) = + // From: https://github.com/grafana/grafana/blob/bffd87107b786930edd091060143ee013843efac/packages/grafana-data/src/query/refId.ts#L15 + local letters = std.map(std.char, std.range(std.codepoint('A'), std.codepoint('Z'))); + if n < std.length(letters) + then letters[n] + else calculateRefID(std.floor(n / std.length(letters)) - 1) + letters[std.mod(n, std.length(letters))]; + panel + { + targets: + std.mapWithIndex( + function(i, target) + if overrideExistingIDs + || !std.objectHas(target, 'refId') + then target + { + refId: calculateRefID(i), + } + else target, + panel.targets, + ), + }, + + '#setRefIDsOnPanels':: d.func.new( + ||| + `setRefIDsOnPanels` applies `setRefIDs on all `panels`. + |||, + args=[ + d.arg('panels', d.T.array), + ] + ), + setRefIDsOnPanels(panels): + std.map(self.setRefIDs, panels), + + '#dedupeQueryTargets':: d.func.new( + ||| + `dedupeQueryTargets` dedupes the query targets in a set of panels and replaces the duplicates with a ['shared query'](https://grafana.com/docs/grafana/latest/panels-visualizations/query-transform-data/share-query/). Sharing query results across panels reduces the number of queries made to your data source, which can improve the performance of your dashboard. + + This function requires that the query targets have `refId` set, `setRefIDs` and `setRefIDsOnPanels` can help with that. + |||, + args=[ + d.arg('panels', d.T.array), + ] + ), + dedupeQueryTargets(panels): + // Hide ref so it doesn't compare in equality + local targetWithoutRef(target) = + target + { refId:: target.refId }; + + // Find targets that are the same + local findTargets(targets, target) = + std.filter( + function(t) + targetWithoutRef(t) == targetWithoutRef(target), + targets + ); + + // Get a flat array of all targets including their panelId + local targets = std.flattenArrays([ + std.map(function(t) t + { panelId:: panel.id }, panel.targets) + for panel in panels + ]); + + std.map( + function(panel) + // Replace target with 'shared query' target if found in other panels + local replaceTarget(target) = + local found = findTargets(targets, target); + if std.length(found) > 0 + // Do not reference queries from the same panel + && found[0].panelId != panel.id + then { + datasource: { + type: 'datasource', + uid: '-- Dashboard --', + }, + refId: found[0].refId, + panelId: found[0].panelId, + } + else target; + + panel + { + targets: + std.map( + replaceTarget, + panel.targets, + ), + }, + panels + ), } diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/util/string.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/util/string.libsonnet similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/util/string.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/custom/util/string.libsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/dashboard.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/dashboard.libsonnet similarity index 63% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/dashboard.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/dashboard.libsonnet index eb19fc3..e839a9f 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/dashboard.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/dashboard.libsonnet @@ -2,300 +2,583 @@ { '#': { help: 'grafonnet.dashboard', name: 'dashboard' }, '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Description of dashboard.' } }, - withDescription(value): { description: value }, + withDescription(value): { + description: value, + }, '#withEditable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Whether a dashboard is editable or not.' } }, - withEditable(value=true): { editable: value }, + withEditable(value=true): { + editable: value, + }, '#withFiscalYearStartMonth': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['integer'] }], help: 'The month that the fiscal year starts on. 0 = January, 11 = December' } }, - withFiscalYearStartMonth(value=0): { fiscalYearStartMonth: value }, + withFiscalYearStartMonth(value=0): { + fiscalYearStartMonth: value, + }, '#withLinks': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Links with references to other dashboards or external websites.' } }, - withLinks(value): { links: (if std.isArray(value) - then value - else [value]) }, + withLinks(value): { + links: + (if std.isArray(value) + then value + else [value]), + }, '#withLinksMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Links with references to other dashboards or external websites.' } }, - withLinksMixin(value): { links+: (if std.isArray(value) - then value - else [value]) }, + withLinksMixin(value): { + links+: + (if std.isArray(value) + then value + else [value]), + }, '#withLiveNow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'When set to true, the dashboard will redraw panels at an interval matching the pixel width.\nThis will keep data "moving left" regardless of the query refresh rate. This setting helps\navoid dashboards presenting stale live data' } }, - withLiveNow(value=true): { liveNow: value }, + withLiveNow(value=true): { + liveNow: value, + }, '#withPanels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withPanels(value): { panels: (if std.isArray(value) - then value - else [value]) }, + withPanels(value): { + panels: + (if std.isArray(value) + then value + else [value]), + }, '#withPanelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withPanelsMixin(value): { panels+: (if std.isArray(value) - then value - else [value]) }, + withPanelsMixin(value): { + panels+: + (if std.isArray(value) + then value + else [value]), + }, '#withRefresh': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Refresh rate of dashboard. Represented via interval string, e.g. "5s", "1m", "1h", "1d".' } }, - withRefresh(value): { refresh: value }, - '#withSchemaVersion': { 'function': { args: [{ default: 36, enums: null, name: 'value', type: ['integer'] }], help: 'Version of the JSON schema, incremented each time a Grafana update brings\nchanges to said schema.' } }, - withSchemaVersion(value=36): { schemaVersion: value }, + withRefresh(value): { + refresh: value, + }, + '#withSchemaVersion': { 'function': { args: [{ default: 39, enums: null, name: 'value', type: ['integer'] }], help: 'Version of the JSON schema, incremented each time a Grafana update brings\nchanges to said schema.' } }, + withSchemaVersion(value=39): { + schemaVersion: value, + }, '#withTags': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Tags associated with dashboard.' } }, - withTags(value): { tags: (if std.isArray(value) - then value - else [value]) }, + withTags(value): { + tags: + (if std.isArray(value) + then value + else [value]), + }, '#withTagsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Tags associated with dashboard.' } }, - withTagsMixin(value): { tags+: (if std.isArray(value) - then value - else [value]) }, + withTagsMixin(value): { + tags+: + (if std.isArray(value) + then value + else [value]), + }, '#withTemplating': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Configured template variables' } }, - withTemplating(value): { templating: value }, + withTemplating(value): { + templating: value, + }, '#withTemplatingMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Configured template variables' } }, - withTemplatingMixin(value): { templating+: value }, + withTemplatingMixin(value): { + templating+: value, + }, '#withTimezone': { 'function': { args: [{ default: 'browser', enums: null, name: 'value', type: ['string'] }], help: 'Timezone of dashboard. Accepted values are IANA TZDB zone ID or "browser" or "utc".' } }, - withTimezone(value='browser'): { timezone: value }, + withTimezone(value='browser'): { + timezone: value, + }, '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Title of dashboard.' } }, - withTitle(value): { title: value }, + withTitle(value): { + title: value, + }, '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Unique dashboard identifier that can be generated by anyone. string (8-40)' } }, - withUid(value): { uid: value }, + withUid(value): { + uid: value, + }, '#withWeekStart': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Day when the week starts. Expressed by the name of the day in lowercase, e.g. "monday".' } }, - withWeekStart(value): { weekStart: value }, + withWeekStart(value): { + weekStart: value, + }, time+: { '#withFrom': { 'function': { args: [{ default: 'now-6h', enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFrom(value='now-6h'): { time+: { from: value } }, + withFrom(value='now-6h'): { + time+: { + from: value, + }, + }, '#withTo': { 'function': { args: [{ default: 'now', enums: null, name: 'value', type: ['string'] }], help: '' } }, - withTo(value='now'): { time+: { to: value } }, + withTo(value='now'): { + time+: { + to: value, + }, + }, }, timepicker+: { '#withHidden': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Whether timepicker is visible or not.' } }, - withHidden(value=true): { timepicker+: { hidden: value } }, + withHidden(value=true): { + timepicker+: { + hidden: value, + }, + }, '#withNowDelay': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Override the now time by entering a time delay. Use this option to accommodate known delays in data aggregation to avoid null values.' } }, - withNowDelay(value): { timepicker+: { nowDelay: value } }, + withNowDelay(value): { + timepicker+: { + nowDelay: value, + }, + }, '#withRefreshIntervals': { 'function': { args: [{ default: ['5s', '10s', '30s', '1m', '5m', '15m', '30m', '1h', '2h', '1d'], enums: null, name: 'value', type: ['array'] }], help: 'Interval options available in the refresh picker dropdown.' } }, - withRefreshIntervals(value): { timepicker+: { refresh_intervals: (if std.isArray(value) - then value - else [value]) } }, + withRefreshIntervals(value): { + timepicker+: { + refresh_intervals: + (if std.isArray(value) + then value + else [value]), + }, + }, '#withRefreshIntervalsMixin': { 'function': { args: [{ default: ['5s', '10s', '30s', '1m', '5m', '15m', '30m', '1h', '2h', '1d'], enums: null, name: 'value', type: ['array'] }], help: 'Interval options available in the refresh picker dropdown.' } }, - withRefreshIntervalsMixin(value): { timepicker+: { refresh_intervals+: (if std.isArray(value) - then value - else [value]) } }, + withRefreshIntervalsMixin(value): { + timepicker+: { + refresh_intervals+: + (if std.isArray(value) + then value + else [value]), + }, + }, '#withTimeOptions': { 'function': { args: [{ default: ['5m', '15m', '1h', '6h', '12h', '24h', '2d', '7d', '30d'], enums: null, name: 'value', type: ['array'] }], help: 'Selectable options available in the time picker dropdown. Has no effect on provisioned dashboard.' } }, - withTimeOptions(value): { timepicker+: { time_options: (if std.isArray(value) - then value - else [value]) } }, + withTimeOptions(value): { + timepicker+: { + time_options: + (if std.isArray(value) + then value + else [value]), + }, + }, '#withTimeOptionsMixin': { 'function': { args: [{ default: ['5m', '15m', '1h', '6h', '12h', '24h', '2d', '7d', '30d'], enums: null, name: 'value', type: ['array'] }], help: 'Selectable options available in the time picker dropdown. Has no effect on provisioned dashboard.' } }, - withTimeOptionsMixin(value): { timepicker+: { time_options+: (if std.isArray(value) - then value - else [value]) } }, + withTimeOptionsMixin(value): { + timepicker+: { + time_options+: + (if std.isArray(value) + then value + else [value]), + }, + }, }, link+: { dashboards+: { '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Title to display with the link' } }, - withTitle(value): { title: value }, + withTitle(value): { + title: value, + }, '#withType': { 'function': { args: [{ default: null, enums: ['link', 'dashboards'], name: 'value', type: ['string'] }], help: 'Dashboard Link type. Accepted values are dashboards (to refer to another dashboard) and link (to refer to an external resource)' } }, - withType(value): { type: value }, + withType(value): { + type: value, + }, '#withTags': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of tags to limit the linked dashboards. If empty, all dashboards will be displayed. Only valid if the type is dashboards' } }, - withTags(value): { tags: (if std.isArray(value) - then value - else [value]) }, + withTags(value): { + tags: + (if std.isArray(value) + then value + else [value]), + }, options+: { '#withAsDropdown': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true, all dashboards links will be displayed in a dropdown. If false, all dashboards links will be displayed side by side. Only valid if the type is dashboards' } }, - withAsDropdown(value=true): { asDropdown: value }, + withAsDropdown(value=true): { + asDropdown: value, + }, '#withKeepTime': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true, includes current time range in the link as query params' } }, - withKeepTime(value=true): { keepTime: value }, + withKeepTime(value=true): { + keepTime: value, + }, '#withIncludeVars': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true, includes current template variables values in the link as query params' } }, - withIncludeVars(value=true): { includeVars: value }, + withIncludeVars(value=true): { + includeVars: value, + }, '#withTargetBlank': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true, the link will be opened in a new tab' } }, - withTargetBlank(value=true): { targetBlank: value }, + withTargetBlank(value=true): { + targetBlank: value, + }, }, }, link+: { '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Title to display with the link' } }, - withTitle(value): { title: value }, + withTitle(value): { + title: value, + }, '#withType': { 'function': { args: [{ default: null, enums: ['link', 'dashboards'], name: 'value', type: ['string'] }], help: 'Dashboard Link type. Accepted values are dashboards (to refer to another dashboard) and link (to refer to an external resource)' } }, - withType(value): { type: value }, + withType(value): { + type: value, + }, '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Link URL. Only required/valid if the type is link' } }, - withUrl(value): { url: value }, + withUrl(value): { + url: value, + }, '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Tooltip to display when the user hovers their mouse over it' } }, - withTooltip(value): { tooltip: value }, + withTooltip(value): { + tooltip: value, + }, '#withIcon': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Icon name to be displayed with the link' } }, - withIcon(value): { icon: value }, + withIcon(value): { + icon: value, + }, options+: { '#withAsDropdown': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true, all dashboards links will be displayed in a dropdown. If false, all dashboards links will be displayed side by side. Only valid if the type is dashboards' } }, - withAsDropdown(value=true): { asDropdown: value }, + withAsDropdown(value=true): { + asDropdown: value, + }, '#withKeepTime': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true, includes current time range in the link as query params' } }, - withKeepTime(value=true): { keepTime: value }, + withKeepTime(value=true): { + keepTime: value, + }, '#withIncludeVars': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true, includes current template variables values in the link as query params' } }, - withIncludeVars(value=true): { includeVars: value }, + withIncludeVars(value=true): { + includeVars: value, + }, '#withTargetBlank': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true, the link will be opened in a new tab' } }, - withTargetBlank(value=true): { targetBlank: value }, + withTargetBlank(value=true): { + targetBlank: value, + }, }, }, }, annotation+: { '#withList': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of annotations' } }, - withList(value): { annotations+: { list: (if std.isArray(value) - then value - else [value]) } }, + withList(value): { + annotations+: { + list: + (if std.isArray(value) + then value + else [value]), + }, + }, '#withListMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of annotations' } }, - withListMixin(value): { annotations+: { list+: (if std.isArray(value) - then value - else [value]) } }, + withListMixin(value): { + annotations+: { + list+: + (if std.isArray(value) + then value + else [value]), + }, + }, list+: { '#': { help: '', name: 'list' }, '#withBuiltIn': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['number'] }], help: 'Set to 1 for the standard annotation query all dashboards have by default.' } }, - withBuiltIn(value=0): { builtIn: value }, + withBuiltIn(value=0): { + builtIn: value, + }, '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Ref to a DataSource instance' } }, - withDatasource(value): { datasource: value }, + withDatasource(value): { + datasource: value, + }, '#withDatasourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Ref to a DataSource instance' } }, - withDatasourceMixin(value): { datasource+: value }, + withDatasourceMixin(value): { + datasource+: value, + }, datasource+: { '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The plugin type-id' } }, - withType(value): { datasource+: { type: value } }, + withType(value): { + datasource+: { + type: value, + }, + }, '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specific datasource instance' } }, - withUid(value): { datasource+: { uid: value } }, + withUid(value): { + datasource+: { + uid: value, + }, + }, }, '#withEnable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'When enabled the annotation query is issued with every dashboard refresh' } }, - withEnable(value=true): { enable: value }, - '#withFilter': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withFilter(value): { filter: value }, - '#withFilterMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withFilterMixin(value): { filter+: value }, + withEnable(value=true): { + enable: value, + }, + '#withExpr': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withExpr(value): { + expr: value, + }, + '#withFilter': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Filters to apply when fetching annotations' } }, + withFilter(value): { + filter: value, + }, + '#withFilterMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Filters to apply when fetching annotations' } }, + withFilterMixin(value): { + filter+: value, + }, filter+: { '#withExclude': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Should the specified panels be included or excluded' } }, - withExclude(value=true): { filter+: { exclude: value } }, + withExclude(value=true): { + filter+: { + exclude: value, + }, + }, '#withIds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Panel IDs that should be included or excluded' } }, - withIds(value): { filter+: { ids: (if std.isArray(value) - then value - else [value]) } }, + withIds(value): { + filter+: { + ids: + (if std.isArray(value) + then value + else [value]), + }, + }, '#withIdsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Panel IDs that should be included or excluded' } }, - withIdsMixin(value): { filter+: { ids+: (if std.isArray(value) - then value - else [value]) } }, + withIdsMixin(value): { + filter+: { + ids+: + (if std.isArray(value) + then value + else [value]), + }, + }, }, '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Annotation queries can be toggled on or off at the top of the dashboard.\nWhen hide is true, the toggle is not shown in the dashboard.' } }, - withHide(value=true): { hide: value }, + withHide(value=true): { + hide: value, + }, '#withIconColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Color to use for the annotation event markers' } }, - withIconColor(value): { iconColor: value }, + withIconColor(value): { + iconColor: value, + }, '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of annotation.' } }, - withName(value): { name: value }, + withName(value): { + name: value, + }, '#withTarget': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO: this should be a regular DataQuery that depends on the selected dashboard\nthese match the properties of the "grafana" datasouce that is default in most dashboards' } }, - withTarget(value): { target: value }, + withTarget(value): { + target: value, + }, '#withTargetMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO: this should be a regular DataQuery that depends on the selected dashboard\nthese match the properties of the "grafana" datasouce that is default in most dashboards' } }, - withTargetMixin(value): { target+: value }, + withTargetMixin(value): { + target+: value, + }, target+: { '#withLimit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Only required/valid for the grafana datasource...\nbut code+tests is already depending on it so hard to change' } }, - withLimit(value): { target+: { limit: value } }, + withLimit(value): { + target+: { + limit: value, + }, + }, '#withMatchAny': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Only required/valid for the grafana datasource...\nbut code+tests is already depending on it so hard to change' } }, - withMatchAny(value=true): { target+: { matchAny: value } }, + withMatchAny(value=true): { + target+: { + matchAny: value, + }, + }, '#withTags': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Only required/valid for the grafana datasource...\nbut code+tests is already depending on it so hard to change' } }, - withTags(value): { target+: { tags: (if std.isArray(value) - then value - else [value]) } }, + withTags(value): { + target+: { + tags: + (if std.isArray(value) + then value + else [value]), + }, + }, '#withTagsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Only required/valid for the grafana datasource...\nbut code+tests is already depending on it so hard to change' } }, - withTagsMixin(value): { target+: { tags+: (if std.isArray(value) - then value - else [value]) } }, + withTagsMixin(value): { + target+: { + tags+: + (if std.isArray(value) + then value + else [value]), + }, + }, '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Only required/valid for the grafana datasource...\nbut code+tests is already depending on it so hard to change' } }, - withType(value): { target+: { type: value } }, + withType(value): { + target+: { + type: value, + }, + }, }, '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'TODO -- this should not exist here, it is based on the --grafana-- datasource' } }, - withType(value): { type: value }, + withType(value): { + type: value, + }, }, }, variable+: { '#withList': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of configured template variables with their saved values along with some other metadata' } }, - withList(value): { templating+: { list: (if std.isArray(value) - then value - else [value]) } }, + withList(value): { + templating+: { + list: + (if std.isArray(value) + then value + else [value]), + }, + }, '#withListMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of configured template variables with their saved values along with some other metadata' } }, - withListMixin(value): { templating+: { list+: (if std.isArray(value) - then value - else [value]) } }, + withListMixin(value): { + templating+: { + list+: + (if std.isArray(value) + then value + else [value]), + }, + }, list+: { '#': { help: '', name: 'list' }, '#withAllValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Custom all value' } }, - withAllValue(value): { allValue: value }, + withAllValue(value): { + allValue: value, + }, '#withCurrent': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Option to be selected in a variable.' } }, - withCurrent(value): { current: value }, + withCurrent(value): { + current: value, + }, '#withCurrentMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Option to be selected in a variable.' } }, - withCurrentMixin(value): { current+: value }, + withCurrentMixin(value): { + current+: value, + }, current+: { '#withSelected': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Whether the option is selected or not' } }, - withSelected(value=true): { current+: { selected: value } }, + withSelected(value=true): { + current+: { + selected: value, + }, + }, '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'array'] }], help: 'Text to be displayed for the option' } }, - withText(value): { current+: { text: value } }, + withText(value): { + current+: { + text: value, + }, + }, '#withTextMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'array'] }], help: 'Text to be displayed for the option' } }, - withTextMixin(value): { current+: { text+: value } }, + withTextMixin(value): { + current+: { + text+: value, + }, + }, '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'array'] }], help: 'Value of the option' } }, - withValue(value): { current+: { value: value } }, + withValue(value): { + current+: { + value: value, + }, + }, '#withValueMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'array'] }], help: 'Value of the option' } }, - withValueMixin(value): { current+: { value+: value } }, + withValueMixin(value): { + current+: { + value+: value, + }, + }, }, '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Ref to a DataSource instance' } }, - withDatasource(value): { datasource: value }, + withDatasource(value): { + datasource: value, + }, '#withDatasourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Ref to a DataSource instance' } }, - withDatasourceMixin(value): { datasource+: value }, + withDatasourceMixin(value): { + datasource+: value, + }, datasource+: { '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The plugin type-id' } }, - withType(value): { datasource+: { type: value } }, + withType(value): { + datasource+: { + type: value, + }, + }, '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specific datasource instance' } }, - withUid(value): { datasource+: { uid: value } }, + withUid(value): { + datasource+: { + uid: value, + }, + }, }, '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Description of variable. It can be defined but `null`.' } }, - withDescription(value): { description: value }, - '#withHide': { 'function': { args: [{ default: null, enums: [0, 1, 2], name: 'value', type: ['integer'] }], help: 'Determine if the variable shows on dashboard\nAccepted values are 0 (show label and value), 1 (show value only), 2 (show nothing).' } }, - withHide(value): { hide: value }, + withDescription(value): { + description: value, + }, + '#withHide': { 'function': { args: [{ default: null, enums: [0, 1, 2], name: 'value', type: ['string'] }], help: 'Determine if the variable shows on dashboard\nAccepted values are 0 (show label and value), 1 (show value only), 2 (show nothing).' } }, + withHide(value): { + hide: value, + }, '#withIncludeAll': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Whether all value option is available or not' } }, - withIncludeAll(value=true): { includeAll: value }, + withIncludeAll(value=true): { + includeAll: value, + }, '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Optional display name' } }, - withLabel(value): { label: value }, + withLabel(value): { + label: value, + }, '#withMulti': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Whether multiple values can be selected or not from variable value list' } }, - withMulti(value=true): { multi: value }, + withMulti(value=true): { + multi: value, + }, '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of variable' } }, - withName(value): { name: value }, + withName(value): { + name: value, + }, '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Options that can be selected for a variable.' } }, - withOptions(value): { options: (if std.isArray(value) - then value - else [value]) }, + withOptions(value): { + options: + (if std.isArray(value) + then value + else [value]), + }, '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Options that can be selected for a variable.' } }, - withOptionsMixin(value): { options+: (if std.isArray(value) - then value - else [value]) }, + withOptionsMixin(value): { + options+: + (if std.isArray(value) + then value + else [value]), + }, options+: { '#': { help: '', name: 'options' }, '#withSelected': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Whether the option is selected or not' } }, - withSelected(value=true): { selected: value }, + withSelected(value=true): { + selected: value, + }, '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'array'] }], help: 'Text to be displayed for the option' } }, - withText(value): { text: value }, + withText(value): { + text: value, + }, '#withTextMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'array'] }], help: 'Text to be displayed for the option' } }, - withTextMixin(value): { text+: value }, + withTextMixin(value): { + text+: value, + }, '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'array'] }], help: 'Value of the option' } }, - withValue(value): { value: value }, + withValue(value): { + value: value, + }, '#withValueMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'array'] }], help: 'Value of the option' } }, - withValueMixin(value): { value+: value }, + withValueMixin(value): { + value+: value, + }, }, '#withQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'object'] }], help: 'Query used to fetch values for a variable' } }, - withQuery(value): { query: value }, + withQuery(value): { + query: value, + }, '#withQueryMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'object'] }], help: 'Query used to fetch values for a variable' } }, - withQueryMixin(value): { query+: value }, - '#withRefresh': { 'function': { args: [{ default: null, enums: [0, 1, 2], name: 'value', type: ['integer'] }], help: 'Options to config when to refresh a variable\n`0`: Never refresh the variable\n`1`: Queries the data source every time the dashboard loads.\n`2`: Queries the data source when the dashboard time range changes.' } }, - withRefresh(value): { refresh: value }, + withQueryMixin(value): { + query+: value, + }, + '#withRefresh': { 'function': { args: [{ default: null, enums: [0, 1, 2], name: 'value', type: ['string'] }], help: 'Options to config when to refresh a variable\n`0`: Never refresh the variable\n`1`: Queries the data source every time the dashboard loads.\n`2`: Queries the data source when the dashboard time range changes.' } }, + withRefresh(value): { + refresh: value, + }, '#withRegex': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Optional field, if you want to extract part of a series name or metric node segment.\nNamed capture groups can be used to separate the display text and value.' } }, - withRegex(value): { regex: value }, + withRegex(value): { + regex: value, + }, '#withSkipUrlSync': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Whether the variable value should be managed by URL query params or not' } }, - withSkipUrlSync(value=true): { skipUrlSync: value }, - '#withSort': { 'function': { args: [{ default: null, enums: [0, 1, 2, 3, 4, 5, 6, 7, 8], name: 'value', type: ['integer'] }], help: 'Sort variable options\nAccepted values are:\n`0`: No sorting\n`1`: Alphabetical ASC\n`2`: Alphabetical DESC\n`3`: Numerical ASC\n`4`: Numerical DESC\n`5`: Alphabetical Case Insensitive ASC\n`6`: Alphabetical Case Insensitive DESC\n`7`: Natural ASC\n`8`: Natural DESC' } }, - withSort(value): { sort: value }, + withSkipUrlSync(value=true): { + skipUrlSync: value, + }, + '#withSort': { 'function': { args: [{ default: null, enums: [0, 1, 2, 3, 4, 5, 6, 7, 8], name: 'value', type: ['string'] }], help: 'Sort variable options\nAccepted values are:\n`0`: No sorting\n`1`: Alphabetical ASC\n`2`: Alphabetical DESC\n`3`: Numerical ASC\n`4`: Numerical DESC\n`5`: Alphabetical Case Insensitive ASC\n`6`: Alphabetical Case Insensitive DESC\n`7`: Natural ASC\n`8`: Natural DESC' } }, + withSort(value): { + sort: value, + }, '#withType': { 'function': { args: [{ default: null, enums: ['query', 'adhoc', 'groupby', 'constant', 'datasource', 'interval', 'textbox', 'custom', 'system'], name: 'value', type: ['string'] }], help: 'Dashboard variable type\n`query`: Query-generated list of values such as metric names, server names, sensor IDs, data centers, and so on.\n`adhoc`: Key/value filters that are automatically added to all metric queries for a data source (Prometheus, Loki, InfluxDB, and Elasticsearch only).\n`constant`: \tDefine a hidden constant.\n`datasource`: Quickly change the data source for an entire dashboard.\n`interval`: Interval variables represent time spans.\n`textbox`: Display a free text input field with an optional default value.\n`custom`: Define the variable options manually using a comma-separated list.\n`system`: Variables defined by Grafana. See: https://grafana.com/docs/grafana/latest/dashboards/variables/add-template-variables/#global-variables' } }, - withType(value): { type: value }, + withType(value): { + type: value, + }, }, }, } -+ (import '../custom/dashboard.libsonnet') ++ (import 'custom/dashboard.libsonnet') diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/README.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/README.md similarity index 79% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/README.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/README.md index 1ca9657..a0f4d76 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/README.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/README.md @@ -4,13 +4,13 @@ Jsonnet library for rendering Grafana resources ## Install ``` -jb install github.com/grafana/grafonnet/gen/grafonnet-v10.4.0@main +jb install github.com/grafana/grafonnet/gen/grafonnet-v11.1.0@main ``` ## Usage ```jsonnet -local grafonnet = import "github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/main.libsonnet" +local grafonnet = import "github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/main.libsonnet" ``` @@ -20,7 +20,7 @@ local grafonnet = import "github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/mai * [alerting](alerting/index.md) * [dashboard](dashboard/index.md) * [folder](folder.md) -* [librarypanel](librarypanel.md) +* [librarypanel](librarypanel/index.md) * [panel](panel/index.md) * [preferences](preferences.md) * [publicdashboard](publicdashboard.md) diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/accesspolicy/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/accesspolicy/index.md similarity index 93% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/accesspolicy/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/accesspolicy/index.md index ff3dcfc..85aafad 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/accesspolicy/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/accesspolicy/index.md @@ -34,7 +34,7 @@ PARAMETERS: * **value** (`object`) - +The role that must apply this policy ### fn withRoleMixin ```jsonnet @@ -45,7 +45,7 @@ PARAMETERS: * **value** (`object`) - +The role that must apply this policy ### fn withRules ```jsonnet @@ -80,7 +80,7 @@ PARAMETERS: * **value** (`object`) - +The scope where these policies should apply ### fn withScopeMixin ```jsonnet @@ -91,7 +91,7 @@ PARAMETERS: * **value** (`object`) - +The scope where these policies should apply ### obj role diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/accesspolicy/rules.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/accesspolicy/rules.md similarity index 62% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/accesspolicy/rules.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/accesspolicy/rules.md index 6f328d4..f576339 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/accesspolicy/rules.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/accesspolicy/rules.md @@ -4,21 +4,23 @@ ## Index -* [`fn withKind(value)`](#fn-withkind) +* [`fn withKind(value="*")`](#fn-withkind) * [`fn withTarget(value)`](#fn-withtarget) * [`fn withVerb(value)`](#fn-withverb) +* [`fn withVerbMixin(value)`](#fn-withverbmixin) ## Fields ### fn withKind ```jsonnet -withKind(value) +withKind(value="*") ``` PARAMETERS: * **value** (`string`) + - default value: `"*"` The kind this rule applies to (dashboards, alert, etc) ### fn withTarget @@ -42,5 +44,17 @@ PARAMETERS: * **value** (`string`) +READ, WRITE, CREATE, DELETE, ... +should move to k8s style verbs like: "get", "list", "watch", "create", "update", "patch", "delete" +### fn withVerbMixin + +```jsonnet +withVerbMixin(value) +``` + +PARAMETERS: + +* **value** (`string`) + READ, WRITE, CREATE, DELETE, ... should move to k8s style verbs like: "get", "list", "watch", "create", "update", "patch", "delete" \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/alerting/contactPoint.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/contactPoint.md similarity index 67% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/alerting/contactPoint.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/contactPoint.md index b796b0c..65083ce 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/alerting/contactPoint.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/contactPoint.md @@ -28,7 +28,8 @@ PARAMETERS: * **value** (`boolean`) - default value: `true` - +EmbeddedContactPoint is the contact point type that is used +by grafanas embedded alertmanager implementation. ### fn withName ```jsonnet @@ -39,8 +40,8 @@ PARAMETERS: * **value** (`string`) -Name is used as grouping key in the UI. Contact points with the -same name will be grouped in the UI. +EmbeddedContactPoint is the contact point type that is used +by grafanas embedded alertmanager implementation. ### fn withProvenance ```jsonnet @@ -51,7 +52,8 @@ PARAMETERS: * **value** (`string`) - +EmbeddedContactPoint is the contact point type that is used +by grafanas embedded alertmanager implementation. ### fn withSettings ```jsonnet @@ -62,7 +64,8 @@ PARAMETERS: * **value** (`object`) - +EmbeddedContactPoint is the contact point type that is used +by grafanas embedded alertmanager implementation. ### fn withSettingsMixin ```jsonnet @@ -73,7 +76,8 @@ PARAMETERS: * **value** (`object`) - +EmbeddedContactPoint is the contact point type that is used +by grafanas embedded alertmanager implementation. ### fn withType ```jsonnet @@ -85,7 +89,8 @@ PARAMETERS: * **value** (`string`) - valid values: `"alertmanager"`, `" dingding"`, `" discord"`, `" email"`, `" googlechat"`, `" kafka"`, `" line"`, `" opsgenie"`, `" pagerduty"`, `" pushover"`, `" sensugo"`, `" slack"`, `" teams"`, `" telegram"`, `" threema"`, `" victorops"`, `" webhook"`, `" wecom"` - +EmbeddedContactPoint is the contact point type that is used +by grafanas embedded alertmanager implementation. ### fn withUid ```jsonnet @@ -96,5 +101,5 @@ PARAMETERS: * **value** (`string`) -UID is the unique identifier of the contact point. The UID can be -set by the user. \ No newline at end of file +EmbeddedContactPoint is the contact point type that is used +by grafanas embedded alertmanager implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/alerting/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/index.md similarity index 80% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/alerting/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/index.md index b77a82d..3715aa4 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/alerting/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/index.md @@ -5,7 +5,7 @@ grafonnet.alerting ## Subpackages * [contactPoint](contactPoint.md) -* [messageTemplate](messageTemplate.md) * [muteTiming](muteTiming/index.md) * [notificationPolicy](notificationPolicy/index.md) +* [notificationTemplate](notificationTemplate.md) * [ruleGroup](ruleGroup/index.md) diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/alerting/muteTiming/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/muteTiming/index.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/alerting/muteTiming/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/muteTiming/index.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/muteTiming/interval/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/muteTiming/interval/index.md new file mode 100644 index 0000000..18021fc --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/muteTiming/interval/index.md @@ -0,0 +1,48 @@ +# interval + + + +## Subpackages + +* [time_intervals](time_intervals/index.md) + +## Index + +* [`fn withName(value)`](#fn-withname) +* [`fn withTimeIntervals(value)`](#fn-withtimeintervals) +* [`fn withTimeIntervalsMixin(value)`](#fn-withtimeintervalsmixin) + +## Fields + +### fn withName + +```jsonnet +withName(value) +``` + +PARAMETERS: + +* **value** (`string`) + + +### fn withTimeIntervals + +```jsonnet +withTimeIntervals(value) +``` + +PARAMETERS: + +* **value** (`array`) + + +### fn withTimeIntervalsMixin + +```jsonnet +withTimeIntervalsMixin(value) +``` + +PARAMETERS: + +* **value** (`array`) + diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/alerting/muteTiming/interval/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/muteTiming/interval/time_intervals/index.md similarity index 98% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/alerting/muteTiming/interval/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/muteTiming/interval/time_intervals/index.md index aecdd1d..e649ec2 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/alerting/muteTiming/interval/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/muteTiming/interval/time_intervals/index.md @@ -1,4 +1,4 @@ -# interval +# time_intervals diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/muteTiming/interval/time_intervals/times.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/muteTiming/interval/time_intervals/times.md new file mode 100644 index 0000000..8304969 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/muteTiming/interval/time_intervals/times.md @@ -0,0 +1,32 @@ +# times + + + +## Index + +* [`fn withEndTime(value)`](#fn-withendtime) +* [`fn withStartTime(value)`](#fn-withstarttime) + +## Fields + +### fn withEndTime + +```jsonnet +withEndTime(value) +``` + +PARAMETERS: + +* **value** (`string`) + + +### fn withStartTime + +```jsonnet +withStartTime(value) +``` + +PARAMETERS: + +* **value** (`string`) + diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/alerting/notificationPolicy/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/notificationPolicy/index.md similarity index 59% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/alerting/notificationPolicy/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/notificationPolicy/index.md index cb4aa0a..0007243 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/alerting/notificationPolicy/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/notificationPolicy/index.md @@ -34,7 +34,8 @@ PARAMETERS: * **value** (`string`) - +A Route is a node that contains definitions of how to handle alerts. This is modified +from the upstream alertmanager in that it adds the ObjectMatchers property. ### fn withContinue ```jsonnet @@ -46,7 +47,8 @@ PARAMETERS: * **value** (`boolean`) - default value: `true` - +A Route is a node that contains definitions of how to handle alerts. This is modified +from the upstream alertmanager in that it adds the ObjectMatchers property. ### fn withGroupBy ```jsonnet @@ -57,7 +59,8 @@ PARAMETERS: * **value** (`array`) - +A Route is a node that contains definitions of how to handle alerts. This is modified +from the upstream alertmanager in that it adds the ObjectMatchers property. ### fn withGroupByMixin ```jsonnet @@ -68,7 +71,8 @@ PARAMETERS: * **value** (`array`) - +A Route is a node that contains definitions of how to handle alerts. This is modified +from the upstream alertmanager in that it adds the ObjectMatchers property. ### fn withGroupInterval ```jsonnet @@ -79,7 +83,8 @@ PARAMETERS: * **value** (`string`) - +A Route is a node that contains definitions of how to handle alerts. This is modified +from the upstream alertmanager in that it adds the ObjectMatchers property. ### fn withGroupWait ```jsonnet @@ -90,7 +95,8 @@ PARAMETERS: * **value** (`string`) - +A Route is a node that contains definitions of how to handle alerts. This is modified +from the upstream alertmanager in that it adds the ObjectMatchers property. ### fn withMatchers ```jsonnet @@ -127,7 +133,8 @@ PARAMETERS: * **value** (`array`) - +A Route is a node that contains definitions of how to handle alerts. This is modified +from the upstream alertmanager in that it adds the ObjectMatchers property. ### fn withMuteTimeIntervalsMixin ```jsonnet @@ -138,7 +145,8 @@ PARAMETERS: * **value** (`array`) - +A Route is a node that contains definitions of how to handle alerts. This is modified +from the upstream alertmanager in that it adds the ObjectMatchers property. ### fn withPolicy ```jsonnet @@ -149,7 +157,8 @@ PARAMETERS: * **value** (`array`) - +A Route is a node that contains definitions of how to handle alerts. This is modified +from the upstream alertmanager in that it adds the ObjectMatchers property. ### fn withPolicyMixin ```jsonnet @@ -160,7 +169,8 @@ PARAMETERS: * **value** (`array`) - +A Route is a node that contains definitions of how to handle alerts. This is modified +from the upstream alertmanager in that it adds the ObjectMatchers property. ### fn withRepeatInterval ```jsonnet @@ -171,3 +181,5 @@ PARAMETERS: * **value** (`string`) +A Route is a node that contains definitions of how to handle alerts. This is modified +from the upstream alertmanager in that it adds the ObjectMatchers property. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/alerting/notificationPolicy/matcher.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/notificationPolicy/matcher.md similarity index 90% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/alerting/notificationPolicy/matcher.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/notificationPolicy/matcher.md index f31b1d8..7cad0a7 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/alerting/notificationPolicy/matcher.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/notificationPolicy/matcher.md @@ -32,7 +32,7 @@ PARAMETERS: * **value** (`string`) - valid values: `"="`, `"!="`, `"=~"`, `"!~"` -MatchType is an enum for label matching types. + ### fn withValue ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/alerting/messageTemplate.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/notificationTemplate.md similarity index 57% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/alerting/messageTemplate.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/notificationTemplate.md index df7c233..47ce2da 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/alerting/messageTemplate.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/notificationTemplate.md @@ -1,10 +1,11 @@ -# messageTemplate +# notificationTemplate -grafonnet.alerting.messageTemplate +grafonnet.alerting.notificationTemplate ## Index * [`fn withName(value)`](#fn-withname) +* [`fn withProvenance(value)`](#fn-withprovenance) * [`fn withTemplate(value)`](#fn-withtemplate) ## Fields @@ -20,6 +21,17 @@ PARAMETERS: * **value** (`string`) +### fn withProvenance + +```jsonnet +withProvenance(value) +``` + +PARAMETERS: + +* **value** (`string`) + + ### fn withTemplate ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/alerting/ruleGroup/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/ruleGroup/index.md similarity index 97% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/alerting/ruleGroup/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/ruleGroup/index.md index 21d94b5..588ead0 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/alerting/ruleGroup/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/ruleGroup/index.md @@ -37,7 +37,7 @@ PARAMETERS: * **value** (`integer`) - +Duration in seconds. ### fn withName ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/alerting/ruleGroup/rule/data.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/ruleGroup/rule/data.md similarity index 67% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/alerting/ruleGroup/rule/data.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/ruleGroup/rule/data.md index 0c60520..abe5cda 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/alerting/ruleGroup/rule/data.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/ruleGroup/rule/data.md @@ -27,7 +27,7 @@ PARAMETERS: * **value** (`string`) -Grafana data source unique identifier; it should be '__expr__' for a Server Side Expression operation. + ### fn withModel ```jsonnet @@ -38,7 +38,7 @@ PARAMETERS: * **value** (`object`) -JSON is the raw JSON query and includes the above properties as well as custom properties. + ### fn withModelMixin ```jsonnet @@ -49,7 +49,7 @@ PARAMETERS: * **value** (`object`) -JSON is the raw JSON query and includes the above properties as well as custom properties. + ### fn withQueryType ```jsonnet @@ -60,8 +60,7 @@ PARAMETERS: * **value** (`string`) -QueryType is an optional identifier for the type of query. -It can be used to distinguish different types of queries. + ### fn withRefId ```jsonnet @@ -72,7 +71,7 @@ PARAMETERS: * **value** (`string`) -RefID is the unique identifier of the query, set by the frontend call. + ### fn withRelativeTimeRange ```jsonnet @@ -110,9 +109,7 @@ PARAMETERS: * **value** (`integer`) -A Duration represents the elapsed time between two instants -as an int64 nanosecond count. The representation limits the -largest representable duration to approximately 290 years. +Duration in seconds. #### fn relativeTimeRange.withTo ```jsonnet @@ -123,6 +120,4 @@ PARAMETERS: * **value** (`integer`) -A Duration represents the elapsed time between two instants -as an int64 nanosecond count. The representation limits the -largest representable duration to approximately 290 years. \ No newline at end of file +Duration in seconds. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/alerting/ruleGroup/rule/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/ruleGroup/rule/index.md similarity index 76% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/alerting/ruleGroup/rule/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/ruleGroup/rule/index.md index e93787c..27748f0 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/alerting/ruleGroup/rule/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/alerting/ruleGroup/rule/index.md @@ -14,12 +14,15 @@ * [`fn withData(value)`](#fn-withdata) * [`fn withDataMixin(value)`](#fn-withdatamixin) * [`fn withExecErrState(value)`](#fn-withexecerrstate) +* [`fn withFolderUID(value)`](#fn-withfolderuid) * [`fn withFor(value)`](#fn-withfor) * [`fn withIsPaused(value=true)`](#fn-withispaused) * [`fn withLabels(value)`](#fn-withlabels) * [`fn withLabelsMixin(value)`](#fn-withlabelsmixin) * [`fn withName(value)`](#fn-withname) * [`fn withNoDataState(value)`](#fn-withnodatastate) +* [`fn withOrgID(value)`](#fn-withorgid) +* [`fn withRuleGroup(value)`](#fn-withrulegroup) ## Fields @@ -90,6 +93,17 @@ PARAMETERS: - valid values: `"OK"`, `"Alerting"`, `"Error"` +### fn withFolderUID + +```jsonnet +withFolderUID(value) +``` + +PARAMETERS: + +* **value** (`string`) + + ### fn withFor ```jsonnet @@ -98,11 +112,10 @@ withFor(value) PARAMETERS: -* **value** (`integer`) +* **value** (`string`) -A Duration represents the elapsed time between two instants -as an int64 nanosecond count. The representation limits the -largest representable duration to approximately 290 years. +The amount of time, in seconds, for which the rule must be breached for the rule to be considered to be Firing. +Before this time has elapsed, the rule is only considered to be Pending. ### fn withIsPaused ```jsonnet @@ -159,3 +172,25 @@ PARAMETERS: * **value** (`string`) - valid values: `"Alerting"`, `"NoData"`, `"OK"` + +### fn withOrgID + +```jsonnet +withOrgID(value) +``` + +PARAMETERS: + +* **value** (`integer`) + + +### fn withRuleGroup + +```jsonnet +withRuleGroup(value) +``` + +PARAMETERS: + +* **value** (`string`) + diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/dashboard/annotation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/dashboard/annotation.md similarity index 96% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/dashboard/annotation.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/dashboard/annotation.md index 7395529..5a7645c 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/dashboard/annotation.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/dashboard/annotation.md @@ -8,6 +8,7 @@ * [`fn withDatasource(value)`](#fn-withdatasource) * [`fn withDatasourceMixin(value)`](#fn-withdatasourcemixin) * [`fn withEnable(value=true)`](#fn-withenable) +* [`fn withExpr(value)`](#fn-withexpr) * [`fn withFilter(value)`](#fn-withfilter) * [`fn withFilterMixin(value)`](#fn-withfiltermixin) * [`fn withHide(value=true)`](#fn-withhide) @@ -78,6 +79,17 @@ PARAMETERS: - default value: `true` When enabled the annotation query is issued with every dashboard refresh +### fn withExpr + +```jsonnet +withExpr(value) +``` + +PARAMETERS: + +* **value** (`string`) + + ### fn withFilter ```jsonnet @@ -88,7 +100,7 @@ PARAMETERS: * **value** (`object`) - +Filters to apply when fetching annotations ### fn withFilterMixin ```jsonnet @@ -99,7 +111,7 @@ PARAMETERS: * **value** (`object`) - +Filters to apply when fetching annotations ### fn withHide ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/dashboard/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/dashboard/index.md similarity index 97% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/dashboard/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/dashboard/index.md index 7cbee63..ec78d46 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/dashboard/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/dashboard/index.md @@ -22,7 +22,7 @@ grafonnet.dashboard * [`fn withPanels(panels, setPanelIDs=true)`](#fn-withpanels) * [`fn withPanelsMixin(panels, setPanelIDs=true)`](#fn-withpanelsmixin) * [`fn withRefresh(value)`](#fn-withrefresh) -* [`fn withSchemaVersion(value=36)`](#fn-withschemaversion) +* [`fn withSchemaVersion(value=39)`](#fn-withschemaversion) * [`fn withTags(value)`](#fn-withtags) * [`fn withTagsMixin(value)`](#fn-withtagsmixin) * [`fn withTemplating(value)`](#fn-withtemplating) @@ -233,16 +233,15 @@ Refresh rate of dashboard. Represented via interval string, e.g. "5s", "1m", "1h ### fn withSchemaVersion ```jsonnet -withSchemaVersion(value=36) +withSchemaVersion(value=39) ``` PARAMETERS: -* **value** (`integer`) - - default value: `36` +* **value** (`number`) + - default value: `39` + -Version of the JSON schema, incremented each time a Grafana update brings -changes to said schema. ### fn withTags ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/dashboard/link.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/dashboard/link.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/dashboard/link.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/dashboard/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/dashboard/variable.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/dashboard/variable.md similarity index 98% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/dashboard/variable.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/dashboard/variable.md index 3b8eba5..e5114ea 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/dashboard/variable.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/dashboard/variable.md @@ -120,6 +120,7 @@ g.dashboard.new('my dashboard') * [`fn withValueOnly()`](#fn-querygeneraloptionsshowondashboardwithvalueonly) * [`obj queryTypes`](#obj-queryquerytypes) * [`fn withLabelValues(label, metric="")`](#fn-queryquerytypeswithlabelvalues) + * [`fn withQueryResult(query)`](#fn-queryquerytypeswithqueryresult) * [`obj refresh`](#obj-queryrefresh) * [`fn onLoad()`](#fn-queryrefreshonload) * [`fn onTime()`](#fn-queryrefreshontime) @@ -454,7 +455,7 @@ PARAMETERS: * **value** (`bool`) - default value: `true` -* **customAllValue** (`bool`) +* **customAllValue** (`string`) `withIncludeAll` enables an option to include all variables. @@ -590,7 +591,7 @@ PARAMETERS: * **value** (`bool`) - default value: `true` -* **customAllValue** (`bool`) +* **customAllValue** (`string`) `withIncludeAll` enables an option to include all variables. @@ -898,6 +899,17 @@ PARAMETERS: - default value: `""` Construct a Prometheus template variable using `label_values()`. +##### fn query.queryTypes.withQueryResult + +```jsonnet +query.queryTypes.withQueryResult(query) +``` + +PARAMETERS: + +* **query** (`string`) + +Construct a Prometheus template variable using `query_result()`. #### obj query.refresh @@ -930,7 +942,7 @@ PARAMETERS: * **value** (`bool`) - default value: `true` -* **customAllValue** (`bool`) +* **customAllValue** (`string`) `withIncludeAll` enables an option to include all variables. diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/folder.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/folder.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/folder.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/folder.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/librarypanel/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/librarypanel/index.md new file mode 100644 index 0000000..530f12e --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/librarypanel/index.md @@ -0,0 +1,1599 @@ +# librarypanel + +grafonnet.librarypanel + +## Subpackages + +* [model.fieldConfig.defaults.thresholds.steps](model/fieldConfig/defaults/thresholds/steps.md) +* [model.fieldConfig.overrides](model/fieldConfig/overrides/index.md) +* [model.links](model/links.md) +* [model.transformations](model/transformations.md) + +## Index + +* [`fn withDescription(value)`](#fn-withdescription) +* [`fn withFolderUid(value)`](#fn-withfolderuid) +* [`fn withMeta(value)`](#fn-withmeta) +* [`fn withMetaMixin(value)`](#fn-withmetamixin) +* [`fn withModel(value)`](#fn-withmodel) +* [`fn withModelMixin(value)`](#fn-withmodelmixin) +* [`fn withName(value)`](#fn-withname) +* [`fn withSchemaVersion(value)`](#fn-withschemaversion) +* [`fn withType(value)`](#fn-withtype) +* [`fn withUid(value)`](#fn-withuid) +* [`fn withVersion(value)`](#fn-withversion) +* [`obj meta`](#obj-meta) + * [`fn withConnectedDashboards(value)`](#fn-metawithconnecteddashboards) + * [`fn withCreated(value)`](#fn-metawithcreated) + * [`fn withCreatedBy(value)`](#fn-metawithcreatedby) + * [`fn withCreatedByMixin(value)`](#fn-metawithcreatedbymixin) + * [`fn withFolderName(value)`](#fn-metawithfoldername) + * [`fn withFolderUid(value)`](#fn-metawithfolderuid) + * [`fn withUpdated(value)`](#fn-metawithupdated) + * [`fn withUpdatedBy(value)`](#fn-metawithupdatedby) + * [`fn withUpdatedByMixin(value)`](#fn-metawithupdatedbymixin) + * [`obj createdBy`](#obj-metacreatedby) + * [`fn withAvatarUrl(value)`](#fn-metacreatedbywithavatarurl) + * [`fn withId(value)`](#fn-metacreatedbywithid) + * [`fn withName(value)`](#fn-metacreatedbywithname) + * [`obj updatedBy`](#obj-metaupdatedby) + * [`fn withAvatarUrl(value)`](#fn-metaupdatedbywithavatarurl) + * [`fn withId(value)`](#fn-metaupdatedbywithid) + * [`fn withName(value)`](#fn-metaupdatedbywithname) +* [`obj model`](#obj-model) + * [`fn withCacheTimeout(value)`](#fn-modelwithcachetimeout) + * [`fn withDatasource(value)`](#fn-modelwithdatasource) + * [`fn withDatasourceMixin(value)`](#fn-modelwithdatasourcemixin) + * [`fn withDescription(value)`](#fn-modelwithdescription) + * [`fn withFieldConfig(value)`](#fn-modelwithfieldconfig) + * [`fn withFieldConfigMixin(value)`](#fn-modelwithfieldconfigmixin) + * [`fn withHideTimeOverride(value=true)`](#fn-modelwithhidetimeoverride) + * [`fn withInterval(value)`](#fn-modelwithinterval) + * [`fn withLinks(value)`](#fn-modelwithlinks) + * [`fn withLinksMixin(value)`](#fn-modelwithlinksmixin) + * [`fn withMaxDataPoints(value)`](#fn-modelwithmaxdatapoints) + * [`fn withMaxPerRow(value)`](#fn-modelwithmaxperrow) + * [`fn withOptions(value)`](#fn-modelwithoptions) + * [`fn withOptionsMixin(value)`](#fn-modelwithoptionsmixin) + * [`fn withPluginVersion(value)`](#fn-modelwithpluginversion) + * [`fn withQueryCachingTTL(value)`](#fn-modelwithquerycachingttl) + * [`fn withRepeat(value)`](#fn-modelwithrepeat) + * [`fn withRepeatDirection(value="h")`](#fn-modelwithrepeatdirection) + * [`fn withTargets(value)`](#fn-modelwithtargets) + * [`fn withTargetsMixin(value)`](#fn-modelwithtargetsmixin) + * [`fn withTimeFrom(value)`](#fn-modelwithtimefrom) + * [`fn withTimeShift(value)`](#fn-modelwithtimeshift) + * [`fn withTitle(value)`](#fn-modelwithtitle) + * [`fn withTransformations(value)`](#fn-modelwithtransformations) + * [`fn withTransformationsMixin(value)`](#fn-modelwithtransformationsmixin) + * [`fn withTransparent(value=true)`](#fn-modelwithtransparent) + * [`fn withType(value)`](#fn-modelwithtype) + * [`obj datasource`](#obj-modeldatasource) + * [`fn withType(value)`](#fn-modeldatasourcewithtype) + * [`fn withUid(value)`](#fn-modeldatasourcewithuid) + * [`obj fieldConfig`](#obj-modelfieldconfig) + * [`fn withDefaults(value)`](#fn-modelfieldconfigwithdefaults) + * [`fn withDefaultsMixin(value)`](#fn-modelfieldconfigwithdefaultsmixin) + * [`fn withOverrides(value)`](#fn-modelfieldconfigwithoverrides) + * [`fn withOverridesMixin(value)`](#fn-modelfieldconfigwithoverridesmixin) + * [`obj defaults`](#obj-modelfieldconfigdefaults) + * [`fn withColor(value)`](#fn-modelfieldconfigdefaultswithcolor) + * [`fn withColorMixin(value)`](#fn-modelfieldconfigdefaultswithcolormixin) + * [`fn withCustom(value)`](#fn-modelfieldconfigdefaultswithcustom) + * [`fn withCustomMixin(value)`](#fn-modelfieldconfigdefaultswithcustommixin) + * [`fn withDecimals(value)`](#fn-modelfieldconfigdefaultswithdecimals) + * [`fn withDescription(value)`](#fn-modelfieldconfigdefaultswithdescription) + * [`fn withDisplayName(value)`](#fn-modelfieldconfigdefaultswithdisplayname) + * [`fn withDisplayNameFromDS(value)`](#fn-modelfieldconfigdefaultswithdisplaynamefromds) + * [`fn withFilterable(value=true)`](#fn-modelfieldconfigdefaultswithfilterable) + * [`fn withLinks(value)`](#fn-modelfieldconfigdefaultswithlinks) + * [`fn withLinksMixin(value)`](#fn-modelfieldconfigdefaultswithlinksmixin) + * [`fn withMappings(value)`](#fn-modelfieldconfigdefaultswithmappings) + * [`fn withMappingsMixin(value)`](#fn-modelfieldconfigdefaultswithmappingsmixin) + * [`fn withMax(value)`](#fn-modelfieldconfigdefaultswithmax) + * [`fn withMin(value)`](#fn-modelfieldconfigdefaultswithmin) + * [`fn withNoValue(value)`](#fn-modelfieldconfigdefaultswithnovalue) + * [`fn withPath(value)`](#fn-modelfieldconfigdefaultswithpath) + * [`fn withThresholds(value)`](#fn-modelfieldconfigdefaultswiththresholds) + * [`fn withThresholdsMixin(value)`](#fn-modelfieldconfigdefaultswiththresholdsmixin) + * [`fn withUnit(value)`](#fn-modelfieldconfigdefaultswithunit) + * [`fn withWriteable(value=true)`](#fn-modelfieldconfigdefaultswithwriteable) + * [`obj color`](#obj-modelfieldconfigdefaultscolor) + * [`fn withFixedColor(value)`](#fn-modelfieldconfigdefaultscolorwithfixedcolor) + * [`fn withMode(value)`](#fn-modelfieldconfigdefaultscolorwithmode) + * [`fn withSeriesBy(value)`](#fn-modelfieldconfigdefaultscolorwithseriesby) + * [`obj mappings`](#obj-modelfieldconfigdefaultsmappings) + * [`obj RangeMap`](#obj-modelfieldconfigdefaultsmappingsrangemap) + * [`fn withOptions(value)`](#fn-modelfieldconfigdefaultsmappingsrangemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-modelfieldconfigdefaultsmappingsrangemapwithoptionsmixin) + * [`fn withType()`](#fn-modelfieldconfigdefaultsmappingsrangemapwithtype) + * [`obj options`](#obj-modelfieldconfigdefaultsmappingsrangemapoptions) + * [`fn withFrom(value)`](#fn-modelfieldconfigdefaultsmappingsrangemapoptionswithfrom) + * [`fn withResult(value)`](#fn-modelfieldconfigdefaultsmappingsrangemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-modelfieldconfigdefaultsmappingsrangemapoptionswithresultmixin) + * [`fn withTo(value)`](#fn-modelfieldconfigdefaultsmappingsrangemapoptionswithto) + * [`obj result`](#obj-modelfieldconfigdefaultsmappingsrangemapoptionsresult) + * [`fn withColor(value)`](#fn-modelfieldconfigdefaultsmappingsrangemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-modelfieldconfigdefaultsmappingsrangemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-modelfieldconfigdefaultsmappingsrangemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-modelfieldconfigdefaultsmappingsrangemapoptionsresultwithtext) + * [`obj RegexMap`](#obj-modelfieldconfigdefaultsmappingsregexmap) + * [`fn withOptions(value)`](#fn-modelfieldconfigdefaultsmappingsregexmapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-modelfieldconfigdefaultsmappingsregexmapwithoptionsmixin) + * [`fn withType()`](#fn-modelfieldconfigdefaultsmappingsregexmapwithtype) + * [`obj options`](#obj-modelfieldconfigdefaultsmappingsregexmapoptions) + * [`fn withPattern(value)`](#fn-modelfieldconfigdefaultsmappingsregexmapoptionswithpattern) + * [`fn withResult(value)`](#fn-modelfieldconfigdefaultsmappingsregexmapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-modelfieldconfigdefaultsmappingsregexmapoptionswithresultmixin) + * [`obj result`](#obj-modelfieldconfigdefaultsmappingsregexmapoptionsresult) + * [`fn withColor(value)`](#fn-modelfieldconfigdefaultsmappingsregexmapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-modelfieldconfigdefaultsmappingsregexmapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-modelfieldconfigdefaultsmappingsregexmapoptionsresultwithindex) + * [`fn withText(value)`](#fn-modelfieldconfigdefaultsmappingsregexmapoptionsresultwithtext) + * [`obj SpecialValueMap`](#obj-modelfieldconfigdefaultsmappingsspecialvaluemap) + * [`fn withOptions(value)`](#fn-modelfieldconfigdefaultsmappingsspecialvaluemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-modelfieldconfigdefaultsmappingsspecialvaluemapwithoptionsmixin) + * [`fn withType()`](#fn-modelfieldconfigdefaultsmappingsspecialvaluemapwithtype) + * [`obj options`](#obj-modelfieldconfigdefaultsmappingsspecialvaluemapoptions) + * [`fn withMatch(value)`](#fn-modelfieldconfigdefaultsmappingsspecialvaluemapoptionswithmatch) + * [`fn withResult(value)`](#fn-modelfieldconfigdefaultsmappingsspecialvaluemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-modelfieldconfigdefaultsmappingsspecialvaluemapoptionswithresultmixin) + * [`obj result`](#obj-modelfieldconfigdefaultsmappingsspecialvaluemapoptionsresult) + * [`fn withColor(value)`](#fn-modelfieldconfigdefaultsmappingsspecialvaluemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-modelfieldconfigdefaultsmappingsspecialvaluemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-modelfieldconfigdefaultsmappingsspecialvaluemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-modelfieldconfigdefaultsmappingsspecialvaluemapoptionsresultwithtext) + * [`obj ValueMap`](#obj-modelfieldconfigdefaultsmappingsvaluemap) + * [`fn withOptions(value)`](#fn-modelfieldconfigdefaultsmappingsvaluemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-modelfieldconfigdefaultsmappingsvaluemapwithoptionsmixin) + * [`fn withType()`](#fn-modelfieldconfigdefaultsmappingsvaluemapwithtype) + * [`obj thresholds`](#obj-modelfieldconfigdefaultsthresholds) + * [`fn withMode(value)`](#fn-modelfieldconfigdefaultsthresholdswithmode) + * [`fn withSteps(value)`](#fn-modelfieldconfigdefaultsthresholdswithsteps) + * [`fn withStepsMixin(value)`](#fn-modelfieldconfigdefaultsthresholdswithstepsmixin) + +## Fields + +### fn withDescription + +```jsonnet +withDescription(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Panel description +### fn withFolderUid + +```jsonnet +withFolderUid(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Folder UID +### fn withMeta + +```jsonnet +withMeta(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Object storage metadata +### fn withMetaMixin + +```jsonnet +withMetaMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Object storage metadata +### fn withModel + +```jsonnet +withModel(value) +``` + +PARAMETERS: + +* **value** (`object`) + +TODO: should be the same panel schema defined in dashboard +Typescript: Omit; +### fn withModelMixin + +```jsonnet +withModelMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +TODO: should be the same panel schema defined in dashboard +Typescript: Omit; +### fn withName + +```jsonnet +withName(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Panel name (also saved in the model) +### fn withSchemaVersion + +```jsonnet +withSchemaVersion(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Dashboard version when this was saved (zero if unknown) +### fn withType + +```jsonnet +withType(value) +``` + +PARAMETERS: + +* **value** (`string`) + +The panel type (from inside the model) +### fn withUid + +```jsonnet +withUid(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Library element UID +### fn withVersion + +```jsonnet +withVersion(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +panel version, incremented each time the dashboard is updated. +### obj meta + + +#### fn meta.withConnectedDashboards + +```jsonnet +meta.withConnectedDashboards(value) +``` + +PARAMETERS: + +* **value** (`integer`) + + +#### fn meta.withCreated + +```jsonnet +meta.withCreated(value) +``` + +PARAMETERS: + +* **value** (`string`) + + +#### fn meta.withCreatedBy + +```jsonnet +meta.withCreatedBy(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn meta.withCreatedByMixin + +```jsonnet +meta.withCreatedByMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn meta.withFolderName + +```jsonnet +meta.withFolderName(value) +``` + +PARAMETERS: + +* **value** (`string`) + + +#### fn meta.withFolderUid + +```jsonnet +meta.withFolderUid(value) +``` + +PARAMETERS: + +* **value** (`string`) + + +#### fn meta.withUpdated + +```jsonnet +meta.withUpdated(value) +``` + +PARAMETERS: + +* **value** (`string`) + + +#### fn meta.withUpdatedBy + +```jsonnet +meta.withUpdatedBy(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn meta.withUpdatedByMixin + +```jsonnet +meta.withUpdatedByMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### obj meta.createdBy + + +##### fn meta.createdBy.withAvatarUrl + +```jsonnet +meta.createdBy.withAvatarUrl(value) +``` + +PARAMETERS: + +* **value** (`string`) + + +##### fn meta.createdBy.withId + +```jsonnet +meta.createdBy.withId(value) +``` + +PARAMETERS: + +* **value** (`integer`) + + +##### fn meta.createdBy.withName + +```jsonnet +meta.createdBy.withName(value) +``` + +PARAMETERS: + +* **value** (`string`) + + +#### obj meta.updatedBy + + +##### fn meta.updatedBy.withAvatarUrl + +```jsonnet +meta.updatedBy.withAvatarUrl(value) +``` + +PARAMETERS: + +* **value** (`string`) + + +##### fn meta.updatedBy.withId + +```jsonnet +meta.updatedBy.withId(value) +``` + +PARAMETERS: + +* **value** (`integer`) + + +##### fn meta.updatedBy.withName + +```jsonnet +meta.updatedBy.withName(value) +``` + +PARAMETERS: + +* **value** (`string`) + + +### obj model + + +#### fn model.withCacheTimeout + +```jsonnet +model.withCacheTimeout(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Sets panel queries cache timeout. +#### fn model.withDatasource + +```jsonnet +model.withDatasource(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Ref to a DataSource instance +#### fn model.withDatasourceMixin + +```jsonnet +model.withDatasourceMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Ref to a DataSource instance +#### fn model.withDescription + +```jsonnet +model.withDescription(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Panel description. +#### fn model.withFieldConfig + +```jsonnet +model.withFieldConfig(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The data model used in Grafana, namely the data frame, is a columnar-oriented table structure that unifies both time series and table query results. +Each column within this structure is called a field. A field can represent a single time series or table column. +Field options allow you to change how the data is displayed in your visualizations. +#### fn model.withFieldConfigMixin + +```jsonnet +model.withFieldConfigMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The data model used in Grafana, namely the data frame, is a columnar-oriented table structure that unifies both time series and table query results. +Each column within this structure is called a field. A field can represent a single time series or table column. +Field options allow you to change how the data is displayed in your visualizations. +#### fn model.withHideTimeOverride + +```jsonnet +model.withHideTimeOverride(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Controls if the timeFrom or timeShift overrides are shown in the panel header +#### fn model.withInterval + +```jsonnet +model.withInterval(value) +``` + +PARAMETERS: + +* **value** (`string`) + +The min time interval setting defines a lower limit for the $__interval and $__interval_ms variables. +This value must be formatted as a number followed by a valid time +identifier like: "40s", "3d", etc. +See: https://grafana.com/docs/grafana/latest/panels-visualizations/query-transform-data/#query-options +#### fn model.withLinks + +```jsonnet +model.withLinks(value) +``` + +PARAMETERS: + +* **value** (`array`) + +Panel links. +#### fn model.withLinksMixin + +```jsonnet +model.withLinksMixin(value) +``` + +PARAMETERS: + +* **value** (`array`) + +Panel links. +#### fn model.withMaxDataPoints + +```jsonnet +model.withMaxDataPoints(value) +``` + +PARAMETERS: + +* **value** (`number`) + +The maximum number of data points that the panel queries are retrieving. +#### fn model.withMaxPerRow + +```jsonnet +model.withMaxPerRow(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Option for repeated panels that controls max items per row +Only relevant for horizontally repeated panels +#### fn model.withOptions + +```jsonnet +model.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +It depends on the panel plugin. They are specified by the Options field in panel plugin schemas. +#### fn model.withOptionsMixin + +```jsonnet +model.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +It depends on the panel plugin. They are specified by the Options field in panel plugin schemas. +#### fn model.withPluginVersion + +```jsonnet +model.withPluginVersion(value) +``` + +PARAMETERS: + +* **value** (`string`) + +The version of the plugin that is used for this panel. This is used to find the plugin to display the panel and to migrate old panel configs. +#### fn model.withQueryCachingTTL + +```jsonnet +model.withQueryCachingTTL(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Overrides the data source configured time-to-live for a query cache item in milliseconds +#### fn model.withRepeat + +```jsonnet +model.withRepeat(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Name of template variable to repeat for. +#### fn model.withRepeatDirection + +```jsonnet +model.withRepeatDirection(value="h") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `"h"` + - valid values: `"h"`, `"v"` + +Direction to repeat in if 'repeat' is set. +`h` for horizontal, `v` for vertical. +#### fn model.withTargets + +```jsonnet +model.withTargets(value) +``` + +PARAMETERS: + +* **value** (`array`) + +Depends on the panel plugin. See the plugin documentation for details. +#### fn model.withTargetsMixin + +```jsonnet +model.withTargetsMixin(value) +``` + +PARAMETERS: + +* **value** (`array`) + +Depends on the panel plugin. See the plugin documentation for details. +#### fn model.withTimeFrom + +```jsonnet +model.withTimeFrom(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Overrides the relative time range for individual panels, +which causes them to be different than what is selected in +the dashboard time picker in the top-right corner of the dashboard. You can use this to show metrics from different +time periods or days on the same dashboard. +The value is formatted as time operation like: `now-5m` (Last 5 minutes), `now/d` (the day so far), +`now-5d/d`(Last 5 days), `now/w` (This week so far), `now-2y/y` (Last 2 years). +Note: Panel time overrides have no effect when the dashboard’s time range is absolute. +See: https://grafana.com/docs/grafana/latest/panels-visualizations/query-transform-data/#query-options +#### fn model.withTimeShift + +```jsonnet +model.withTimeShift(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Overrides the time range for individual panels by shifting its start and end relative to the time picker. +For example, you can shift the time range for the panel to be two hours earlier than the dashboard time picker setting `2h`. +Note: Panel time overrides have no effect when the dashboard’s time range is absolute. +See: https://grafana.com/docs/grafana/latest/panels-visualizations/query-transform-data/#query-options +#### fn model.withTitle + +```jsonnet +model.withTitle(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Panel title. +#### fn model.withTransformations + +```jsonnet +model.withTransformations(value) +``` + +PARAMETERS: + +* **value** (`array`) + +List of transformations that are applied to the panel data before rendering. +When there are multiple transformations, Grafana applies them in the order they are listed. +Each transformation creates a result set that then passes on to the next transformation in the processing pipeline. +#### fn model.withTransformationsMixin + +```jsonnet +model.withTransformationsMixin(value) +``` + +PARAMETERS: + +* **value** (`array`) + +List of transformations that are applied to the panel data before rendering. +When there are multiple transformations, Grafana applies them in the order they are listed. +Each transformation creates a result set that then passes on to the next transformation in the processing pipeline. +#### fn model.withTransparent + +```jsonnet +model.withTransparent(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Whether to display the panel without a background. +#### fn model.withType + +```jsonnet +model.withType(value) +``` + +PARAMETERS: + +* **value** (`string`) + +The panel plugin type id. This is used to find the plugin to display the panel. +#### obj model.datasource + + +##### fn model.datasource.withType + +```jsonnet +model.datasource.withType(value) +``` + +PARAMETERS: + +* **value** (`string`) + +The plugin type-id +##### fn model.datasource.withUid + +```jsonnet +model.datasource.withUid(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Specific datasource instance +#### obj model.fieldConfig + + +##### fn model.fieldConfig.withDefaults + +```jsonnet +model.fieldConfig.withDefaults(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The data model used in Grafana, namely the data frame, is a columnar-oriented table structure that unifies both time series and table query results. +Each column within this structure is called a field. A field can represent a single time series or table column. +Field options allow you to change how the data is displayed in your visualizations. +##### fn model.fieldConfig.withDefaultsMixin + +```jsonnet +model.fieldConfig.withDefaultsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The data model used in Grafana, namely the data frame, is a columnar-oriented table structure that unifies both time series and table query results. +Each column within this structure is called a field. A field can represent a single time series or table column. +Field options allow you to change how the data is displayed in your visualizations. +##### fn model.fieldConfig.withOverrides + +```jsonnet +model.fieldConfig.withOverrides(value) +``` + +PARAMETERS: + +* **value** (`array`) + +Overrides are the options applied to specific fields overriding the defaults. +##### fn model.fieldConfig.withOverridesMixin + +```jsonnet +model.fieldConfig.withOverridesMixin(value) +``` + +PARAMETERS: + +* **value** (`array`) + +Overrides are the options applied to specific fields overriding the defaults. +##### obj model.fieldConfig.defaults + + +###### fn model.fieldConfig.defaults.withColor + +```jsonnet +model.fieldConfig.defaults.withColor(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map a field to a color. +###### fn model.fieldConfig.defaults.withColorMixin + +```jsonnet +model.fieldConfig.defaults.withColorMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map a field to a color. +###### fn model.fieldConfig.defaults.withCustom + +```jsonnet +model.fieldConfig.defaults.withCustom(value) +``` + +PARAMETERS: + +* **value** (`object`) + +custom is specified by the FieldConfig field +in panel plugin schemas. +###### fn model.fieldConfig.defaults.withCustomMixin + +```jsonnet +model.fieldConfig.defaults.withCustomMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +custom is specified by the FieldConfig field +in panel plugin schemas. +###### fn model.fieldConfig.defaults.withDecimals + +```jsonnet +model.fieldConfig.defaults.withDecimals(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Specify the number of decimals Grafana includes in the rendered value. +If you leave this field blank, Grafana automatically truncates the number of decimals based on the value. +For example 1.1234 will display as 1.12 and 100.456 will display as 100. +To display all decimals, set the unit to `String`. +###### fn model.fieldConfig.defaults.withDescription + +```jsonnet +model.fieldConfig.defaults.withDescription(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Human readable field metadata +###### fn model.fieldConfig.defaults.withDisplayName + +```jsonnet +model.fieldConfig.defaults.withDisplayName(value) +``` + +PARAMETERS: + +* **value** (`string`) + +The display value for this field. This supports template variables blank is auto +###### fn model.fieldConfig.defaults.withDisplayNameFromDS + +```jsonnet +model.fieldConfig.defaults.withDisplayNameFromDS(value) +``` + +PARAMETERS: + +* **value** (`string`) + +This can be used by data sources that return and explicit naming structure for values and labels +When this property is configured, this value is used rather than the default naming strategy. +###### fn model.fieldConfig.defaults.withFilterable + +```jsonnet +model.fieldConfig.defaults.withFilterable(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +True if data source field supports ad-hoc filters +###### fn model.fieldConfig.defaults.withLinks + +```jsonnet +model.fieldConfig.defaults.withLinks(value) +``` + +PARAMETERS: + +* **value** (`array`) + +The behavior when clicking on a result +###### fn model.fieldConfig.defaults.withLinksMixin + +```jsonnet +model.fieldConfig.defaults.withLinksMixin(value) +``` + +PARAMETERS: + +* **value** (`array`) + +The behavior when clicking on a result +###### fn model.fieldConfig.defaults.withMappings + +```jsonnet +model.fieldConfig.defaults.withMappings(value) +``` + +PARAMETERS: + +* **value** (`array`) + +Convert input values into a display string +###### fn model.fieldConfig.defaults.withMappingsMixin + +```jsonnet +model.fieldConfig.defaults.withMappingsMixin(value) +``` + +PARAMETERS: + +* **value** (`array`) + +Convert input values into a display string +###### fn model.fieldConfig.defaults.withMax + +```jsonnet +model.fieldConfig.defaults.withMax(value) +``` + +PARAMETERS: + +* **value** (`number`) + +The maximum value used in percentage threshold calculations. Leave blank for auto calculation based on all series and fields. +###### fn model.fieldConfig.defaults.withMin + +```jsonnet +model.fieldConfig.defaults.withMin(value) +``` + +PARAMETERS: + +* **value** (`number`) + +The minimum value used in percentage threshold calculations. Leave blank for auto calculation based on all series and fields. +###### fn model.fieldConfig.defaults.withNoValue + +```jsonnet +model.fieldConfig.defaults.withNoValue(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Alternative to empty string +###### fn model.fieldConfig.defaults.withPath + +```jsonnet +model.fieldConfig.defaults.withPath(value) +``` + +PARAMETERS: + +* **value** (`string`) + +An explicit path to the field in the datasource. When the frame meta includes a path, +This will default to `${frame.meta.path}/${field.name} + +When defined, this value can be used as an identifier within the datasource scope, and +may be used to update the results +###### fn model.fieldConfig.defaults.withThresholds + +```jsonnet +model.fieldConfig.defaults.withThresholds(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Thresholds configuration for the panel +###### fn model.fieldConfig.defaults.withThresholdsMixin + +```jsonnet +model.fieldConfig.defaults.withThresholdsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Thresholds configuration for the panel +###### fn model.fieldConfig.defaults.withUnit + +```jsonnet +model.fieldConfig.defaults.withUnit(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Unit a field should use. The unit you select is applied to all fields except time. +You can use the units ID availables in Grafana or a custom unit. +Available units in Grafana: https://github.com/grafana/grafana/blob/main/packages/grafana-data/src/valueFormats/categories.ts +As custom unit, you can use the following formats: +`suffix:` for custom unit that should go after value. +`prefix:` for custom unit that should go before value. +`time:` For custom date time formats type for example `time:YYYY-MM-DD`. +`si:` for custom SI units. For example: `si: mF`. This one is a bit more advanced as you can specify both a unit and the source data scale. So if your source data is represented as milli (thousands of) something prefix the unit with that SI scale character. +`count:` for a custom count unit. +`currency:` for custom a currency unit. +###### fn model.fieldConfig.defaults.withWriteable + +```jsonnet +model.fieldConfig.defaults.withWriteable(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +True if data source can write a value to the path. Auth/authz are supported separately +###### obj model.fieldConfig.defaults.color + + +####### fn model.fieldConfig.defaults.color.withFixedColor + +```jsonnet +model.fieldConfig.defaults.color.withFixedColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +The fixed color value for fixed or shades color modes. +####### fn model.fieldConfig.defaults.color.withMode + +```jsonnet +model.fieldConfig.defaults.color.withMode(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"thresholds"`, `"palette-classic"`, `"palette-classic-by-name"`, `"continuous-GrYlRd"`, `"continuous-RdYlGr"`, `"continuous-BlYlRd"`, `"continuous-YlRd"`, `"continuous-BlPu"`, `"continuous-YlBl"`, `"continuous-blues"`, `"continuous-reds"`, `"continuous-greens"`, `"continuous-purples"`, `"fixed"`, `"shades"` + +Color mode for a field. You can specify a single color, or select a continuous (gradient) color schemes, based on a value. +Continuous color interpolates a color using the percentage of a value relative to min and max. +Accepted values are: +`thresholds`: From thresholds. Informs Grafana to take the color from the matching threshold +`palette-classic`: Classic palette. Grafana will assign color by looking up a color in a palette by series index. Useful for Graphs and pie charts and other categorical data visualizations +`palette-classic-by-name`: Classic palette (by name). Grafana will assign color by looking up a color in a palette by series name. Useful for Graphs and pie charts and other categorical data visualizations +`continuous-GrYlRd`: ontinuous Green-Yellow-Red palette mode +`continuous-RdYlGr`: Continuous Red-Yellow-Green palette mode +`continuous-BlYlRd`: Continuous Blue-Yellow-Red palette mode +`continuous-YlRd`: Continuous Yellow-Red palette mode +`continuous-BlPu`: Continuous Blue-Purple palette mode +`continuous-YlBl`: Continuous Yellow-Blue palette mode +`continuous-blues`: Continuous Blue palette mode +`continuous-reds`: Continuous Red palette mode +`continuous-greens`: Continuous Green palette mode +`continuous-purples`: Continuous Purple palette mode +`shades`: Shades of a single color. Specify a single color, useful in an override rule. +`fixed`: Fixed color mode. Specify a single color, useful in an override rule. +####### fn model.fieldConfig.defaults.color.withSeriesBy + +```jsonnet +model.fieldConfig.defaults.color.withSeriesBy(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"min"`, `"max"`, `"last"` + +Defines how to assign a series color from "by value" color schemes. For example for an aggregated data points like a timeseries, the color can be assigned by the min, max or last value. +###### obj model.fieldConfig.defaults.mappings + + +####### obj model.fieldConfig.defaults.mappings.RangeMap + + +######## fn model.fieldConfig.defaults.mappings.RangeMap.withOptions + +```jsonnet +model.fieldConfig.defaults.mappings.RangeMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +######## fn model.fieldConfig.defaults.mappings.RangeMap.withOptionsMixin + +```jsonnet +model.fieldConfig.defaults.mappings.RangeMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +######## fn model.fieldConfig.defaults.mappings.RangeMap.withType + +```jsonnet +model.fieldConfig.defaults.mappings.RangeMap.withType() +``` + + + +######## obj model.fieldConfig.defaults.mappings.RangeMap.options + + +######### fn model.fieldConfig.defaults.mappings.RangeMap.options.withFrom + +```jsonnet +model.fieldConfig.defaults.mappings.RangeMap.options.withFrom(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Min value of the range. It can be null which means -Infinity +######### fn model.fieldConfig.defaults.mappings.RangeMap.options.withResult + +```jsonnet +model.fieldConfig.defaults.mappings.RangeMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +######### fn model.fieldConfig.defaults.mappings.RangeMap.options.withResultMixin + +```jsonnet +model.fieldConfig.defaults.mappings.RangeMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +######### fn model.fieldConfig.defaults.mappings.RangeMap.options.withTo + +```jsonnet +model.fieldConfig.defaults.mappings.RangeMap.options.withTo(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Max value of the range. It can be null which means +Infinity +######### obj model.fieldConfig.defaults.mappings.RangeMap.options.result + + +########## fn model.fieldConfig.defaults.mappings.RangeMap.options.result.withColor + +```jsonnet +model.fieldConfig.defaults.mappings.RangeMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +########## fn model.fieldConfig.defaults.mappings.RangeMap.options.result.withIcon + +```jsonnet +model.fieldConfig.defaults.mappings.RangeMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +########## fn model.fieldConfig.defaults.mappings.RangeMap.options.result.withIndex + +```jsonnet +model.fieldConfig.defaults.mappings.RangeMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +########## fn model.fieldConfig.defaults.mappings.RangeMap.options.result.withText + +```jsonnet +model.fieldConfig.defaults.mappings.RangeMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +####### obj model.fieldConfig.defaults.mappings.RegexMap + + +######## fn model.fieldConfig.defaults.mappings.RegexMap.withOptions + +```jsonnet +model.fieldConfig.defaults.mappings.RegexMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +######## fn model.fieldConfig.defaults.mappings.RegexMap.withOptionsMixin + +```jsonnet +model.fieldConfig.defaults.mappings.RegexMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +######## fn model.fieldConfig.defaults.mappings.RegexMap.withType + +```jsonnet +model.fieldConfig.defaults.mappings.RegexMap.withType() +``` + + + +######## obj model.fieldConfig.defaults.mappings.RegexMap.options + + +######### fn model.fieldConfig.defaults.mappings.RegexMap.options.withPattern + +```jsonnet +model.fieldConfig.defaults.mappings.RegexMap.options.withPattern(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Regular expression to match against +######### fn model.fieldConfig.defaults.mappings.RegexMap.options.withResult + +```jsonnet +model.fieldConfig.defaults.mappings.RegexMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +######### fn model.fieldConfig.defaults.mappings.RegexMap.options.withResultMixin + +```jsonnet +model.fieldConfig.defaults.mappings.RegexMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +######### obj model.fieldConfig.defaults.mappings.RegexMap.options.result + + +########## fn model.fieldConfig.defaults.mappings.RegexMap.options.result.withColor + +```jsonnet +model.fieldConfig.defaults.mappings.RegexMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +########## fn model.fieldConfig.defaults.mappings.RegexMap.options.result.withIcon + +```jsonnet +model.fieldConfig.defaults.mappings.RegexMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +########## fn model.fieldConfig.defaults.mappings.RegexMap.options.result.withIndex + +```jsonnet +model.fieldConfig.defaults.mappings.RegexMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +########## fn model.fieldConfig.defaults.mappings.RegexMap.options.result.withText + +```jsonnet +model.fieldConfig.defaults.mappings.RegexMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +####### obj model.fieldConfig.defaults.mappings.SpecialValueMap + + +######## fn model.fieldConfig.defaults.mappings.SpecialValueMap.withOptions + +```jsonnet +model.fieldConfig.defaults.mappings.SpecialValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +######## fn model.fieldConfig.defaults.mappings.SpecialValueMap.withOptionsMixin + +```jsonnet +model.fieldConfig.defaults.mappings.SpecialValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +######## fn model.fieldConfig.defaults.mappings.SpecialValueMap.withType + +```jsonnet +model.fieldConfig.defaults.mappings.SpecialValueMap.withType() +``` + + + +######## obj model.fieldConfig.defaults.mappings.SpecialValueMap.options + + +######### fn model.fieldConfig.defaults.mappings.SpecialValueMap.options.withMatch + +```jsonnet +model.fieldConfig.defaults.mappings.SpecialValueMap.options.withMatch(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` + +Special value types supported by the `SpecialValueMap` +######### fn model.fieldConfig.defaults.mappings.SpecialValueMap.options.withResult + +```jsonnet +model.fieldConfig.defaults.mappings.SpecialValueMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +######### fn model.fieldConfig.defaults.mappings.SpecialValueMap.options.withResultMixin + +```jsonnet +model.fieldConfig.defaults.mappings.SpecialValueMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +######### obj model.fieldConfig.defaults.mappings.SpecialValueMap.options.result + + +########## fn model.fieldConfig.defaults.mappings.SpecialValueMap.options.result.withColor + +```jsonnet +model.fieldConfig.defaults.mappings.SpecialValueMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +########## fn model.fieldConfig.defaults.mappings.SpecialValueMap.options.result.withIcon + +```jsonnet +model.fieldConfig.defaults.mappings.SpecialValueMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +########## fn model.fieldConfig.defaults.mappings.SpecialValueMap.options.result.withIndex + +```jsonnet +model.fieldConfig.defaults.mappings.SpecialValueMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +########## fn model.fieldConfig.defaults.mappings.SpecialValueMap.options.result.withText + +```jsonnet +model.fieldConfig.defaults.mappings.SpecialValueMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +####### obj model.fieldConfig.defaults.mappings.ValueMap + + +######## fn model.fieldConfig.defaults.mappings.ValueMap.withOptions + +```jsonnet +model.fieldConfig.defaults.mappings.ValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +######## fn model.fieldConfig.defaults.mappings.ValueMap.withOptionsMixin + +```jsonnet +model.fieldConfig.defaults.mappings.ValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +######## fn model.fieldConfig.defaults.mappings.ValueMap.withType + +```jsonnet +model.fieldConfig.defaults.mappings.ValueMap.withType() +``` + + + +###### obj model.fieldConfig.defaults.thresholds + + +####### fn model.fieldConfig.defaults.thresholds.withMode + +```jsonnet +model.fieldConfig.defaults.thresholds.withMode(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"absolute"`, `"percentage"` + +Thresholds can either be `absolute` (specific number) or `percentage` (relative to min or max, it will be values between 0 and 1). +####### fn model.fieldConfig.defaults.thresholds.withSteps + +```jsonnet +model.fieldConfig.defaults.thresholds.withSteps(value) +``` + +PARAMETERS: + +* **value** (`array`) + +Must be sorted by 'value', first value is always -Infinity +####### fn model.fieldConfig.defaults.thresholds.withStepsMixin + +```jsonnet +model.fieldConfig.defaults.thresholds.withStepsMixin(value) +``` + +PARAMETERS: + +* **value** (`array`) + +Must be sorted by 'value', first value is always -Infinity \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/librarypanel/model/fieldConfig/defaults/thresholds/steps.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/librarypanel/model/fieldConfig/defaults/thresholds/steps.md new file mode 100644 index 0000000..79d0a17 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/librarypanel/model/fieldConfig/defaults/thresholds/steps.md @@ -0,0 +1,34 @@ +# steps + + + +## Index + +* [`fn withColor(value)`](#fn-withcolor) +* [`fn withValue(value)`](#fn-withvalue) + +## Fields + +### fn withColor + +```jsonnet +withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. +### fn withValue + +```jsonnet +withValue(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. +Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/librarypanel/model/fieldConfig/overrides/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/librarypanel/model/fieldConfig/overrides/index.md new file mode 100644 index 0000000..35b01d5 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/librarypanel/model/fieldConfig/overrides/index.md @@ -0,0 +1,104 @@ +# overrides + + + +## Subpackages + +* [properties](properties.md) + +## Index + +* [`fn withMatcher(value)`](#fn-withmatcher) +* [`fn withMatcherMixin(value)`](#fn-withmatchermixin) +* [`fn withProperties(value)`](#fn-withproperties) +* [`fn withPropertiesMixin(value)`](#fn-withpropertiesmixin) +* [`obj matcher`](#obj-matcher) + * [`fn withId(value="")`](#fn-matcherwithid) + * [`fn withOptions(value)`](#fn-matcherwithoptions) + * [`fn withOptionsMixin(value)`](#fn-matcherwithoptionsmixin) + +## Fields + +### fn withMatcher + +```jsonnet +withMatcher(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withMatcherMixin + +```jsonnet +withMatcherMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withProperties + +```jsonnet +withProperties(value) +``` + +PARAMETERS: + +* **value** (`array`) + + +### fn withPropertiesMixin + +```jsonnet +withPropertiesMixin(value) +``` + +PARAMETERS: + +* **value** (`array`) + + +### obj matcher + + +#### fn matcher.withId + +```jsonnet +matcher.withId(value="") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `""` + +The matcher id. This is used to find the matcher implementation from registry. +#### fn matcher.withOptions + +```jsonnet +matcher.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. +#### fn matcher.withOptionsMixin + +```jsonnet +matcher.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/librarypanel/model/fieldConfig/overrides/properties.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/librarypanel/model/fieldConfig/overrides/properties.md new file mode 100644 index 0000000..766e198 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/librarypanel/model/fieldConfig/overrides/properties.md @@ -0,0 +1,45 @@ +# properties + + + +## Index + +* [`fn withId(value="")`](#fn-withid) +* [`fn withValue(value)`](#fn-withvalue) +* [`fn withValueMixin(value)`](#fn-withvaluemixin) + +## Fields + +### fn withId + +```jsonnet +withId(value="") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `""` + + +### fn withValue + +```jsonnet +withValue(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +### fn withValueMixin + +```jsonnet +withValueMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/xyChart/panelOptions/link.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/librarypanel/model/links.md similarity index 99% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/xyChart/panelOptions/link.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/librarypanel/model/links.md index d744fc5..fcc060a 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/xyChart/panelOptions/link.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/librarypanel/model/links.md @@ -1,4 +1,4 @@ -# link +# links diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/librarypanel/model/transformations.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/librarypanel/model/transformations.md new file mode 100644 index 0000000..df55608 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/librarypanel/model/transformations.md @@ -0,0 +1,140 @@ +# transformations + + + +## Index + +* [`fn withDisabled(value=true)`](#fn-withdisabled) +* [`fn withFilter(value)`](#fn-withfilter) +* [`fn withFilterMixin(value)`](#fn-withfiltermixin) +* [`fn withId(value)`](#fn-withid) +* [`fn withOptions(value)`](#fn-withoptions) +* [`fn withOptionsMixin(value)`](#fn-withoptionsmixin) +* [`fn withTopic(value)`](#fn-withtopic) +* [`obj filter`](#obj-filter) + * [`fn withId(value="")`](#fn-filterwithid) + * [`fn withOptions(value)`](#fn-filterwithoptions) + * [`fn withOptionsMixin(value)`](#fn-filterwithoptionsmixin) + +## Fields + +### fn withDisabled + +```jsonnet +withDisabled(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Disabled transformations are skipped +### fn withFilter + +```jsonnet +withFilter(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withFilterMixin + +```jsonnet +withFilterMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withId + +```jsonnet +withId(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Unique identifier of transformer +### fn withOptions + +```jsonnet +withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withOptionsMixin + +```jsonnet +withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withTopic + +```jsonnet +withTopic(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"series"`, `"annotations"`, `"alertStates"` + +Where to pull DataFrames from as input to transformation +### obj filter + + +#### fn filter.withId + +```jsonnet +filter.withId(value="") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `""` + +The matcher id. This is used to find the matcher implementation from registry. +#### fn filter.withOptions + +```jsonnet +filter.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. +#### fn filter.withOptionsMixin + +```jsonnet +filter.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/alertList/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/alertList/index.md similarity index 96% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/alertList/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/alertList/index.md index 6a2b1e8..0061f5a 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/alertList/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/alertList/index.md @@ -71,6 +71,7 @@ grafonnet.panel.alertList * [`fn withGridPos(h="null", w="null", x="null", y="null")`](#fn-paneloptionswithgridpos) * [`fn withLinks(value)`](#fn-paneloptionswithlinks) * [`fn withLinksMixin(value)`](#fn-paneloptionswithlinksmixin) + * [`fn withMaxPerRow(value)`](#fn-paneloptionswithmaxperrow) * [`fn withRepeat(value)`](#fn-paneloptionswithrepeat) * [`fn withRepeatDirection(value="h")`](#fn-paneloptionswithrepeatdirection) * [`fn withTitle(value)`](#fn-paneloptionswithtitle) @@ -78,8 +79,10 @@ grafonnet.panel.alertList * [`obj queryOptions`](#obj-queryoptions) * [`fn withDatasource(type, uid)`](#fn-queryoptionswithdatasource) * [`fn withDatasourceMixin(value)`](#fn-queryoptionswithdatasourcemixin) + * [`fn withHideTimeOverride(value=true)`](#fn-queryoptionswithhidetimeoverride) * [`fn withInterval(value)`](#fn-queryoptionswithinterval) * [`fn withMaxDataPoints(value)`](#fn-queryoptionswithmaxdatapoints) + * [`fn withQueryCachingTTL(value)`](#fn-queryoptionswithquerycachingttl) * [`fn withTargets(value)`](#fn-queryoptionswithtargets) * [`fn withTargetsMixin(value)`](#fn-queryoptionswithtargetsmixin) * [`fn withTimeFrom(value)`](#fn-queryoptionswithtimefrom) @@ -727,6 +730,18 @@ PARAMETERS: * **value** (`array`) Panel links. +#### fn panelOptions.withMaxPerRow + +```jsonnet +panelOptions.withMaxPerRow(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Option for repeated panels that controls max items per row +Only relevant for horizontally repeated panels #### fn panelOptions.withRepeat ```jsonnet @@ -804,6 +819,18 @@ PARAMETERS: * **value** (`object`) Ref to a DataSource instance +#### fn queryOptions.withHideTimeOverride + +```jsonnet +queryOptions.withHideTimeOverride(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Controls if the timeFrom or timeShift overrides are shown in the panel header #### fn queryOptions.withInterval ```jsonnet @@ -829,6 +856,17 @@ PARAMETERS: * **value** (`number`) The maximum number of data points that the panel queries are retrieving. +#### fn queryOptions.withQueryCachingTTL + +```jsonnet +queryOptions.withQueryCachingTTL(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Overrides the data source configured time-to-live for a query cache item in milliseconds #### fn queryOptions.withTargets ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/alertGroups/panelOptions/link.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/alertList/panelOptions/link.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/alertGroups/panelOptions/link.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/alertList/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barChart/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/alertList/queryOptions/transformation.md similarity index 80% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barChart/queryOptions/transformation.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/alertList/queryOptions/transformation.md index 17a3d45..69dda9a 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barChart/queryOptions/transformation.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/alertList/queryOptions/transformation.md @@ -9,10 +9,12 @@ * [`fn withFilterMixin(value)`](#fn-withfiltermixin) * [`fn withId(value)`](#fn-withid) * [`fn withOptions(value)`](#fn-withoptions) +* [`fn withOptionsMixin(value)`](#fn-withoptionsmixin) * [`fn withTopic(value)`](#fn-withtopic) * [`obj filter`](#obj-filter) * [`fn withId(value="")`](#fn-filterwithid) * [`fn withOptions(value)`](#fn-filterwithoptions) + * [`fn withOptionsMixin(value)`](#fn-filterwithoptionsmixin) ## Fields @@ -71,7 +73,19 @@ withOptions(value) PARAMETERS: -* **value** (`string`) +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withOptionsMixin + +```jsonnet +withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) Options to be passed to the transformer Valid options depend on the transformer id @@ -110,6 +124,17 @@ filter.withOptions(value) PARAMETERS: -* **value** (`string`) +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. +#### fn filter.withOptionsMixin + +```jsonnet +filter.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/alertList/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/alertList/standardOptions/mapping.md similarity index 94% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/alertList/standardOptions/mapping.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/alertList/standardOptions/mapping.md index 7f10ced..196c769 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/alertList/standardOptions/mapping.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/alertList/standardOptions/mapping.md @@ -7,7 +7,7 @@ * [`obj RangeMap`](#obj-rangemap) * [`fn withOptions(value)`](#fn-rangemapwithoptions) * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) - * [`fn withType(value)`](#fn-rangemapwithtype) + * [`fn withType()`](#fn-rangemapwithtype) * [`obj options`](#obj-rangemapoptions) * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) * [`fn withResult(value)`](#fn-rangemapoptionswithresult) @@ -21,7 +21,7 @@ * [`obj RegexMap`](#obj-regexmap) * [`fn withOptions(value)`](#fn-regexmapwithoptions) * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) - * [`fn withType(value)`](#fn-regexmapwithtype) + * [`fn withType()`](#fn-regexmapwithtype) * [`obj options`](#obj-regexmapoptions) * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) * [`fn withResult(value)`](#fn-regexmapoptionswithresult) @@ -34,7 +34,7 @@ * [`obj SpecialValueMap`](#obj-specialvaluemap) * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) - * [`fn withType(value)`](#fn-specialvaluemapwithtype) + * [`fn withType()`](#fn-specialvaluemapwithtype) * [`obj options`](#obj-specialvaluemapoptions) * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) @@ -47,7 +47,7 @@ * [`obj ValueMap`](#obj-valuemap) * [`fn withOptions(value)`](#fn-valuemapwithoptions) * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) - * [`fn withType(value)`](#fn-valuemapwithtype) + * [`fn withType()`](#fn-valuemapwithtype) ## Fields @@ -79,12 +79,9 @@ Range to match against and the result to apply when the value is within the rang #### fn RangeMap.withType ```jsonnet -RangeMap.withType(value) +RangeMap.withType() ``` -PARAMETERS: - -* **value** (`string`) #### obj RangeMap.options @@ -98,7 +95,7 @@ RangeMap.options.withFrom(value) PARAMETERS: -* **value** (`null`,`number`) +* **value** (`number`) Min value of the range. It can be null which means -Infinity ##### fn RangeMap.options.withResult @@ -131,7 +128,7 @@ RangeMap.options.withTo(value) PARAMETERS: -* **value** (`null`,`number`) +* **value** (`number`) Max value of the range. It can be null which means +Infinity ##### obj RangeMap.options.result @@ -209,12 +206,9 @@ Regular expression to match against and the result to apply when the value match #### fn RegexMap.withType ```jsonnet -RegexMap.withType(value) +RegexMap.withType() ``` -PARAMETERS: - -* **value** (`string`) #### obj RegexMap.options @@ -328,12 +322,9 @@ PARAMETERS: #### fn SpecialValueMap.withType ```jsonnet -SpecialValueMap.withType(value) +SpecialValueMap.withType() ``` -PARAMETERS: - -* **value** (`string`) #### obj SpecialValueMap.options @@ -448,10 +439,7 @@ Map with : ValueMappingResult. For example: { "10": { text: "Per #### fn ValueMap.withType ```jsonnet -ValueMap.withType(value) +ValueMap.withType() ``` -PARAMETERS: - -* **value** (`string`) diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/alertGroups/standardOptions/override.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/alertList/standardOptions/override.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/alertGroups/standardOptions/override.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/alertList/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/alertList/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/alertList/standardOptions/threshold/step.md similarity index 95% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/alertList/standardOptions/threshold/step.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/alertList/standardOptions/threshold/step.md index 5212a21..62c49ab 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/alertList/standardOptions/threshold/step.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/alertList/standardOptions/threshold/step.md @@ -28,7 +28,7 @@ withValue(value) PARAMETERS: -* **value** (`null`,`number`) +* **value** (`number`) Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/annotationsList/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/annotationsList/index.md similarity index 95% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/annotationsList/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/annotationsList/index.md index d2471a5..0cd1707 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/annotationsList/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/annotationsList/index.md @@ -33,6 +33,7 @@ grafonnet.panel.annotationsList * [`fn withGridPos(h="null", w="null", x="null", y="null")`](#fn-paneloptionswithgridpos) * [`fn withLinks(value)`](#fn-paneloptionswithlinks) * [`fn withLinksMixin(value)`](#fn-paneloptionswithlinksmixin) + * [`fn withMaxPerRow(value)`](#fn-paneloptionswithmaxperrow) * [`fn withRepeat(value)`](#fn-paneloptionswithrepeat) * [`fn withRepeatDirection(value="h")`](#fn-paneloptionswithrepeatdirection) * [`fn withTitle(value)`](#fn-paneloptionswithtitle) @@ -40,8 +41,10 @@ grafonnet.panel.annotationsList * [`obj queryOptions`](#obj-queryoptions) * [`fn withDatasource(type, uid)`](#fn-queryoptionswithdatasource) * [`fn withDatasourceMixin(value)`](#fn-queryoptionswithdatasourcemixin) + * [`fn withHideTimeOverride(value=true)`](#fn-queryoptionswithhidetimeoverride) * [`fn withInterval(value)`](#fn-queryoptionswithinterval) * [`fn withMaxDataPoints(value)`](#fn-queryoptionswithmaxdatapoints) + * [`fn withQueryCachingTTL(value)`](#fn-queryoptionswithquerycachingttl) * [`fn withTargets(value)`](#fn-queryoptionswithtargets) * [`fn withTargetsMixin(value)`](#fn-queryoptionswithtargetsmixin) * [`fn withTimeFrom(value)`](#fn-queryoptionswithtimefrom) @@ -300,6 +303,18 @@ PARAMETERS: * **value** (`array`) Panel links. +#### fn panelOptions.withMaxPerRow + +```jsonnet +panelOptions.withMaxPerRow(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Option for repeated panels that controls max items per row +Only relevant for horizontally repeated panels #### fn panelOptions.withRepeat ```jsonnet @@ -377,6 +392,18 @@ PARAMETERS: * **value** (`object`) Ref to a DataSource instance +#### fn queryOptions.withHideTimeOverride + +```jsonnet +queryOptions.withHideTimeOverride(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Controls if the timeFrom or timeShift overrides are shown in the panel header #### fn queryOptions.withInterval ```jsonnet @@ -402,6 +429,17 @@ PARAMETERS: * **value** (`number`) The maximum number of data points that the panel queries are retrieving. +#### fn queryOptions.withQueryCachingTTL + +```jsonnet +queryOptions.withQueryCachingTTL(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Overrides the data source configured time-to-live for a query cache item in milliseconds #### fn queryOptions.withTargets ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/alertList/panelOptions/link.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/annotationsList/panelOptions/link.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/alertList/panelOptions/link.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/annotationsList/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/alertList/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/annotationsList/queryOptions/transformation.md similarity index 80% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/alertList/queryOptions/transformation.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/annotationsList/queryOptions/transformation.md index 17a3d45..69dda9a 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/alertList/queryOptions/transformation.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/annotationsList/queryOptions/transformation.md @@ -9,10 +9,12 @@ * [`fn withFilterMixin(value)`](#fn-withfiltermixin) * [`fn withId(value)`](#fn-withid) * [`fn withOptions(value)`](#fn-withoptions) +* [`fn withOptionsMixin(value)`](#fn-withoptionsmixin) * [`fn withTopic(value)`](#fn-withtopic) * [`obj filter`](#obj-filter) * [`fn withId(value="")`](#fn-filterwithid) * [`fn withOptions(value)`](#fn-filterwithoptions) + * [`fn withOptionsMixin(value)`](#fn-filterwithoptionsmixin) ## Fields @@ -71,7 +73,19 @@ withOptions(value) PARAMETERS: -* **value** (`string`) +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withOptionsMixin + +```jsonnet +withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) Options to be passed to the transformer Valid options depend on the transformer id @@ -110,6 +124,17 @@ filter.withOptions(value) PARAMETERS: -* **value** (`string`) +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. +#### fn filter.withOptionsMixin + +```jsonnet +filter.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/annotationsList/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/annotationsList/standardOptions/mapping.md similarity index 94% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/annotationsList/standardOptions/mapping.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/annotationsList/standardOptions/mapping.md index 7f10ced..196c769 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/annotationsList/standardOptions/mapping.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/annotationsList/standardOptions/mapping.md @@ -7,7 +7,7 @@ * [`obj RangeMap`](#obj-rangemap) * [`fn withOptions(value)`](#fn-rangemapwithoptions) * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) - * [`fn withType(value)`](#fn-rangemapwithtype) + * [`fn withType()`](#fn-rangemapwithtype) * [`obj options`](#obj-rangemapoptions) * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) * [`fn withResult(value)`](#fn-rangemapoptionswithresult) @@ -21,7 +21,7 @@ * [`obj RegexMap`](#obj-regexmap) * [`fn withOptions(value)`](#fn-regexmapwithoptions) * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) - * [`fn withType(value)`](#fn-regexmapwithtype) + * [`fn withType()`](#fn-regexmapwithtype) * [`obj options`](#obj-regexmapoptions) * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) * [`fn withResult(value)`](#fn-regexmapoptionswithresult) @@ -34,7 +34,7 @@ * [`obj SpecialValueMap`](#obj-specialvaluemap) * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) - * [`fn withType(value)`](#fn-specialvaluemapwithtype) + * [`fn withType()`](#fn-specialvaluemapwithtype) * [`obj options`](#obj-specialvaluemapoptions) * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) @@ -47,7 +47,7 @@ * [`obj ValueMap`](#obj-valuemap) * [`fn withOptions(value)`](#fn-valuemapwithoptions) * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) - * [`fn withType(value)`](#fn-valuemapwithtype) + * [`fn withType()`](#fn-valuemapwithtype) ## Fields @@ -79,12 +79,9 @@ Range to match against and the result to apply when the value is within the rang #### fn RangeMap.withType ```jsonnet -RangeMap.withType(value) +RangeMap.withType() ``` -PARAMETERS: - -* **value** (`string`) #### obj RangeMap.options @@ -98,7 +95,7 @@ RangeMap.options.withFrom(value) PARAMETERS: -* **value** (`null`,`number`) +* **value** (`number`) Min value of the range. It can be null which means -Infinity ##### fn RangeMap.options.withResult @@ -131,7 +128,7 @@ RangeMap.options.withTo(value) PARAMETERS: -* **value** (`null`,`number`) +* **value** (`number`) Max value of the range. It can be null which means +Infinity ##### obj RangeMap.options.result @@ -209,12 +206,9 @@ Regular expression to match against and the result to apply when the value match #### fn RegexMap.withType ```jsonnet -RegexMap.withType(value) +RegexMap.withType() ``` -PARAMETERS: - -* **value** (`string`) #### obj RegexMap.options @@ -328,12 +322,9 @@ PARAMETERS: #### fn SpecialValueMap.withType ```jsonnet -SpecialValueMap.withType(value) +SpecialValueMap.withType() ``` -PARAMETERS: - -* **value** (`string`) #### obj SpecialValueMap.options @@ -448,10 +439,7 @@ Map with : ValueMappingResult. For example: { "10": { text: "Per #### fn ValueMap.withType ```jsonnet -ValueMap.withType(value) +ValueMap.withType() ``` -PARAMETERS: - -* **value** (`string`) diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/alertList/standardOptions/override.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/annotationsList/standardOptions/override.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/alertList/standardOptions/override.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/annotationsList/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/alertGroups/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/annotationsList/standardOptions/threshold/step.md similarity index 95% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/alertGroups/standardOptions/threshold/step.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/annotationsList/standardOptions/threshold/step.md index 5212a21..62c49ab 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/alertGroups/standardOptions/threshold/step.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/annotationsList/standardOptions/threshold/step.md @@ -28,7 +28,7 @@ withValue(value) PARAMETERS: -* **value** (`null`,`number`) +* **value** (`number`) Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barChart/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/barChart/index.md similarity index 93% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barChart/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/barChart/index.md index c8dd811..327ef01 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barChart/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/barChart/index.md @@ -26,7 +26,7 @@ grafonnet.panel.barChart * [`fn withAxisSoftMin(value)`](#fn-fieldconfigdefaultscustomwithaxissoftmin) * [`fn withAxisWidth(value)`](#fn-fieldconfigdefaultscustomwithaxiswidth) * [`fn withFillOpacity(value=80)`](#fn-fieldconfigdefaultscustomwithfillopacity) - * [`fn withGradientMode(value)`](#fn-fieldconfigdefaultscustomwithgradientmode) + * [`fn withGradientMode(value="none")`](#fn-fieldconfigdefaultscustomwithgradientmode) * [`fn withHideFrom(value)`](#fn-fieldconfigdefaultscustomwithhidefrom) * [`fn withHideFromMixin(value)`](#fn-fieldconfigdefaultscustomwithhidefrommixin) * [`fn withLineWidth(value=1)`](#fn-fieldconfigdefaultscustomwithlinewidth) @@ -55,9 +55,9 @@ grafonnet.panel.barChart * [`fn withGroupWidth(value=0.7)`](#fn-optionswithgroupwidth) * [`fn withLegend(value)`](#fn-optionswithlegend) * [`fn withLegendMixin(value)`](#fn-optionswithlegendmixin) - * [`fn withOrientation(value)`](#fn-optionswithorientation) - * [`fn withShowValue(value)`](#fn-optionswithshowvalue) - * [`fn withStacking(value)`](#fn-optionswithstacking) + * [`fn withOrientation(value="auto")`](#fn-optionswithorientation) + * [`fn withShowValue(value="auto")`](#fn-optionswithshowvalue) + * [`fn withStacking(value="none")`](#fn-optionswithstacking) * [`fn withText(value)`](#fn-optionswithtext) * [`fn withTextMixin(value)`](#fn-optionswithtextmixin) * [`fn withTooltip(value)`](#fn-optionswithtooltip) @@ -68,11 +68,11 @@ grafonnet.panel.barChart * [`fn withXTickLabelSpacing(value=0)`](#fn-optionswithxticklabelspacing) * [`obj legend`](#obj-optionslegend) * [`fn withAsTable(value=true)`](#fn-optionslegendwithastable) - * [`fn withCalcs(value)`](#fn-optionslegendwithcalcs) - * [`fn withCalcsMixin(value)`](#fn-optionslegendwithcalcsmixin) - * [`fn withDisplayMode(value)`](#fn-optionslegendwithdisplaymode) + * [`fn withCalcs(value=[])`](#fn-optionslegendwithcalcs) + * [`fn withCalcsMixin(value=[])`](#fn-optionslegendwithcalcsmixin) + * [`fn withDisplayMode(value="list")`](#fn-optionslegendwithdisplaymode) * [`fn withIsVisible(value=true)`](#fn-optionslegendwithisvisible) - * [`fn withPlacement(value)`](#fn-optionslegendwithplacement) + * [`fn withPlacement(value="bottom")`](#fn-optionslegendwithplacement) * [`fn withShowLegend(value=true)`](#fn-optionslegendwithshowlegend) * [`fn withSortBy(value)`](#fn-optionslegendwithsortby) * [`fn withSortDesc(value=true)`](#fn-optionslegendwithsortdesc) @@ -90,6 +90,7 @@ grafonnet.panel.barChart * [`fn withGridPos(h="null", w="null", x="null", y="null")`](#fn-paneloptionswithgridpos) * [`fn withLinks(value)`](#fn-paneloptionswithlinks) * [`fn withLinksMixin(value)`](#fn-paneloptionswithlinksmixin) + * [`fn withMaxPerRow(value)`](#fn-paneloptionswithmaxperrow) * [`fn withRepeat(value)`](#fn-paneloptionswithrepeat) * [`fn withRepeatDirection(value="h")`](#fn-paneloptionswithrepeatdirection) * [`fn withTitle(value)`](#fn-paneloptionswithtitle) @@ -97,8 +98,10 @@ grafonnet.panel.barChart * [`obj queryOptions`](#obj-queryoptions) * [`fn withDatasource(type, uid)`](#fn-queryoptionswithdatasource) * [`fn withDatasourceMixin(value)`](#fn-queryoptionswithdatasourcemixin) + * [`fn withHideTimeOverride(value=true)`](#fn-queryoptionswithhidetimeoverride) * [`fn withInterval(value)`](#fn-queryoptionswithinterval) * [`fn withMaxDataPoints(value)`](#fn-queryoptionswithmaxdatapoints) + * [`fn withQueryCachingTTL(value)`](#fn-queryoptionswithquerycachingttl) * [`fn withTargets(value)`](#fn-queryoptionswithtargets) * [`fn withTargetsMixin(value)`](#fn-queryoptionswithtargetsmixin) * [`fn withTimeFrom(value)`](#fn-queryoptionswithtimefrom) @@ -270,15 +273,16 @@ Controls the fill opacity of the bars. ###### fn fieldConfig.defaults.custom.withGradientMode ```jsonnet -fieldConfig.defaults.custom.withGradientMode(value) +fieldConfig.defaults.custom.withGradientMode(value="none") ``` PARAMETERS: * **value** (`string`) + - default value: `"none"` + - valid values: `"none"`, `"opacity"`, `"hue"`, `"scheme"` -Set the mode of the gradient fill. Fill gradient is based on the line color. To change the color, use the standard color scheme field option. -Gradient appearance is influenced by the Fill opacity setting. +TODO docs ###### fn fieldConfig.defaults.custom.withHideFrom ```jsonnet @@ -561,36 +565,42 @@ TODO docs #### fn options.withOrientation ```jsonnet -options.withOrientation(value) +options.withOrientation(value="auto") ``` PARAMETERS: * **value** (`string`) + - default value: `"auto"` + - valid values: `"auto"`, `"vertical"`, `"horizontal"` -Controls the orientation of the bar chart, either vertical or horizontal. +TODO docs #### fn options.withShowValue ```jsonnet -options.withShowValue(value) +options.withShowValue(value="auto") ``` PARAMETERS: * **value** (`string`) + - default value: `"auto"` + - valid values: `"auto"`, `"never"`, `"always"` -This controls whether values are shown on top or to the left of bars. +TODO docs #### fn options.withStacking ```jsonnet -options.withStacking(value) +options.withStacking(value="none") ``` PARAMETERS: * **value** (`string`) + - default value: `"none"` + - valid values: `"none"`, `"normal"`, `"percent"` -Controls whether bars are stacked or not, either normally or in percent mode. +TODO docs #### fn options.withText ```jsonnet @@ -700,34 +710,37 @@ PARAMETERS: ##### fn options.legend.withCalcs ```jsonnet -options.legend.withCalcs(value) +options.legend.withCalcs(value=[]) ``` PARAMETERS: * **value** (`array`) + - default value: `[]` ##### fn options.legend.withCalcsMixin ```jsonnet -options.legend.withCalcsMixin(value) +options.legend.withCalcsMixin(value=[]) ``` PARAMETERS: * **value** (`array`) + - default value: `[]` ##### fn options.legend.withDisplayMode ```jsonnet -options.legend.withDisplayMode(value) +options.legend.withDisplayMode(value="list") ``` PARAMETERS: * **value** (`string`) + - default value: `"list"` - valid values: `"list"`, `"table"`, `"hidden"` TODO docs @@ -747,12 +760,13 @@ PARAMETERS: ##### fn options.legend.withPlacement ```jsonnet -options.legend.withPlacement(value) +options.legend.withPlacement(value="bottom") ``` PARAMETERS: * **value** (`string`) + - default value: `"bottom"` - valid values: `"bottom"`, `"right"` TODO docs @@ -933,6 +947,18 @@ PARAMETERS: * **value** (`array`) Panel links. +#### fn panelOptions.withMaxPerRow + +```jsonnet +panelOptions.withMaxPerRow(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Option for repeated panels that controls max items per row +Only relevant for horizontally repeated panels #### fn panelOptions.withRepeat ```jsonnet @@ -1010,6 +1036,18 @@ PARAMETERS: * **value** (`object`) Ref to a DataSource instance +#### fn queryOptions.withHideTimeOverride + +```jsonnet +queryOptions.withHideTimeOverride(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Controls if the timeFrom or timeShift overrides are shown in the panel header #### fn queryOptions.withInterval ```jsonnet @@ -1035,6 +1073,17 @@ PARAMETERS: * **value** (`number`) The maximum number of data points that the panel queries are retrieving. +#### fn queryOptions.withQueryCachingTTL + +```jsonnet +queryOptions.withQueryCachingTTL(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Overrides the data source configured time-to-live for a query cache item in milliseconds #### fn queryOptions.withTargets ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/annotationsList/panelOptions/link.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/barChart/panelOptions/link.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/annotationsList/panelOptions/link.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/barChart/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/annotationsList/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/barChart/queryOptions/transformation.md similarity index 80% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/annotationsList/queryOptions/transformation.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/barChart/queryOptions/transformation.md index 17a3d45..69dda9a 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/annotationsList/queryOptions/transformation.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/barChart/queryOptions/transformation.md @@ -9,10 +9,12 @@ * [`fn withFilterMixin(value)`](#fn-withfiltermixin) * [`fn withId(value)`](#fn-withid) * [`fn withOptions(value)`](#fn-withoptions) +* [`fn withOptionsMixin(value)`](#fn-withoptionsmixin) * [`fn withTopic(value)`](#fn-withtopic) * [`obj filter`](#obj-filter) * [`fn withId(value="")`](#fn-filterwithid) * [`fn withOptions(value)`](#fn-filterwithoptions) + * [`fn withOptionsMixin(value)`](#fn-filterwithoptionsmixin) ## Fields @@ -71,7 +73,19 @@ withOptions(value) PARAMETERS: -* **value** (`string`) +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withOptionsMixin + +```jsonnet +withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) Options to be passed to the transformer Valid options depend on the transformer id @@ -110,6 +124,17 @@ filter.withOptions(value) PARAMETERS: -* **value** (`string`) +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. +#### fn filter.withOptionsMixin + +```jsonnet +filter.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/alertGroups/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/barChart/standardOptions/mapping.md similarity index 94% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/alertGroups/standardOptions/mapping.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/barChart/standardOptions/mapping.md index 7f10ced..196c769 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/alertGroups/standardOptions/mapping.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/barChart/standardOptions/mapping.md @@ -7,7 +7,7 @@ * [`obj RangeMap`](#obj-rangemap) * [`fn withOptions(value)`](#fn-rangemapwithoptions) * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) - * [`fn withType(value)`](#fn-rangemapwithtype) + * [`fn withType()`](#fn-rangemapwithtype) * [`obj options`](#obj-rangemapoptions) * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) * [`fn withResult(value)`](#fn-rangemapoptionswithresult) @@ -21,7 +21,7 @@ * [`obj RegexMap`](#obj-regexmap) * [`fn withOptions(value)`](#fn-regexmapwithoptions) * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) - * [`fn withType(value)`](#fn-regexmapwithtype) + * [`fn withType()`](#fn-regexmapwithtype) * [`obj options`](#obj-regexmapoptions) * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) * [`fn withResult(value)`](#fn-regexmapoptionswithresult) @@ -34,7 +34,7 @@ * [`obj SpecialValueMap`](#obj-specialvaluemap) * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) - * [`fn withType(value)`](#fn-specialvaluemapwithtype) + * [`fn withType()`](#fn-specialvaluemapwithtype) * [`obj options`](#obj-specialvaluemapoptions) * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) @@ -47,7 +47,7 @@ * [`obj ValueMap`](#obj-valuemap) * [`fn withOptions(value)`](#fn-valuemapwithoptions) * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) - * [`fn withType(value)`](#fn-valuemapwithtype) + * [`fn withType()`](#fn-valuemapwithtype) ## Fields @@ -79,12 +79,9 @@ Range to match against and the result to apply when the value is within the rang #### fn RangeMap.withType ```jsonnet -RangeMap.withType(value) +RangeMap.withType() ``` -PARAMETERS: - -* **value** (`string`) #### obj RangeMap.options @@ -98,7 +95,7 @@ RangeMap.options.withFrom(value) PARAMETERS: -* **value** (`null`,`number`) +* **value** (`number`) Min value of the range. It can be null which means -Infinity ##### fn RangeMap.options.withResult @@ -131,7 +128,7 @@ RangeMap.options.withTo(value) PARAMETERS: -* **value** (`null`,`number`) +* **value** (`number`) Max value of the range. It can be null which means +Infinity ##### obj RangeMap.options.result @@ -209,12 +206,9 @@ Regular expression to match against and the result to apply when the value match #### fn RegexMap.withType ```jsonnet -RegexMap.withType(value) +RegexMap.withType() ``` -PARAMETERS: - -* **value** (`string`) #### obj RegexMap.options @@ -328,12 +322,9 @@ PARAMETERS: #### fn SpecialValueMap.withType ```jsonnet -SpecialValueMap.withType(value) +SpecialValueMap.withType() ``` -PARAMETERS: - -* **value** (`string`) #### obj SpecialValueMap.options @@ -448,10 +439,7 @@ Map with : ValueMappingResult. For example: { "10": { text: "Per #### fn ValueMap.withType ```jsonnet -ValueMap.withType(value) +ValueMap.withType() ``` -PARAMETERS: - -* **value** (`string`) diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/annotationsList/standardOptions/override.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/barChart/standardOptions/override.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/annotationsList/standardOptions/override.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/barChart/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barChart/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/barChart/standardOptions/threshold/step.md similarity index 95% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barChart/standardOptions/threshold/step.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/barChart/standardOptions/threshold/step.md index 5212a21..62c49ab 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barChart/standardOptions/threshold/step.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/barChart/standardOptions/threshold/step.md @@ -28,7 +28,7 @@ withValue(value) PARAMETERS: -* **value** (`null`,`number`) +* **value** (`number`) Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barGauge/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/barGauge/index.md similarity index 93% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barGauge/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/barGauge/index.md index 109cf34..982fba2 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barGauge/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/barGauge/index.md @@ -17,19 +17,19 @@ grafonnet.panel.barGauge * [`fn withName(value)`](#fn-librarypanelwithname) * [`fn withUid(value)`](#fn-librarypanelwithuid) * [`obj options`](#obj-options) - * [`fn withDisplayMode(value)`](#fn-optionswithdisplaymode) + * [`fn withDisplayMode(value="gradient")`](#fn-optionswithdisplaymode) * [`fn withMaxVizHeight(value=300)`](#fn-optionswithmaxvizheight) * [`fn withMinVizHeight(value=16)`](#fn-optionswithminvizheight) * [`fn withMinVizWidth(value=8)`](#fn-optionswithminvizwidth) - * [`fn withNamePlacement(value)`](#fn-optionswithnameplacement) + * [`fn withNamePlacement(value="auto")`](#fn-optionswithnameplacement) * [`fn withOrientation(value)`](#fn-optionswithorientation) * [`fn withReduceOptions(value)`](#fn-optionswithreduceoptions) * [`fn withReduceOptionsMixin(value)`](#fn-optionswithreduceoptionsmixin) * [`fn withShowUnfilled(value=true)`](#fn-optionswithshowunfilled) - * [`fn withSizing(value)`](#fn-optionswithsizing) + * [`fn withSizing(value="auto")`](#fn-optionswithsizing) * [`fn withText(value)`](#fn-optionswithtext) * [`fn withTextMixin(value)`](#fn-optionswithtextmixin) - * [`fn withValueMode(value)`](#fn-optionswithvaluemode) + * [`fn withValueMode(value="color")`](#fn-optionswithvaluemode) * [`obj reduceOptions`](#obj-optionsreduceoptions) * [`fn withCalcs(value)`](#fn-optionsreduceoptionswithcalcs) * [`fn withCalcsMixin(value)`](#fn-optionsreduceoptionswithcalcsmixin) @@ -44,6 +44,7 @@ grafonnet.panel.barGauge * [`fn withGridPos(h="null", w="null", x="null", y="null")`](#fn-paneloptionswithgridpos) * [`fn withLinks(value)`](#fn-paneloptionswithlinks) * [`fn withLinksMixin(value)`](#fn-paneloptionswithlinksmixin) + * [`fn withMaxPerRow(value)`](#fn-paneloptionswithmaxperrow) * [`fn withRepeat(value)`](#fn-paneloptionswithrepeat) * [`fn withRepeatDirection(value="h")`](#fn-paneloptionswithrepeatdirection) * [`fn withTitle(value)`](#fn-paneloptionswithtitle) @@ -51,8 +52,10 @@ grafonnet.panel.barGauge * [`obj queryOptions`](#obj-queryoptions) * [`fn withDatasource(type, uid)`](#fn-queryoptionswithdatasource) * [`fn withDatasourceMixin(value)`](#fn-queryoptionswithdatasourcemixin) + * [`fn withHideTimeOverride(value=true)`](#fn-queryoptionswithhidetimeoverride) * [`fn withInterval(value)`](#fn-queryoptionswithinterval) * [`fn withMaxDataPoints(value)`](#fn-queryoptionswithmaxdatapoints) + * [`fn withQueryCachingTTL(value)`](#fn-queryoptionswithquerycachingttl) * [`fn withTargets(value)`](#fn-queryoptionswithtargets) * [`fn withTargetsMixin(value)`](#fn-queryoptionswithtargetsmixin) * [`fn withTimeFrom(value)`](#fn-queryoptionswithtimefrom) @@ -127,12 +130,13 @@ Library panel uid #### fn options.withDisplayMode ```jsonnet -options.withDisplayMode(value) +options.withDisplayMode(value="gradient") ``` PARAMETERS: * **value** (`string`) + - default value: `"gradient"` - valid values: `"basic"`, `"lcd"`, `"gradient"` Enum expressing the possible display modes @@ -176,12 +180,13 @@ PARAMETERS: #### fn options.withNamePlacement ```jsonnet -options.withNamePlacement(value) +options.withNamePlacement(value="auto") ``` PARAMETERS: * **value** (`string`) + - default value: `"auto"` - valid values: `"auto"`, `"top"`, `"left"` Allows for the bar gauge name to be placed explicitly @@ -234,12 +239,13 @@ PARAMETERS: #### fn options.withSizing ```jsonnet -options.withSizing(value) +options.withSizing(value="auto") ``` PARAMETERS: * **value** (`string`) + - default value: `"auto"` - valid values: `"auto"`, `"manual"` Allows for the bar gauge size to be set explicitly @@ -268,12 +274,13 @@ TODO docs #### fn options.withValueMode ```jsonnet -options.withValueMode(value) +options.withValueMode(value="color") ``` PARAMETERS: * **value** (`string`) + - default value: `"color"` - valid values: `"color"`, `"text"`, `"hidden"` Allows for the table cell gauge display type to set the gauge mode. @@ -418,6 +425,18 @@ PARAMETERS: * **value** (`array`) Panel links. +#### fn panelOptions.withMaxPerRow + +```jsonnet +panelOptions.withMaxPerRow(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Option for repeated panels that controls max items per row +Only relevant for horizontally repeated panels #### fn panelOptions.withRepeat ```jsonnet @@ -495,6 +514,18 @@ PARAMETERS: * **value** (`object`) Ref to a DataSource instance +#### fn queryOptions.withHideTimeOverride + +```jsonnet +queryOptions.withHideTimeOverride(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Controls if the timeFrom or timeShift overrides are shown in the panel header #### fn queryOptions.withInterval ```jsonnet @@ -520,6 +551,17 @@ PARAMETERS: * **value** (`number`) The maximum number of data points that the panel queries are retrieving. +#### fn queryOptions.withQueryCachingTTL + +```jsonnet +queryOptions.withQueryCachingTTL(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Overrides the data source configured time-to-live for a query cache item in milliseconds #### fn queryOptions.withTargets ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barChart/panelOptions/link.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/barGauge/panelOptions/link.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barChart/panelOptions/link.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/barGauge/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/alertGroups/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/barGauge/queryOptions/transformation.md similarity index 80% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/alertGroups/queryOptions/transformation.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/barGauge/queryOptions/transformation.md index 17a3d45..69dda9a 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/alertGroups/queryOptions/transformation.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/barGauge/queryOptions/transformation.md @@ -9,10 +9,12 @@ * [`fn withFilterMixin(value)`](#fn-withfiltermixin) * [`fn withId(value)`](#fn-withid) * [`fn withOptions(value)`](#fn-withoptions) +* [`fn withOptionsMixin(value)`](#fn-withoptionsmixin) * [`fn withTopic(value)`](#fn-withtopic) * [`obj filter`](#obj-filter) * [`fn withId(value="")`](#fn-filterwithid) * [`fn withOptions(value)`](#fn-filterwithoptions) + * [`fn withOptionsMixin(value)`](#fn-filterwithoptionsmixin) ## Fields @@ -71,7 +73,19 @@ withOptions(value) PARAMETERS: -* **value** (`string`) +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withOptionsMixin + +```jsonnet +withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) Options to be passed to the transformer Valid options depend on the transformer id @@ -110,6 +124,17 @@ filter.withOptions(value) PARAMETERS: -* **value** (`string`) +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. +#### fn filter.withOptionsMixin + +```jsonnet +filter.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barChart/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/barGauge/standardOptions/mapping.md similarity index 94% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barChart/standardOptions/mapping.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/barGauge/standardOptions/mapping.md index 7f10ced..196c769 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barChart/standardOptions/mapping.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/barGauge/standardOptions/mapping.md @@ -7,7 +7,7 @@ * [`obj RangeMap`](#obj-rangemap) * [`fn withOptions(value)`](#fn-rangemapwithoptions) * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) - * [`fn withType(value)`](#fn-rangemapwithtype) + * [`fn withType()`](#fn-rangemapwithtype) * [`obj options`](#obj-rangemapoptions) * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) * [`fn withResult(value)`](#fn-rangemapoptionswithresult) @@ -21,7 +21,7 @@ * [`obj RegexMap`](#obj-regexmap) * [`fn withOptions(value)`](#fn-regexmapwithoptions) * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) - * [`fn withType(value)`](#fn-regexmapwithtype) + * [`fn withType()`](#fn-regexmapwithtype) * [`obj options`](#obj-regexmapoptions) * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) * [`fn withResult(value)`](#fn-regexmapoptionswithresult) @@ -34,7 +34,7 @@ * [`obj SpecialValueMap`](#obj-specialvaluemap) * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) - * [`fn withType(value)`](#fn-specialvaluemapwithtype) + * [`fn withType()`](#fn-specialvaluemapwithtype) * [`obj options`](#obj-specialvaluemapoptions) * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) @@ -47,7 +47,7 @@ * [`obj ValueMap`](#obj-valuemap) * [`fn withOptions(value)`](#fn-valuemapwithoptions) * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) - * [`fn withType(value)`](#fn-valuemapwithtype) + * [`fn withType()`](#fn-valuemapwithtype) ## Fields @@ -79,12 +79,9 @@ Range to match against and the result to apply when the value is within the rang #### fn RangeMap.withType ```jsonnet -RangeMap.withType(value) +RangeMap.withType() ``` -PARAMETERS: - -* **value** (`string`) #### obj RangeMap.options @@ -98,7 +95,7 @@ RangeMap.options.withFrom(value) PARAMETERS: -* **value** (`null`,`number`) +* **value** (`number`) Min value of the range. It can be null which means -Infinity ##### fn RangeMap.options.withResult @@ -131,7 +128,7 @@ RangeMap.options.withTo(value) PARAMETERS: -* **value** (`null`,`number`) +* **value** (`number`) Max value of the range. It can be null which means +Infinity ##### obj RangeMap.options.result @@ -209,12 +206,9 @@ Regular expression to match against and the result to apply when the value match #### fn RegexMap.withType ```jsonnet -RegexMap.withType(value) +RegexMap.withType() ``` -PARAMETERS: - -* **value** (`string`) #### obj RegexMap.options @@ -328,12 +322,9 @@ PARAMETERS: #### fn SpecialValueMap.withType ```jsonnet -SpecialValueMap.withType(value) +SpecialValueMap.withType() ``` -PARAMETERS: - -* **value** (`string`) #### obj SpecialValueMap.options @@ -448,10 +439,7 @@ Map with : ValueMappingResult. For example: { "10": { text: "Per #### fn ValueMap.withType ```jsonnet -ValueMap.withType(value) +ValueMap.withType() ``` -PARAMETERS: - -* **value** (`string`) diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barChart/standardOptions/override.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/barGauge/standardOptions/override.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barChart/standardOptions/override.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/barGauge/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/annotationsList/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/barGauge/standardOptions/threshold/step.md similarity index 95% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/annotationsList/standardOptions/threshold/step.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/barGauge/standardOptions/threshold/step.md index 5212a21..62c49ab 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/annotationsList/standardOptions/threshold/step.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/barGauge/standardOptions/threshold/step.md @@ -28,7 +28,7 @@ withValue(value) PARAMETERS: -* **value** (`null`,`number`) +* **value** (`number`) Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/candlestick/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/candlestick/index.md similarity index 90% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/candlestick/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/candlestick/index.md index 3a15f55..96629fa 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/candlestick/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/candlestick/index.md @@ -35,6 +35,8 @@ grafonnet.panel.candlestick * [`fn withGradientMode(value)`](#fn-fieldconfigdefaultscustomwithgradientmode) * [`fn withHideFrom(value)`](#fn-fieldconfigdefaultscustomwithhidefrom) * [`fn withHideFromMixin(value)`](#fn-fieldconfigdefaultscustomwithhidefrommixin) + * [`fn withInsertNulls(value)`](#fn-fieldconfigdefaultscustomwithinsertnulls) + * [`fn withInsertNullsMixin(value)`](#fn-fieldconfigdefaultscustomwithinsertnullsmixin) * [`fn withLineColor(value)`](#fn-fieldconfigdefaultscustomwithlinecolor) * [`fn withLineInterpolation(value)`](#fn-fieldconfigdefaultscustomwithlineinterpolation) * [`fn withLineStyle(value)`](#fn-fieldconfigdefaultscustomwithlinestyle) @@ -74,16 +76,16 @@ grafonnet.panel.candlestick * [`fn withName(value)`](#fn-librarypanelwithname) * [`fn withUid(value)`](#fn-librarypanelwithuid) * [`obj options`](#obj-options) - * [`fn withCandleStyle(value)`](#fn-optionswithcandlestyle) - * [`fn withColorStrategy(value)`](#fn-optionswithcolorstrategy) - * [`fn withColors(value)`](#fn-optionswithcolors) - * [`fn withColorsMixin(value)`](#fn-optionswithcolorsmixin) - * [`fn withFields(value={})`](#fn-optionswithfields) - * [`fn withFieldsMixin(value={})`](#fn-optionswithfieldsmixin) + * [`fn withCandleStyle(value="candles")`](#fn-optionswithcandlestyle) + * [`fn withColorStrategy(value="open-close")`](#fn-optionswithcolorstrategy) + * [`fn withColors(value={"down": "red","flat": "gray","up": "green"})`](#fn-optionswithcolors) + * [`fn withColorsMixin(value={"down": "red","flat": "gray","up": "green"})`](#fn-optionswithcolorsmixin) + * [`fn withFields(value)`](#fn-optionswithfields) + * [`fn withFieldsMixin(value)`](#fn-optionswithfieldsmixin) * [`fn withIncludeAllFields(value=true)`](#fn-optionswithincludeallfields) * [`fn withLegend(value)`](#fn-optionswithlegend) * [`fn withLegendMixin(value)`](#fn-optionswithlegendmixin) - * [`fn withMode(value)`](#fn-optionswithmode) + * [`fn withMode(value="candles+volume")`](#fn-optionswithmode) * [`fn withTooltip(value)`](#fn-optionswithtooltip) * [`fn withTooltipMixin(value)`](#fn-optionswithtooltipmixin) * [`obj colors`](#obj-optionscolors) @@ -91,21 +93,18 @@ grafonnet.panel.candlestick * [`fn withFlat(value="gray")`](#fn-optionscolorswithflat) * [`fn withUp(value="green")`](#fn-optionscolorswithup) * [`obj fields`](#obj-optionsfields) - * [`fn withCandlestickFieldMap(value)`](#fn-optionsfieldswithcandlestickfieldmap) - * [`fn withCandlestickFieldMapMixin(value)`](#fn-optionsfieldswithcandlestickfieldmapmixin) - * [`obj CandlestickFieldMap`](#obj-optionsfieldscandlestickfieldmap) - * [`fn withClose(value)`](#fn-optionsfieldscandlestickfieldmapwithclose) - * [`fn withHigh(value)`](#fn-optionsfieldscandlestickfieldmapwithhigh) - * [`fn withLow(value)`](#fn-optionsfieldscandlestickfieldmapwithlow) - * [`fn withOpen(value)`](#fn-optionsfieldscandlestickfieldmapwithopen) - * [`fn withVolume(value)`](#fn-optionsfieldscandlestickfieldmapwithvolume) + * [`fn withClose(value)`](#fn-optionsfieldswithclose) + * [`fn withHigh(value)`](#fn-optionsfieldswithhigh) + * [`fn withLow(value)`](#fn-optionsfieldswithlow) + * [`fn withOpen(value)`](#fn-optionsfieldswithopen) + * [`fn withVolume(value)`](#fn-optionsfieldswithvolume) * [`obj legend`](#obj-optionslegend) * [`fn withAsTable(value=true)`](#fn-optionslegendwithastable) - * [`fn withCalcs(value)`](#fn-optionslegendwithcalcs) - * [`fn withCalcsMixin(value)`](#fn-optionslegendwithcalcsmixin) - * [`fn withDisplayMode(value)`](#fn-optionslegendwithdisplaymode) + * [`fn withCalcs(value=[])`](#fn-optionslegendwithcalcs) + * [`fn withCalcsMixin(value=[])`](#fn-optionslegendwithcalcsmixin) + * [`fn withDisplayMode(value="list")`](#fn-optionslegendwithdisplaymode) * [`fn withIsVisible(value=true)`](#fn-optionslegendwithisvisible) - * [`fn withPlacement(value)`](#fn-optionslegendwithplacement) + * [`fn withPlacement(value="bottom")`](#fn-optionslegendwithplacement) * [`fn withShowLegend(value=true)`](#fn-optionslegendwithshowlegend) * [`fn withSortBy(value)`](#fn-optionslegendwithsortby) * [`fn withSortDesc(value=true)`](#fn-optionslegendwithsortdesc) @@ -120,6 +119,7 @@ grafonnet.panel.candlestick * [`fn withGridPos(h="null", w="null", x="null", y="null")`](#fn-paneloptionswithgridpos) * [`fn withLinks(value)`](#fn-paneloptionswithlinks) * [`fn withLinksMixin(value)`](#fn-paneloptionswithlinksmixin) + * [`fn withMaxPerRow(value)`](#fn-paneloptionswithmaxperrow) * [`fn withRepeat(value)`](#fn-paneloptionswithrepeat) * [`fn withRepeatDirection(value="h")`](#fn-paneloptionswithrepeatdirection) * [`fn withTitle(value)`](#fn-paneloptionswithtitle) @@ -127,8 +127,10 @@ grafonnet.panel.candlestick * [`obj queryOptions`](#obj-queryoptions) * [`fn withDatasource(type, uid)`](#fn-queryoptionswithdatasource) * [`fn withDatasourceMixin(value)`](#fn-queryoptionswithdatasourcemixin) + * [`fn withHideTimeOverride(value=true)`](#fn-queryoptionswithhidetimeoverride) * [`fn withInterval(value)`](#fn-queryoptionswithinterval) * [`fn withMaxDataPoints(value)`](#fn-queryoptionswithmaxdatapoints) + * [`fn withQueryCachingTTL(value)`](#fn-queryoptionswithquerycachingttl) * [`fn withTargets(value)`](#fn-queryoptionswithtargets) * [`fn withTargetsMixin(value)`](#fn-queryoptionswithtargetsmixin) * [`fn withTimeFrom(value)`](#fn-queryoptionswithtimefrom) @@ -293,7 +295,7 @@ fieldConfig.defaults.custom.withBarAlignment(value) PARAMETERS: -* **value** (`integer`) +* **value** (`string`) - valid values: `-1`, `0`, `1` TODO docs @@ -398,6 +400,28 @@ PARAMETERS: * **value** (`object`) TODO docs +###### fn fieldConfig.defaults.custom.withInsertNulls + +```jsonnet +fieldConfig.defaults.custom.withInsertNulls(value) +``` + +PARAMETERS: + +* **value** (`boolean`,`number`) + + +###### fn fieldConfig.defaults.custom.withInsertNullsMixin + +```jsonnet +fieldConfig.defaults.custom.withInsertNullsMixin(value) +``` + +PARAMETERS: + +* **value** (`boolean`,`number`) + + ###### fn fieldConfig.defaults.custom.withLineColor ```jsonnet @@ -788,69 +812,73 @@ Library panel uid #### fn options.withCandleStyle ```jsonnet -options.withCandleStyle(value) +options.withCandleStyle(value="candles") ``` PARAMETERS: * **value** (`string`) + - default value: `"candles"` + - valid values: `"candles"`, `"ohlcbars"` Sets the style of the candlesticks #### fn options.withColorStrategy ```jsonnet -options.withColorStrategy(value) +options.withColorStrategy(value="open-close") ``` PARAMETERS: * **value** (`string`) + - default value: `"open-close"` + - valid values: `"open-close"`, `"close-close"` Sets the color strategy for the candlesticks #### fn options.withColors ```jsonnet -options.withColors(value) +options.withColors(value={"down": "red","flat": "gray","up": "green"}) ``` PARAMETERS: * **value** (`object`) + - default value: `{"down": "red","flat": "gray","up": "green"}` - +Set which colors are used when the price movement is up or down #### fn options.withColorsMixin ```jsonnet -options.withColorsMixin(value) +options.withColorsMixin(value={"down": "red","flat": "gray","up": "green"}) ``` PARAMETERS: * **value** (`object`) + - default value: `{"down": "red","flat": "gray","up": "green"}` - +Set which colors are used when the price movement is up or down #### fn options.withFields ```jsonnet -options.withFields(value={}) +options.withFields(value) ``` PARAMETERS: * **value** (`object`) - - default value: `{}` Map fields to appropriate dimension #### fn options.withFieldsMixin ```jsonnet -options.withFieldsMixin(value={}) +options.withFieldsMixin(value) ``` PARAMETERS: * **value** (`object`) - - default value: `{}` Map fields to appropriate dimension #### fn options.withIncludeAllFields @@ -890,12 +918,14 @@ TODO docs #### fn options.withMode ```jsonnet -options.withMode(value) +options.withMode(value="candles+volume") ``` PARAMETERS: * **value** (`string`) + - default value: `"candles+volume"` + - valid values: `"candles+volume"`, `"candles"`, `"volume"` Sets which dimensions are used for the visualization #### fn options.withTooltip @@ -962,35 +992,10 @@ PARAMETERS: #### obj options.fields -##### fn options.fields.withCandlestickFieldMap - -```jsonnet -options.fields.withCandlestickFieldMap(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -##### fn options.fields.withCandlestickFieldMapMixin - -```jsonnet -options.fields.withCandlestickFieldMapMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -##### obj options.fields.CandlestickFieldMap - - -###### fn options.fields.CandlestickFieldMap.withClose +##### fn options.fields.withClose ```jsonnet -options.fields.CandlestickFieldMap.withClose(value) +options.fields.withClose(value) ``` PARAMETERS: @@ -998,10 +1003,10 @@ PARAMETERS: * **value** (`string`) Corresponds to the final (end) value of the given period -###### fn options.fields.CandlestickFieldMap.withHigh +##### fn options.fields.withHigh ```jsonnet -options.fields.CandlestickFieldMap.withHigh(value) +options.fields.withHigh(value) ``` PARAMETERS: @@ -1009,10 +1014,10 @@ PARAMETERS: * **value** (`string`) Corresponds to the highest value of the given period -###### fn options.fields.CandlestickFieldMap.withLow +##### fn options.fields.withLow ```jsonnet -options.fields.CandlestickFieldMap.withLow(value) +options.fields.withLow(value) ``` PARAMETERS: @@ -1020,10 +1025,10 @@ PARAMETERS: * **value** (`string`) Corresponds to the lowest value of the given period -###### fn options.fields.CandlestickFieldMap.withOpen +##### fn options.fields.withOpen ```jsonnet -options.fields.CandlestickFieldMap.withOpen(value) +options.fields.withOpen(value) ``` PARAMETERS: @@ -1031,10 +1036,10 @@ PARAMETERS: * **value** (`string`) Corresponds to the starting value of the given period -###### fn options.fields.CandlestickFieldMap.withVolume +##### fn options.fields.withVolume ```jsonnet -options.fields.CandlestickFieldMap.withVolume(value) +options.fields.withVolume(value) ``` PARAMETERS: @@ -1060,34 +1065,37 @@ PARAMETERS: ##### fn options.legend.withCalcs ```jsonnet -options.legend.withCalcs(value) +options.legend.withCalcs(value=[]) ``` PARAMETERS: * **value** (`array`) + - default value: `[]` ##### fn options.legend.withCalcsMixin ```jsonnet -options.legend.withCalcsMixin(value) +options.legend.withCalcsMixin(value=[]) ``` PARAMETERS: * **value** (`array`) + - default value: `[]` ##### fn options.legend.withDisplayMode ```jsonnet -options.legend.withDisplayMode(value) +options.legend.withDisplayMode(value="list") ``` PARAMETERS: * **value** (`string`) + - default value: `"list"` - valid values: `"list"`, `"table"`, `"hidden"` TODO docs @@ -1107,12 +1115,13 @@ PARAMETERS: ##### fn options.legend.withPlacement ```jsonnet -options.legend.withPlacement(value) +options.legend.withPlacement(value="bottom") ``` PARAMETERS: * **value** (`string`) + - default value: `"bottom"` - valid values: `"bottom"`, `"right"` TODO docs @@ -1268,6 +1277,18 @@ PARAMETERS: * **value** (`array`) Panel links. +#### fn panelOptions.withMaxPerRow + +```jsonnet +panelOptions.withMaxPerRow(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Option for repeated panels that controls max items per row +Only relevant for horizontally repeated panels #### fn panelOptions.withRepeat ```jsonnet @@ -1345,6 +1366,18 @@ PARAMETERS: * **value** (`object`) Ref to a DataSource instance +#### fn queryOptions.withHideTimeOverride + +```jsonnet +queryOptions.withHideTimeOverride(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Controls if the timeFrom or timeShift overrides are shown in the panel header #### fn queryOptions.withInterval ```jsonnet @@ -1370,6 +1403,17 @@ PARAMETERS: * **value** (`number`) The maximum number of data points that the panel queries are retrieving. +#### fn queryOptions.withQueryCachingTTL + +```jsonnet +queryOptions.withQueryCachingTTL(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Overrides the data source configured time-to-live for a query cache item in milliseconds #### fn queryOptions.withTargets ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barGauge/panelOptions/link.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/candlestick/panelOptions/link.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barGauge/panelOptions/link.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/candlestick/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/candlestick/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/candlestick/queryOptions/transformation.md new file mode 100644 index 0000000..69dda9a --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/candlestick/queryOptions/transformation.md @@ -0,0 +1,140 @@ +# transformation + + + +## Index + +* [`fn withDisabled(value=true)`](#fn-withdisabled) +* [`fn withFilter(value)`](#fn-withfilter) +* [`fn withFilterMixin(value)`](#fn-withfiltermixin) +* [`fn withId(value)`](#fn-withid) +* [`fn withOptions(value)`](#fn-withoptions) +* [`fn withOptionsMixin(value)`](#fn-withoptionsmixin) +* [`fn withTopic(value)`](#fn-withtopic) +* [`obj filter`](#obj-filter) + * [`fn withId(value="")`](#fn-filterwithid) + * [`fn withOptions(value)`](#fn-filterwithoptions) + * [`fn withOptionsMixin(value)`](#fn-filterwithoptionsmixin) + +## Fields + +### fn withDisabled + +```jsonnet +withDisabled(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Disabled transformations are skipped +### fn withFilter + +```jsonnet +withFilter(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withFilterMixin + +```jsonnet +withFilterMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withId + +```jsonnet +withId(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Unique identifier of transformer +### fn withOptions + +```jsonnet +withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withOptionsMixin + +```jsonnet +withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withTopic + +```jsonnet +withTopic(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"series"`, `"annotations"`, `"alertStates"` + +Where to pull DataFrames from as input to transformation +### obj filter + + +#### fn filter.withId + +```jsonnet +filter.withId(value="") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `""` + +The matcher id. This is used to find the matcher implementation from registry. +#### fn filter.withOptions + +```jsonnet +filter.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. +#### fn filter.withOptionsMixin + +```jsonnet +filter.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/candlestick/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/candlestick/standardOptions/mapping.md new file mode 100644 index 0000000..196c769 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/candlestick/standardOptions/mapping.md @@ -0,0 +1,445 @@ +# mapping + + + +## Index + +* [`obj RangeMap`](#obj-rangemap) + * [`fn withOptions(value)`](#fn-rangemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) + * [`fn withType()`](#fn-rangemapwithtype) + * [`obj options`](#obj-rangemapoptions) + * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) + * [`fn withResult(value)`](#fn-rangemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) + * [`fn withTo(value)`](#fn-rangemapoptionswithto) + * [`obj result`](#obj-rangemapoptionsresult) + * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) +* [`obj RegexMap`](#obj-regexmap) + * [`fn withOptions(value)`](#fn-regexmapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) + * [`fn withType()`](#fn-regexmapwithtype) + * [`obj options`](#obj-regexmapoptions) + * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) + * [`fn withResult(value)`](#fn-regexmapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) + * [`obj result`](#obj-regexmapoptionsresult) + * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) + * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) +* [`obj SpecialValueMap`](#obj-specialvaluemap) + * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) + * [`fn withType()`](#fn-specialvaluemapwithtype) + * [`obj options`](#obj-specialvaluemapoptions) + * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) + * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) + * [`obj result`](#obj-specialvaluemapoptionsresult) + * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) +* [`obj ValueMap`](#obj-valuemap) + * [`fn withOptions(value)`](#fn-valuemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) + * [`fn withType()`](#fn-valuemapwithtype) + +## Fields + +### obj RangeMap + + +#### fn RangeMap.withOptions + +```jsonnet +RangeMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withOptionsMixin + +```jsonnet +RangeMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withType + +```jsonnet +RangeMap.withType() +``` + + + +#### obj RangeMap.options + + +##### fn RangeMap.options.withFrom + +```jsonnet +RangeMap.options.withFrom(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Min value of the range. It can be null which means -Infinity +##### fn RangeMap.options.withResult + +```jsonnet +RangeMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withResultMixin + +```jsonnet +RangeMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withTo + +```jsonnet +RangeMap.options.withTo(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Max value of the range. It can be null which means +Infinity +##### obj RangeMap.options.result + + +###### fn RangeMap.options.result.withColor + +```jsonnet +RangeMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RangeMap.options.result.withIcon + +```jsonnet +RangeMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RangeMap.options.result.withIndex + +```jsonnet +RangeMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RangeMap.options.result.withText + +```jsonnet +RangeMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj RegexMap + + +#### fn RegexMap.withOptions + +```jsonnet +RegexMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withOptionsMixin + +```jsonnet +RegexMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withType + +```jsonnet +RegexMap.withType() +``` + + + +#### obj RegexMap.options + + +##### fn RegexMap.options.withPattern + +```jsonnet +RegexMap.options.withPattern(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Regular expression to match against +##### fn RegexMap.options.withResult + +```jsonnet +RegexMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RegexMap.options.withResultMixin + +```jsonnet +RegexMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj RegexMap.options.result + + +###### fn RegexMap.options.result.withColor + +```jsonnet +RegexMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RegexMap.options.result.withIcon + +```jsonnet +RegexMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RegexMap.options.result.withIndex + +```jsonnet +RegexMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RegexMap.options.result.withText + +```jsonnet +RegexMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj SpecialValueMap + + +#### fn SpecialValueMap.withOptions + +```jsonnet +SpecialValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withOptionsMixin + +```jsonnet +SpecialValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withType + +```jsonnet +SpecialValueMap.withType() +``` + + + +#### obj SpecialValueMap.options + + +##### fn SpecialValueMap.options.withMatch + +```jsonnet +SpecialValueMap.options.withMatch(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` + +Special value types supported by the `SpecialValueMap` +##### fn SpecialValueMap.options.withResult + +```jsonnet +SpecialValueMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn SpecialValueMap.options.withResultMixin + +```jsonnet +SpecialValueMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj SpecialValueMap.options.result + + +###### fn SpecialValueMap.options.result.withColor + +```jsonnet +SpecialValueMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn SpecialValueMap.options.result.withIcon + +```jsonnet +SpecialValueMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn SpecialValueMap.options.result.withIndex + +```jsonnet +SpecialValueMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn SpecialValueMap.options.result.withText + +```jsonnet +SpecialValueMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj ValueMap + + +#### fn ValueMap.withOptions + +```jsonnet +ValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withOptionsMixin + +```jsonnet +ValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withType + +```jsonnet +ValueMap.withType() +``` + + diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barGauge/standardOptions/override.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/candlestick/standardOptions/override.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/barGauge/standardOptions/override.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/candlestick/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/candlestick/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/candlestick/standardOptions/threshold/step.md new file mode 100644 index 0000000..62c49ab --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/candlestick/standardOptions/threshold/step.md @@ -0,0 +1,34 @@ +# threshold.step + + + +## Index + +* [`fn withColor(value)`](#fn-withcolor) +* [`fn withValue(value)`](#fn-withvalue) + +## Fields + +### fn withColor + +```jsonnet +withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. +### fn withValue + +```jsonnet +withValue(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. +Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/canvas/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/canvas/index.md similarity index 93% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/canvas/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/canvas/index.md index b63952f..3fa434f 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/canvas/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/canvas/index.md @@ -18,6 +18,7 @@ grafonnet.panel.canvas * [`fn withName(value)`](#fn-librarypanelwithname) * [`fn withUid(value)`](#fn-librarypanelwithuid) * [`obj options`](#obj-options) + * [`fn withInfinitePan(value=true)`](#fn-optionswithinfinitepan) * [`fn withInlineEditing(value=true)`](#fn-optionswithinlineediting) * [`fn withPanZoom(value=true)`](#fn-optionswithpanzoom) * [`fn withRoot(value)`](#fn-optionswithroot) @@ -27,12 +28,13 @@ grafonnet.panel.canvas * [`fn withElements(value)`](#fn-optionsrootwithelements) * [`fn withElementsMixin(value)`](#fn-optionsrootwithelementsmixin) * [`fn withName(value)`](#fn-optionsrootwithname) - * [`fn withType(value)`](#fn-optionsrootwithtype) + * [`fn withType()`](#fn-optionsrootwithtype) * [`obj panelOptions`](#obj-paneloptions) * [`fn withDescription(value)`](#fn-paneloptionswithdescription) * [`fn withGridPos(h="null", w="null", x="null", y="null")`](#fn-paneloptionswithgridpos) * [`fn withLinks(value)`](#fn-paneloptionswithlinks) * [`fn withLinksMixin(value)`](#fn-paneloptionswithlinksmixin) + * [`fn withMaxPerRow(value)`](#fn-paneloptionswithmaxperrow) * [`fn withRepeat(value)`](#fn-paneloptionswithrepeat) * [`fn withRepeatDirection(value="h")`](#fn-paneloptionswithrepeatdirection) * [`fn withTitle(value)`](#fn-paneloptionswithtitle) @@ -40,8 +42,10 @@ grafonnet.panel.canvas * [`obj queryOptions`](#obj-queryoptions) * [`fn withDatasource(type, uid)`](#fn-queryoptionswithdatasource) * [`fn withDatasourceMixin(value)`](#fn-queryoptionswithdatasourcemixin) + * [`fn withHideTimeOverride(value=true)`](#fn-queryoptionswithhidetimeoverride) * [`fn withInterval(value)`](#fn-queryoptionswithinterval) * [`fn withMaxDataPoints(value)`](#fn-queryoptionswithmaxdatapoints) + * [`fn withQueryCachingTTL(value)`](#fn-queryoptionswithquerycachingttl) * [`fn withTargets(value)`](#fn-queryoptionswithtargets) * [`fn withTargetsMixin(value)`](#fn-queryoptionswithtargetsmixin) * [`fn withTimeFrom(value)`](#fn-queryoptionswithtimefrom) @@ -113,6 +117,18 @@ Library panel uid ### obj options +#### fn options.withInfinitePan + +```jsonnet +options.withInfinitePan(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Enable infinite pan #### fn options.withInlineEditing ```jsonnet @@ -212,13 +228,9 @@ Name of the root element ##### fn options.root.withType ```jsonnet -options.root.withType(value) +options.root.withType() ``` -PARAMETERS: - -* **value** (`string`) - - valid values: `"frame"` Type of root element (frame) ### obj panelOptions @@ -278,6 +290,18 @@ PARAMETERS: * **value** (`array`) Panel links. +#### fn panelOptions.withMaxPerRow + +```jsonnet +panelOptions.withMaxPerRow(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Option for repeated panels that controls max items per row +Only relevant for horizontally repeated panels #### fn panelOptions.withRepeat ```jsonnet @@ -355,6 +379,18 @@ PARAMETERS: * **value** (`object`) Ref to a DataSource instance +#### fn queryOptions.withHideTimeOverride + +```jsonnet +queryOptions.withHideTimeOverride(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Controls if the timeFrom or timeShift overrides are shown in the panel header #### fn queryOptions.withInterval ```jsonnet @@ -380,6 +416,17 @@ PARAMETERS: * **value** (`number`) The maximum number of data points that the panel queries are retrieving. +#### fn queryOptions.withQueryCachingTTL + +```jsonnet +queryOptions.withQueryCachingTTL(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Overrides the data source configured time-to-live for a query cache item in milliseconds #### fn queryOptions.withTargets ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/canvas/options/root/elements/connections.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/canvas/options/root/elements/connections/index.md similarity index 64% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/canvas/options/root/elements/connections.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/canvas/options/root/elements/connections/index.md index e8e6226..11041b6 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/canvas/options/root/elements/connections.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/canvas/options/root/elements/connections/index.md @@ -2,6 +2,10 @@ +## Subpackages + +* [vertices](vertices.md) + ## Index * [`fn withColor(value)`](#fn-withcolor) @@ -11,9 +15,15 @@ * [`fn withSizeMixin(value)`](#fn-withsizemixin) * [`fn withSource(value)`](#fn-withsource) * [`fn withSourceMixin(value)`](#fn-withsourcemixin) +* [`fn withSourceOriginal(value)`](#fn-withsourceoriginal) +* [`fn withSourceOriginalMixin(value)`](#fn-withsourceoriginalmixin) * [`fn withTarget(value)`](#fn-withtarget) * [`fn withTargetMixin(value)`](#fn-withtargetmixin) * [`fn withTargetName(value)`](#fn-withtargetname) +* [`fn withTargetOriginal(value)`](#fn-withtargetoriginal) +* [`fn withTargetOriginalMixin(value)`](#fn-withtargetoriginalmixin) +* [`fn withVertices(value)`](#fn-withvertices) +* [`fn withVerticesMixin(value)`](#fn-withverticesmixin) * [`obj color`](#obj-color) * [`fn withField(value)`](#fn-colorwithfield) * [`fn withFixed(value)`](#fn-colorwithfixed) @@ -26,9 +36,15 @@ * [`obj source`](#obj-source) * [`fn withX(value)`](#fn-sourcewithx) * [`fn withY(value)`](#fn-sourcewithy) +* [`obj sourceOriginal`](#obj-sourceoriginal) + * [`fn withX(value)`](#fn-sourceoriginalwithx) + * [`fn withY(value)`](#fn-sourceoriginalwithy) * [`obj target`](#obj-target) * [`fn withX(value)`](#fn-targetwithx) * [`fn withY(value)`](#fn-targetwithy) +* [`obj targetOriginal`](#obj-targetoriginal) + * [`fn withX(value)`](#fn-targetoriginalwithx) + * [`fn withY(value)`](#fn-targetoriginalwithy) ## Fields @@ -110,6 +126,28 @@ PARAMETERS: * **value** (`object`) +### fn withSourceOriginal + +```jsonnet +withSourceOriginal(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +### fn withSourceOriginalMixin + +```jsonnet +withSourceOriginalMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + ### fn withTarget ```jsonnet @@ -143,6 +181,50 @@ PARAMETERS: * **value** (`string`) +### fn withTargetOriginal + +```jsonnet +withTargetOriginal(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +### fn withTargetOriginalMixin + +```jsonnet +withTargetOriginalMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +### fn withVertices + +```jsonnet +withVertices(value) +``` + +PARAMETERS: + +* **value** (`array`) + + +### fn withVerticesMixin + +```jsonnet +withVerticesMixin(value) +``` + +PARAMETERS: + +* **value** (`array`) + + ### obj color @@ -167,7 +249,7 @@ PARAMETERS: * **value** (`string`) - +color value ### obj size @@ -226,7 +308,7 @@ PARAMETERS: * **value** (`string`) - valid values: `"linear"`, `"quad"` - +| *"linear" ### obj source @@ -252,6 +334,31 @@ PARAMETERS: * **value** (`number`) +### obj sourceOriginal + + +#### fn sourceOriginal.withX + +```jsonnet +sourceOriginal.withX(value) +``` + +PARAMETERS: + +* **value** (`number`) + + +#### fn sourceOriginal.withY + +```jsonnet +sourceOriginal.withY(value) +``` + +PARAMETERS: + +* **value** (`number`) + + ### obj target @@ -276,3 +383,28 @@ PARAMETERS: * **value** (`number`) + +### obj targetOriginal + + +#### fn targetOriginal.withX + +```jsonnet +targetOriginal.withX(value) +``` + +PARAMETERS: + +* **value** (`number`) + + +#### fn targetOriginal.withY + +```jsonnet +targetOriginal.withY(value) +``` + +PARAMETERS: + +* **value** (`number`) + diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/canvas/options/root/elements/connections/vertices.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/canvas/options/root/elements/connections/vertices.md new file mode 100644 index 0000000..70f44a3 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/canvas/options/root/elements/connections/vertices.md @@ -0,0 +1,32 @@ +# vertices + + + +## Index + +* [`fn withX(value)`](#fn-withx) +* [`fn withY(value)`](#fn-withy) + +## Fields + +### fn withX + +```jsonnet +withX(value) +``` + +PARAMETERS: + +* **value** (`number`) + + +### fn withY + +```jsonnet +withY(value) +``` + +PARAMETERS: + +* **value** (`number`) + diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/canvas/options/root/elements/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/canvas/options/root/elements/index.md similarity index 91% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/canvas/options/root/elements/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/canvas/options/root/elements/index.md index 7892a2f..73f5b6e 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/canvas/options/root/elements/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/canvas/options/root/elements/index.md @@ -4,7 +4,7 @@ ## Subpackages -* [connections](connections.md) +* [connections](connections/index.md) ## Index @@ -13,6 +13,7 @@ * [`fn withBorder(value)`](#fn-withborder) * [`fn withBorderMixin(value)`](#fn-withbordermixin) * [`fn withConfig(value)`](#fn-withconfig) +* [`fn withConfigMixin(value)`](#fn-withconfigmixin) * [`fn withConnections(value)`](#fn-withconnections) * [`fn withConnectionsMixin(value)`](#fn-withconnectionsmixin) * [`fn withConstraint(value)`](#fn-withconstraint) @@ -37,6 +38,7 @@ * [`obj border`](#obj-border) * [`fn withColor(value)`](#fn-borderwithcolor) * [`fn withColorMixin(value)`](#fn-borderwithcolormixin) + * [`fn withRadius(value)`](#fn-borderwithradius) * [`fn withWidth(value)`](#fn-borderwithwidth) * [`obj color`](#obj-bordercolor) * [`fn withField(value)`](#fn-bordercolorwithfield) @@ -49,6 +51,7 @@ * [`fn withHeight(value)`](#fn-placementwithheight) * [`fn withLeft(value)`](#fn-placementwithleft) * [`fn withRight(value)`](#fn-placementwithright) + * [`fn withRotation(value)`](#fn-placementwithrotation) * [`fn withTop(value)`](#fn-placementwithtop) * [`fn withWidth(value)`](#fn-placementwithwidth) @@ -106,7 +109,18 @@ withConfig(value) PARAMETERS: -* **value** (`string`) +* **value** (`object`) + +TODO: figure out how to define this (element config(s)) +### fn withConfigMixin + +```jsonnet +withConfigMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) TODO: figure out how to define this (element config(s)) ### fn withConnections @@ -280,7 +294,7 @@ PARAMETERS: * **value** (`string`) - +color value #### obj background.image @@ -343,6 +357,17 @@ PARAMETERS: * **value** (`object`) +#### fn border.withRadius + +```jsonnet +border.withRadius(value) +``` + +PARAMETERS: + +* **value** (`number`) + + #### fn border.withWidth ```jsonnet @@ -378,7 +403,7 @@ PARAMETERS: * **value** (`string`) - +color value ### obj constraint @@ -453,6 +478,17 @@ PARAMETERS: * **value** (`number`) +#### fn placement.withRotation + +```jsonnet +placement.withRotation(value) +``` + +PARAMETERS: + +* **value** (`number`) + + #### fn placement.withTop ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/candlestick/panelOptions/link.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/canvas/panelOptions/link.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/candlestick/panelOptions/link.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/canvas/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/canvas/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/canvas/queryOptions/transformation.md new file mode 100644 index 0000000..69dda9a --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/canvas/queryOptions/transformation.md @@ -0,0 +1,140 @@ +# transformation + + + +## Index + +* [`fn withDisabled(value=true)`](#fn-withdisabled) +* [`fn withFilter(value)`](#fn-withfilter) +* [`fn withFilterMixin(value)`](#fn-withfiltermixin) +* [`fn withId(value)`](#fn-withid) +* [`fn withOptions(value)`](#fn-withoptions) +* [`fn withOptionsMixin(value)`](#fn-withoptionsmixin) +* [`fn withTopic(value)`](#fn-withtopic) +* [`obj filter`](#obj-filter) + * [`fn withId(value="")`](#fn-filterwithid) + * [`fn withOptions(value)`](#fn-filterwithoptions) + * [`fn withOptionsMixin(value)`](#fn-filterwithoptionsmixin) + +## Fields + +### fn withDisabled + +```jsonnet +withDisabled(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Disabled transformations are skipped +### fn withFilter + +```jsonnet +withFilter(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withFilterMixin + +```jsonnet +withFilterMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withId + +```jsonnet +withId(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Unique identifier of transformer +### fn withOptions + +```jsonnet +withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withOptionsMixin + +```jsonnet +withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withTopic + +```jsonnet +withTopic(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"series"`, `"annotations"`, `"alertStates"` + +Where to pull DataFrames from as input to transformation +### obj filter + + +#### fn filter.withId + +```jsonnet +filter.withId(value="") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `""` + +The matcher id. This is used to find the matcher implementation from registry. +#### fn filter.withOptions + +```jsonnet +filter.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. +#### fn filter.withOptionsMixin + +```jsonnet +filter.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/canvas/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/canvas/standardOptions/mapping.md new file mode 100644 index 0000000..196c769 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/canvas/standardOptions/mapping.md @@ -0,0 +1,445 @@ +# mapping + + + +## Index + +* [`obj RangeMap`](#obj-rangemap) + * [`fn withOptions(value)`](#fn-rangemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) + * [`fn withType()`](#fn-rangemapwithtype) + * [`obj options`](#obj-rangemapoptions) + * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) + * [`fn withResult(value)`](#fn-rangemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) + * [`fn withTo(value)`](#fn-rangemapoptionswithto) + * [`obj result`](#obj-rangemapoptionsresult) + * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) +* [`obj RegexMap`](#obj-regexmap) + * [`fn withOptions(value)`](#fn-regexmapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) + * [`fn withType()`](#fn-regexmapwithtype) + * [`obj options`](#obj-regexmapoptions) + * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) + * [`fn withResult(value)`](#fn-regexmapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) + * [`obj result`](#obj-regexmapoptionsresult) + * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) + * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) +* [`obj SpecialValueMap`](#obj-specialvaluemap) + * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) + * [`fn withType()`](#fn-specialvaluemapwithtype) + * [`obj options`](#obj-specialvaluemapoptions) + * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) + * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) + * [`obj result`](#obj-specialvaluemapoptionsresult) + * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) +* [`obj ValueMap`](#obj-valuemap) + * [`fn withOptions(value)`](#fn-valuemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) + * [`fn withType()`](#fn-valuemapwithtype) + +## Fields + +### obj RangeMap + + +#### fn RangeMap.withOptions + +```jsonnet +RangeMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withOptionsMixin + +```jsonnet +RangeMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withType + +```jsonnet +RangeMap.withType() +``` + + + +#### obj RangeMap.options + + +##### fn RangeMap.options.withFrom + +```jsonnet +RangeMap.options.withFrom(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Min value of the range. It can be null which means -Infinity +##### fn RangeMap.options.withResult + +```jsonnet +RangeMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withResultMixin + +```jsonnet +RangeMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withTo + +```jsonnet +RangeMap.options.withTo(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Max value of the range. It can be null which means +Infinity +##### obj RangeMap.options.result + + +###### fn RangeMap.options.result.withColor + +```jsonnet +RangeMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RangeMap.options.result.withIcon + +```jsonnet +RangeMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RangeMap.options.result.withIndex + +```jsonnet +RangeMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RangeMap.options.result.withText + +```jsonnet +RangeMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj RegexMap + + +#### fn RegexMap.withOptions + +```jsonnet +RegexMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withOptionsMixin + +```jsonnet +RegexMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withType + +```jsonnet +RegexMap.withType() +``` + + + +#### obj RegexMap.options + + +##### fn RegexMap.options.withPattern + +```jsonnet +RegexMap.options.withPattern(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Regular expression to match against +##### fn RegexMap.options.withResult + +```jsonnet +RegexMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RegexMap.options.withResultMixin + +```jsonnet +RegexMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj RegexMap.options.result + + +###### fn RegexMap.options.result.withColor + +```jsonnet +RegexMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RegexMap.options.result.withIcon + +```jsonnet +RegexMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RegexMap.options.result.withIndex + +```jsonnet +RegexMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RegexMap.options.result.withText + +```jsonnet +RegexMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj SpecialValueMap + + +#### fn SpecialValueMap.withOptions + +```jsonnet +SpecialValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withOptionsMixin + +```jsonnet +SpecialValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withType + +```jsonnet +SpecialValueMap.withType() +``` + + + +#### obj SpecialValueMap.options + + +##### fn SpecialValueMap.options.withMatch + +```jsonnet +SpecialValueMap.options.withMatch(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` + +Special value types supported by the `SpecialValueMap` +##### fn SpecialValueMap.options.withResult + +```jsonnet +SpecialValueMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn SpecialValueMap.options.withResultMixin + +```jsonnet +SpecialValueMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj SpecialValueMap.options.result + + +###### fn SpecialValueMap.options.result.withColor + +```jsonnet +SpecialValueMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn SpecialValueMap.options.result.withIcon + +```jsonnet +SpecialValueMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn SpecialValueMap.options.result.withIndex + +```jsonnet +SpecialValueMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn SpecialValueMap.options.result.withText + +```jsonnet +SpecialValueMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj ValueMap + + +#### fn ValueMap.withOptions + +```jsonnet +ValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withOptionsMixin + +```jsonnet +ValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withType + +```jsonnet +ValueMap.withType() +``` + + diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/candlestick/standardOptions/override.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/canvas/standardOptions/override.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/candlestick/standardOptions/override.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/canvas/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/canvas/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/canvas/standardOptions/threshold/step.md new file mode 100644 index 0000000..62c49ab --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/canvas/standardOptions/threshold/step.md @@ -0,0 +1,34 @@ +# threshold.step + + + +## Index + +* [`fn withColor(value)`](#fn-withcolor) +* [`fn withValue(value)`](#fn-withvalue) + +## Fields + +### fn withColor + +```jsonnet +withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. +### fn withValue + +```jsonnet +withValue(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. +Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/dashboardList/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/dashboardList/index.md similarity index 94% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/dashboardList/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/dashboardList/index.md index a513921..db9518b 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/dashboardList/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/dashboardList/index.md @@ -23,6 +23,7 @@ grafonnet.panel.dashboardList * [`fn withKeepTime(value=true)`](#fn-optionswithkeeptime) * [`fn withMaxItems(value=10)`](#fn-optionswithmaxitems) * [`fn withQuery(value="")`](#fn-optionswithquery) + * [`fn withShowFolderNames(value=true)`](#fn-optionswithshowfoldernames) * [`fn withShowHeadings(value=true)`](#fn-optionswithshowheadings) * [`fn withShowRecentlyViewed(value=true)`](#fn-optionswithshowrecentlyviewed) * [`fn withShowSearch(value=true)`](#fn-optionswithshowsearch) @@ -34,6 +35,7 @@ grafonnet.panel.dashboardList * [`fn withGridPos(h="null", w="null", x="null", y="null")`](#fn-paneloptionswithgridpos) * [`fn withLinks(value)`](#fn-paneloptionswithlinks) * [`fn withLinksMixin(value)`](#fn-paneloptionswithlinksmixin) + * [`fn withMaxPerRow(value)`](#fn-paneloptionswithmaxperrow) * [`fn withRepeat(value)`](#fn-paneloptionswithrepeat) * [`fn withRepeatDirection(value="h")`](#fn-paneloptionswithrepeatdirection) * [`fn withTitle(value)`](#fn-paneloptionswithtitle) @@ -41,8 +43,10 @@ grafonnet.panel.dashboardList * [`obj queryOptions`](#obj-queryoptions) * [`fn withDatasource(type, uid)`](#fn-queryoptionswithdatasource) * [`fn withDatasourceMixin(value)`](#fn-queryoptionswithdatasourcemixin) + * [`fn withHideTimeOverride(value=true)`](#fn-queryoptionswithhidetimeoverride) * [`fn withInterval(value)`](#fn-queryoptionswithinterval) * [`fn withMaxDataPoints(value)`](#fn-queryoptionswithmaxdatapoints) + * [`fn withQueryCachingTTL(value)`](#fn-queryoptionswithquerycachingttl) * [`fn withTargets(value)`](#fn-queryoptionswithtargets) * [`fn withTargetsMixin(value)`](#fn-queryoptionswithtargetsmixin) * [`fn withTimeFrom(value)`](#fn-queryoptionswithtimefrom) @@ -184,6 +188,18 @@ PARAMETERS: - default value: `""` +#### fn options.withShowFolderNames + +```jsonnet +options.withShowFolderNames(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + + #### fn options.withShowHeadings ```jsonnet @@ -311,6 +327,18 @@ PARAMETERS: * **value** (`array`) Panel links. +#### fn panelOptions.withMaxPerRow + +```jsonnet +panelOptions.withMaxPerRow(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Option for repeated panels that controls max items per row +Only relevant for horizontally repeated panels #### fn panelOptions.withRepeat ```jsonnet @@ -388,6 +416,18 @@ PARAMETERS: * **value** (`object`) Ref to a DataSource instance +#### fn queryOptions.withHideTimeOverride + +```jsonnet +queryOptions.withHideTimeOverride(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Controls if the timeFrom or timeShift overrides are shown in the panel header #### fn queryOptions.withInterval ```jsonnet @@ -413,6 +453,17 @@ PARAMETERS: * **value** (`number`) The maximum number of data points that the panel queries are retrieving. +#### fn queryOptions.withQueryCachingTTL + +```jsonnet +queryOptions.withQueryCachingTTL(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Overrides the data source configured time-to-live for a query cache item in milliseconds #### fn queryOptions.withTargets ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/canvas/panelOptions/link.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/dashboardList/panelOptions/link.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/canvas/panelOptions/link.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/dashboardList/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/dashboardList/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/dashboardList/queryOptions/transformation.md new file mode 100644 index 0000000..69dda9a --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/dashboardList/queryOptions/transformation.md @@ -0,0 +1,140 @@ +# transformation + + + +## Index + +* [`fn withDisabled(value=true)`](#fn-withdisabled) +* [`fn withFilter(value)`](#fn-withfilter) +* [`fn withFilterMixin(value)`](#fn-withfiltermixin) +* [`fn withId(value)`](#fn-withid) +* [`fn withOptions(value)`](#fn-withoptions) +* [`fn withOptionsMixin(value)`](#fn-withoptionsmixin) +* [`fn withTopic(value)`](#fn-withtopic) +* [`obj filter`](#obj-filter) + * [`fn withId(value="")`](#fn-filterwithid) + * [`fn withOptions(value)`](#fn-filterwithoptions) + * [`fn withOptionsMixin(value)`](#fn-filterwithoptionsmixin) + +## Fields + +### fn withDisabled + +```jsonnet +withDisabled(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Disabled transformations are skipped +### fn withFilter + +```jsonnet +withFilter(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withFilterMixin + +```jsonnet +withFilterMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withId + +```jsonnet +withId(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Unique identifier of transformer +### fn withOptions + +```jsonnet +withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withOptionsMixin + +```jsonnet +withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withTopic + +```jsonnet +withTopic(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"series"`, `"annotations"`, `"alertStates"` + +Where to pull DataFrames from as input to transformation +### obj filter + + +#### fn filter.withId + +```jsonnet +filter.withId(value="") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `""` + +The matcher id. This is used to find the matcher implementation from registry. +#### fn filter.withOptions + +```jsonnet +filter.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. +#### fn filter.withOptionsMixin + +```jsonnet +filter.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/dashboardList/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/dashboardList/standardOptions/mapping.md new file mode 100644 index 0000000..196c769 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/dashboardList/standardOptions/mapping.md @@ -0,0 +1,445 @@ +# mapping + + + +## Index + +* [`obj RangeMap`](#obj-rangemap) + * [`fn withOptions(value)`](#fn-rangemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) + * [`fn withType()`](#fn-rangemapwithtype) + * [`obj options`](#obj-rangemapoptions) + * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) + * [`fn withResult(value)`](#fn-rangemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) + * [`fn withTo(value)`](#fn-rangemapoptionswithto) + * [`obj result`](#obj-rangemapoptionsresult) + * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) +* [`obj RegexMap`](#obj-regexmap) + * [`fn withOptions(value)`](#fn-regexmapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) + * [`fn withType()`](#fn-regexmapwithtype) + * [`obj options`](#obj-regexmapoptions) + * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) + * [`fn withResult(value)`](#fn-regexmapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) + * [`obj result`](#obj-regexmapoptionsresult) + * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) + * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) +* [`obj SpecialValueMap`](#obj-specialvaluemap) + * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) + * [`fn withType()`](#fn-specialvaluemapwithtype) + * [`obj options`](#obj-specialvaluemapoptions) + * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) + * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) + * [`obj result`](#obj-specialvaluemapoptionsresult) + * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) +* [`obj ValueMap`](#obj-valuemap) + * [`fn withOptions(value)`](#fn-valuemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) + * [`fn withType()`](#fn-valuemapwithtype) + +## Fields + +### obj RangeMap + + +#### fn RangeMap.withOptions + +```jsonnet +RangeMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withOptionsMixin + +```jsonnet +RangeMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withType + +```jsonnet +RangeMap.withType() +``` + + + +#### obj RangeMap.options + + +##### fn RangeMap.options.withFrom + +```jsonnet +RangeMap.options.withFrom(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Min value of the range. It can be null which means -Infinity +##### fn RangeMap.options.withResult + +```jsonnet +RangeMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withResultMixin + +```jsonnet +RangeMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withTo + +```jsonnet +RangeMap.options.withTo(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Max value of the range. It can be null which means +Infinity +##### obj RangeMap.options.result + + +###### fn RangeMap.options.result.withColor + +```jsonnet +RangeMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RangeMap.options.result.withIcon + +```jsonnet +RangeMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RangeMap.options.result.withIndex + +```jsonnet +RangeMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RangeMap.options.result.withText + +```jsonnet +RangeMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj RegexMap + + +#### fn RegexMap.withOptions + +```jsonnet +RegexMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withOptionsMixin + +```jsonnet +RegexMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withType + +```jsonnet +RegexMap.withType() +``` + + + +#### obj RegexMap.options + + +##### fn RegexMap.options.withPattern + +```jsonnet +RegexMap.options.withPattern(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Regular expression to match against +##### fn RegexMap.options.withResult + +```jsonnet +RegexMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RegexMap.options.withResultMixin + +```jsonnet +RegexMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj RegexMap.options.result + + +###### fn RegexMap.options.result.withColor + +```jsonnet +RegexMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RegexMap.options.result.withIcon + +```jsonnet +RegexMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RegexMap.options.result.withIndex + +```jsonnet +RegexMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RegexMap.options.result.withText + +```jsonnet +RegexMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj SpecialValueMap + + +#### fn SpecialValueMap.withOptions + +```jsonnet +SpecialValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withOptionsMixin + +```jsonnet +SpecialValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withType + +```jsonnet +SpecialValueMap.withType() +``` + + + +#### obj SpecialValueMap.options + + +##### fn SpecialValueMap.options.withMatch + +```jsonnet +SpecialValueMap.options.withMatch(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` + +Special value types supported by the `SpecialValueMap` +##### fn SpecialValueMap.options.withResult + +```jsonnet +SpecialValueMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn SpecialValueMap.options.withResultMixin + +```jsonnet +SpecialValueMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj SpecialValueMap.options.result + + +###### fn SpecialValueMap.options.result.withColor + +```jsonnet +SpecialValueMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn SpecialValueMap.options.result.withIcon + +```jsonnet +SpecialValueMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn SpecialValueMap.options.result.withIndex + +```jsonnet +SpecialValueMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn SpecialValueMap.options.result.withText + +```jsonnet +SpecialValueMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj ValueMap + + +#### fn ValueMap.withOptions + +```jsonnet +ValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withOptionsMixin + +```jsonnet +ValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withType + +```jsonnet +ValueMap.withType() +``` + + diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/canvas/standardOptions/override.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/dashboardList/standardOptions/override.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/canvas/standardOptions/override.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/dashboardList/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/dashboardList/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/dashboardList/standardOptions/threshold/step.md new file mode 100644 index 0000000..62c49ab --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/dashboardList/standardOptions/threshold/step.md @@ -0,0 +1,34 @@ +# threshold.step + + + +## Index + +* [`fn withColor(value)`](#fn-withcolor) +* [`fn withValue(value)`](#fn-withvalue) + +## Fields + +### fn withColor + +```jsonnet +withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. +### fn withValue + +```jsonnet +withValue(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. +Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/datagrid/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/datagrid/index.md similarity index 94% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/datagrid/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/datagrid/index.md index 85b3408..a8832f7 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/datagrid/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/datagrid/index.md @@ -23,6 +23,7 @@ grafonnet.panel.datagrid * [`fn withGridPos(h="null", w="null", x="null", y="null")`](#fn-paneloptionswithgridpos) * [`fn withLinks(value)`](#fn-paneloptionswithlinks) * [`fn withLinksMixin(value)`](#fn-paneloptionswithlinksmixin) + * [`fn withMaxPerRow(value)`](#fn-paneloptionswithmaxperrow) * [`fn withRepeat(value)`](#fn-paneloptionswithrepeat) * [`fn withRepeatDirection(value="h")`](#fn-paneloptionswithrepeatdirection) * [`fn withTitle(value)`](#fn-paneloptionswithtitle) @@ -30,8 +31,10 @@ grafonnet.panel.datagrid * [`obj queryOptions`](#obj-queryoptions) * [`fn withDatasource(type, uid)`](#fn-queryoptionswithdatasource) * [`fn withDatasourceMixin(value)`](#fn-queryoptionswithdatasourcemixin) + * [`fn withHideTimeOverride(value=true)`](#fn-queryoptionswithhidetimeoverride) * [`fn withInterval(value)`](#fn-queryoptionswithinterval) * [`fn withMaxDataPoints(value)`](#fn-queryoptionswithmaxdatapoints) + * [`fn withQueryCachingTTL(value)`](#fn-queryoptionswithquerycachingttl) * [`fn withTargets(value)`](#fn-queryoptionswithtargets) * [`fn withTargetsMixin(value)`](#fn-queryoptionswithtargetsmixin) * [`fn withTimeFrom(value)`](#fn-queryoptionswithtimefrom) @@ -172,6 +175,18 @@ PARAMETERS: * **value** (`array`) Panel links. +#### fn panelOptions.withMaxPerRow + +```jsonnet +panelOptions.withMaxPerRow(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Option for repeated panels that controls max items per row +Only relevant for horizontally repeated panels #### fn panelOptions.withRepeat ```jsonnet @@ -249,6 +264,18 @@ PARAMETERS: * **value** (`object`) Ref to a DataSource instance +#### fn queryOptions.withHideTimeOverride + +```jsonnet +queryOptions.withHideTimeOverride(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Controls if the timeFrom or timeShift overrides are shown in the panel header #### fn queryOptions.withInterval ```jsonnet @@ -274,6 +301,17 @@ PARAMETERS: * **value** (`number`) The maximum number of data points that the panel queries are retrieving. +#### fn queryOptions.withQueryCachingTTL + +```jsonnet +queryOptions.withQueryCachingTTL(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Overrides the data source configured time-to-live for a query cache item in milliseconds #### fn queryOptions.withTargets ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/dashboardList/panelOptions/link.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/datagrid/panelOptions/link.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/dashboardList/panelOptions/link.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/datagrid/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/datagrid/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/datagrid/queryOptions/transformation.md new file mode 100644 index 0000000..69dda9a --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/datagrid/queryOptions/transformation.md @@ -0,0 +1,140 @@ +# transformation + + + +## Index + +* [`fn withDisabled(value=true)`](#fn-withdisabled) +* [`fn withFilter(value)`](#fn-withfilter) +* [`fn withFilterMixin(value)`](#fn-withfiltermixin) +* [`fn withId(value)`](#fn-withid) +* [`fn withOptions(value)`](#fn-withoptions) +* [`fn withOptionsMixin(value)`](#fn-withoptionsmixin) +* [`fn withTopic(value)`](#fn-withtopic) +* [`obj filter`](#obj-filter) + * [`fn withId(value="")`](#fn-filterwithid) + * [`fn withOptions(value)`](#fn-filterwithoptions) + * [`fn withOptionsMixin(value)`](#fn-filterwithoptionsmixin) + +## Fields + +### fn withDisabled + +```jsonnet +withDisabled(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Disabled transformations are skipped +### fn withFilter + +```jsonnet +withFilter(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withFilterMixin + +```jsonnet +withFilterMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withId + +```jsonnet +withId(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Unique identifier of transformer +### fn withOptions + +```jsonnet +withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withOptionsMixin + +```jsonnet +withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withTopic + +```jsonnet +withTopic(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"series"`, `"annotations"`, `"alertStates"` + +Where to pull DataFrames from as input to transformation +### obj filter + + +#### fn filter.withId + +```jsonnet +filter.withId(value="") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `""` + +The matcher id. This is used to find the matcher implementation from registry. +#### fn filter.withOptions + +```jsonnet +filter.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. +#### fn filter.withOptionsMixin + +```jsonnet +filter.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/datagrid/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/datagrid/standardOptions/mapping.md new file mode 100644 index 0000000..196c769 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/datagrid/standardOptions/mapping.md @@ -0,0 +1,445 @@ +# mapping + + + +## Index + +* [`obj RangeMap`](#obj-rangemap) + * [`fn withOptions(value)`](#fn-rangemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) + * [`fn withType()`](#fn-rangemapwithtype) + * [`obj options`](#obj-rangemapoptions) + * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) + * [`fn withResult(value)`](#fn-rangemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) + * [`fn withTo(value)`](#fn-rangemapoptionswithto) + * [`obj result`](#obj-rangemapoptionsresult) + * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) +* [`obj RegexMap`](#obj-regexmap) + * [`fn withOptions(value)`](#fn-regexmapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) + * [`fn withType()`](#fn-regexmapwithtype) + * [`obj options`](#obj-regexmapoptions) + * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) + * [`fn withResult(value)`](#fn-regexmapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) + * [`obj result`](#obj-regexmapoptionsresult) + * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) + * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) +* [`obj SpecialValueMap`](#obj-specialvaluemap) + * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) + * [`fn withType()`](#fn-specialvaluemapwithtype) + * [`obj options`](#obj-specialvaluemapoptions) + * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) + * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) + * [`obj result`](#obj-specialvaluemapoptionsresult) + * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) +* [`obj ValueMap`](#obj-valuemap) + * [`fn withOptions(value)`](#fn-valuemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) + * [`fn withType()`](#fn-valuemapwithtype) + +## Fields + +### obj RangeMap + + +#### fn RangeMap.withOptions + +```jsonnet +RangeMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withOptionsMixin + +```jsonnet +RangeMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withType + +```jsonnet +RangeMap.withType() +``` + + + +#### obj RangeMap.options + + +##### fn RangeMap.options.withFrom + +```jsonnet +RangeMap.options.withFrom(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Min value of the range. It can be null which means -Infinity +##### fn RangeMap.options.withResult + +```jsonnet +RangeMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withResultMixin + +```jsonnet +RangeMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withTo + +```jsonnet +RangeMap.options.withTo(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Max value of the range. It can be null which means +Infinity +##### obj RangeMap.options.result + + +###### fn RangeMap.options.result.withColor + +```jsonnet +RangeMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RangeMap.options.result.withIcon + +```jsonnet +RangeMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RangeMap.options.result.withIndex + +```jsonnet +RangeMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RangeMap.options.result.withText + +```jsonnet +RangeMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj RegexMap + + +#### fn RegexMap.withOptions + +```jsonnet +RegexMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withOptionsMixin + +```jsonnet +RegexMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withType + +```jsonnet +RegexMap.withType() +``` + + + +#### obj RegexMap.options + + +##### fn RegexMap.options.withPattern + +```jsonnet +RegexMap.options.withPattern(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Regular expression to match against +##### fn RegexMap.options.withResult + +```jsonnet +RegexMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RegexMap.options.withResultMixin + +```jsonnet +RegexMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj RegexMap.options.result + + +###### fn RegexMap.options.result.withColor + +```jsonnet +RegexMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RegexMap.options.result.withIcon + +```jsonnet +RegexMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RegexMap.options.result.withIndex + +```jsonnet +RegexMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RegexMap.options.result.withText + +```jsonnet +RegexMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj SpecialValueMap + + +#### fn SpecialValueMap.withOptions + +```jsonnet +SpecialValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withOptionsMixin + +```jsonnet +SpecialValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withType + +```jsonnet +SpecialValueMap.withType() +``` + + + +#### obj SpecialValueMap.options + + +##### fn SpecialValueMap.options.withMatch + +```jsonnet +SpecialValueMap.options.withMatch(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` + +Special value types supported by the `SpecialValueMap` +##### fn SpecialValueMap.options.withResult + +```jsonnet +SpecialValueMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn SpecialValueMap.options.withResultMixin + +```jsonnet +SpecialValueMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj SpecialValueMap.options.result + + +###### fn SpecialValueMap.options.result.withColor + +```jsonnet +SpecialValueMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn SpecialValueMap.options.result.withIcon + +```jsonnet +SpecialValueMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn SpecialValueMap.options.result.withIndex + +```jsonnet +SpecialValueMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn SpecialValueMap.options.result.withText + +```jsonnet +SpecialValueMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj ValueMap + + +#### fn ValueMap.withOptions + +```jsonnet +ValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withOptionsMixin + +```jsonnet +ValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withType + +```jsonnet +ValueMap.withType() +``` + + diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/dashboardList/standardOptions/override.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/datagrid/standardOptions/override.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/dashboardList/standardOptions/override.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/datagrid/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/datagrid/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/datagrid/standardOptions/threshold/step.md new file mode 100644 index 0000000..62c49ab --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/datagrid/standardOptions/threshold/step.md @@ -0,0 +1,34 @@ +# threshold.step + + + +## Index + +* [`fn withColor(value)`](#fn-withcolor) +* [`fn withValue(value)`](#fn-withvalue) + +## Fields + +### fn withColor + +```jsonnet +withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. +### fn withValue + +```jsonnet +withValue(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. +Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/debug/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/debug/index.md similarity index 95% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/debug/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/debug/index.md index 25d472c..3eb99e1 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/debug/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/debug/index.md @@ -29,6 +29,7 @@ grafonnet.panel.debug * [`fn withGridPos(h="null", w="null", x="null", y="null")`](#fn-paneloptionswithgridpos) * [`fn withLinks(value)`](#fn-paneloptionswithlinks) * [`fn withLinksMixin(value)`](#fn-paneloptionswithlinksmixin) + * [`fn withMaxPerRow(value)`](#fn-paneloptionswithmaxperrow) * [`fn withRepeat(value)`](#fn-paneloptionswithrepeat) * [`fn withRepeatDirection(value="h")`](#fn-paneloptionswithrepeatdirection) * [`fn withTitle(value)`](#fn-paneloptionswithtitle) @@ -36,8 +37,10 @@ grafonnet.panel.debug * [`obj queryOptions`](#obj-queryoptions) * [`fn withDatasource(type, uid)`](#fn-queryoptionswithdatasource) * [`fn withDatasourceMixin(value)`](#fn-queryoptionswithdatasourcemixin) + * [`fn withHideTimeOverride(value=true)`](#fn-queryoptionswithhidetimeoverride) * [`fn withInterval(value)`](#fn-queryoptionswithinterval) * [`fn withMaxDataPoints(value)`](#fn-queryoptionswithmaxdatapoints) + * [`fn withQueryCachingTTL(value)`](#fn-queryoptionswithquerycachingttl) * [`fn withTargets(value)`](#fn-queryoptionswithtargets) * [`fn withTargetsMixin(value)`](#fn-queryoptionswithtargetsmixin) * [`fn withTimeFrom(value)`](#fn-queryoptionswithtimefrom) @@ -239,6 +242,18 @@ PARAMETERS: * **value** (`array`) Panel links. +#### fn panelOptions.withMaxPerRow + +```jsonnet +panelOptions.withMaxPerRow(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Option for repeated panels that controls max items per row +Only relevant for horizontally repeated panels #### fn panelOptions.withRepeat ```jsonnet @@ -316,6 +331,18 @@ PARAMETERS: * **value** (`object`) Ref to a DataSource instance +#### fn queryOptions.withHideTimeOverride + +```jsonnet +queryOptions.withHideTimeOverride(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Controls if the timeFrom or timeShift overrides are shown in the panel header #### fn queryOptions.withInterval ```jsonnet @@ -341,6 +368,17 @@ PARAMETERS: * **value** (`number`) The maximum number of data points that the panel queries are retrieving. +#### fn queryOptions.withQueryCachingTTL + +```jsonnet +queryOptions.withQueryCachingTTL(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Overrides the data source configured time-to-live for a query cache item in milliseconds #### fn queryOptions.withTargets ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/datagrid/panelOptions/link.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/debug/panelOptions/link.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/datagrid/panelOptions/link.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/debug/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/debug/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/debug/queryOptions/transformation.md new file mode 100644 index 0000000..69dda9a --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/debug/queryOptions/transformation.md @@ -0,0 +1,140 @@ +# transformation + + + +## Index + +* [`fn withDisabled(value=true)`](#fn-withdisabled) +* [`fn withFilter(value)`](#fn-withfilter) +* [`fn withFilterMixin(value)`](#fn-withfiltermixin) +* [`fn withId(value)`](#fn-withid) +* [`fn withOptions(value)`](#fn-withoptions) +* [`fn withOptionsMixin(value)`](#fn-withoptionsmixin) +* [`fn withTopic(value)`](#fn-withtopic) +* [`obj filter`](#obj-filter) + * [`fn withId(value="")`](#fn-filterwithid) + * [`fn withOptions(value)`](#fn-filterwithoptions) + * [`fn withOptionsMixin(value)`](#fn-filterwithoptionsmixin) + +## Fields + +### fn withDisabled + +```jsonnet +withDisabled(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Disabled transformations are skipped +### fn withFilter + +```jsonnet +withFilter(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withFilterMixin + +```jsonnet +withFilterMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withId + +```jsonnet +withId(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Unique identifier of transformer +### fn withOptions + +```jsonnet +withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withOptionsMixin + +```jsonnet +withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withTopic + +```jsonnet +withTopic(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"series"`, `"annotations"`, `"alertStates"` + +Where to pull DataFrames from as input to transformation +### obj filter + + +#### fn filter.withId + +```jsonnet +filter.withId(value="") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `""` + +The matcher id. This is used to find the matcher implementation from registry. +#### fn filter.withOptions + +```jsonnet +filter.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. +#### fn filter.withOptionsMixin + +```jsonnet +filter.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/debug/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/debug/standardOptions/mapping.md new file mode 100644 index 0000000..196c769 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/debug/standardOptions/mapping.md @@ -0,0 +1,445 @@ +# mapping + + + +## Index + +* [`obj RangeMap`](#obj-rangemap) + * [`fn withOptions(value)`](#fn-rangemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) + * [`fn withType()`](#fn-rangemapwithtype) + * [`obj options`](#obj-rangemapoptions) + * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) + * [`fn withResult(value)`](#fn-rangemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) + * [`fn withTo(value)`](#fn-rangemapoptionswithto) + * [`obj result`](#obj-rangemapoptionsresult) + * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) +* [`obj RegexMap`](#obj-regexmap) + * [`fn withOptions(value)`](#fn-regexmapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) + * [`fn withType()`](#fn-regexmapwithtype) + * [`obj options`](#obj-regexmapoptions) + * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) + * [`fn withResult(value)`](#fn-regexmapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) + * [`obj result`](#obj-regexmapoptionsresult) + * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) + * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) +* [`obj SpecialValueMap`](#obj-specialvaluemap) + * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) + * [`fn withType()`](#fn-specialvaluemapwithtype) + * [`obj options`](#obj-specialvaluemapoptions) + * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) + * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) + * [`obj result`](#obj-specialvaluemapoptionsresult) + * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) +* [`obj ValueMap`](#obj-valuemap) + * [`fn withOptions(value)`](#fn-valuemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) + * [`fn withType()`](#fn-valuemapwithtype) + +## Fields + +### obj RangeMap + + +#### fn RangeMap.withOptions + +```jsonnet +RangeMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withOptionsMixin + +```jsonnet +RangeMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withType + +```jsonnet +RangeMap.withType() +``` + + + +#### obj RangeMap.options + + +##### fn RangeMap.options.withFrom + +```jsonnet +RangeMap.options.withFrom(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Min value of the range. It can be null which means -Infinity +##### fn RangeMap.options.withResult + +```jsonnet +RangeMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withResultMixin + +```jsonnet +RangeMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withTo + +```jsonnet +RangeMap.options.withTo(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Max value of the range. It can be null which means +Infinity +##### obj RangeMap.options.result + + +###### fn RangeMap.options.result.withColor + +```jsonnet +RangeMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RangeMap.options.result.withIcon + +```jsonnet +RangeMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RangeMap.options.result.withIndex + +```jsonnet +RangeMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RangeMap.options.result.withText + +```jsonnet +RangeMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj RegexMap + + +#### fn RegexMap.withOptions + +```jsonnet +RegexMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withOptionsMixin + +```jsonnet +RegexMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withType + +```jsonnet +RegexMap.withType() +``` + + + +#### obj RegexMap.options + + +##### fn RegexMap.options.withPattern + +```jsonnet +RegexMap.options.withPattern(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Regular expression to match against +##### fn RegexMap.options.withResult + +```jsonnet +RegexMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RegexMap.options.withResultMixin + +```jsonnet +RegexMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj RegexMap.options.result + + +###### fn RegexMap.options.result.withColor + +```jsonnet +RegexMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RegexMap.options.result.withIcon + +```jsonnet +RegexMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RegexMap.options.result.withIndex + +```jsonnet +RegexMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RegexMap.options.result.withText + +```jsonnet +RegexMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj SpecialValueMap + + +#### fn SpecialValueMap.withOptions + +```jsonnet +SpecialValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withOptionsMixin + +```jsonnet +SpecialValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withType + +```jsonnet +SpecialValueMap.withType() +``` + + + +#### obj SpecialValueMap.options + + +##### fn SpecialValueMap.options.withMatch + +```jsonnet +SpecialValueMap.options.withMatch(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` + +Special value types supported by the `SpecialValueMap` +##### fn SpecialValueMap.options.withResult + +```jsonnet +SpecialValueMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn SpecialValueMap.options.withResultMixin + +```jsonnet +SpecialValueMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj SpecialValueMap.options.result + + +###### fn SpecialValueMap.options.result.withColor + +```jsonnet +SpecialValueMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn SpecialValueMap.options.result.withIcon + +```jsonnet +SpecialValueMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn SpecialValueMap.options.result.withIndex + +```jsonnet +SpecialValueMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn SpecialValueMap.options.result.withText + +```jsonnet +SpecialValueMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj ValueMap + + +#### fn ValueMap.withOptions + +```jsonnet +ValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withOptionsMixin + +```jsonnet +ValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withType + +```jsonnet +ValueMap.withType() +``` + + diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/datagrid/standardOptions/override.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/debug/standardOptions/override.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/datagrid/standardOptions/override.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/debug/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/debug/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/debug/standardOptions/threshold/step.md new file mode 100644 index 0000000..62c49ab --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/debug/standardOptions/threshold/step.md @@ -0,0 +1,34 @@ +# threshold.step + + + +## Index + +* [`fn withColor(value)`](#fn-withcolor) +* [`fn withValue(value)`](#fn-withvalue) + +## Fields + +### fn withColor + +```jsonnet +withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. +### fn withValue + +```jsonnet +withValue(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. +Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/gauge/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/gauge/index.md similarity index 95% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/gauge/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/gauge/index.md index 2781e4f..ae4729f 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/gauge/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/gauge/index.md @@ -24,7 +24,7 @@ grafonnet.panel.gauge * [`fn withReduceOptionsMixin(value)`](#fn-optionswithreduceoptionsmixin) * [`fn withShowThresholdLabels(value=true)`](#fn-optionswithshowthresholdlabels) * [`fn withShowThresholdMarkers(value=true)`](#fn-optionswithshowthresholdmarkers) - * [`fn withSizing(value)`](#fn-optionswithsizing) + * [`fn withSizing(value="auto")`](#fn-optionswithsizing) * [`fn withText(value)`](#fn-optionswithtext) * [`fn withTextMixin(value)`](#fn-optionswithtextmixin) * [`obj reduceOptions`](#obj-optionsreduceoptions) @@ -41,6 +41,7 @@ grafonnet.panel.gauge * [`fn withGridPos(h="null", w="null", x="null", y="null")`](#fn-paneloptionswithgridpos) * [`fn withLinks(value)`](#fn-paneloptionswithlinks) * [`fn withLinksMixin(value)`](#fn-paneloptionswithlinksmixin) + * [`fn withMaxPerRow(value)`](#fn-paneloptionswithmaxperrow) * [`fn withRepeat(value)`](#fn-paneloptionswithrepeat) * [`fn withRepeatDirection(value="h")`](#fn-paneloptionswithrepeatdirection) * [`fn withTitle(value)`](#fn-paneloptionswithtitle) @@ -48,8 +49,10 @@ grafonnet.panel.gauge * [`obj queryOptions`](#obj-queryoptions) * [`fn withDatasource(type, uid)`](#fn-queryoptionswithdatasource) * [`fn withDatasourceMixin(value)`](#fn-queryoptionswithdatasourcemixin) + * [`fn withHideTimeOverride(value=true)`](#fn-queryoptionswithhidetimeoverride) * [`fn withInterval(value)`](#fn-queryoptionswithinterval) * [`fn withMaxDataPoints(value)`](#fn-queryoptionswithmaxdatapoints) + * [`fn withQueryCachingTTL(value)`](#fn-queryoptionswithquerycachingttl) * [`fn withTargets(value)`](#fn-queryoptionswithtargets) * [`fn withTargetsMixin(value)`](#fn-queryoptionswithtargetsmixin) * [`fn withTimeFrom(value)`](#fn-queryoptionswithtimefrom) @@ -206,12 +209,13 @@ PARAMETERS: #### fn options.withSizing ```jsonnet -options.withSizing(value) +options.withSizing(value="auto") ``` PARAMETERS: * **value** (`string`) + - default value: `"auto"` - valid values: `"auto"`, `"manual"` Allows for the bar gauge size to be set explicitly @@ -378,6 +382,18 @@ PARAMETERS: * **value** (`array`) Panel links. +#### fn panelOptions.withMaxPerRow + +```jsonnet +panelOptions.withMaxPerRow(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Option for repeated panels that controls max items per row +Only relevant for horizontally repeated panels #### fn panelOptions.withRepeat ```jsonnet @@ -455,6 +471,18 @@ PARAMETERS: * **value** (`object`) Ref to a DataSource instance +#### fn queryOptions.withHideTimeOverride + +```jsonnet +queryOptions.withHideTimeOverride(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Controls if the timeFrom or timeShift overrides are shown in the panel header #### fn queryOptions.withInterval ```jsonnet @@ -480,6 +508,17 @@ PARAMETERS: * **value** (`number`) The maximum number of data points that the panel queries are retrieving. +#### fn queryOptions.withQueryCachingTTL + +```jsonnet +queryOptions.withQueryCachingTTL(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Overrides the data source configured time-to-live for a query cache item in milliseconds #### fn queryOptions.withTargets ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/debug/panelOptions/link.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/gauge/panelOptions/link.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/debug/panelOptions/link.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/gauge/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/gauge/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/gauge/queryOptions/transformation.md new file mode 100644 index 0000000..69dda9a --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/gauge/queryOptions/transformation.md @@ -0,0 +1,140 @@ +# transformation + + + +## Index + +* [`fn withDisabled(value=true)`](#fn-withdisabled) +* [`fn withFilter(value)`](#fn-withfilter) +* [`fn withFilterMixin(value)`](#fn-withfiltermixin) +* [`fn withId(value)`](#fn-withid) +* [`fn withOptions(value)`](#fn-withoptions) +* [`fn withOptionsMixin(value)`](#fn-withoptionsmixin) +* [`fn withTopic(value)`](#fn-withtopic) +* [`obj filter`](#obj-filter) + * [`fn withId(value="")`](#fn-filterwithid) + * [`fn withOptions(value)`](#fn-filterwithoptions) + * [`fn withOptionsMixin(value)`](#fn-filterwithoptionsmixin) + +## Fields + +### fn withDisabled + +```jsonnet +withDisabled(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Disabled transformations are skipped +### fn withFilter + +```jsonnet +withFilter(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withFilterMixin + +```jsonnet +withFilterMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withId + +```jsonnet +withId(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Unique identifier of transformer +### fn withOptions + +```jsonnet +withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withOptionsMixin + +```jsonnet +withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withTopic + +```jsonnet +withTopic(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"series"`, `"annotations"`, `"alertStates"` + +Where to pull DataFrames from as input to transformation +### obj filter + + +#### fn filter.withId + +```jsonnet +filter.withId(value="") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `""` + +The matcher id. This is used to find the matcher implementation from registry. +#### fn filter.withOptions + +```jsonnet +filter.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. +#### fn filter.withOptionsMixin + +```jsonnet +filter.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/gauge/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/gauge/standardOptions/mapping.md new file mode 100644 index 0000000..196c769 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/gauge/standardOptions/mapping.md @@ -0,0 +1,445 @@ +# mapping + + + +## Index + +* [`obj RangeMap`](#obj-rangemap) + * [`fn withOptions(value)`](#fn-rangemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) + * [`fn withType()`](#fn-rangemapwithtype) + * [`obj options`](#obj-rangemapoptions) + * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) + * [`fn withResult(value)`](#fn-rangemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) + * [`fn withTo(value)`](#fn-rangemapoptionswithto) + * [`obj result`](#obj-rangemapoptionsresult) + * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) +* [`obj RegexMap`](#obj-regexmap) + * [`fn withOptions(value)`](#fn-regexmapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) + * [`fn withType()`](#fn-regexmapwithtype) + * [`obj options`](#obj-regexmapoptions) + * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) + * [`fn withResult(value)`](#fn-regexmapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) + * [`obj result`](#obj-regexmapoptionsresult) + * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) + * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) +* [`obj SpecialValueMap`](#obj-specialvaluemap) + * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) + * [`fn withType()`](#fn-specialvaluemapwithtype) + * [`obj options`](#obj-specialvaluemapoptions) + * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) + * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) + * [`obj result`](#obj-specialvaluemapoptionsresult) + * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) +* [`obj ValueMap`](#obj-valuemap) + * [`fn withOptions(value)`](#fn-valuemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) + * [`fn withType()`](#fn-valuemapwithtype) + +## Fields + +### obj RangeMap + + +#### fn RangeMap.withOptions + +```jsonnet +RangeMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withOptionsMixin + +```jsonnet +RangeMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withType + +```jsonnet +RangeMap.withType() +``` + + + +#### obj RangeMap.options + + +##### fn RangeMap.options.withFrom + +```jsonnet +RangeMap.options.withFrom(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Min value of the range. It can be null which means -Infinity +##### fn RangeMap.options.withResult + +```jsonnet +RangeMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withResultMixin + +```jsonnet +RangeMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withTo + +```jsonnet +RangeMap.options.withTo(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Max value of the range. It can be null which means +Infinity +##### obj RangeMap.options.result + + +###### fn RangeMap.options.result.withColor + +```jsonnet +RangeMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RangeMap.options.result.withIcon + +```jsonnet +RangeMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RangeMap.options.result.withIndex + +```jsonnet +RangeMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RangeMap.options.result.withText + +```jsonnet +RangeMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj RegexMap + + +#### fn RegexMap.withOptions + +```jsonnet +RegexMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withOptionsMixin + +```jsonnet +RegexMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withType + +```jsonnet +RegexMap.withType() +``` + + + +#### obj RegexMap.options + + +##### fn RegexMap.options.withPattern + +```jsonnet +RegexMap.options.withPattern(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Regular expression to match against +##### fn RegexMap.options.withResult + +```jsonnet +RegexMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RegexMap.options.withResultMixin + +```jsonnet +RegexMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj RegexMap.options.result + + +###### fn RegexMap.options.result.withColor + +```jsonnet +RegexMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RegexMap.options.result.withIcon + +```jsonnet +RegexMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RegexMap.options.result.withIndex + +```jsonnet +RegexMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RegexMap.options.result.withText + +```jsonnet +RegexMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj SpecialValueMap + + +#### fn SpecialValueMap.withOptions + +```jsonnet +SpecialValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withOptionsMixin + +```jsonnet +SpecialValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withType + +```jsonnet +SpecialValueMap.withType() +``` + + + +#### obj SpecialValueMap.options + + +##### fn SpecialValueMap.options.withMatch + +```jsonnet +SpecialValueMap.options.withMatch(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` + +Special value types supported by the `SpecialValueMap` +##### fn SpecialValueMap.options.withResult + +```jsonnet +SpecialValueMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn SpecialValueMap.options.withResultMixin + +```jsonnet +SpecialValueMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj SpecialValueMap.options.result + + +###### fn SpecialValueMap.options.result.withColor + +```jsonnet +SpecialValueMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn SpecialValueMap.options.result.withIcon + +```jsonnet +SpecialValueMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn SpecialValueMap.options.result.withIndex + +```jsonnet +SpecialValueMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn SpecialValueMap.options.result.withText + +```jsonnet +SpecialValueMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj ValueMap + + +#### fn ValueMap.withOptions + +```jsonnet +ValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withOptionsMixin + +```jsonnet +ValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withType + +```jsonnet +ValueMap.withType() +``` + + diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/debug/standardOptions/override.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/gauge/standardOptions/override.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/debug/standardOptions/override.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/gauge/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/gauge/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/gauge/standardOptions/threshold/step.md new file mode 100644 index 0000000..62c49ab --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/gauge/standardOptions/threshold/step.md @@ -0,0 +1,34 @@ +# threshold.step + + + +## Index + +* [`fn withColor(value)`](#fn-withcolor) +* [`fn withValue(value)`](#fn-withvalue) + +## Fields + +### fn withColor + +```jsonnet +withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. +### fn withValue + +```jsonnet +withValue(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. +Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/geomap/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/geomap/index.md similarity index 94% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/geomap/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/geomap/index.md index 27afea9..d9335f0 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/geomap/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/geomap/index.md @@ -30,7 +30,9 @@ grafonnet.panel.geomap * [`fn withViewMixin(value)`](#fn-optionswithviewmixin) * [`obj basemap`](#obj-optionsbasemap) * [`fn withConfig(value)`](#fn-optionsbasemapwithconfig) + * [`fn withConfigMixin(value)`](#fn-optionsbasemapwithconfigmixin) * [`fn withFilterData(value)`](#fn-optionsbasemapwithfilterdata) + * [`fn withFilterDataMixin(value)`](#fn-optionsbasemapwithfilterdatamixin) * [`fn withLocation(value)`](#fn-optionsbasemapwithlocation) * [`fn withLocationMixin(value)`](#fn-optionsbasemapwithlocationmixin) * [`fn withName(value)`](#fn-optionsbasemapwithname) @@ -71,6 +73,7 @@ grafonnet.panel.geomap * [`fn withGridPos(h="null", w="null", x="null", y="null")`](#fn-paneloptionswithgridpos) * [`fn withLinks(value)`](#fn-paneloptionswithlinks) * [`fn withLinksMixin(value)`](#fn-paneloptionswithlinksmixin) + * [`fn withMaxPerRow(value)`](#fn-paneloptionswithmaxperrow) * [`fn withRepeat(value)`](#fn-paneloptionswithrepeat) * [`fn withRepeatDirection(value="h")`](#fn-paneloptionswithrepeatdirection) * [`fn withTitle(value)`](#fn-paneloptionswithtitle) @@ -78,8 +81,10 @@ grafonnet.panel.geomap * [`obj queryOptions`](#obj-queryoptions) * [`fn withDatasource(type, uid)`](#fn-queryoptionswithdatasource) * [`fn withDatasourceMixin(value)`](#fn-queryoptionswithdatasourcemixin) + * [`fn withHideTimeOverride(value=true)`](#fn-queryoptionswithhidetimeoverride) * [`fn withInterval(value)`](#fn-queryoptionswithinterval) * [`fn withMaxDataPoints(value)`](#fn-queryoptionswithmaxdatapoints) + * [`fn withQueryCachingTTL(value)`](#fn-queryoptionswithquerycachingttl) * [`fn withTargets(value)`](#fn-queryoptionswithtargets) * [`fn withTargetsMixin(value)`](#fn-queryoptionswithtargetsmixin) * [`fn withTimeFrom(value)`](#fn-queryoptionswithtimefrom) @@ -272,7 +277,18 @@ options.basemap.withConfig(value) PARAMETERS: -* **value** (`string`) +* **value** (`object`) + +Custom options depending on the type +##### fn options.basemap.withConfigMixin + +```jsonnet +options.basemap.withConfigMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) Custom options depending on the type ##### fn options.basemap.withFilterData @@ -283,7 +299,18 @@ options.basemap.withFilterData(value) PARAMETERS: -* **value** (`string`) +* **value** (`object`) + +Defines a frame MatcherConfig that may filter data for the given layer +##### fn options.basemap.withFilterDataMixin + +```jsonnet +options.basemap.withFilterDataMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) Defines a frame MatcherConfig that may filter data for the given layer ##### fn options.basemap.withLocation @@ -296,7 +323,7 @@ PARAMETERS: * **value** (`object`) - +Common method to define geometry fields ##### fn options.basemap.withLocationMixin ```jsonnet @@ -307,7 +334,7 @@ PARAMETERS: * **value** (`object`) - +Common method to define geometry fields ##### fn options.basemap.withName ```jsonnet @@ -714,6 +741,18 @@ PARAMETERS: * **value** (`array`) Panel links. +#### fn panelOptions.withMaxPerRow + +```jsonnet +panelOptions.withMaxPerRow(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Option for repeated panels that controls max items per row +Only relevant for horizontally repeated panels #### fn panelOptions.withRepeat ```jsonnet @@ -791,6 +830,18 @@ PARAMETERS: * **value** (`object`) Ref to a DataSource instance +#### fn queryOptions.withHideTimeOverride + +```jsonnet +queryOptions.withHideTimeOverride(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Controls if the timeFrom or timeShift overrides are shown in the panel header #### fn queryOptions.withInterval ```jsonnet @@ -816,6 +867,17 @@ PARAMETERS: * **value** (`number`) The maximum number of data points that the panel queries are retrieving. +#### fn queryOptions.withQueryCachingTTL + +```jsonnet +queryOptions.withQueryCachingTTL(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Overrides the data source configured time-to-live for a query cache item in milliseconds #### fn queryOptions.withTargets ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/geomap/options/layers.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/geomap/options/layers.md similarity index 83% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/geomap/options/layers.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/geomap/options/layers.md index d65f7c6..e6a1da9 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/geomap/options/layers.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/geomap/options/layers.md @@ -5,7 +5,9 @@ ## Index * [`fn withConfig(value)`](#fn-withconfig) +* [`fn withConfigMixin(value)`](#fn-withconfigmixin) * [`fn withFilterData(value)`](#fn-withfilterdata) +* [`fn withFilterDataMixin(value)`](#fn-withfilterdatamixin) * [`fn withLocation(value)`](#fn-withlocation) * [`fn withLocationMixin(value)`](#fn-withlocationmixin) * [`fn withName(value)`](#fn-withname) @@ -31,7 +33,18 @@ withConfig(value) PARAMETERS: -* **value** (`string`) +* **value** (`object`) + +Custom options depending on the type +### fn withConfigMixin + +```jsonnet +withConfigMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) Custom options depending on the type ### fn withFilterData @@ -42,7 +55,18 @@ withFilterData(value) PARAMETERS: -* **value** (`string`) +* **value** (`object`) + +Defines a frame MatcherConfig that may filter data for the given layer +### fn withFilterDataMixin + +```jsonnet +withFilterDataMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) Defines a frame MatcherConfig that may filter data for the given layer ### fn withLocation @@ -55,7 +79,7 @@ PARAMETERS: * **value** (`object`) - +Common method to define geometry fields ### fn withLocationMixin ```jsonnet @@ -66,7 +90,7 @@ PARAMETERS: * **value** (`object`) - +Common method to define geometry fields ### fn withName ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/gauge/panelOptions/link.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/geomap/panelOptions/link.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/gauge/panelOptions/link.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/geomap/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/geomap/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/geomap/queryOptions/transformation.md new file mode 100644 index 0000000..69dda9a --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/geomap/queryOptions/transformation.md @@ -0,0 +1,140 @@ +# transformation + + + +## Index + +* [`fn withDisabled(value=true)`](#fn-withdisabled) +* [`fn withFilter(value)`](#fn-withfilter) +* [`fn withFilterMixin(value)`](#fn-withfiltermixin) +* [`fn withId(value)`](#fn-withid) +* [`fn withOptions(value)`](#fn-withoptions) +* [`fn withOptionsMixin(value)`](#fn-withoptionsmixin) +* [`fn withTopic(value)`](#fn-withtopic) +* [`obj filter`](#obj-filter) + * [`fn withId(value="")`](#fn-filterwithid) + * [`fn withOptions(value)`](#fn-filterwithoptions) + * [`fn withOptionsMixin(value)`](#fn-filterwithoptionsmixin) + +## Fields + +### fn withDisabled + +```jsonnet +withDisabled(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Disabled transformations are skipped +### fn withFilter + +```jsonnet +withFilter(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withFilterMixin + +```jsonnet +withFilterMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withId + +```jsonnet +withId(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Unique identifier of transformer +### fn withOptions + +```jsonnet +withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withOptionsMixin + +```jsonnet +withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withTopic + +```jsonnet +withTopic(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"series"`, `"annotations"`, `"alertStates"` + +Where to pull DataFrames from as input to transformation +### obj filter + + +#### fn filter.withId + +```jsonnet +filter.withId(value="") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `""` + +The matcher id. This is used to find the matcher implementation from registry. +#### fn filter.withOptions + +```jsonnet +filter.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. +#### fn filter.withOptionsMixin + +```jsonnet +filter.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/geomap/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/geomap/standardOptions/mapping.md new file mode 100644 index 0000000..196c769 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/geomap/standardOptions/mapping.md @@ -0,0 +1,445 @@ +# mapping + + + +## Index + +* [`obj RangeMap`](#obj-rangemap) + * [`fn withOptions(value)`](#fn-rangemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) + * [`fn withType()`](#fn-rangemapwithtype) + * [`obj options`](#obj-rangemapoptions) + * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) + * [`fn withResult(value)`](#fn-rangemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) + * [`fn withTo(value)`](#fn-rangemapoptionswithto) + * [`obj result`](#obj-rangemapoptionsresult) + * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) +* [`obj RegexMap`](#obj-regexmap) + * [`fn withOptions(value)`](#fn-regexmapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) + * [`fn withType()`](#fn-regexmapwithtype) + * [`obj options`](#obj-regexmapoptions) + * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) + * [`fn withResult(value)`](#fn-regexmapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) + * [`obj result`](#obj-regexmapoptionsresult) + * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) + * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) +* [`obj SpecialValueMap`](#obj-specialvaluemap) + * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) + * [`fn withType()`](#fn-specialvaluemapwithtype) + * [`obj options`](#obj-specialvaluemapoptions) + * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) + * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) + * [`obj result`](#obj-specialvaluemapoptionsresult) + * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) +* [`obj ValueMap`](#obj-valuemap) + * [`fn withOptions(value)`](#fn-valuemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) + * [`fn withType()`](#fn-valuemapwithtype) + +## Fields + +### obj RangeMap + + +#### fn RangeMap.withOptions + +```jsonnet +RangeMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withOptionsMixin + +```jsonnet +RangeMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withType + +```jsonnet +RangeMap.withType() +``` + + + +#### obj RangeMap.options + + +##### fn RangeMap.options.withFrom + +```jsonnet +RangeMap.options.withFrom(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Min value of the range. It can be null which means -Infinity +##### fn RangeMap.options.withResult + +```jsonnet +RangeMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withResultMixin + +```jsonnet +RangeMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withTo + +```jsonnet +RangeMap.options.withTo(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Max value of the range. It can be null which means +Infinity +##### obj RangeMap.options.result + + +###### fn RangeMap.options.result.withColor + +```jsonnet +RangeMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RangeMap.options.result.withIcon + +```jsonnet +RangeMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RangeMap.options.result.withIndex + +```jsonnet +RangeMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RangeMap.options.result.withText + +```jsonnet +RangeMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj RegexMap + + +#### fn RegexMap.withOptions + +```jsonnet +RegexMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withOptionsMixin + +```jsonnet +RegexMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withType + +```jsonnet +RegexMap.withType() +``` + + + +#### obj RegexMap.options + + +##### fn RegexMap.options.withPattern + +```jsonnet +RegexMap.options.withPattern(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Regular expression to match against +##### fn RegexMap.options.withResult + +```jsonnet +RegexMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RegexMap.options.withResultMixin + +```jsonnet +RegexMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj RegexMap.options.result + + +###### fn RegexMap.options.result.withColor + +```jsonnet +RegexMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RegexMap.options.result.withIcon + +```jsonnet +RegexMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RegexMap.options.result.withIndex + +```jsonnet +RegexMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RegexMap.options.result.withText + +```jsonnet +RegexMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj SpecialValueMap + + +#### fn SpecialValueMap.withOptions + +```jsonnet +SpecialValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withOptionsMixin + +```jsonnet +SpecialValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withType + +```jsonnet +SpecialValueMap.withType() +``` + + + +#### obj SpecialValueMap.options + + +##### fn SpecialValueMap.options.withMatch + +```jsonnet +SpecialValueMap.options.withMatch(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` + +Special value types supported by the `SpecialValueMap` +##### fn SpecialValueMap.options.withResult + +```jsonnet +SpecialValueMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn SpecialValueMap.options.withResultMixin + +```jsonnet +SpecialValueMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj SpecialValueMap.options.result + + +###### fn SpecialValueMap.options.result.withColor + +```jsonnet +SpecialValueMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn SpecialValueMap.options.result.withIcon + +```jsonnet +SpecialValueMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn SpecialValueMap.options.result.withIndex + +```jsonnet +SpecialValueMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn SpecialValueMap.options.result.withText + +```jsonnet +SpecialValueMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj ValueMap + + +#### fn ValueMap.withOptions + +```jsonnet +ValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withOptionsMixin + +```jsonnet +ValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withType + +```jsonnet +ValueMap.withType() +``` + + diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/gauge/standardOptions/override.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/geomap/standardOptions/override.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/gauge/standardOptions/override.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/geomap/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/geomap/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/geomap/standardOptions/threshold/step.md new file mode 100644 index 0000000..62c49ab --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/geomap/standardOptions/threshold/step.md @@ -0,0 +1,34 @@ +# threshold.step + + + +## Index + +* [`fn withColor(value)`](#fn-withcolor) +* [`fn withValue(value)`](#fn-withvalue) + +## Fields + +### fn withColor + +```jsonnet +withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. +### fn withValue + +```jsonnet +withValue(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. +Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/heatmap/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/heatmap/index.md similarity index 83% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/heatmap/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/heatmap/index.md index f313ed7..46fba20 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/heatmap/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/heatmap/index.md @@ -37,21 +37,22 @@ grafonnet.panel.heatmap * [`fn withCalculationMixin(value)`](#fn-optionswithcalculationmixin) * [`fn withCellGap(value=1)`](#fn-optionswithcellgap) * [`fn withCellRadius(value)`](#fn-optionswithcellradius) - * [`fn withCellValues(value={})`](#fn-optionswithcellvalues) - * [`fn withCellValuesMixin(value={})`](#fn-optionswithcellvaluesmixin) + * [`fn withCellValues(value)`](#fn-optionswithcellvalues) + * [`fn withCellValuesMixin(value)`](#fn-optionswithcellvaluesmixin) * [`fn withColor(value={"exponent": 0.5,"fill": "dark-orange","reverse": false,"scheme": "Oranges","steps": 64})`](#fn-optionswithcolor) * [`fn withColorMixin(value={"exponent": 0.5,"fill": "dark-orange","reverse": false,"scheme": "Oranges","steps": 64})`](#fn-optionswithcolormixin) - * [`fn withExemplars(value)`](#fn-optionswithexemplars) - * [`fn withExemplarsMixin(value)`](#fn-optionswithexemplarsmixin) + * [`fn withExemplars(value={"color": "rgba(255,0,255,0.7)"})`](#fn-optionswithexemplars) + * [`fn withExemplarsMixin(value={"color": "rgba(255,0,255,0.7)"})`](#fn-optionswithexemplarsmixin) * [`fn withFilterValues(value={"le": 0.000000001})`](#fn-optionswithfiltervalues) * [`fn withFilterValuesMixin(value={"le": 0.000000001})`](#fn-optionswithfiltervaluesmixin) - * [`fn withLegend(value)`](#fn-optionswithlegend) - * [`fn withLegendMixin(value)`](#fn-optionswithlegendmixin) + * [`fn withLegend(value={"show": true})`](#fn-optionswithlegend) + * [`fn withLegendMixin(value={"show": true})`](#fn-optionswithlegendmixin) * [`fn withRowsFrame(value)`](#fn-optionswithrowsframe) * [`fn withRowsFrameMixin(value)`](#fn-optionswithrowsframemixin) - * [`fn withShowValue(value)`](#fn-optionswithshowvalue) - * [`fn withTooltip(value={"mode": "single","showColorScale": false,"yHistogram": false})`](#fn-optionswithtooltip) - * [`fn withTooltipMixin(value={"mode": "single","showColorScale": false,"yHistogram": false})`](#fn-optionswithtooltipmixin) + * [`fn withSelectionMode(value="x")`](#fn-optionswithselectionmode) + * [`fn withShowValue(value="auto")`](#fn-optionswithshowvalue) + * [`fn withTooltip(value)`](#fn-optionswithtooltip) + * [`fn withTooltipMixin(value)`](#fn-optionswithtooltipmixin) * [`fn withYAxis(value)`](#fn-optionswithyaxis) * [`fn withYAxisMixin(value)`](#fn-optionswithyaxismixin) * [`obj calculation`](#obj-optionscalculation) @@ -78,46 +79,34 @@ grafonnet.panel.heatmap * [`fn withLog(value)`](#fn-optionscalculationybucketsscalewithlog) * [`fn withType(value)`](#fn-optionscalculationybucketsscalewithtype) * [`obj cellValues`](#obj-optionscellvalues) - * [`fn withCellValues(value)`](#fn-optionscellvalueswithcellvalues) - * [`fn withCellValuesMixin(value)`](#fn-optionscellvalueswithcellvaluesmixin) - * [`obj CellValues`](#obj-optionscellvaluescellvalues) - * [`fn withDecimals(value)`](#fn-optionscellvaluescellvalueswithdecimals) - * [`fn withUnit(value)`](#fn-optionscellvaluescellvalueswithunit) + * [`fn withDecimals(value)`](#fn-optionscellvalueswithdecimals) + * [`fn withUnit(value)`](#fn-optionscellvalueswithunit) * [`obj color`](#obj-optionscolor) - * [`fn withHeatmapColorOptions(value)`](#fn-optionscolorwithheatmapcoloroptions) - * [`fn withHeatmapColorOptionsMixin(value)`](#fn-optionscolorwithheatmapcoloroptionsmixin) - * [`obj HeatmapColorOptions`](#obj-optionscolorheatmapcoloroptions) - * [`fn withExponent(value)`](#fn-optionscolorheatmapcoloroptionswithexponent) - * [`fn withFill(value)`](#fn-optionscolorheatmapcoloroptionswithfill) - * [`fn withMax(value)`](#fn-optionscolorheatmapcoloroptionswithmax) - * [`fn withMin(value)`](#fn-optionscolorheatmapcoloroptionswithmin) - * [`fn withMode(value)`](#fn-optionscolorheatmapcoloroptionswithmode) - * [`fn withReverse(value=true)`](#fn-optionscolorheatmapcoloroptionswithreverse) - * [`fn withScale(value)`](#fn-optionscolorheatmapcoloroptionswithscale) - * [`fn withScheme(value)`](#fn-optionscolorheatmapcoloroptionswithscheme) - * [`fn withSteps(value)`](#fn-optionscolorheatmapcoloroptionswithsteps) + * [`fn withExponent(value)`](#fn-optionscolorwithexponent) + * [`fn withFill(value)`](#fn-optionscolorwithfill) + * [`fn withMax(value)`](#fn-optionscolorwithmax) + * [`fn withMin(value)`](#fn-optionscolorwithmin) + * [`fn withMode(value)`](#fn-optionscolorwithmode) + * [`fn withReverse(value=true)`](#fn-optionscolorwithreverse) + * [`fn withScale(value)`](#fn-optionscolorwithscale) + * [`fn withScheme(value)`](#fn-optionscolorwithscheme) + * [`fn withSteps(value)`](#fn-optionscolorwithsteps) * [`obj exemplars`](#obj-optionsexemplars) * [`fn withColor(value)`](#fn-optionsexemplarswithcolor) * [`obj filterValues`](#obj-optionsfiltervalues) - * [`fn withFilterValueRange(value)`](#fn-optionsfiltervalueswithfiltervaluerange) - * [`fn withFilterValueRangeMixin(value)`](#fn-optionsfiltervalueswithfiltervaluerangemixin) - * [`obj FilterValueRange`](#obj-optionsfiltervaluesfiltervaluerange) - * [`fn withGe(value)`](#fn-optionsfiltervaluesfiltervaluerangewithge) - * [`fn withLe(value)`](#fn-optionsfiltervaluesfiltervaluerangewithle) + * [`fn withGe(value)`](#fn-optionsfiltervalueswithge) + * [`fn withLe(value)`](#fn-optionsfiltervalueswithle) * [`obj legend`](#obj-optionslegend) * [`fn withShow(value=true)`](#fn-optionslegendwithshow) * [`obj rowsFrame`](#obj-optionsrowsframe) * [`fn withLayout(value)`](#fn-optionsrowsframewithlayout) * [`fn withValue(value)`](#fn-optionsrowsframewithvalue) * [`obj tooltip`](#obj-optionstooltip) - * [`fn withHeatmapTooltip(value)`](#fn-optionstooltipwithheatmaptooltip) - * [`fn withHeatmapTooltipMixin(value)`](#fn-optionstooltipwithheatmaptooltipmixin) - * [`obj HeatmapTooltip`](#obj-optionstooltipheatmaptooltip) - * [`fn withMaxHeight(value)`](#fn-optionstooltipheatmaptooltipwithmaxheight) - * [`fn withMaxWidth(value)`](#fn-optionstooltipheatmaptooltipwithmaxwidth) - * [`fn withMode(value)`](#fn-optionstooltipheatmaptooltipwithmode) - * [`fn withShowColorScale(value=true)`](#fn-optionstooltipheatmaptooltipwithshowcolorscale) - * [`fn withYHistogram(value=true)`](#fn-optionstooltipheatmaptooltipwithyhistogram) + * [`fn withMaxHeight(value)`](#fn-optionstooltipwithmaxheight) + * [`fn withMaxWidth(value)`](#fn-optionstooltipwithmaxwidth) + * [`fn withMode(value)`](#fn-optionstooltipwithmode) + * [`fn withShowColorScale(value=true)`](#fn-optionstooltipwithshowcolorscale) + * [`fn withYHistogram(value=true)`](#fn-optionstooltipwithyhistogram) * [`obj yAxis`](#obj-optionsyaxis) * [`fn withAxisBorderShow(value=true)`](#fn-optionsyaxiswithaxisbordershow) * [`fn withAxisCenteredZero(value=true)`](#fn-optionsyaxiswithaxiscenteredzero) @@ -144,6 +133,7 @@ grafonnet.panel.heatmap * [`fn withGridPos(h="null", w="null", x="null", y="null")`](#fn-paneloptionswithgridpos) * [`fn withLinks(value)`](#fn-paneloptionswithlinks) * [`fn withLinksMixin(value)`](#fn-paneloptionswithlinksmixin) + * [`fn withMaxPerRow(value)`](#fn-paneloptionswithmaxperrow) * [`fn withRepeat(value)`](#fn-paneloptionswithrepeat) * [`fn withRepeatDirection(value="h")`](#fn-paneloptionswithrepeatdirection) * [`fn withTitle(value)`](#fn-paneloptionswithtitle) @@ -151,8 +141,10 @@ grafonnet.panel.heatmap * [`obj queryOptions`](#obj-queryoptions) * [`fn withDatasource(type, uid)`](#fn-queryoptionswithdatasource) * [`fn withDatasourceMixin(value)`](#fn-queryoptionswithdatasourcemixin) + * [`fn withHideTimeOverride(value=true)`](#fn-queryoptionswithhidetimeoverride) * [`fn withInterval(value)`](#fn-queryoptionswithinterval) * [`fn withMaxDataPoints(value)`](#fn-queryoptionswithmaxdatapoints) + * [`fn withQueryCachingTTL(value)`](#fn-queryoptionswithquerycachingttl) * [`fn withTargets(value)`](#fn-queryoptionswithtargets) * [`fn withTargetsMixin(value)`](#fn-queryoptionswithtargetsmixin) * [`fn withTimeFrom(value)`](#fn-queryoptionswithtimefrom) @@ -375,7 +367,7 @@ PARAMETERS: * **value** (`object`) - +Calculation options for the heatmap #### fn options.withCalculationMixin ```jsonnet @@ -386,7 +378,7 @@ PARAMETERS: * **value** (`object`) - +Calculation options for the heatmap #### fn options.withCellGap ```jsonnet @@ -413,27 +405,25 @@ Controls cell radius #### fn options.withCellValues ```jsonnet -options.withCellValues(value={}) +options.withCellValues(value) ``` PARAMETERS: * **value** (`object`) - - default value: `{}` -Controls cell value unit +Controls cell value options #### fn options.withCellValuesMixin ```jsonnet -options.withCellValuesMixin(value={}) +options.withCellValuesMixin(value) ``` PARAMETERS: * **value** (`object`) - - default value: `{}` -Controls cell value unit +Controls cell value options #### fn options.withColor ```jsonnet @@ -445,7 +435,7 @@ PARAMETERS: * **value** (`object`) - default value: `{"exponent": 0.5,"fill": "dark-orange","reverse": false,"scheme": "Oranges","steps": 64}` -Controls the color options +Controls various color options #### fn options.withColorMixin ```jsonnet @@ -457,27 +447,29 @@ PARAMETERS: * **value** (`object`) - default value: `{"exponent": 0.5,"fill": "dark-orange","reverse": false,"scheme": "Oranges","steps": 64}` -Controls the color options +Controls various color options #### fn options.withExemplars ```jsonnet -options.withExemplars(value) +options.withExemplars(value={"color": "rgba(255,0,255,0.7)"}) ``` PARAMETERS: * **value** (`object`) + - default value: `{"color": "rgba(255,0,255,0.7)"}` Controls exemplar options #### fn options.withExemplarsMixin ```jsonnet -options.withExemplarsMixin(value) +options.withExemplarsMixin(value={"color": "rgba(255,0,255,0.7)"}) ``` PARAMETERS: * **value** (`object`) + - default value: `{"color": "rgba(255,0,255,0.7)"}` Controls exemplar options #### fn options.withFilterValues @@ -491,7 +483,7 @@ PARAMETERS: * **value** (`object`) - default value: `{"le": 0.000000001}` -Filters values between a given range +Controls the value filter range #### fn options.withFilterValuesMixin ```jsonnet @@ -503,27 +495,29 @@ PARAMETERS: * **value** (`object`) - default value: `{"le": 0.000000001}` -Filters values between a given range +Controls the value filter range #### fn options.withLegend ```jsonnet -options.withLegend(value) +options.withLegend(value={"show": true}) ``` PARAMETERS: * **value** (`object`) + - default value: `{"show": true}` Controls legend options #### fn options.withLegendMixin ```jsonnet -options.withLegendMixin(value) +options.withLegendMixin(value={"show": true}) ``` PARAMETERS: * **value** (`object`) + - default value: `{"show": true}` Controls legend options #### fn options.withRowsFrame @@ -548,42 +542,52 @@ PARAMETERS: * **value** (`object`) Controls frame rows options +#### fn options.withSelectionMode + +```jsonnet +options.withSelectionMode(value="x") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `"x"` + - valid values: `"x"`, `"y"`, `"xy"` + +Controls which axis to allow selection on #### fn options.withShowValue ```jsonnet -options.withShowValue(value) +options.withShowValue(value="auto") ``` PARAMETERS: * **value** (`string`) + - default value: `"auto"` + - valid values: `"auto"`, `"never"`, `"always"` -| *{ - layout: ui.HeatmapCellLayout & "auto" // TODO: fix after remove when https://github.com/grafana/cuetsy/issues/74 is fixed -} -Controls the display of the value in the cell +TODO docs #### fn options.withTooltip ```jsonnet -options.withTooltip(value={"mode": "single","showColorScale": false,"yHistogram": false}) +options.withTooltip(value) ``` PARAMETERS: * **value** (`object`) - - default value: `{"mode": "single","showColorScale": false,"yHistogram": false}` Controls tooltip options #### fn options.withTooltipMixin ```jsonnet -options.withTooltipMixin(value={"mode": "single","showColorScale": false,"yHistogram": false}) +options.withTooltipMixin(value) ``` PARAMETERS: * **value** (`object`) - - default value: `{"mode": "single","showColorScale": false,"yHistogram": false}` Controls tooltip options #### fn options.withYAxis @@ -621,7 +625,7 @@ PARAMETERS: * **value** (`object`) - +The number of buckets to use for the xAxis in the heatmap ##### fn options.calculation.withXBucketsMixin ```jsonnet @@ -632,7 +636,7 @@ PARAMETERS: * **value** (`object`) - +The number of buckets to use for the xAxis in the heatmap ##### fn options.calculation.withYBuckets ```jsonnet @@ -643,7 +647,7 @@ PARAMETERS: * **value** (`object`) - +The number of buckets to use for the yAxis in the heatmap ##### fn options.calculation.withYBucketsMixin ```jsonnet @@ -654,7 +658,7 @@ PARAMETERS: * **value** (`object`) - +The number of buckets to use for the yAxis in the heatmap ##### obj options.calculation.xBuckets @@ -669,7 +673,7 @@ PARAMETERS: * **value** (`string`) - valid values: `"size"`, `"count"` - +Sets the bucket calculation mode ###### fn options.calculation.xBuckets.withScale ```jsonnet @@ -754,7 +758,7 @@ PARAMETERS: * **value** (`string`) - valid values: `"size"`, `"count"` - +Sets the bucket calculation mode ###### fn options.calculation.yBuckets.withScale ```jsonnet @@ -828,35 +832,10 @@ TODO docs #### obj options.cellValues -##### fn options.cellValues.withCellValues - -```jsonnet -options.cellValues.withCellValues(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Controls cell value options -##### fn options.cellValues.withCellValuesMixin +##### fn options.cellValues.withDecimals ```jsonnet -options.cellValues.withCellValuesMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Controls cell value options -##### obj options.cellValues.CellValues - - -###### fn options.cellValues.CellValues.withDecimals - -```jsonnet -options.cellValues.CellValues.withDecimals(value) +options.cellValues.withDecimals(value) ``` PARAMETERS: @@ -864,10 +843,10 @@ PARAMETERS: * **value** (`number`) Controls the number of decimals for cell values -###### fn options.cellValues.CellValues.withUnit +##### fn options.cellValues.withUnit ```jsonnet -options.cellValues.CellValues.withUnit(value) +options.cellValues.withUnit(value) ``` PARAMETERS: @@ -878,35 +857,10 @@ Controls the cell value unit #### obj options.color -##### fn options.color.withHeatmapColorOptions - -```jsonnet -options.color.withHeatmapColorOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Controls various color options -##### fn options.color.withHeatmapColorOptionsMixin - -```jsonnet -options.color.withHeatmapColorOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Controls various color options -##### obj options.color.HeatmapColorOptions - - -###### fn options.color.HeatmapColorOptions.withExponent +##### fn options.color.withExponent ```jsonnet -options.color.HeatmapColorOptions.withExponent(value) +options.color.withExponent(value) ``` PARAMETERS: @@ -914,10 +868,10 @@ PARAMETERS: * **value** (`number`) Controls the exponent when scale is set to exponential -###### fn options.color.HeatmapColorOptions.withFill +##### fn options.color.withFill ```jsonnet -options.color.HeatmapColorOptions.withFill(value) +options.color.withFill(value) ``` PARAMETERS: @@ -925,10 +879,10 @@ PARAMETERS: * **value** (`string`) Controls the color fill when in opacity mode -###### fn options.color.HeatmapColorOptions.withMax +##### fn options.color.withMax ```jsonnet -options.color.HeatmapColorOptions.withMax(value) +options.color.withMax(value) ``` PARAMETERS: @@ -936,10 +890,10 @@ PARAMETERS: * **value** (`number`) Sets the maximum value for the color scale -###### fn options.color.HeatmapColorOptions.withMin +##### fn options.color.withMin ```jsonnet -options.color.HeatmapColorOptions.withMin(value) +options.color.withMin(value) ``` PARAMETERS: @@ -947,10 +901,10 @@ PARAMETERS: * **value** (`number`) Sets the minimum value for the color scale -###### fn options.color.HeatmapColorOptions.withMode +##### fn options.color.withMode ```jsonnet -options.color.HeatmapColorOptions.withMode(value) +options.color.withMode(value) ``` PARAMETERS: @@ -959,10 +913,10 @@ PARAMETERS: - valid values: `"opacity"`, `"scheme"` Controls the color mode of the heatmap -###### fn options.color.HeatmapColorOptions.withReverse +##### fn options.color.withReverse ```jsonnet -options.color.HeatmapColorOptions.withReverse(value=true) +options.color.withReverse(value=true) ``` PARAMETERS: @@ -971,10 +925,10 @@ PARAMETERS: - default value: `true` Reverses the color scheme -###### fn options.color.HeatmapColorOptions.withScale +##### fn options.color.withScale ```jsonnet -options.color.HeatmapColorOptions.withScale(value) +options.color.withScale(value) ``` PARAMETERS: @@ -983,10 +937,10 @@ PARAMETERS: - valid values: `"linear"`, `"exponential"` Controls the color scale of the heatmap -###### fn options.color.HeatmapColorOptions.withScheme +##### fn options.color.withScheme ```jsonnet -options.color.HeatmapColorOptions.withScheme(value) +options.color.withScheme(value) ``` PARAMETERS: @@ -994,10 +948,10 @@ PARAMETERS: * **value** (`string`) Controls the color scheme used -###### fn options.color.HeatmapColorOptions.withSteps +##### fn options.color.withSteps ```jsonnet -options.color.HeatmapColorOptions.withSteps(value) +options.color.withSteps(value) ``` PARAMETERS: @@ -1022,35 +976,10 @@ Sets the color of the exemplar markers #### obj options.filterValues -##### fn options.filterValues.withFilterValueRange +##### fn options.filterValues.withGe ```jsonnet -options.filterValues.withFilterValueRange(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Controls the value filter range -##### fn options.filterValues.withFilterValueRangeMixin - -```jsonnet -options.filterValues.withFilterValueRangeMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Controls the value filter range -##### obj options.filterValues.FilterValueRange - - -###### fn options.filterValues.FilterValueRange.withGe - -```jsonnet -options.filterValues.FilterValueRange.withGe(value) +options.filterValues.withGe(value) ``` PARAMETERS: @@ -1058,10 +987,10 @@ PARAMETERS: * **value** (`number`) Sets the filter range to values greater than or equal to the given value -###### fn options.filterValues.FilterValueRange.withLe +##### fn options.filterValues.withLe ```jsonnet -options.filterValues.FilterValueRange.withLe(value) +options.filterValues.withLe(value) ``` PARAMETERS: @@ -1098,7 +1027,7 @@ PARAMETERS: * **value** (`string`) - valid values: `"le"`, `"ge"`, `"unknown"`, `"auto"` - +Controls tick alignment when not calculating from data ##### fn options.rowsFrame.withValue ```jsonnet @@ -1113,35 +1042,10 @@ Sets the name of the cell when not calculating from data #### obj options.tooltip -##### fn options.tooltip.withHeatmapTooltip - -```jsonnet -options.tooltip.withHeatmapTooltip(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Controls tooltip options -##### fn options.tooltip.withHeatmapTooltipMixin - -```jsonnet -options.tooltip.withHeatmapTooltipMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Controls tooltip options -##### obj options.tooltip.HeatmapTooltip - - -###### fn options.tooltip.HeatmapTooltip.withMaxHeight +##### fn options.tooltip.withMaxHeight ```jsonnet -options.tooltip.HeatmapTooltip.withMaxHeight(value) +options.tooltip.withMaxHeight(value) ``` PARAMETERS: @@ -1149,10 +1053,10 @@ PARAMETERS: * **value** (`number`) -###### fn options.tooltip.HeatmapTooltip.withMaxWidth +##### fn options.tooltip.withMaxWidth ```jsonnet -options.tooltip.HeatmapTooltip.withMaxWidth(value) +options.tooltip.withMaxWidth(value) ``` PARAMETERS: @@ -1160,10 +1064,10 @@ PARAMETERS: * **value** (`number`) -###### fn options.tooltip.HeatmapTooltip.withMode +##### fn options.tooltip.withMode ```jsonnet -options.tooltip.HeatmapTooltip.withMode(value) +options.tooltip.withMode(value) ``` PARAMETERS: @@ -1172,10 +1076,10 @@ PARAMETERS: - valid values: `"single"`, `"multi"`, `"none"` TODO docs -###### fn options.tooltip.HeatmapTooltip.withShowColorScale +##### fn options.tooltip.withShowColorScale ```jsonnet -options.tooltip.HeatmapTooltip.withShowColorScale(value=true) +options.tooltip.withShowColorScale(value=true) ``` PARAMETERS: @@ -1184,10 +1088,10 @@ PARAMETERS: - default value: `true` Controls if the tooltip shows a color scale in header -###### fn options.tooltip.HeatmapTooltip.withYHistogram +##### fn options.tooltip.withYHistogram ```jsonnet -options.tooltip.HeatmapTooltip.withYHistogram(value=true) +options.tooltip.withYHistogram(value=true) ``` PARAMETERS: @@ -1475,6 +1379,18 @@ PARAMETERS: * **value** (`array`) Panel links. +#### fn panelOptions.withMaxPerRow + +```jsonnet +panelOptions.withMaxPerRow(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Option for repeated panels that controls max items per row +Only relevant for horizontally repeated panels #### fn panelOptions.withRepeat ```jsonnet @@ -1552,6 +1468,18 @@ PARAMETERS: * **value** (`object`) Ref to a DataSource instance +#### fn queryOptions.withHideTimeOverride + +```jsonnet +queryOptions.withHideTimeOverride(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Controls if the timeFrom or timeShift overrides are shown in the panel header #### fn queryOptions.withInterval ```jsonnet @@ -1577,6 +1505,17 @@ PARAMETERS: * **value** (`number`) The maximum number of data points that the panel queries are retrieving. +#### fn queryOptions.withQueryCachingTTL + +```jsonnet +queryOptions.withQueryCachingTTL(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Overrides the data source configured time-to-live for a query cache item in milliseconds #### fn queryOptions.withTargets ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/geomap/panelOptions/link.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/heatmap/panelOptions/link.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/geomap/panelOptions/link.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/heatmap/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/heatmap/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/heatmap/queryOptions/transformation.md new file mode 100644 index 0000000..69dda9a --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/heatmap/queryOptions/transformation.md @@ -0,0 +1,140 @@ +# transformation + + + +## Index + +* [`fn withDisabled(value=true)`](#fn-withdisabled) +* [`fn withFilter(value)`](#fn-withfilter) +* [`fn withFilterMixin(value)`](#fn-withfiltermixin) +* [`fn withId(value)`](#fn-withid) +* [`fn withOptions(value)`](#fn-withoptions) +* [`fn withOptionsMixin(value)`](#fn-withoptionsmixin) +* [`fn withTopic(value)`](#fn-withtopic) +* [`obj filter`](#obj-filter) + * [`fn withId(value="")`](#fn-filterwithid) + * [`fn withOptions(value)`](#fn-filterwithoptions) + * [`fn withOptionsMixin(value)`](#fn-filterwithoptionsmixin) + +## Fields + +### fn withDisabled + +```jsonnet +withDisabled(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Disabled transformations are skipped +### fn withFilter + +```jsonnet +withFilter(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withFilterMixin + +```jsonnet +withFilterMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withId + +```jsonnet +withId(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Unique identifier of transformer +### fn withOptions + +```jsonnet +withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withOptionsMixin + +```jsonnet +withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withTopic + +```jsonnet +withTopic(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"series"`, `"annotations"`, `"alertStates"` + +Where to pull DataFrames from as input to transformation +### obj filter + + +#### fn filter.withId + +```jsonnet +filter.withId(value="") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `""` + +The matcher id. This is used to find the matcher implementation from registry. +#### fn filter.withOptions + +```jsonnet +filter.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. +#### fn filter.withOptionsMixin + +```jsonnet +filter.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/heatmap/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/heatmap/standardOptions/mapping.md new file mode 100644 index 0000000..196c769 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/heatmap/standardOptions/mapping.md @@ -0,0 +1,445 @@ +# mapping + + + +## Index + +* [`obj RangeMap`](#obj-rangemap) + * [`fn withOptions(value)`](#fn-rangemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) + * [`fn withType()`](#fn-rangemapwithtype) + * [`obj options`](#obj-rangemapoptions) + * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) + * [`fn withResult(value)`](#fn-rangemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) + * [`fn withTo(value)`](#fn-rangemapoptionswithto) + * [`obj result`](#obj-rangemapoptionsresult) + * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) +* [`obj RegexMap`](#obj-regexmap) + * [`fn withOptions(value)`](#fn-regexmapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) + * [`fn withType()`](#fn-regexmapwithtype) + * [`obj options`](#obj-regexmapoptions) + * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) + * [`fn withResult(value)`](#fn-regexmapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) + * [`obj result`](#obj-regexmapoptionsresult) + * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) + * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) +* [`obj SpecialValueMap`](#obj-specialvaluemap) + * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) + * [`fn withType()`](#fn-specialvaluemapwithtype) + * [`obj options`](#obj-specialvaluemapoptions) + * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) + * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) + * [`obj result`](#obj-specialvaluemapoptionsresult) + * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) +* [`obj ValueMap`](#obj-valuemap) + * [`fn withOptions(value)`](#fn-valuemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) + * [`fn withType()`](#fn-valuemapwithtype) + +## Fields + +### obj RangeMap + + +#### fn RangeMap.withOptions + +```jsonnet +RangeMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withOptionsMixin + +```jsonnet +RangeMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withType + +```jsonnet +RangeMap.withType() +``` + + + +#### obj RangeMap.options + + +##### fn RangeMap.options.withFrom + +```jsonnet +RangeMap.options.withFrom(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Min value of the range. It can be null which means -Infinity +##### fn RangeMap.options.withResult + +```jsonnet +RangeMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withResultMixin + +```jsonnet +RangeMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withTo + +```jsonnet +RangeMap.options.withTo(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Max value of the range. It can be null which means +Infinity +##### obj RangeMap.options.result + + +###### fn RangeMap.options.result.withColor + +```jsonnet +RangeMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RangeMap.options.result.withIcon + +```jsonnet +RangeMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RangeMap.options.result.withIndex + +```jsonnet +RangeMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RangeMap.options.result.withText + +```jsonnet +RangeMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj RegexMap + + +#### fn RegexMap.withOptions + +```jsonnet +RegexMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withOptionsMixin + +```jsonnet +RegexMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withType + +```jsonnet +RegexMap.withType() +``` + + + +#### obj RegexMap.options + + +##### fn RegexMap.options.withPattern + +```jsonnet +RegexMap.options.withPattern(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Regular expression to match against +##### fn RegexMap.options.withResult + +```jsonnet +RegexMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RegexMap.options.withResultMixin + +```jsonnet +RegexMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj RegexMap.options.result + + +###### fn RegexMap.options.result.withColor + +```jsonnet +RegexMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RegexMap.options.result.withIcon + +```jsonnet +RegexMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RegexMap.options.result.withIndex + +```jsonnet +RegexMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RegexMap.options.result.withText + +```jsonnet +RegexMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj SpecialValueMap + + +#### fn SpecialValueMap.withOptions + +```jsonnet +SpecialValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withOptionsMixin + +```jsonnet +SpecialValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withType + +```jsonnet +SpecialValueMap.withType() +``` + + + +#### obj SpecialValueMap.options + + +##### fn SpecialValueMap.options.withMatch + +```jsonnet +SpecialValueMap.options.withMatch(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` + +Special value types supported by the `SpecialValueMap` +##### fn SpecialValueMap.options.withResult + +```jsonnet +SpecialValueMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn SpecialValueMap.options.withResultMixin + +```jsonnet +SpecialValueMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj SpecialValueMap.options.result + + +###### fn SpecialValueMap.options.result.withColor + +```jsonnet +SpecialValueMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn SpecialValueMap.options.result.withIcon + +```jsonnet +SpecialValueMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn SpecialValueMap.options.result.withIndex + +```jsonnet +SpecialValueMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn SpecialValueMap.options.result.withText + +```jsonnet +SpecialValueMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj ValueMap + + +#### fn ValueMap.withOptions + +```jsonnet +ValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withOptionsMixin + +```jsonnet +ValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withType + +```jsonnet +ValueMap.withType() +``` + + diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/geomap/standardOptions/override.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/heatmap/standardOptions/override.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/geomap/standardOptions/override.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/heatmap/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/heatmap/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/heatmap/standardOptions/threshold/step.md new file mode 100644 index 0000000..62c49ab --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/heatmap/standardOptions/threshold/step.md @@ -0,0 +1,34 @@ +# threshold.step + + + +## Index + +* [`fn withColor(value)`](#fn-withcolor) +* [`fn withValue(value)`](#fn-withvalue) + +## Fields + +### fn withColor + +```jsonnet +withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. +### fn withValue + +```jsonnet +withValue(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. +Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/histogram/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/histogram/index.md similarity index 90% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/histogram/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/histogram/index.md index c71865d..3e0c63f 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/histogram/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/histogram/index.md @@ -26,12 +26,14 @@ grafonnet.panel.histogram * [`fn withAxisSoftMin(value)`](#fn-fieldconfigdefaultscustomwithaxissoftmin) * [`fn withAxisWidth(value)`](#fn-fieldconfigdefaultscustomwithaxiswidth) * [`fn withFillOpacity(value=80)`](#fn-fieldconfigdefaultscustomwithfillopacity) - * [`fn withGradientMode(value)`](#fn-fieldconfigdefaultscustomwithgradientmode) + * [`fn withGradientMode(value="none")`](#fn-fieldconfigdefaultscustomwithgradientmode) * [`fn withHideFrom(value)`](#fn-fieldconfigdefaultscustomwithhidefrom) * [`fn withHideFromMixin(value)`](#fn-fieldconfigdefaultscustomwithhidefrommixin) * [`fn withLineWidth(value=1)`](#fn-fieldconfigdefaultscustomwithlinewidth) * [`fn withScaleDistribution(value)`](#fn-fieldconfigdefaultscustomwithscaledistribution) * [`fn withScaleDistributionMixin(value)`](#fn-fieldconfigdefaultscustomwithscaledistributionmixin) + * [`fn withStacking(value)`](#fn-fieldconfigdefaultscustomwithstacking) + * [`fn withStackingMixin(value)`](#fn-fieldconfigdefaultscustomwithstackingmixin) * [`obj hideFrom`](#obj-fieldconfigdefaultscustomhidefrom) * [`fn withLegend(value=true)`](#fn-fieldconfigdefaultscustomhidefromwithlegend) * [`fn withTooltip(value=true)`](#fn-fieldconfigdefaultscustomhidefromwithtooltip) @@ -40,6 +42,9 @@ grafonnet.panel.histogram * [`fn withLinearThreshold(value)`](#fn-fieldconfigdefaultscustomscaledistributionwithlinearthreshold) * [`fn withLog(value)`](#fn-fieldconfigdefaultscustomscaledistributionwithlog) * [`fn withType(value)`](#fn-fieldconfigdefaultscustomscaledistributionwithtype) + * [`obj stacking`](#obj-fieldconfigdefaultscustomstacking) + * [`fn withGroup(value)`](#fn-fieldconfigdefaultscustomstackingwithgroup) + * [`fn withMode(value)`](#fn-fieldconfigdefaultscustomstackingwithmode) * [`obj libraryPanel`](#obj-librarypanel) * [`fn withName(value)`](#fn-librarypanelwithname) * [`fn withUid(value)`](#fn-librarypanelwithuid) @@ -54,11 +59,11 @@ grafonnet.panel.histogram * [`fn withTooltipMixin(value)`](#fn-optionswithtooltipmixin) * [`obj legend`](#obj-optionslegend) * [`fn withAsTable(value=true)`](#fn-optionslegendwithastable) - * [`fn withCalcs(value)`](#fn-optionslegendwithcalcs) - * [`fn withCalcsMixin(value)`](#fn-optionslegendwithcalcsmixin) - * [`fn withDisplayMode(value)`](#fn-optionslegendwithdisplaymode) + * [`fn withCalcs(value=[])`](#fn-optionslegendwithcalcs) + * [`fn withCalcsMixin(value=[])`](#fn-optionslegendwithcalcsmixin) + * [`fn withDisplayMode(value="list")`](#fn-optionslegendwithdisplaymode) * [`fn withIsVisible(value=true)`](#fn-optionslegendwithisvisible) - * [`fn withPlacement(value)`](#fn-optionslegendwithplacement) + * [`fn withPlacement(value="bottom")`](#fn-optionslegendwithplacement) * [`fn withShowLegend(value=true)`](#fn-optionslegendwithshowlegend) * [`fn withSortBy(value)`](#fn-optionslegendwithsortby) * [`fn withSortDesc(value=true)`](#fn-optionslegendwithsortdesc) @@ -73,6 +78,7 @@ grafonnet.panel.histogram * [`fn withGridPos(h="null", w="null", x="null", y="null")`](#fn-paneloptionswithgridpos) * [`fn withLinks(value)`](#fn-paneloptionswithlinks) * [`fn withLinksMixin(value)`](#fn-paneloptionswithlinksmixin) + * [`fn withMaxPerRow(value)`](#fn-paneloptionswithmaxperrow) * [`fn withRepeat(value)`](#fn-paneloptionswithrepeat) * [`fn withRepeatDirection(value="h")`](#fn-paneloptionswithrepeatdirection) * [`fn withTitle(value)`](#fn-paneloptionswithtitle) @@ -80,8 +86,10 @@ grafonnet.panel.histogram * [`obj queryOptions`](#obj-queryoptions) * [`fn withDatasource(type, uid)`](#fn-queryoptionswithdatasource) * [`fn withDatasourceMixin(value)`](#fn-queryoptionswithdatasourcemixin) + * [`fn withHideTimeOverride(value=true)`](#fn-queryoptionswithhidetimeoverride) * [`fn withInterval(value)`](#fn-queryoptionswithinterval) * [`fn withMaxDataPoints(value)`](#fn-queryoptionswithmaxdatapoints) + * [`fn withQueryCachingTTL(value)`](#fn-queryoptionswithquerycachingttl) * [`fn withTargets(value)`](#fn-queryoptionswithtargets) * [`fn withTargetsMixin(value)`](#fn-queryoptionswithtargetsmixin) * [`fn withTimeFrom(value)`](#fn-queryoptionswithtimefrom) @@ -253,15 +261,16 @@ Controls the fill opacity of the bars. ###### fn fieldConfig.defaults.custom.withGradientMode ```jsonnet -fieldConfig.defaults.custom.withGradientMode(value) +fieldConfig.defaults.custom.withGradientMode(value="none") ``` PARAMETERS: * **value** (`string`) + - default value: `"none"` + - valid values: `"none"`, `"opacity"`, `"hue"`, `"scheme"` -Set the mode of the gradient fill. Fill gradient is based on the line color. To change the color, use the standard color scheme field option. -Gradient appearance is influenced by the Fill opacity setting. +TODO docs ###### fn fieldConfig.defaults.custom.withHideFrom ```jsonnet @@ -317,6 +326,28 @@ PARAMETERS: * **value** (`object`) +TODO docs +###### fn fieldConfig.defaults.custom.withStacking + +```jsonnet +fieldConfig.defaults.custom.withStacking(value) +``` + +PARAMETERS: + +* **value** (`object`) + +TODO docs +###### fn fieldConfig.defaults.custom.withStackingMixin + +```jsonnet +fieldConfig.defaults.custom.withStackingMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + TODO docs ###### obj fieldConfig.defaults.custom.hideFrom @@ -393,6 +424,32 @@ PARAMETERS: * **value** (`string`) - valid values: `"linear"`, `"log"`, `"ordinal"`, `"symlog"` +TODO docs +###### obj fieldConfig.defaults.custom.stacking + + +####### fn fieldConfig.defaults.custom.stacking.withGroup + +```jsonnet +fieldConfig.defaults.custom.stacking.withGroup(value) +``` + +PARAMETERS: + +* **value** (`string`) + + +####### fn fieldConfig.defaults.custom.stacking.withMode + +```jsonnet +fieldConfig.defaults.custom.stacking.withMode(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"none"`, `"normal"`, `"percent"` + TODO docs ### obj libraryPanel @@ -531,34 +588,37 @@ PARAMETERS: ##### fn options.legend.withCalcs ```jsonnet -options.legend.withCalcs(value) +options.legend.withCalcs(value=[]) ``` PARAMETERS: * **value** (`array`) + - default value: `[]` ##### fn options.legend.withCalcsMixin ```jsonnet -options.legend.withCalcsMixin(value) +options.legend.withCalcsMixin(value=[]) ``` PARAMETERS: * **value** (`array`) + - default value: `[]` ##### fn options.legend.withDisplayMode ```jsonnet -options.legend.withDisplayMode(value) +options.legend.withDisplayMode(value="list") ``` PARAMETERS: * **value** (`string`) + - default value: `"list"` - valid values: `"list"`, `"table"`, `"hidden"` TODO docs @@ -578,12 +638,13 @@ PARAMETERS: ##### fn options.legend.withPlacement ```jsonnet -options.legend.withPlacement(value) +options.legend.withPlacement(value="bottom") ``` PARAMETERS: * **value** (`string`) + - default value: `"bottom"` - valid values: `"bottom"`, `"right"` TODO docs @@ -739,6 +800,18 @@ PARAMETERS: * **value** (`array`) Panel links. +#### fn panelOptions.withMaxPerRow + +```jsonnet +panelOptions.withMaxPerRow(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Option for repeated panels that controls max items per row +Only relevant for horizontally repeated panels #### fn panelOptions.withRepeat ```jsonnet @@ -816,6 +889,18 @@ PARAMETERS: * **value** (`object`) Ref to a DataSource instance +#### fn queryOptions.withHideTimeOverride + +```jsonnet +queryOptions.withHideTimeOverride(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Controls if the timeFrom or timeShift overrides are shown in the panel header #### fn queryOptions.withInterval ```jsonnet @@ -841,6 +926,17 @@ PARAMETERS: * **value** (`number`) The maximum number of data points that the panel queries are retrieving. +#### fn queryOptions.withQueryCachingTTL + +```jsonnet +queryOptions.withQueryCachingTTL(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Overrides the data source configured time-to-live for a query cache item in milliseconds #### fn queryOptions.withTargets ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/heatmap/panelOptions/link.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/histogram/panelOptions/link.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/heatmap/panelOptions/link.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/histogram/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/histogram/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/histogram/queryOptions/transformation.md new file mode 100644 index 0000000..69dda9a --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/histogram/queryOptions/transformation.md @@ -0,0 +1,140 @@ +# transformation + + + +## Index + +* [`fn withDisabled(value=true)`](#fn-withdisabled) +* [`fn withFilter(value)`](#fn-withfilter) +* [`fn withFilterMixin(value)`](#fn-withfiltermixin) +* [`fn withId(value)`](#fn-withid) +* [`fn withOptions(value)`](#fn-withoptions) +* [`fn withOptionsMixin(value)`](#fn-withoptionsmixin) +* [`fn withTopic(value)`](#fn-withtopic) +* [`obj filter`](#obj-filter) + * [`fn withId(value="")`](#fn-filterwithid) + * [`fn withOptions(value)`](#fn-filterwithoptions) + * [`fn withOptionsMixin(value)`](#fn-filterwithoptionsmixin) + +## Fields + +### fn withDisabled + +```jsonnet +withDisabled(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Disabled transformations are skipped +### fn withFilter + +```jsonnet +withFilter(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withFilterMixin + +```jsonnet +withFilterMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withId + +```jsonnet +withId(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Unique identifier of transformer +### fn withOptions + +```jsonnet +withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withOptionsMixin + +```jsonnet +withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withTopic + +```jsonnet +withTopic(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"series"`, `"annotations"`, `"alertStates"` + +Where to pull DataFrames from as input to transformation +### obj filter + + +#### fn filter.withId + +```jsonnet +filter.withId(value="") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `""` + +The matcher id. This is used to find the matcher implementation from registry. +#### fn filter.withOptions + +```jsonnet +filter.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. +#### fn filter.withOptionsMixin + +```jsonnet +filter.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/histogram/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/histogram/standardOptions/mapping.md new file mode 100644 index 0000000..196c769 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/histogram/standardOptions/mapping.md @@ -0,0 +1,445 @@ +# mapping + + + +## Index + +* [`obj RangeMap`](#obj-rangemap) + * [`fn withOptions(value)`](#fn-rangemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) + * [`fn withType()`](#fn-rangemapwithtype) + * [`obj options`](#obj-rangemapoptions) + * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) + * [`fn withResult(value)`](#fn-rangemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) + * [`fn withTo(value)`](#fn-rangemapoptionswithto) + * [`obj result`](#obj-rangemapoptionsresult) + * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) +* [`obj RegexMap`](#obj-regexmap) + * [`fn withOptions(value)`](#fn-regexmapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) + * [`fn withType()`](#fn-regexmapwithtype) + * [`obj options`](#obj-regexmapoptions) + * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) + * [`fn withResult(value)`](#fn-regexmapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) + * [`obj result`](#obj-regexmapoptionsresult) + * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) + * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) +* [`obj SpecialValueMap`](#obj-specialvaluemap) + * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) + * [`fn withType()`](#fn-specialvaluemapwithtype) + * [`obj options`](#obj-specialvaluemapoptions) + * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) + * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) + * [`obj result`](#obj-specialvaluemapoptionsresult) + * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) +* [`obj ValueMap`](#obj-valuemap) + * [`fn withOptions(value)`](#fn-valuemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) + * [`fn withType()`](#fn-valuemapwithtype) + +## Fields + +### obj RangeMap + + +#### fn RangeMap.withOptions + +```jsonnet +RangeMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withOptionsMixin + +```jsonnet +RangeMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withType + +```jsonnet +RangeMap.withType() +``` + + + +#### obj RangeMap.options + + +##### fn RangeMap.options.withFrom + +```jsonnet +RangeMap.options.withFrom(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Min value of the range. It can be null which means -Infinity +##### fn RangeMap.options.withResult + +```jsonnet +RangeMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withResultMixin + +```jsonnet +RangeMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withTo + +```jsonnet +RangeMap.options.withTo(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Max value of the range. It can be null which means +Infinity +##### obj RangeMap.options.result + + +###### fn RangeMap.options.result.withColor + +```jsonnet +RangeMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RangeMap.options.result.withIcon + +```jsonnet +RangeMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RangeMap.options.result.withIndex + +```jsonnet +RangeMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RangeMap.options.result.withText + +```jsonnet +RangeMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj RegexMap + + +#### fn RegexMap.withOptions + +```jsonnet +RegexMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withOptionsMixin + +```jsonnet +RegexMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withType + +```jsonnet +RegexMap.withType() +``` + + + +#### obj RegexMap.options + + +##### fn RegexMap.options.withPattern + +```jsonnet +RegexMap.options.withPattern(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Regular expression to match against +##### fn RegexMap.options.withResult + +```jsonnet +RegexMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RegexMap.options.withResultMixin + +```jsonnet +RegexMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj RegexMap.options.result + + +###### fn RegexMap.options.result.withColor + +```jsonnet +RegexMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RegexMap.options.result.withIcon + +```jsonnet +RegexMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RegexMap.options.result.withIndex + +```jsonnet +RegexMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RegexMap.options.result.withText + +```jsonnet +RegexMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj SpecialValueMap + + +#### fn SpecialValueMap.withOptions + +```jsonnet +SpecialValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withOptionsMixin + +```jsonnet +SpecialValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withType + +```jsonnet +SpecialValueMap.withType() +``` + + + +#### obj SpecialValueMap.options + + +##### fn SpecialValueMap.options.withMatch + +```jsonnet +SpecialValueMap.options.withMatch(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` + +Special value types supported by the `SpecialValueMap` +##### fn SpecialValueMap.options.withResult + +```jsonnet +SpecialValueMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn SpecialValueMap.options.withResultMixin + +```jsonnet +SpecialValueMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj SpecialValueMap.options.result + + +###### fn SpecialValueMap.options.result.withColor + +```jsonnet +SpecialValueMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn SpecialValueMap.options.result.withIcon + +```jsonnet +SpecialValueMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn SpecialValueMap.options.result.withIndex + +```jsonnet +SpecialValueMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn SpecialValueMap.options.result.withText + +```jsonnet +SpecialValueMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj ValueMap + + +#### fn ValueMap.withOptions + +```jsonnet +ValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withOptionsMixin + +```jsonnet +ValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withType + +```jsonnet +ValueMap.withType() +``` + + diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/heatmap/standardOptions/override.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/histogram/standardOptions/override.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/heatmap/standardOptions/override.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/histogram/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/histogram/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/histogram/standardOptions/threshold/step.md new file mode 100644 index 0000000..62c49ab --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/histogram/standardOptions/threshold/step.md @@ -0,0 +1,34 @@ +# threshold.step + + + +## Index + +* [`fn withColor(value)`](#fn-withcolor) +* [`fn withValue(value)`](#fn-withvalue) + +## Fields + +### fn withColor + +```jsonnet +withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. +### fn withValue + +```jsonnet +withValue(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. +Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/index.md similarity index 95% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/index.md index d29f157..3111a61 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/index.md @@ -4,7 +4,6 @@ grafonnet.panel ## Subpackages -* [alertGroups](alertGroups/index.md) * [alertList](alertList/index.md) * [annotationsList](annotationsList/index.md) * [barChart](barChart/index.md) diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/logs/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/logs/index.md similarity index 95% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/logs/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/logs/index.md index 3aef788..6f1f2d2 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/logs/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/logs/index.md @@ -31,6 +31,7 @@ grafonnet.panel.logs * [`fn withGridPos(h="null", w="null", x="null", y="null")`](#fn-paneloptionswithgridpos) * [`fn withLinks(value)`](#fn-paneloptionswithlinks) * [`fn withLinksMixin(value)`](#fn-paneloptionswithlinksmixin) + * [`fn withMaxPerRow(value)`](#fn-paneloptionswithmaxperrow) * [`fn withRepeat(value)`](#fn-paneloptionswithrepeat) * [`fn withRepeatDirection(value="h")`](#fn-paneloptionswithrepeatdirection) * [`fn withTitle(value)`](#fn-paneloptionswithtitle) @@ -38,8 +39,10 @@ grafonnet.panel.logs * [`obj queryOptions`](#obj-queryoptions) * [`fn withDatasource(type, uid)`](#fn-queryoptionswithdatasource) * [`fn withDatasourceMixin(value)`](#fn-queryoptionswithdatasourcemixin) + * [`fn withHideTimeOverride(value=true)`](#fn-queryoptionswithhidetimeoverride) * [`fn withInterval(value)`](#fn-queryoptionswithinterval) * [`fn withMaxDataPoints(value)`](#fn-queryoptionswithmaxdatapoints) + * [`fn withQueryCachingTTL(value)`](#fn-queryoptionswithquerycachingttl) * [`fn withTargets(value)`](#fn-queryoptionswithtargets) * [`fn withTargetsMixin(value)`](#fn-queryoptionswithtargetsmixin) * [`fn withTimeFrom(value)`](#fn-queryoptionswithtimefrom) @@ -276,6 +279,18 @@ PARAMETERS: * **value** (`array`) Panel links. +#### fn panelOptions.withMaxPerRow + +```jsonnet +panelOptions.withMaxPerRow(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Option for repeated panels that controls max items per row +Only relevant for horizontally repeated panels #### fn panelOptions.withRepeat ```jsonnet @@ -353,6 +368,18 @@ PARAMETERS: * **value** (`object`) Ref to a DataSource instance +#### fn queryOptions.withHideTimeOverride + +```jsonnet +queryOptions.withHideTimeOverride(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Controls if the timeFrom or timeShift overrides are shown in the panel header #### fn queryOptions.withInterval ```jsonnet @@ -378,6 +405,17 @@ PARAMETERS: * **value** (`number`) The maximum number of data points that the panel queries are retrieving. +#### fn queryOptions.withQueryCachingTTL + +```jsonnet +queryOptions.withQueryCachingTTL(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Overrides the data source configured time-to-live for a query cache item in milliseconds #### fn queryOptions.withTargets ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/histogram/panelOptions/link.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/logs/panelOptions/link.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/histogram/panelOptions/link.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/logs/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/logs/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/logs/queryOptions/transformation.md new file mode 100644 index 0000000..69dda9a --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/logs/queryOptions/transformation.md @@ -0,0 +1,140 @@ +# transformation + + + +## Index + +* [`fn withDisabled(value=true)`](#fn-withdisabled) +* [`fn withFilter(value)`](#fn-withfilter) +* [`fn withFilterMixin(value)`](#fn-withfiltermixin) +* [`fn withId(value)`](#fn-withid) +* [`fn withOptions(value)`](#fn-withoptions) +* [`fn withOptionsMixin(value)`](#fn-withoptionsmixin) +* [`fn withTopic(value)`](#fn-withtopic) +* [`obj filter`](#obj-filter) + * [`fn withId(value="")`](#fn-filterwithid) + * [`fn withOptions(value)`](#fn-filterwithoptions) + * [`fn withOptionsMixin(value)`](#fn-filterwithoptionsmixin) + +## Fields + +### fn withDisabled + +```jsonnet +withDisabled(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Disabled transformations are skipped +### fn withFilter + +```jsonnet +withFilter(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withFilterMixin + +```jsonnet +withFilterMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withId + +```jsonnet +withId(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Unique identifier of transformer +### fn withOptions + +```jsonnet +withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withOptionsMixin + +```jsonnet +withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withTopic + +```jsonnet +withTopic(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"series"`, `"annotations"`, `"alertStates"` + +Where to pull DataFrames from as input to transformation +### obj filter + + +#### fn filter.withId + +```jsonnet +filter.withId(value="") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `""` + +The matcher id. This is used to find the matcher implementation from registry. +#### fn filter.withOptions + +```jsonnet +filter.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. +#### fn filter.withOptionsMixin + +```jsonnet +filter.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/logs/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/logs/standardOptions/mapping.md new file mode 100644 index 0000000..196c769 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/logs/standardOptions/mapping.md @@ -0,0 +1,445 @@ +# mapping + + + +## Index + +* [`obj RangeMap`](#obj-rangemap) + * [`fn withOptions(value)`](#fn-rangemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) + * [`fn withType()`](#fn-rangemapwithtype) + * [`obj options`](#obj-rangemapoptions) + * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) + * [`fn withResult(value)`](#fn-rangemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) + * [`fn withTo(value)`](#fn-rangemapoptionswithto) + * [`obj result`](#obj-rangemapoptionsresult) + * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) +* [`obj RegexMap`](#obj-regexmap) + * [`fn withOptions(value)`](#fn-regexmapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) + * [`fn withType()`](#fn-regexmapwithtype) + * [`obj options`](#obj-regexmapoptions) + * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) + * [`fn withResult(value)`](#fn-regexmapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) + * [`obj result`](#obj-regexmapoptionsresult) + * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) + * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) +* [`obj SpecialValueMap`](#obj-specialvaluemap) + * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) + * [`fn withType()`](#fn-specialvaluemapwithtype) + * [`obj options`](#obj-specialvaluemapoptions) + * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) + * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) + * [`obj result`](#obj-specialvaluemapoptionsresult) + * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) +* [`obj ValueMap`](#obj-valuemap) + * [`fn withOptions(value)`](#fn-valuemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) + * [`fn withType()`](#fn-valuemapwithtype) + +## Fields + +### obj RangeMap + + +#### fn RangeMap.withOptions + +```jsonnet +RangeMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withOptionsMixin + +```jsonnet +RangeMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withType + +```jsonnet +RangeMap.withType() +``` + + + +#### obj RangeMap.options + + +##### fn RangeMap.options.withFrom + +```jsonnet +RangeMap.options.withFrom(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Min value of the range. It can be null which means -Infinity +##### fn RangeMap.options.withResult + +```jsonnet +RangeMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withResultMixin + +```jsonnet +RangeMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withTo + +```jsonnet +RangeMap.options.withTo(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Max value of the range. It can be null which means +Infinity +##### obj RangeMap.options.result + + +###### fn RangeMap.options.result.withColor + +```jsonnet +RangeMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RangeMap.options.result.withIcon + +```jsonnet +RangeMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RangeMap.options.result.withIndex + +```jsonnet +RangeMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RangeMap.options.result.withText + +```jsonnet +RangeMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj RegexMap + + +#### fn RegexMap.withOptions + +```jsonnet +RegexMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withOptionsMixin + +```jsonnet +RegexMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withType + +```jsonnet +RegexMap.withType() +``` + + + +#### obj RegexMap.options + + +##### fn RegexMap.options.withPattern + +```jsonnet +RegexMap.options.withPattern(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Regular expression to match against +##### fn RegexMap.options.withResult + +```jsonnet +RegexMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RegexMap.options.withResultMixin + +```jsonnet +RegexMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj RegexMap.options.result + + +###### fn RegexMap.options.result.withColor + +```jsonnet +RegexMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RegexMap.options.result.withIcon + +```jsonnet +RegexMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RegexMap.options.result.withIndex + +```jsonnet +RegexMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RegexMap.options.result.withText + +```jsonnet +RegexMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj SpecialValueMap + + +#### fn SpecialValueMap.withOptions + +```jsonnet +SpecialValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withOptionsMixin + +```jsonnet +SpecialValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withType + +```jsonnet +SpecialValueMap.withType() +``` + + + +#### obj SpecialValueMap.options + + +##### fn SpecialValueMap.options.withMatch + +```jsonnet +SpecialValueMap.options.withMatch(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` + +Special value types supported by the `SpecialValueMap` +##### fn SpecialValueMap.options.withResult + +```jsonnet +SpecialValueMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn SpecialValueMap.options.withResultMixin + +```jsonnet +SpecialValueMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj SpecialValueMap.options.result + + +###### fn SpecialValueMap.options.result.withColor + +```jsonnet +SpecialValueMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn SpecialValueMap.options.result.withIcon + +```jsonnet +SpecialValueMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn SpecialValueMap.options.result.withIndex + +```jsonnet +SpecialValueMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn SpecialValueMap.options.result.withText + +```jsonnet +SpecialValueMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj ValueMap + + +#### fn ValueMap.withOptions + +```jsonnet +ValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withOptionsMixin + +```jsonnet +ValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withType + +```jsonnet +ValueMap.withType() +``` + + diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/histogram/standardOptions/override.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/logs/standardOptions/override.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/histogram/standardOptions/override.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/logs/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/logs/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/logs/standardOptions/threshold/step.md new file mode 100644 index 0000000..62c49ab --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/logs/standardOptions/threshold/step.md @@ -0,0 +1,34 @@ +# threshold.step + + + +## Index + +* [`fn withColor(value)`](#fn-withcolor) +* [`fn withValue(value)`](#fn-withvalue) + +## Fields + +### fn withColor + +```jsonnet +withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. +### fn withValue + +```jsonnet +withValue(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. +Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/news/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/news/index.md similarity index 94% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/news/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/news/index.md index 3790c6e..2cc7b47 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/news/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/news/index.md @@ -24,6 +24,7 @@ grafonnet.panel.news * [`fn withGridPos(h="null", w="null", x="null", y="null")`](#fn-paneloptionswithgridpos) * [`fn withLinks(value)`](#fn-paneloptionswithlinks) * [`fn withLinksMixin(value)`](#fn-paneloptionswithlinksmixin) + * [`fn withMaxPerRow(value)`](#fn-paneloptionswithmaxperrow) * [`fn withRepeat(value)`](#fn-paneloptionswithrepeat) * [`fn withRepeatDirection(value="h")`](#fn-paneloptionswithrepeatdirection) * [`fn withTitle(value)`](#fn-paneloptionswithtitle) @@ -31,8 +32,10 @@ grafonnet.panel.news * [`obj queryOptions`](#obj-queryoptions) * [`fn withDatasource(type, uid)`](#fn-queryoptionswithdatasource) * [`fn withDatasourceMixin(value)`](#fn-queryoptionswithdatasourcemixin) + * [`fn withHideTimeOverride(value=true)`](#fn-queryoptionswithhidetimeoverride) * [`fn withInterval(value)`](#fn-queryoptionswithinterval) * [`fn withMaxDataPoints(value)`](#fn-queryoptionswithmaxdatapoints) + * [`fn withQueryCachingTTL(value)`](#fn-queryoptionswithquerycachingttl) * [`fn withTargets(value)`](#fn-queryoptionswithtargets) * [`fn withTargetsMixin(value)`](#fn-queryoptionswithtargetsmixin) * [`fn withTimeFrom(value)`](#fn-queryoptionswithtimefrom) @@ -184,6 +187,18 @@ PARAMETERS: * **value** (`array`) Panel links. +#### fn panelOptions.withMaxPerRow + +```jsonnet +panelOptions.withMaxPerRow(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Option for repeated panels that controls max items per row +Only relevant for horizontally repeated panels #### fn panelOptions.withRepeat ```jsonnet @@ -261,6 +276,18 @@ PARAMETERS: * **value** (`object`) Ref to a DataSource instance +#### fn queryOptions.withHideTimeOverride + +```jsonnet +queryOptions.withHideTimeOverride(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Controls if the timeFrom or timeShift overrides are shown in the panel header #### fn queryOptions.withInterval ```jsonnet @@ -286,6 +313,17 @@ PARAMETERS: * **value** (`number`) The maximum number of data points that the panel queries are retrieving. +#### fn queryOptions.withQueryCachingTTL + +```jsonnet +queryOptions.withQueryCachingTTL(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Overrides the data source configured time-to-live for a query cache item in milliseconds #### fn queryOptions.withTargets ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/logs/panelOptions/link.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/news/panelOptions/link.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/logs/panelOptions/link.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/news/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/news/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/news/queryOptions/transformation.md new file mode 100644 index 0000000..69dda9a --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/news/queryOptions/transformation.md @@ -0,0 +1,140 @@ +# transformation + + + +## Index + +* [`fn withDisabled(value=true)`](#fn-withdisabled) +* [`fn withFilter(value)`](#fn-withfilter) +* [`fn withFilterMixin(value)`](#fn-withfiltermixin) +* [`fn withId(value)`](#fn-withid) +* [`fn withOptions(value)`](#fn-withoptions) +* [`fn withOptionsMixin(value)`](#fn-withoptionsmixin) +* [`fn withTopic(value)`](#fn-withtopic) +* [`obj filter`](#obj-filter) + * [`fn withId(value="")`](#fn-filterwithid) + * [`fn withOptions(value)`](#fn-filterwithoptions) + * [`fn withOptionsMixin(value)`](#fn-filterwithoptionsmixin) + +## Fields + +### fn withDisabled + +```jsonnet +withDisabled(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Disabled transformations are skipped +### fn withFilter + +```jsonnet +withFilter(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withFilterMixin + +```jsonnet +withFilterMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withId + +```jsonnet +withId(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Unique identifier of transformer +### fn withOptions + +```jsonnet +withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withOptionsMixin + +```jsonnet +withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withTopic + +```jsonnet +withTopic(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"series"`, `"annotations"`, `"alertStates"` + +Where to pull DataFrames from as input to transformation +### obj filter + + +#### fn filter.withId + +```jsonnet +filter.withId(value="") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `""` + +The matcher id. This is used to find the matcher implementation from registry. +#### fn filter.withOptions + +```jsonnet +filter.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. +#### fn filter.withOptionsMixin + +```jsonnet +filter.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/news/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/news/standardOptions/mapping.md new file mode 100644 index 0000000..196c769 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/news/standardOptions/mapping.md @@ -0,0 +1,445 @@ +# mapping + + + +## Index + +* [`obj RangeMap`](#obj-rangemap) + * [`fn withOptions(value)`](#fn-rangemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) + * [`fn withType()`](#fn-rangemapwithtype) + * [`obj options`](#obj-rangemapoptions) + * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) + * [`fn withResult(value)`](#fn-rangemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) + * [`fn withTo(value)`](#fn-rangemapoptionswithto) + * [`obj result`](#obj-rangemapoptionsresult) + * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) +* [`obj RegexMap`](#obj-regexmap) + * [`fn withOptions(value)`](#fn-regexmapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) + * [`fn withType()`](#fn-regexmapwithtype) + * [`obj options`](#obj-regexmapoptions) + * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) + * [`fn withResult(value)`](#fn-regexmapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) + * [`obj result`](#obj-regexmapoptionsresult) + * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) + * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) +* [`obj SpecialValueMap`](#obj-specialvaluemap) + * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) + * [`fn withType()`](#fn-specialvaluemapwithtype) + * [`obj options`](#obj-specialvaluemapoptions) + * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) + * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) + * [`obj result`](#obj-specialvaluemapoptionsresult) + * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) +* [`obj ValueMap`](#obj-valuemap) + * [`fn withOptions(value)`](#fn-valuemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) + * [`fn withType()`](#fn-valuemapwithtype) + +## Fields + +### obj RangeMap + + +#### fn RangeMap.withOptions + +```jsonnet +RangeMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withOptionsMixin + +```jsonnet +RangeMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withType + +```jsonnet +RangeMap.withType() +``` + + + +#### obj RangeMap.options + + +##### fn RangeMap.options.withFrom + +```jsonnet +RangeMap.options.withFrom(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Min value of the range. It can be null which means -Infinity +##### fn RangeMap.options.withResult + +```jsonnet +RangeMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withResultMixin + +```jsonnet +RangeMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withTo + +```jsonnet +RangeMap.options.withTo(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Max value of the range. It can be null which means +Infinity +##### obj RangeMap.options.result + + +###### fn RangeMap.options.result.withColor + +```jsonnet +RangeMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RangeMap.options.result.withIcon + +```jsonnet +RangeMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RangeMap.options.result.withIndex + +```jsonnet +RangeMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RangeMap.options.result.withText + +```jsonnet +RangeMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj RegexMap + + +#### fn RegexMap.withOptions + +```jsonnet +RegexMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withOptionsMixin + +```jsonnet +RegexMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withType + +```jsonnet +RegexMap.withType() +``` + + + +#### obj RegexMap.options + + +##### fn RegexMap.options.withPattern + +```jsonnet +RegexMap.options.withPattern(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Regular expression to match against +##### fn RegexMap.options.withResult + +```jsonnet +RegexMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RegexMap.options.withResultMixin + +```jsonnet +RegexMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj RegexMap.options.result + + +###### fn RegexMap.options.result.withColor + +```jsonnet +RegexMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RegexMap.options.result.withIcon + +```jsonnet +RegexMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RegexMap.options.result.withIndex + +```jsonnet +RegexMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RegexMap.options.result.withText + +```jsonnet +RegexMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj SpecialValueMap + + +#### fn SpecialValueMap.withOptions + +```jsonnet +SpecialValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withOptionsMixin + +```jsonnet +SpecialValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withType + +```jsonnet +SpecialValueMap.withType() +``` + + + +#### obj SpecialValueMap.options + + +##### fn SpecialValueMap.options.withMatch + +```jsonnet +SpecialValueMap.options.withMatch(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` + +Special value types supported by the `SpecialValueMap` +##### fn SpecialValueMap.options.withResult + +```jsonnet +SpecialValueMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn SpecialValueMap.options.withResultMixin + +```jsonnet +SpecialValueMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj SpecialValueMap.options.result + + +###### fn SpecialValueMap.options.result.withColor + +```jsonnet +SpecialValueMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn SpecialValueMap.options.result.withIcon + +```jsonnet +SpecialValueMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn SpecialValueMap.options.result.withIndex + +```jsonnet +SpecialValueMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn SpecialValueMap.options.result.withText + +```jsonnet +SpecialValueMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj ValueMap + + +#### fn ValueMap.withOptions + +```jsonnet +ValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withOptionsMixin + +```jsonnet +ValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withType + +```jsonnet +ValueMap.withType() +``` + + diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/logs/standardOptions/override.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/news/standardOptions/override.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/logs/standardOptions/override.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/news/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/news/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/news/standardOptions/threshold/step.md new file mode 100644 index 0000000..62c49ab --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/news/standardOptions/threshold/step.md @@ -0,0 +1,34 @@ +# threshold.step + + + +## Index + +* [`fn withColor(value)`](#fn-withcolor) +* [`fn withValue(value)`](#fn-withvalue) + +## Fields + +### fn withColor + +```jsonnet +withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. +### fn withValue + +```jsonnet +withValue(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. +Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/nodeGraph/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/nodeGraph/index.md similarity index 95% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/nodeGraph/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/nodeGraph/index.md index c9ed6b6..96e1eb6 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/nodeGraph/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/nodeGraph/index.md @@ -35,6 +35,7 @@ grafonnet.panel.nodeGraph * [`fn withGridPos(h="null", w="null", x="null", y="null")`](#fn-paneloptionswithgridpos) * [`fn withLinks(value)`](#fn-paneloptionswithlinks) * [`fn withLinksMixin(value)`](#fn-paneloptionswithlinksmixin) + * [`fn withMaxPerRow(value)`](#fn-paneloptionswithmaxperrow) * [`fn withRepeat(value)`](#fn-paneloptionswithrepeat) * [`fn withRepeatDirection(value="h")`](#fn-paneloptionswithrepeatdirection) * [`fn withTitle(value)`](#fn-paneloptionswithtitle) @@ -42,8 +43,10 @@ grafonnet.panel.nodeGraph * [`obj queryOptions`](#obj-queryoptions) * [`fn withDatasource(type, uid)`](#fn-queryoptionswithdatasource) * [`fn withDatasourceMixin(value)`](#fn-queryoptionswithdatasourcemixin) + * [`fn withHideTimeOverride(value=true)`](#fn-queryoptionswithhidetimeoverride) * [`fn withInterval(value)`](#fn-queryoptionswithinterval) * [`fn withMaxDataPoints(value)`](#fn-queryoptionswithmaxdatapoints) + * [`fn withQueryCachingTTL(value)`](#fn-queryoptionswithquerycachingttl) * [`fn withTargets(value)`](#fn-queryoptionswithtargets) * [`fn withTargetsMixin(value)`](#fn-queryoptionswithtargetsmixin) * [`fn withTimeFrom(value)`](#fn-queryoptionswithtimefrom) @@ -288,6 +291,18 @@ PARAMETERS: * **value** (`array`) Panel links. +#### fn panelOptions.withMaxPerRow + +```jsonnet +panelOptions.withMaxPerRow(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Option for repeated panels that controls max items per row +Only relevant for horizontally repeated panels #### fn panelOptions.withRepeat ```jsonnet @@ -365,6 +380,18 @@ PARAMETERS: * **value** (`object`) Ref to a DataSource instance +#### fn queryOptions.withHideTimeOverride + +```jsonnet +queryOptions.withHideTimeOverride(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Controls if the timeFrom or timeShift overrides are shown in the panel header #### fn queryOptions.withInterval ```jsonnet @@ -390,6 +417,17 @@ PARAMETERS: * **value** (`number`) The maximum number of data points that the panel queries are retrieving. +#### fn queryOptions.withQueryCachingTTL + +```jsonnet +queryOptions.withQueryCachingTTL(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Overrides the data source configured time-to-live for a query cache item in milliseconds #### fn queryOptions.withTargets ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/nodeGraph/options/nodes/arcs.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/nodeGraph/options/nodes/arcs.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/nodeGraph/options/nodes/arcs.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/nodeGraph/options/nodes/arcs.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/news/panelOptions/link.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/nodeGraph/panelOptions/link.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/news/panelOptions/link.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/nodeGraph/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/nodeGraph/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/nodeGraph/queryOptions/transformation.md new file mode 100644 index 0000000..69dda9a --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/nodeGraph/queryOptions/transformation.md @@ -0,0 +1,140 @@ +# transformation + + + +## Index + +* [`fn withDisabled(value=true)`](#fn-withdisabled) +* [`fn withFilter(value)`](#fn-withfilter) +* [`fn withFilterMixin(value)`](#fn-withfiltermixin) +* [`fn withId(value)`](#fn-withid) +* [`fn withOptions(value)`](#fn-withoptions) +* [`fn withOptionsMixin(value)`](#fn-withoptionsmixin) +* [`fn withTopic(value)`](#fn-withtopic) +* [`obj filter`](#obj-filter) + * [`fn withId(value="")`](#fn-filterwithid) + * [`fn withOptions(value)`](#fn-filterwithoptions) + * [`fn withOptionsMixin(value)`](#fn-filterwithoptionsmixin) + +## Fields + +### fn withDisabled + +```jsonnet +withDisabled(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Disabled transformations are skipped +### fn withFilter + +```jsonnet +withFilter(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withFilterMixin + +```jsonnet +withFilterMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withId + +```jsonnet +withId(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Unique identifier of transformer +### fn withOptions + +```jsonnet +withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withOptionsMixin + +```jsonnet +withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withTopic + +```jsonnet +withTopic(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"series"`, `"annotations"`, `"alertStates"` + +Where to pull DataFrames from as input to transformation +### obj filter + + +#### fn filter.withId + +```jsonnet +filter.withId(value="") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `""` + +The matcher id. This is used to find the matcher implementation from registry. +#### fn filter.withOptions + +```jsonnet +filter.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. +#### fn filter.withOptionsMixin + +```jsonnet +filter.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/nodeGraph/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/nodeGraph/standardOptions/mapping.md new file mode 100644 index 0000000..196c769 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/nodeGraph/standardOptions/mapping.md @@ -0,0 +1,445 @@ +# mapping + + + +## Index + +* [`obj RangeMap`](#obj-rangemap) + * [`fn withOptions(value)`](#fn-rangemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) + * [`fn withType()`](#fn-rangemapwithtype) + * [`obj options`](#obj-rangemapoptions) + * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) + * [`fn withResult(value)`](#fn-rangemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) + * [`fn withTo(value)`](#fn-rangemapoptionswithto) + * [`obj result`](#obj-rangemapoptionsresult) + * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) +* [`obj RegexMap`](#obj-regexmap) + * [`fn withOptions(value)`](#fn-regexmapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) + * [`fn withType()`](#fn-regexmapwithtype) + * [`obj options`](#obj-regexmapoptions) + * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) + * [`fn withResult(value)`](#fn-regexmapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) + * [`obj result`](#obj-regexmapoptionsresult) + * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) + * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) +* [`obj SpecialValueMap`](#obj-specialvaluemap) + * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) + * [`fn withType()`](#fn-specialvaluemapwithtype) + * [`obj options`](#obj-specialvaluemapoptions) + * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) + * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) + * [`obj result`](#obj-specialvaluemapoptionsresult) + * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) +* [`obj ValueMap`](#obj-valuemap) + * [`fn withOptions(value)`](#fn-valuemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) + * [`fn withType()`](#fn-valuemapwithtype) + +## Fields + +### obj RangeMap + + +#### fn RangeMap.withOptions + +```jsonnet +RangeMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withOptionsMixin + +```jsonnet +RangeMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withType + +```jsonnet +RangeMap.withType() +``` + + + +#### obj RangeMap.options + + +##### fn RangeMap.options.withFrom + +```jsonnet +RangeMap.options.withFrom(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Min value of the range. It can be null which means -Infinity +##### fn RangeMap.options.withResult + +```jsonnet +RangeMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withResultMixin + +```jsonnet +RangeMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withTo + +```jsonnet +RangeMap.options.withTo(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Max value of the range. It can be null which means +Infinity +##### obj RangeMap.options.result + + +###### fn RangeMap.options.result.withColor + +```jsonnet +RangeMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RangeMap.options.result.withIcon + +```jsonnet +RangeMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RangeMap.options.result.withIndex + +```jsonnet +RangeMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RangeMap.options.result.withText + +```jsonnet +RangeMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj RegexMap + + +#### fn RegexMap.withOptions + +```jsonnet +RegexMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withOptionsMixin + +```jsonnet +RegexMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withType + +```jsonnet +RegexMap.withType() +``` + + + +#### obj RegexMap.options + + +##### fn RegexMap.options.withPattern + +```jsonnet +RegexMap.options.withPattern(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Regular expression to match against +##### fn RegexMap.options.withResult + +```jsonnet +RegexMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RegexMap.options.withResultMixin + +```jsonnet +RegexMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj RegexMap.options.result + + +###### fn RegexMap.options.result.withColor + +```jsonnet +RegexMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RegexMap.options.result.withIcon + +```jsonnet +RegexMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RegexMap.options.result.withIndex + +```jsonnet +RegexMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RegexMap.options.result.withText + +```jsonnet +RegexMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj SpecialValueMap + + +#### fn SpecialValueMap.withOptions + +```jsonnet +SpecialValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withOptionsMixin + +```jsonnet +SpecialValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withType + +```jsonnet +SpecialValueMap.withType() +``` + + + +#### obj SpecialValueMap.options + + +##### fn SpecialValueMap.options.withMatch + +```jsonnet +SpecialValueMap.options.withMatch(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` + +Special value types supported by the `SpecialValueMap` +##### fn SpecialValueMap.options.withResult + +```jsonnet +SpecialValueMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn SpecialValueMap.options.withResultMixin + +```jsonnet +SpecialValueMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj SpecialValueMap.options.result + + +###### fn SpecialValueMap.options.result.withColor + +```jsonnet +SpecialValueMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn SpecialValueMap.options.result.withIcon + +```jsonnet +SpecialValueMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn SpecialValueMap.options.result.withIndex + +```jsonnet +SpecialValueMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn SpecialValueMap.options.result.withText + +```jsonnet +SpecialValueMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj ValueMap + + +#### fn ValueMap.withOptions + +```jsonnet +ValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withOptionsMixin + +```jsonnet +ValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withType + +```jsonnet +ValueMap.withType() +``` + + diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/news/standardOptions/override.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/nodeGraph/standardOptions/override.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/news/standardOptions/override.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/nodeGraph/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/nodeGraph/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/nodeGraph/standardOptions/threshold/step.md new file mode 100644 index 0000000..62c49ab --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/nodeGraph/standardOptions/threshold/step.md @@ -0,0 +1,34 @@ +# threshold.step + + + +## Index + +* [`fn withColor(value)`](#fn-withcolor) +* [`fn withValue(value)`](#fn-withvalue) + +## Fields + +### fn withColor + +```jsonnet +withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. +### fn withValue + +```jsonnet +withValue(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. +Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/pieChart/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/pieChart/index.md similarity index 96% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/pieChart/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/pieChart/index.md index c299041..65d414c 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/pieChart/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/pieChart/index.md @@ -70,6 +70,7 @@ grafonnet.panel.pieChart * [`fn withGridPos(h="null", w="null", x="null", y="null")`](#fn-paneloptionswithgridpos) * [`fn withLinks(value)`](#fn-paneloptionswithlinks) * [`fn withLinksMixin(value)`](#fn-paneloptionswithlinksmixin) + * [`fn withMaxPerRow(value)`](#fn-paneloptionswithmaxperrow) * [`fn withRepeat(value)`](#fn-paneloptionswithrepeat) * [`fn withRepeatDirection(value="h")`](#fn-paneloptionswithrepeatdirection) * [`fn withTitle(value)`](#fn-paneloptionswithtitle) @@ -77,8 +78,10 @@ grafonnet.panel.pieChart * [`obj queryOptions`](#obj-queryoptions) * [`fn withDatasource(type, uid)`](#fn-queryoptionswithdatasource) * [`fn withDatasourceMixin(value)`](#fn-queryoptionswithdatasourcemixin) + * [`fn withHideTimeOverride(value=true)`](#fn-queryoptionswithhidetimeoverride) * [`fn withInterval(value)`](#fn-queryoptionswithinterval) * [`fn withMaxDataPoints(value)`](#fn-queryoptionswithmaxdatapoints) + * [`fn withQueryCachingTTL(value)`](#fn-queryoptionswithquerycachingttl) * [`fn withTargets(value)`](#fn-queryoptionswithtargets) * [`fn withTargetsMixin(value)`](#fn-queryoptionswithtargetsmixin) * [`fn withTimeFrom(value)`](#fn-queryoptionswithtimefrom) @@ -686,6 +689,18 @@ PARAMETERS: * **value** (`array`) Panel links. +#### fn panelOptions.withMaxPerRow + +```jsonnet +panelOptions.withMaxPerRow(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Option for repeated panels that controls max items per row +Only relevant for horizontally repeated panels #### fn panelOptions.withRepeat ```jsonnet @@ -763,6 +778,18 @@ PARAMETERS: * **value** (`object`) Ref to a DataSource instance +#### fn queryOptions.withHideTimeOverride + +```jsonnet +queryOptions.withHideTimeOverride(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Controls if the timeFrom or timeShift overrides are shown in the panel header #### fn queryOptions.withInterval ```jsonnet @@ -788,6 +815,17 @@ PARAMETERS: * **value** (`number`) The maximum number of data points that the panel queries are retrieving. +#### fn queryOptions.withQueryCachingTTL + +```jsonnet +queryOptions.withQueryCachingTTL(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Overrides the data source configured time-to-live for a query cache item in milliseconds #### fn queryOptions.withTargets ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/nodeGraph/panelOptions/link.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/pieChart/panelOptions/link.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/nodeGraph/panelOptions/link.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/pieChart/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/pieChart/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/pieChart/queryOptions/transformation.md new file mode 100644 index 0000000..69dda9a --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/pieChart/queryOptions/transformation.md @@ -0,0 +1,140 @@ +# transformation + + + +## Index + +* [`fn withDisabled(value=true)`](#fn-withdisabled) +* [`fn withFilter(value)`](#fn-withfilter) +* [`fn withFilterMixin(value)`](#fn-withfiltermixin) +* [`fn withId(value)`](#fn-withid) +* [`fn withOptions(value)`](#fn-withoptions) +* [`fn withOptionsMixin(value)`](#fn-withoptionsmixin) +* [`fn withTopic(value)`](#fn-withtopic) +* [`obj filter`](#obj-filter) + * [`fn withId(value="")`](#fn-filterwithid) + * [`fn withOptions(value)`](#fn-filterwithoptions) + * [`fn withOptionsMixin(value)`](#fn-filterwithoptionsmixin) + +## Fields + +### fn withDisabled + +```jsonnet +withDisabled(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Disabled transformations are skipped +### fn withFilter + +```jsonnet +withFilter(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withFilterMixin + +```jsonnet +withFilterMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withId + +```jsonnet +withId(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Unique identifier of transformer +### fn withOptions + +```jsonnet +withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withOptionsMixin + +```jsonnet +withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withTopic + +```jsonnet +withTopic(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"series"`, `"annotations"`, `"alertStates"` + +Where to pull DataFrames from as input to transformation +### obj filter + + +#### fn filter.withId + +```jsonnet +filter.withId(value="") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `""` + +The matcher id. This is used to find the matcher implementation from registry. +#### fn filter.withOptions + +```jsonnet +filter.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. +#### fn filter.withOptionsMixin + +```jsonnet +filter.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/pieChart/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/pieChart/standardOptions/mapping.md new file mode 100644 index 0000000..196c769 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/pieChart/standardOptions/mapping.md @@ -0,0 +1,445 @@ +# mapping + + + +## Index + +* [`obj RangeMap`](#obj-rangemap) + * [`fn withOptions(value)`](#fn-rangemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) + * [`fn withType()`](#fn-rangemapwithtype) + * [`obj options`](#obj-rangemapoptions) + * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) + * [`fn withResult(value)`](#fn-rangemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) + * [`fn withTo(value)`](#fn-rangemapoptionswithto) + * [`obj result`](#obj-rangemapoptionsresult) + * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) +* [`obj RegexMap`](#obj-regexmap) + * [`fn withOptions(value)`](#fn-regexmapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) + * [`fn withType()`](#fn-regexmapwithtype) + * [`obj options`](#obj-regexmapoptions) + * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) + * [`fn withResult(value)`](#fn-regexmapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) + * [`obj result`](#obj-regexmapoptionsresult) + * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) + * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) +* [`obj SpecialValueMap`](#obj-specialvaluemap) + * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) + * [`fn withType()`](#fn-specialvaluemapwithtype) + * [`obj options`](#obj-specialvaluemapoptions) + * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) + * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) + * [`obj result`](#obj-specialvaluemapoptionsresult) + * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) +* [`obj ValueMap`](#obj-valuemap) + * [`fn withOptions(value)`](#fn-valuemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) + * [`fn withType()`](#fn-valuemapwithtype) + +## Fields + +### obj RangeMap + + +#### fn RangeMap.withOptions + +```jsonnet +RangeMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withOptionsMixin + +```jsonnet +RangeMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withType + +```jsonnet +RangeMap.withType() +``` + + + +#### obj RangeMap.options + + +##### fn RangeMap.options.withFrom + +```jsonnet +RangeMap.options.withFrom(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Min value of the range. It can be null which means -Infinity +##### fn RangeMap.options.withResult + +```jsonnet +RangeMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withResultMixin + +```jsonnet +RangeMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withTo + +```jsonnet +RangeMap.options.withTo(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Max value of the range. It can be null which means +Infinity +##### obj RangeMap.options.result + + +###### fn RangeMap.options.result.withColor + +```jsonnet +RangeMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RangeMap.options.result.withIcon + +```jsonnet +RangeMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RangeMap.options.result.withIndex + +```jsonnet +RangeMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RangeMap.options.result.withText + +```jsonnet +RangeMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj RegexMap + + +#### fn RegexMap.withOptions + +```jsonnet +RegexMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withOptionsMixin + +```jsonnet +RegexMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withType + +```jsonnet +RegexMap.withType() +``` + + + +#### obj RegexMap.options + + +##### fn RegexMap.options.withPattern + +```jsonnet +RegexMap.options.withPattern(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Regular expression to match against +##### fn RegexMap.options.withResult + +```jsonnet +RegexMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RegexMap.options.withResultMixin + +```jsonnet +RegexMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj RegexMap.options.result + + +###### fn RegexMap.options.result.withColor + +```jsonnet +RegexMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RegexMap.options.result.withIcon + +```jsonnet +RegexMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RegexMap.options.result.withIndex + +```jsonnet +RegexMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RegexMap.options.result.withText + +```jsonnet +RegexMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj SpecialValueMap + + +#### fn SpecialValueMap.withOptions + +```jsonnet +SpecialValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withOptionsMixin + +```jsonnet +SpecialValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withType + +```jsonnet +SpecialValueMap.withType() +``` + + + +#### obj SpecialValueMap.options + + +##### fn SpecialValueMap.options.withMatch + +```jsonnet +SpecialValueMap.options.withMatch(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` + +Special value types supported by the `SpecialValueMap` +##### fn SpecialValueMap.options.withResult + +```jsonnet +SpecialValueMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn SpecialValueMap.options.withResultMixin + +```jsonnet +SpecialValueMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj SpecialValueMap.options.result + + +###### fn SpecialValueMap.options.result.withColor + +```jsonnet +SpecialValueMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn SpecialValueMap.options.result.withIcon + +```jsonnet +SpecialValueMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn SpecialValueMap.options.result.withIndex + +```jsonnet +SpecialValueMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn SpecialValueMap.options.result.withText + +```jsonnet +SpecialValueMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj ValueMap + + +#### fn ValueMap.withOptions + +```jsonnet +ValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withOptionsMixin + +```jsonnet +ValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withType + +```jsonnet +ValueMap.withType() +``` + + diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/nodeGraph/standardOptions/override.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/pieChart/standardOptions/override.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/nodeGraph/standardOptions/override.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/pieChart/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/pieChart/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/pieChart/standardOptions/threshold/step.md new file mode 100644 index 0000000..62c49ab --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/pieChart/standardOptions/threshold/step.md @@ -0,0 +1,34 @@ +# threshold.step + + + +## Index + +* [`fn withColor(value)`](#fn-withcolor) +* [`fn withValue(value)`](#fn-withvalue) + +## Fields + +### fn withColor + +```jsonnet +withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. +### fn withValue + +```jsonnet +withValue(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. +Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/row.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/row.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/row.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/row.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stat/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stat/index.md similarity index 91% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stat/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stat/index.md index 75d9155..045e49f 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stat/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stat/index.md @@ -17,16 +17,17 @@ grafonnet.panel.stat * [`fn withName(value)`](#fn-librarypanelwithname) * [`fn withUid(value)`](#fn-librarypanelwithuid) * [`obj options`](#obj-options) - * [`fn withColorMode(value)`](#fn-optionswithcolormode) - * [`fn withGraphMode(value)`](#fn-optionswithgraphmode) - * [`fn withJustifyMode(value)`](#fn-optionswithjustifymode) + * [`fn withColorMode(value="value")`](#fn-optionswithcolormode) + * [`fn withGraphMode(value="area")`](#fn-optionswithgraphmode) + * [`fn withJustifyMode(value="auto")`](#fn-optionswithjustifymode) * [`fn withOrientation(value)`](#fn-optionswithorientation) + * [`fn withPercentChangeColorMode(value="standard")`](#fn-optionswithpercentchangecolormode) * [`fn withReduceOptions(value)`](#fn-optionswithreduceoptions) * [`fn withReduceOptionsMixin(value)`](#fn-optionswithreduceoptionsmixin) * [`fn withShowPercentChange(value=true)`](#fn-optionswithshowpercentchange) * [`fn withText(value)`](#fn-optionswithtext) * [`fn withTextMixin(value)`](#fn-optionswithtextmixin) - * [`fn withTextMode(value)`](#fn-optionswithtextmode) + * [`fn withTextMode(value="auto")`](#fn-optionswithtextmode) * [`fn withWideLayout(value=true)`](#fn-optionswithwidelayout) * [`obj reduceOptions`](#obj-optionsreduceoptions) * [`fn withCalcs(value)`](#fn-optionsreduceoptionswithcalcs) @@ -42,6 +43,7 @@ grafonnet.panel.stat * [`fn withGridPos(h="null", w="null", x="null", y="null")`](#fn-paneloptionswithgridpos) * [`fn withLinks(value)`](#fn-paneloptionswithlinks) * [`fn withLinksMixin(value)`](#fn-paneloptionswithlinksmixin) + * [`fn withMaxPerRow(value)`](#fn-paneloptionswithmaxperrow) * [`fn withRepeat(value)`](#fn-paneloptionswithrepeat) * [`fn withRepeatDirection(value="h")`](#fn-paneloptionswithrepeatdirection) * [`fn withTitle(value)`](#fn-paneloptionswithtitle) @@ -49,8 +51,10 @@ grafonnet.panel.stat * [`obj queryOptions`](#obj-queryoptions) * [`fn withDatasource(type, uid)`](#fn-queryoptionswithdatasource) * [`fn withDatasourceMixin(value)`](#fn-queryoptionswithdatasourcemixin) + * [`fn withHideTimeOverride(value=true)`](#fn-queryoptionswithhidetimeoverride) * [`fn withInterval(value)`](#fn-queryoptionswithinterval) * [`fn withMaxDataPoints(value)`](#fn-queryoptionswithmaxdatapoints) + * [`fn withQueryCachingTTL(value)`](#fn-queryoptionswithquerycachingttl) * [`fn withTargets(value)`](#fn-queryoptionswithtargets) * [`fn withTargetsMixin(value)`](#fn-queryoptionswithtargetsmixin) * [`fn withTimeFrom(value)`](#fn-queryoptionswithtimefrom) @@ -125,36 +129,39 @@ Library panel uid #### fn options.withColorMode ```jsonnet -options.withColorMode(value) +options.withColorMode(value="value") ``` PARAMETERS: * **value** (`string`) + - default value: `"value"` - valid values: `"value"`, `"background"`, `"background_solid"`, `"none"` TODO docs #### fn options.withGraphMode ```jsonnet -options.withGraphMode(value) +options.withGraphMode(value="area") ``` PARAMETERS: * **value** (`string`) + - default value: `"area"` - valid values: `"none"`, `"line"`, `"area"` TODO docs #### fn options.withJustifyMode ```jsonnet -options.withJustifyMode(value) +options.withJustifyMode(value="auto") ``` PARAMETERS: * **value** (`string`) + - default value: `"auto"` - valid values: `"auto"`, `"center"` TODO docs @@ -169,6 +176,19 @@ PARAMETERS: * **value** (`string`) - valid values: `"auto"`, `"vertical"`, `"horizontal"` +TODO docs +#### fn options.withPercentChangeColorMode + +```jsonnet +options.withPercentChangeColorMode(value="standard") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `"standard"` + - valid values: `"standard"`, `"inverted"`, `"same_as_value"` + TODO docs #### fn options.withReduceOptions @@ -229,12 +249,13 @@ TODO docs #### fn options.withTextMode ```jsonnet -options.withTextMode(value) +options.withTextMode(value="auto") ``` PARAMETERS: * **value** (`string`) + - default value: `"auto"` - valid values: `"auto"`, `"value"`, `"value_and_name"`, `"name"`, `"none"` TODO docs @@ -391,6 +412,18 @@ PARAMETERS: * **value** (`array`) Panel links. +#### fn panelOptions.withMaxPerRow + +```jsonnet +panelOptions.withMaxPerRow(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Option for repeated panels that controls max items per row +Only relevant for horizontally repeated panels #### fn panelOptions.withRepeat ```jsonnet @@ -468,6 +501,18 @@ PARAMETERS: * **value** (`object`) Ref to a DataSource instance +#### fn queryOptions.withHideTimeOverride + +```jsonnet +queryOptions.withHideTimeOverride(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Controls if the timeFrom or timeShift overrides are shown in the panel header #### fn queryOptions.withInterval ```jsonnet @@ -493,6 +538,17 @@ PARAMETERS: * **value** (`number`) The maximum number of data points that the panel queries are retrieving. +#### fn queryOptions.withQueryCachingTTL + +```jsonnet +queryOptions.withQueryCachingTTL(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Overrides the data source configured time-to-live for a query cache item in milliseconds #### fn queryOptions.withTargets ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/pieChart/panelOptions/link.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stat/panelOptions/link.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/pieChart/panelOptions/link.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stat/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stat/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stat/queryOptions/transformation.md new file mode 100644 index 0000000..69dda9a --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stat/queryOptions/transformation.md @@ -0,0 +1,140 @@ +# transformation + + + +## Index + +* [`fn withDisabled(value=true)`](#fn-withdisabled) +* [`fn withFilter(value)`](#fn-withfilter) +* [`fn withFilterMixin(value)`](#fn-withfiltermixin) +* [`fn withId(value)`](#fn-withid) +* [`fn withOptions(value)`](#fn-withoptions) +* [`fn withOptionsMixin(value)`](#fn-withoptionsmixin) +* [`fn withTopic(value)`](#fn-withtopic) +* [`obj filter`](#obj-filter) + * [`fn withId(value="")`](#fn-filterwithid) + * [`fn withOptions(value)`](#fn-filterwithoptions) + * [`fn withOptionsMixin(value)`](#fn-filterwithoptionsmixin) + +## Fields + +### fn withDisabled + +```jsonnet +withDisabled(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Disabled transformations are skipped +### fn withFilter + +```jsonnet +withFilter(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withFilterMixin + +```jsonnet +withFilterMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withId + +```jsonnet +withId(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Unique identifier of transformer +### fn withOptions + +```jsonnet +withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withOptionsMixin + +```jsonnet +withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withTopic + +```jsonnet +withTopic(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"series"`, `"annotations"`, `"alertStates"` + +Where to pull DataFrames from as input to transformation +### obj filter + + +#### fn filter.withId + +```jsonnet +filter.withId(value="") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `""` + +The matcher id. This is used to find the matcher implementation from registry. +#### fn filter.withOptions + +```jsonnet +filter.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. +#### fn filter.withOptionsMixin + +```jsonnet +filter.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stat/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stat/standardOptions/mapping.md new file mode 100644 index 0000000..196c769 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stat/standardOptions/mapping.md @@ -0,0 +1,445 @@ +# mapping + + + +## Index + +* [`obj RangeMap`](#obj-rangemap) + * [`fn withOptions(value)`](#fn-rangemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) + * [`fn withType()`](#fn-rangemapwithtype) + * [`obj options`](#obj-rangemapoptions) + * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) + * [`fn withResult(value)`](#fn-rangemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) + * [`fn withTo(value)`](#fn-rangemapoptionswithto) + * [`obj result`](#obj-rangemapoptionsresult) + * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) +* [`obj RegexMap`](#obj-regexmap) + * [`fn withOptions(value)`](#fn-regexmapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) + * [`fn withType()`](#fn-regexmapwithtype) + * [`obj options`](#obj-regexmapoptions) + * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) + * [`fn withResult(value)`](#fn-regexmapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) + * [`obj result`](#obj-regexmapoptionsresult) + * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) + * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) +* [`obj SpecialValueMap`](#obj-specialvaluemap) + * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) + * [`fn withType()`](#fn-specialvaluemapwithtype) + * [`obj options`](#obj-specialvaluemapoptions) + * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) + * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) + * [`obj result`](#obj-specialvaluemapoptionsresult) + * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) +* [`obj ValueMap`](#obj-valuemap) + * [`fn withOptions(value)`](#fn-valuemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) + * [`fn withType()`](#fn-valuemapwithtype) + +## Fields + +### obj RangeMap + + +#### fn RangeMap.withOptions + +```jsonnet +RangeMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withOptionsMixin + +```jsonnet +RangeMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withType + +```jsonnet +RangeMap.withType() +``` + + + +#### obj RangeMap.options + + +##### fn RangeMap.options.withFrom + +```jsonnet +RangeMap.options.withFrom(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Min value of the range. It can be null which means -Infinity +##### fn RangeMap.options.withResult + +```jsonnet +RangeMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withResultMixin + +```jsonnet +RangeMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withTo + +```jsonnet +RangeMap.options.withTo(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Max value of the range. It can be null which means +Infinity +##### obj RangeMap.options.result + + +###### fn RangeMap.options.result.withColor + +```jsonnet +RangeMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RangeMap.options.result.withIcon + +```jsonnet +RangeMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RangeMap.options.result.withIndex + +```jsonnet +RangeMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RangeMap.options.result.withText + +```jsonnet +RangeMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj RegexMap + + +#### fn RegexMap.withOptions + +```jsonnet +RegexMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withOptionsMixin + +```jsonnet +RegexMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withType + +```jsonnet +RegexMap.withType() +``` + + + +#### obj RegexMap.options + + +##### fn RegexMap.options.withPattern + +```jsonnet +RegexMap.options.withPattern(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Regular expression to match against +##### fn RegexMap.options.withResult + +```jsonnet +RegexMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RegexMap.options.withResultMixin + +```jsonnet +RegexMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj RegexMap.options.result + + +###### fn RegexMap.options.result.withColor + +```jsonnet +RegexMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RegexMap.options.result.withIcon + +```jsonnet +RegexMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RegexMap.options.result.withIndex + +```jsonnet +RegexMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RegexMap.options.result.withText + +```jsonnet +RegexMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj SpecialValueMap + + +#### fn SpecialValueMap.withOptions + +```jsonnet +SpecialValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withOptionsMixin + +```jsonnet +SpecialValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withType + +```jsonnet +SpecialValueMap.withType() +``` + + + +#### obj SpecialValueMap.options + + +##### fn SpecialValueMap.options.withMatch + +```jsonnet +SpecialValueMap.options.withMatch(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` + +Special value types supported by the `SpecialValueMap` +##### fn SpecialValueMap.options.withResult + +```jsonnet +SpecialValueMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn SpecialValueMap.options.withResultMixin + +```jsonnet +SpecialValueMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj SpecialValueMap.options.result + + +###### fn SpecialValueMap.options.result.withColor + +```jsonnet +SpecialValueMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn SpecialValueMap.options.result.withIcon + +```jsonnet +SpecialValueMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn SpecialValueMap.options.result.withIndex + +```jsonnet +SpecialValueMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn SpecialValueMap.options.result.withText + +```jsonnet +SpecialValueMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj ValueMap + + +#### fn ValueMap.withOptions + +```jsonnet +ValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withOptionsMixin + +```jsonnet +ValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withType + +```jsonnet +ValueMap.withType() +``` + + diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/pieChart/standardOptions/override.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stat/standardOptions/override.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/pieChart/standardOptions/override.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stat/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stat/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stat/standardOptions/threshold/step.md new file mode 100644 index 0000000..62c49ab --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stat/standardOptions/threshold/step.md @@ -0,0 +1,34 @@ +# threshold.step + + + +## Index + +* [`fn withColor(value)`](#fn-withcolor) +* [`fn withValue(value)`](#fn-withvalue) + +## Fields + +### fn withColor + +```jsonnet +withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. +### fn withValue + +```jsonnet +withValue(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. +Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stateTimeline/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stateTimeline/index.md similarity index 92% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stateTimeline/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stateTimeline/index.md index bc2d505..45eb5be 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stateTimeline/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stateTimeline/index.md @@ -28,23 +28,23 @@ grafonnet.panel.stateTimeline * [`fn withName(value)`](#fn-librarypanelwithname) * [`fn withUid(value)`](#fn-librarypanelwithuid) * [`obj options`](#obj-options) - * [`fn withAlignValue(value)`](#fn-optionswithalignvalue) + * [`fn withAlignValue(value="left")`](#fn-optionswithalignvalue) * [`fn withLegend(value)`](#fn-optionswithlegend) * [`fn withLegendMixin(value)`](#fn-optionswithlegendmixin) * [`fn withMergeValues(value=true)`](#fn-optionswithmergevalues) * [`fn withRowHeight(value=0.9)`](#fn-optionswithrowheight) - * [`fn withShowValue(value)`](#fn-optionswithshowvalue) + * [`fn withShowValue(value="auto")`](#fn-optionswithshowvalue) * [`fn withTimezone(value)`](#fn-optionswithtimezone) * [`fn withTimezoneMixin(value)`](#fn-optionswithtimezonemixin) * [`fn withTooltip(value)`](#fn-optionswithtooltip) * [`fn withTooltipMixin(value)`](#fn-optionswithtooltipmixin) * [`obj legend`](#obj-optionslegend) * [`fn withAsTable(value=true)`](#fn-optionslegendwithastable) - * [`fn withCalcs(value)`](#fn-optionslegendwithcalcs) - * [`fn withCalcsMixin(value)`](#fn-optionslegendwithcalcsmixin) - * [`fn withDisplayMode(value)`](#fn-optionslegendwithdisplaymode) + * [`fn withCalcs(value=[])`](#fn-optionslegendwithcalcs) + * [`fn withCalcsMixin(value=[])`](#fn-optionslegendwithcalcsmixin) + * [`fn withDisplayMode(value="list")`](#fn-optionslegendwithdisplaymode) * [`fn withIsVisible(value=true)`](#fn-optionslegendwithisvisible) - * [`fn withPlacement(value)`](#fn-optionslegendwithplacement) + * [`fn withPlacement(value="bottom")`](#fn-optionslegendwithplacement) * [`fn withShowLegend(value=true)`](#fn-optionslegendwithshowlegend) * [`fn withSortBy(value)`](#fn-optionslegendwithsortby) * [`fn withSortDesc(value=true)`](#fn-optionslegendwithsortdesc) @@ -59,6 +59,7 @@ grafonnet.panel.stateTimeline * [`fn withGridPos(h="null", w="null", x="null", y="null")`](#fn-paneloptionswithgridpos) * [`fn withLinks(value)`](#fn-paneloptionswithlinks) * [`fn withLinksMixin(value)`](#fn-paneloptionswithlinksmixin) + * [`fn withMaxPerRow(value)`](#fn-paneloptionswithmaxperrow) * [`fn withRepeat(value)`](#fn-paneloptionswithrepeat) * [`fn withRepeatDirection(value="h")`](#fn-paneloptionswithrepeatdirection) * [`fn withTitle(value)`](#fn-paneloptionswithtitle) @@ -66,8 +67,10 @@ grafonnet.panel.stateTimeline * [`obj queryOptions`](#obj-queryoptions) * [`fn withDatasource(type, uid)`](#fn-queryoptionswithdatasource) * [`fn withDatasourceMixin(value)`](#fn-queryoptionswithdatasourcemixin) + * [`fn withHideTimeOverride(value=true)`](#fn-queryoptionswithhidetimeoverride) * [`fn withInterval(value)`](#fn-queryoptionswithinterval) * [`fn withMaxDataPoints(value)`](#fn-queryoptionswithmaxdatapoints) + * [`fn withQueryCachingTTL(value)`](#fn-queryoptionswithquerycachingttl) * [`fn withTargets(value)`](#fn-queryoptionswithtargets) * [`fn withTargetsMixin(value)`](#fn-queryoptionswithtargetsmixin) * [`fn withTimeFrom(value)`](#fn-queryoptionswithtimefrom) @@ -236,14 +239,16 @@ Library panel uid #### fn options.withAlignValue ```jsonnet -options.withAlignValue(value) +options.withAlignValue(value="left") ``` PARAMETERS: * **value** (`string`) + - default value: `"left"` + - valid values: `"center"`, `"left"`, `"right"` -Controls value alignment on the timelines +Controls the value alignment in the TimelineChart component #### fn options.withLegend ```jsonnet @@ -293,14 +298,16 @@ Controls the row height #### fn options.withShowValue ```jsonnet -options.withShowValue(value) +options.withShowValue(value="auto") ``` PARAMETERS: * **value** (`string`) + - default value: `"auto"` + - valid values: `"auto"`, `"never"`, `"always"` -Show timeline values on chart +TODO docs #### fn options.withTimezone ```jsonnet @@ -363,34 +370,37 @@ PARAMETERS: ##### fn options.legend.withCalcs ```jsonnet -options.legend.withCalcs(value) +options.legend.withCalcs(value=[]) ``` PARAMETERS: * **value** (`array`) + - default value: `[]` ##### fn options.legend.withCalcsMixin ```jsonnet -options.legend.withCalcsMixin(value) +options.legend.withCalcsMixin(value=[]) ``` PARAMETERS: * **value** (`array`) + - default value: `[]` ##### fn options.legend.withDisplayMode ```jsonnet -options.legend.withDisplayMode(value) +options.legend.withDisplayMode(value="list") ``` PARAMETERS: * **value** (`string`) + - default value: `"list"` - valid values: `"list"`, `"table"`, `"hidden"` TODO docs @@ -410,12 +420,13 @@ PARAMETERS: ##### fn options.legend.withPlacement ```jsonnet -options.legend.withPlacement(value) +options.legend.withPlacement(value="bottom") ``` PARAMETERS: * **value** (`string`) + - default value: `"bottom"` - valid values: `"bottom"`, `"right"` TODO docs @@ -571,6 +582,18 @@ PARAMETERS: * **value** (`array`) Panel links. +#### fn panelOptions.withMaxPerRow + +```jsonnet +panelOptions.withMaxPerRow(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Option for repeated panels that controls max items per row +Only relevant for horizontally repeated panels #### fn panelOptions.withRepeat ```jsonnet @@ -648,6 +671,18 @@ PARAMETERS: * **value** (`object`) Ref to a DataSource instance +#### fn queryOptions.withHideTimeOverride + +```jsonnet +queryOptions.withHideTimeOverride(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Controls if the timeFrom or timeShift overrides are shown in the panel header #### fn queryOptions.withInterval ```jsonnet @@ -673,6 +708,17 @@ PARAMETERS: * **value** (`number`) The maximum number of data points that the panel queries are retrieving. +#### fn queryOptions.withQueryCachingTTL + +```jsonnet +queryOptions.withQueryCachingTTL(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Overrides the data source configured time-to-live for a query cache item in milliseconds #### fn queryOptions.withTargets ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stat/panelOptions/link.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stateTimeline/panelOptions/link.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stat/panelOptions/link.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stateTimeline/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stateTimeline/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stateTimeline/queryOptions/transformation.md new file mode 100644 index 0000000..69dda9a --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stateTimeline/queryOptions/transformation.md @@ -0,0 +1,140 @@ +# transformation + + + +## Index + +* [`fn withDisabled(value=true)`](#fn-withdisabled) +* [`fn withFilter(value)`](#fn-withfilter) +* [`fn withFilterMixin(value)`](#fn-withfiltermixin) +* [`fn withId(value)`](#fn-withid) +* [`fn withOptions(value)`](#fn-withoptions) +* [`fn withOptionsMixin(value)`](#fn-withoptionsmixin) +* [`fn withTopic(value)`](#fn-withtopic) +* [`obj filter`](#obj-filter) + * [`fn withId(value="")`](#fn-filterwithid) + * [`fn withOptions(value)`](#fn-filterwithoptions) + * [`fn withOptionsMixin(value)`](#fn-filterwithoptionsmixin) + +## Fields + +### fn withDisabled + +```jsonnet +withDisabled(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Disabled transformations are skipped +### fn withFilter + +```jsonnet +withFilter(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withFilterMixin + +```jsonnet +withFilterMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withId + +```jsonnet +withId(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Unique identifier of transformer +### fn withOptions + +```jsonnet +withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withOptionsMixin + +```jsonnet +withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withTopic + +```jsonnet +withTopic(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"series"`, `"annotations"`, `"alertStates"` + +Where to pull DataFrames from as input to transformation +### obj filter + + +#### fn filter.withId + +```jsonnet +filter.withId(value="") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `""` + +The matcher id. This is used to find the matcher implementation from registry. +#### fn filter.withOptions + +```jsonnet +filter.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. +#### fn filter.withOptionsMixin + +```jsonnet +filter.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stateTimeline/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stateTimeline/standardOptions/mapping.md new file mode 100644 index 0000000..196c769 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stateTimeline/standardOptions/mapping.md @@ -0,0 +1,445 @@ +# mapping + + + +## Index + +* [`obj RangeMap`](#obj-rangemap) + * [`fn withOptions(value)`](#fn-rangemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) + * [`fn withType()`](#fn-rangemapwithtype) + * [`obj options`](#obj-rangemapoptions) + * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) + * [`fn withResult(value)`](#fn-rangemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) + * [`fn withTo(value)`](#fn-rangemapoptionswithto) + * [`obj result`](#obj-rangemapoptionsresult) + * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) +* [`obj RegexMap`](#obj-regexmap) + * [`fn withOptions(value)`](#fn-regexmapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) + * [`fn withType()`](#fn-regexmapwithtype) + * [`obj options`](#obj-regexmapoptions) + * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) + * [`fn withResult(value)`](#fn-regexmapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) + * [`obj result`](#obj-regexmapoptionsresult) + * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) + * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) +* [`obj SpecialValueMap`](#obj-specialvaluemap) + * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) + * [`fn withType()`](#fn-specialvaluemapwithtype) + * [`obj options`](#obj-specialvaluemapoptions) + * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) + * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) + * [`obj result`](#obj-specialvaluemapoptionsresult) + * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) +* [`obj ValueMap`](#obj-valuemap) + * [`fn withOptions(value)`](#fn-valuemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) + * [`fn withType()`](#fn-valuemapwithtype) + +## Fields + +### obj RangeMap + + +#### fn RangeMap.withOptions + +```jsonnet +RangeMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withOptionsMixin + +```jsonnet +RangeMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withType + +```jsonnet +RangeMap.withType() +``` + + + +#### obj RangeMap.options + + +##### fn RangeMap.options.withFrom + +```jsonnet +RangeMap.options.withFrom(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Min value of the range. It can be null which means -Infinity +##### fn RangeMap.options.withResult + +```jsonnet +RangeMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withResultMixin + +```jsonnet +RangeMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withTo + +```jsonnet +RangeMap.options.withTo(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Max value of the range. It can be null which means +Infinity +##### obj RangeMap.options.result + + +###### fn RangeMap.options.result.withColor + +```jsonnet +RangeMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RangeMap.options.result.withIcon + +```jsonnet +RangeMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RangeMap.options.result.withIndex + +```jsonnet +RangeMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RangeMap.options.result.withText + +```jsonnet +RangeMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj RegexMap + + +#### fn RegexMap.withOptions + +```jsonnet +RegexMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withOptionsMixin + +```jsonnet +RegexMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withType + +```jsonnet +RegexMap.withType() +``` + + + +#### obj RegexMap.options + + +##### fn RegexMap.options.withPattern + +```jsonnet +RegexMap.options.withPattern(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Regular expression to match against +##### fn RegexMap.options.withResult + +```jsonnet +RegexMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RegexMap.options.withResultMixin + +```jsonnet +RegexMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj RegexMap.options.result + + +###### fn RegexMap.options.result.withColor + +```jsonnet +RegexMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RegexMap.options.result.withIcon + +```jsonnet +RegexMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RegexMap.options.result.withIndex + +```jsonnet +RegexMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RegexMap.options.result.withText + +```jsonnet +RegexMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj SpecialValueMap + + +#### fn SpecialValueMap.withOptions + +```jsonnet +SpecialValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withOptionsMixin + +```jsonnet +SpecialValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withType + +```jsonnet +SpecialValueMap.withType() +``` + + + +#### obj SpecialValueMap.options + + +##### fn SpecialValueMap.options.withMatch + +```jsonnet +SpecialValueMap.options.withMatch(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` + +Special value types supported by the `SpecialValueMap` +##### fn SpecialValueMap.options.withResult + +```jsonnet +SpecialValueMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn SpecialValueMap.options.withResultMixin + +```jsonnet +SpecialValueMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj SpecialValueMap.options.result + + +###### fn SpecialValueMap.options.result.withColor + +```jsonnet +SpecialValueMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn SpecialValueMap.options.result.withIcon + +```jsonnet +SpecialValueMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn SpecialValueMap.options.result.withIndex + +```jsonnet +SpecialValueMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn SpecialValueMap.options.result.withText + +```jsonnet +SpecialValueMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj ValueMap + + +#### fn ValueMap.withOptions + +```jsonnet +ValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withOptionsMixin + +```jsonnet +ValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withType + +```jsonnet +ValueMap.withType() +``` + + diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stat/standardOptions/override.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stateTimeline/standardOptions/override.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stat/standardOptions/override.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stateTimeline/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stateTimeline/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stateTimeline/standardOptions/threshold/step.md new file mode 100644 index 0000000..62c49ab --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/stateTimeline/standardOptions/threshold/step.md @@ -0,0 +1,34 @@ +# threshold.step + + + +## Index + +* [`fn withColor(value)`](#fn-withcolor) +* [`fn withValue(value)`](#fn-withvalue) + +## Fields + +### fn withColor + +```jsonnet +withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. +### fn withValue + +```jsonnet +withValue(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. +Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/statusHistory/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/statusHistory/index.md similarity index 93% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/statusHistory/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/statusHistory/index.md index a96e3a8..c790ce3 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/statusHistory/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/statusHistory/index.md @@ -32,18 +32,18 @@ grafonnet.panel.statusHistory * [`fn withLegend(value)`](#fn-optionswithlegend) * [`fn withLegendMixin(value)`](#fn-optionswithlegendmixin) * [`fn withRowHeight(value=0.9)`](#fn-optionswithrowheight) - * [`fn withShowValue(value)`](#fn-optionswithshowvalue) + * [`fn withShowValue(value="auto")`](#fn-optionswithshowvalue) * [`fn withTimezone(value)`](#fn-optionswithtimezone) * [`fn withTimezoneMixin(value)`](#fn-optionswithtimezonemixin) * [`fn withTooltip(value)`](#fn-optionswithtooltip) * [`fn withTooltipMixin(value)`](#fn-optionswithtooltipmixin) * [`obj legend`](#obj-optionslegend) * [`fn withAsTable(value=true)`](#fn-optionslegendwithastable) - * [`fn withCalcs(value)`](#fn-optionslegendwithcalcs) - * [`fn withCalcsMixin(value)`](#fn-optionslegendwithcalcsmixin) - * [`fn withDisplayMode(value)`](#fn-optionslegendwithdisplaymode) + * [`fn withCalcs(value=[])`](#fn-optionslegendwithcalcs) + * [`fn withCalcsMixin(value=[])`](#fn-optionslegendwithcalcsmixin) + * [`fn withDisplayMode(value="list")`](#fn-optionslegendwithdisplaymode) * [`fn withIsVisible(value=true)`](#fn-optionslegendwithisvisible) - * [`fn withPlacement(value)`](#fn-optionslegendwithplacement) + * [`fn withPlacement(value="bottom")`](#fn-optionslegendwithplacement) * [`fn withShowLegend(value=true)`](#fn-optionslegendwithshowlegend) * [`fn withSortBy(value)`](#fn-optionslegendwithsortby) * [`fn withSortDesc(value=true)`](#fn-optionslegendwithsortdesc) @@ -58,6 +58,7 @@ grafonnet.panel.statusHistory * [`fn withGridPos(h="null", w="null", x="null", y="null")`](#fn-paneloptionswithgridpos) * [`fn withLinks(value)`](#fn-paneloptionswithlinks) * [`fn withLinksMixin(value)`](#fn-paneloptionswithlinksmixin) + * [`fn withMaxPerRow(value)`](#fn-paneloptionswithmaxperrow) * [`fn withRepeat(value)`](#fn-paneloptionswithrepeat) * [`fn withRepeatDirection(value="h")`](#fn-paneloptionswithrepeatdirection) * [`fn withTitle(value)`](#fn-paneloptionswithtitle) @@ -65,8 +66,10 @@ grafonnet.panel.statusHistory * [`obj queryOptions`](#obj-queryoptions) * [`fn withDatasource(type, uid)`](#fn-queryoptionswithdatasource) * [`fn withDatasourceMixin(value)`](#fn-queryoptionswithdatasourcemixin) + * [`fn withHideTimeOverride(value=true)`](#fn-queryoptionswithhidetimeoverride) * [`fn withInterval(value)`](#fn-queryoptionswithinterval) * [`fn withMaxDataPoints(value)`](#fn-queryoptionswithmaxdatapoints) + * [`fn withQueryCachingTTL(value)`](#fn-queryoptionswithquerycachingttl) * [`fn withTargets(value)`](#fn-queryoptionswithtargets) * [`fn withTargetsMixin(value)`](#fn-queryoptionswithtargetsmixin) * [`fn withTimeFrom(value)`](#fn-queryoptionswithtimefrom) @@ -281,14 +284,16 @@ Set the height of the rows #### fn options.withShowValue ```jsonnet -options.withShowValue(value) +options.withShowValue(value="auto") ``` PARAMETERS: * **value** (`string`) + - default value: `"auto"` + - valid values: `"auto"`, `"never"`, `"always"` -Show values on the columns +TODO docs #### fn options.withTimezone ```jsonnet @@ -351,34 +356,37 @@ PARAMETERS: ##### fn options.legend.withCalcs ```jsonnet -options.legend.withCalcs(value) +options.legend.withCalcs(value=[]) ``` PARAMETERS: * **value** (`array`) + - default value: `[]` ##### fn options.legend.withCalcsMixin ```jsonnet -options.legend.withCalcsMixin(value) +options.legend.withCalcsMixin(value=[]) ``` PARAMETERS: * **value** (`array`) + - default value: `[]` ##### fn options.legend.withDisplayMode ```jsonnet -options.legend.withDisplayMode(value) +options.legend.withDisplayMode(value="list") ``` PARAMETERS: * **value** (`string`) + - default value: `"list"` - valid values: `"list"`, `"table"`, `"hidden"` TODO docs @@ -398,12 +406,13 @@ PARAMETERS: ##### fn options.legend.withPlacement ```jsonnet -options.legend.withPlacement(value) +options.legend.withPlacement(value="bottom") ``` PARAMETERS: * **value** (`string`) + - default value: `"bottom"` - valid values: `"bottom"`, `"right"` TODO docs @@ -559,6 +568,18 @@ PARAMETERS: * **value** (`array`) Panel links. +#### fn panelOptions.withMaxPerRow + +```jsonnet +panelOptions.withMaxPerRow(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Option for repeated panels that controls max items per row +Only relevant for horizontally repeated panels #### fn panelOptions.withRepeat ```jsonnet @@ -636,6 +657,18 @@ PARAMETERS: * **value** (`object`) Ref to a DataSource instance +#### fn queryOptions.withHideTimeOverride + +```jsonnet +queryOptions.withHideTimeOverride(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Controls if the timeFrom or timeShift overrides are shown in the panel header #### fn queryOptions.withInterval ```jsonnet @@ -661,6 +694,17 @@ PARAMETERS: * **value** (`number`) The maximum number of data points that the panel queries are retrieving. +#### fn queryOptions.withQueryCachingTTL + +```jsonnet +queryOptions.withQueryCachingTTL(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Overrides the data source configured time-to-live for a query cache item in milliseconds #### fn queryOptions.withTargets ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stateTimeline/panelOptions/link.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/statusHistory/panelOptions/link.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stateTimeline/panelOptions/link.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/statusHistory/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/statusHistory/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/statusHistory/queryOptions/transformation.md new file mode 100644 index 0000000..69dda9a --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/statusHistory/queryOptions/transformation.md @@ -0,0 +1,140 @@ +# transformation + + + +## Index + +* [`fn withDisabled(value=true)`](#fn-withdisabled) +* [`fn withFilter(value)`](#fn-withfilter) +* [`fn withFilterMixin(value)`](#fn-withfiltermixin) +* [`fn withId(value)`](#fn-withid) +* [`fn withOptions(value)`](#fn-withoptions) +* [`fn withOptionsMixin(value)`](#fn-withoptionsmixin) +* [`fn withTopic(value)`](#fn-withtopic) +* [`obj filter`](#obj-filter) + * [`fn withId(value="")`](#fn-filterwithid) + * [`fn withOptions(value)`](#fn-filterwithoptions) + * [`fn withOptionsMixin(value)`](#fn-filterwithoptionsmixin) + +## Fields + +### fn withDisabled + +```jsonnet +withDisabled(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Disabled transformations are skipped +### fn withFilter + +```jsonnet +withFilter(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withFilterMixin + +```jsonnet +withFilterMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withId + +```jsonnet +withId(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Unique identifier of transformer +### fn withOptions + +```jsonnet +withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withOptionsMixin + +```jsonnet +withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withTopic + +```jsonnet +withTopic(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"series"`, `"annotations"`, `"alertStates"` + +Where to pull DataFrames from as input to transformation +### obj filter + + +#### fn filter.withId + +```jsonnet +filter.withId(value="") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `""` + +The matcher id. This is used to find the matcher implementation from registry. +#### fn filter.withOptions + +```jsonnet +filter.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. +#### fn filter.withOptionsMixin + +```jsonnet +filter.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/statusHistory/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/statusHistory/standardOptions/mapping.md new file mode 100644 index 0000000..196c769 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/statusHistory/standardOptions/mapping.md @@ -0,0 +1,445 @@ +# mapping + + + +## Index + +* [`obj RangeMap`](#obj-rangemap) + * [`fn withOptions(value)`](#fn-rangemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) + * [`fn withType()`](#fn-rangemapwithtype) + * [`obj options`](#obj-rangemapoptions) + * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) + * [`fn withResult(value)`](#fn-rangemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) + * [`fn withTo(value)`](#fn-rangemapoptionswithto) + * [`obj result`](#obj-rangemapoptionsresult) + * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) +* [`obj RegexMap`](#obj-regexmap) + * [`fn withOptions(value)`](#fn-regexmapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) + * [`fn withType()`](#fn-regexmapwithtype) + * [`obj options`](#obj-regexmapoptions) + * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) + * [`fn withResult(value)`](#fn-regexmapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) + * [`obj result`](#obj-regexmapoptionsresult) + * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) + * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) +* [`obj SpecialValueMap`](#obj-specialvaluemap) + * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) + * [`fn withType()`](#fn-specialvaluemapwithtype) + * [`obj options`](#obj-specialvaluemapoptions) + * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) + * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) + * [`obj result`](#obj-specialvaluemapoptionsresult) + * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) +* [`obj ValueMap`](#obj-valuemap) + * [`fn withOptions(value)`](#fn-valuemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) + * [`fn withType()`](#fn-valuemapwithtype) + +## Fields + +### obj RangeMap + + +#### fn RangeMap.withOptions + +```jsonnet +RangeMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withOptionsMixin + +```jsonnet +RangeMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withType + +```jsonnet +RangeMap.withType() +``` + + + +#### obj RangeMap.options + + +##### fn RangeMap.options.withFrom + +```jsonnet +RangeMap.options.withFrom(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Min value of the range. It can be null which means -Infinity +##### fn RangeMap.options.withResult + +```jsonnet +RangeMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withResultMixin + +```jsonnet +RangeMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withTo + +```jsonnet +RangeMap.options.withTo(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Max value of the range. It can be null which means +Infinity +##### obj RangeMap.options.result + + +###### fn RangeMap.options.result.withColor + +```jsonnet +RangeMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RangeMap.options.result.withIcon + +```jsonnet +RangeMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RangeMap.options.result.withIndex + +```jsonnet +RangeMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RangeMap.options.result.withText + +```jsonnet +RangeMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj RegexMap + + +#### fn RegexMap.withOptions + +```jsonnet +RegexMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withOptionsMixin + +```jsonnet +RegexMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withType + +```jsonnet +RegexMap.withType() +``` + + + +#### obj RegexMap.options + + +##### fn RegexMap.options.withPattern + +```jsonnet +RegexMap.options.withPattern(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Regular expression to match against +##### fn RegexMap.options.withResult + +```jsonnet +RegexMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RegexMap.options.withResultMixin + +```jsonnet +RegexMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj RegexMap.options.result + + +###### fn RegexMap.options.result.withColor + +```jsonnet +RegexMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RegexMap.options.result.withIcon + +```jsonnet +RegexMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RegexMap.options.result.withIndex + +```jsonnet +RegexMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RegexMap.options.result.withText + +```jsonnet +RegexMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj SpecialValueMap + + +#### fn SpecialValueMap.withOptions + +```jsonnet +SpecialValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withOptionsMixin + +```jsonnet +SpecialValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withType + +```jsonnet +SpecialValueMap.withType() +``` + + + +#### obj SpecialValueMap.options + + +##### fn SpecialValueMap.options.withMatch + +```jsonnet +SpecialValueMap.options.withMatch(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` + +Special value types supported by the `SpecialValueMap` +##### fn SpecialValueMap.options.withResult + +```jsonnet +SpecialValueMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn SpecialValueMap.options.withResultMixin + +```jsonnet +SpecialValueMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj SpecialValueMap.options.result + + +###### fn SpecialValueMap.options.result.withColor + +```jsonnet +SpecialValueMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn SpecialValueMap.options.result.withIcon + +```jsonnet +SpecialValueMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn SpecialValueMap.options.result.withIndex + +```jsonnet +SpecialValueMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn SpecialValueMap.options.result.withText + +```jsonnet +SpecialValueMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj ValueMap + + +#### fn ValueMap.withOptions + +```jsonnet +ValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withOptionsMixin + +```jsonnet +ValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withType + +```jsonnet +ValueMap.withType() +``` + + diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stateTimeline/standardOptions/override.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/statusHistory/standardOptions/override.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/stateTimeline/standardOptions/override.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/statusHistory/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/statusHistory/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/statusHistory/standardOptions/threshold/step.md new file mode 100644 index 0000000..62c49ab --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/statusHistory/standardOptions/threshold/step.md @@ -0,0 +1,34 @@ +# threshold.step + + + +## Index + +* [`fn withColor(value)`](#fn-withcolor) +* [`fn withValue(value)`](#fn-withvalue) + +## Fields + +### fn withColor + +```jsonnet +withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. +### fn withValue + +```jsonnet +withValue(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. +Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/table/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/table/index.md similarity index 89% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/table/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/table/index.md index f515f0a..ff9c7f2 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/table/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/table/index.md @@ -17,7 +17,7 @@ grafonnet.panel.table * [`obj fieldConfig`](#obj-fieldconfig) * [`obj defaults`](#obj-fieldconfigdefaults) * [`obj custom`](#obj-fieldconfigdefaultscustom) - * [`fn withAlign(value)`](#fn-fieldconfigdefaultscustomwithalign) + * [`fn withAlign(value="auto")`](#fn-fieldconfigdefaultscustomwithalign) * [`fn withCellOptions(value)`](#fn-fieldconfigdefaultscustomwithcelloptions) * [`fn withCellOptionsMixin(value)`](#fn-fieldconfigdefaultscustomwithcelloptionsmixin) * [`fn withDisplayMode(value)`](#fn-fieldconfigdefaultscustomwithdisplaymode) @@ -45,22 +45,26 @@ grafonnet.panel.table * [`fn withTableSparklineCellOptions(value)`](#fn-fieldconfigdefaultscustomcelloptionswithtablesparklinecelloptions) * [`fn withTableSparklineCellOptionsMixin(value)`](#fn-fieldconfigdefaultscustomcelloptionswithtablesparklinecelloptionsmixin) * [`obj TableAutoCellOptions`](#obj-fieldconfigdefaultscustomcelloptionstableautocelloptions) - * [`fn withType(value)`](#fn-fieldconfigdefaultscustomcelloptionstableautocelloptionswithtype) + * [`fn withType()`](#fn-fieldconfigdefaultscustomcelloptionstableautocelloptionswithtype) + * [`fn withWrapText(value=true)`](#fn-fieldconfigdefaultscustomcelloptionstableautocelloptionswithwraptext) * [`obj TableBarGaugeCellOptions`](#obj-fieldconfigdefaultscustomcelloptionstablebargaugecelloptions) * [`fn withMode(value)`](#fn-fieldconfigdefaultscustomcelloptionstablebargaugecelloptionswithmode) - * [`fn withType(value)`](#fn-fieldconfigdefaultscustomcelloptionstablebargaugecelloptionswithtype) + * [`fn withType()`](#fn-fieldconfigdefaultscustomcelloptionstablebargaugecelloptionswithtype) * [`fn withValueDisplayMode(value)`](#fn-fieldconfigdefaultscustomcelloptionstablebargaugecelloptionswithvaluedisplaymode) * [`obj TableColorTextCellOptions`](#obj-fieldconfigdefaultscustomcelloptionstablecolortextcelloptions) - * [`fn withType(value)`](#fn-fieldconfigdefaultscustomcelloptionstablecolortextcelloptionswithtype) + * [`fn withType()`](#fn-fieldconfigdefaultscustomcelloptionstablecolortextcelloptionswithtype) + * [`fn withWrapText(value=true)`](#fn-fieldconfigdefaultscustomcelloptionstablecolortextcelloptionswithwraptext) * [`obj TableColoredBackgroundCellOptions`](#obj-fieldconfigdefaultscustomcelloptionstablecoloredbackgroundcelloptions) + * [`fn withApplyToRow(value=true)`](#fn-fieldconfigdefaultscustomcelloptionstablecoloredbackgroundcelloptionswithapplytorow) * [`fn withMode(value)`](#fn-fieldconfigdefaultscustomcelloptionstablecoloredbackgroundcelloptionswithmode) - * [`fn withType(value)`](#fn-fieldconfigdefaultscustomcelloptionstablecoloredbackgroundcelloptionswithtype) + * [`fn withType()`](#fn-fieldconfigdefaultscustomcelloptionstablecoloredbackgroundcelloptionswithtype) + * [`fn withWrapText(value=true)`](#fn-fieldconfigdefaultscustomcelloptionstablecoloredbackgroundcelloptionswithwraptext) * [`obj TableDataLinksCellOptions`](#obj-fieldconfigdefaultscustomcelloptionstabledatalinkscelloptions) - * [`fn withType(value)`](#fn-fieldconfigdefaultscustomcelloptionstabledatalinkscelloptionswithtype) + * [`fn withType()`](#fn-fieldconfigdefaultscustomcelloptionstabledatalinkscelloptionswithtype) * [`obj TableImageCellOptions`](#obj-fieldconfigdefaultscustomcelloptionstableimagecelloptions) - * [`fn withType(value)`](#fn-fieldconfigdefaultscustomcelloptionstableimagecelloptionswithtype) + * [`fn withType()`](#fn-fieldconfigdefaultscustomcelloptionstableimagecelloptionswithtype) * [`obj TableJsonViewCellOptions`](#obj-fieldconfigdefaultscustomcelloptionstablejsonviewcelloptions) - * [`fn withType(value)`](#fn-fieldconfigdefaultscustomcelloptionstablejsonviewcelloptionswithtype) + * [`fn withType()`](#fn-fieldconfigdefaultscustomcelloptionstablejsonviewcelloptionswithtype) * [`obj TableSparklineCellOptions`](#obj-fieldconfigdefaultscustomcelloptionstablesparklinecelloptions) * [`fn withAxisBorderShow(value=true)`](#fn-fieldconfigdefaultscustomcelloptionstablesparklinecelloptionswithaxisbordershow) * [`fn withAxisCenteredZero(value=true)`](#fn-fieldconfigdefaultscustomcelloptionstablesparklinecelloptionswithaxiscenteredzero) @@ -82,6 +86,8 @@ grafonnet.panel.table * [`fn withHideFrom(value)`](#fn-fieldconfigdefaultscustomcelloptionstablesparklinecelloptionswithhidefrom) * [`fn withHideFromMixin(value)`](#fn-fieldconfigdefaultscustomcelloptionstablesparklinecelloptionswithhidefrommixin) * [`fn withHideValue(value=true)`](#fn-fieldconfigdefaultscustomcelloptionstablesparklinecelloptionswithhidevalue) + * [`fn withInsertNulls(value)`](#fn-fieldconfigdefaultscustomcelloptionstablesparklinecelloptionswithinsertnulls) + * [`fn withInsertNullsMixin(value)`](#fn-fieldconfigdefaultscustomcelloptionstablesparklinecelloptionswithinsertnullsmixin) * [`fn withLineColor(value)`](#fn-fieldconfigdefaultscustomcelloptionstablesparklinecelloptionswithlinecolor) * [`fn withLineInterpolation(value)`](#fn-fieldconfigdefaultscustomcelloptionstablesparklinecelloptionswithlineinterpolation) * [`fn withLineStyle(value)`](#fn-fieldconfigdefaultscustomcelloptionstablesparklinecelloptionswithlinestyle) @@ -100,7 +106,7 @@ grafonnet.panel.table * [`fn withThresholdsStyle(value)`](#fn-fieldconfigdefaultscustomcelloptionstablesparklinecelloptionswiththresholdsstyle) * [`fn withThresholdsStyleMixin(value)`](#fn-fieldconfigdefaultscustomcelloptionstablesparklinecelloptionswiththresholdsstylemixin) * [`fn withTransform(value)`](#fn-fieldconfigdefaultscustomcelloptionstablesparklinecelloptionswithtransform) - * [`fn withType(value)`](#fn-fieldconfigdefaultscustomcelloptionstablesparklinecelloptionswithtype) + * [`fn withType()`](#fn-fieldconfigdefaultscustomcelloptionstablesparklinecelloptionswithtype) * [`obj hideFrom`](#obj-fieldconfigdefaultscustomcelloptionstablesparklinecelloptionshidefrom) * [`fn withLegend(value=true)`](#fn-fieldconfigdefaultscustomcelloptionstablesparklinecelloptionshidefromwithlegend) * [`fn withTooltip(value=true)`](#fn-fieldconfigdefaultscustomcelloptionstablesparklinecelloptionshidefromwithtooltip) @@ -122,30 +128,28 @@ grafonnet.panel.table * [`fn withName(value)`](#fn-librarypanelwithname) * [`fn withUid(value)`](#fn-librarypanelwithuid) * [`obj options`](#obj-options) - * [`fn withCellHeight(value)`](#fn-optionswithcellheight) - * [`fn withFooter(value={"countRows": false,"reducer": [],"show": false})`](#fn-optionswithfooter) - * [`fn withFooterMixin(value={"countRows": false,"reducer": [],"show": false})`](#fn-optionswithfootermixin) + * [`fn withCellHeight(value="sm")`](#fn-optionswithcellheight) + * [`fn withFooter(value={"countRows": false,"reducer": null,"show": false})`](#fn-optionswithfooter) + * [`fn withFooterMixin(value={"countRows": false,"reducer": null,"show": false})`](#fn-optionswithfootermixin) * [`fn withFrameIndex(value=0)`](#fn-optionswithframeindex) * [`fn withShowHeader(value=true)`](#fn-optionswithshowheader) * [`fn withShowTypeIcons(value=true)`](#fn-optionswithshowtypeicons) * [`fn withSortBy(value)`](#fn-optionswithsortby) * [`fn withSortByMixin(value)`](#fn-optionswithsortbymixin) * [`obj footer`](#obj-optionsfooter) - * [`fn withTableFooterOptions(value)`](#fn-optionsfooterwithtablefooteroptions) - * [`fn withTableFooterOptionsMixin(value)`](#fn-optionsfooterwithtablefooteroptionsmixin) - * [`obj TableFooterOptions`](#obj-optionsfootertablefooteroptions) - * [`fn withCountRows(value=true)`](#fn-optionsfootertablefooteroptionswithcountrows) - * [`fn withEnablePagination(value=true)`](#fn-optionsfootertablefooteroptionswithenablepagination) - * [`fn withFields(value)`](#fn-optionsfootertablefooteroptionswithfields) - * [`fn withFieldsMixin(value)`](#fn-optionsfootertablefooteroptionswithfieldsmixin) - * [`fn withReducer(value)`](#fn-optionsfootertablefooteroptionswithreducer) - * [`fn withReducerMixin(value)`](#fn-optionsfootertablefooteroptionswithreducermixin) - * [`fn withShow(value=true)`](#fn-optionsfootertablefooteroptionswithshow) + * [`fn withCountRows(value=true)`](#fn-optionsfooterwithcountrows) + * [`fn withEnablePagination(value=true)`](#fn-optionsfooterwithenablepagination) + * [`fn withFields(value)`](#fn-optionsfooterwithfields) + * [`fn withFieldsMixin(value)`](#fn-optionsfooterwithfieldsmixin) + * [`fn withReducer(value)`](#fn-optionsfooterwithreducer) + * [`fn withReducerMixin(value)`](#fn-optionsfooterwithreducermixin) + * [`fn withShow(value=true)`](#fn-optionsfooterwithshow) * [`obj panelOptions`](#obj-paneloptions) * [`fn withDescription(value)`](#fn-paneloptionswithdescription) * [`fn withGridPos(h="null", w="null", x="null", y="null")`](#fn-paneloptionswithgridpos) * [`fn withLinks(value)`](#fn-paneloptionswithlinks) * [`fn withLinksMixin(value)`](#fn-paneloptionswithlinksmixin) + * [`fn withMaxPerRow(value)`](#fn-paneloptionswithmaxperrow) * [`fn withRepeat(value)`](#fn-paneloptionswithrepeat) * [`fn withRepeatDirection(value="h")`](#fn-paneloptionswithrepeatdirection) * [`fn withTitle(value)`](#fn-paneloptionswithtitle) @@ -153,8 +157,10 @@ grafonnet.panel.table * [`obj queryOptions`](#obj-queryoptions) * [`fn withDatasource(type, uid)`](#fn-queryoptionswithdatasource) * [`fn withDatasourceMixin(value)`](#fn-queryoptionswithdatasourcemixin) + * [`fn withHideTimeOverride(value=true)`](#fn-queryoptionswithhidetimeoverride) * [`fn withInterval(value)`](#fn-queryoptionswithinterval) * [`fn withMaxDataPoints(value)`](#fn-queryoptionswithmaxdatapoints) + * [`fn withQueryCachingTTL(value)`](#fn-queryoptionswithquerycachingttl) * [`fn withTargets(value)`](#fn-queryoptionswithtargets) * [`fn withTargetsMixin(value)`](#fn-queryoptionswithtargetsmixin) * [`fn withTimeFrom(value)`](#fn-queryoptionswithtimefrom) @@ -210,12 +216,13 @@ Creates a new table panel with a title. ###### fn fieldConfig.defaults.custom.withAlign ```jsonnet -fieldConfig.defaults.custom.withAlign(value) +fieldConfig.defaults.custom.withAlign(value="auto") ``` PARAMETERS: * **value** (`string`) + - default value: `"auto"` - valid values: `"auto"`, `"left"`, `"right"`, `"center"` TODO -- should not be table specific! @@ -282,7 +289,7 @@ PARAMETERS: * **value** (`boolean`) - default value: `true` - +?? default is missing or false ?? ###### fn fieldConfig.defaults.custom.withHideHeader ```jsonnet @@ -514,12 +521,21 @@ Sparkline cell options ######## fn fieldConfig.defaults.custom.cellOptions.TableAutoCellOptions.withType ```jsonnet -fieldConfig.defaults.custom.cellOptions.TableAutoCellOptions.withType(value) +fieldConfig.defaults.custom.cellOptions.TableAutoCellOptions.withType() +``` + + + +######## fn fieldConfig.defaults.custom.cellOptions.TableAutoCellOptions.withWrapText + +```jsonnet +fieldConfig.defaults.custom.cellOptions.TableAutoCellOptions.withWrapText(value=true) ``` PARAMETERS: -* **value** (`string`) +* **value** (`boolean`) + - default value: `true` ####### obj fieldConfig.defaults.custom.cellOptions.TableBarGaugeCellOptions @@ -541,12 +557,9 @@ for the bar gauge component of Grafana UI ######## fn fieldConfig.defaults.custom.cellOptions.TableBarGaugeCellOptions.withType ```jsonnet -fieldConfig.defaults.custom.cellOptions.TableBarGaugeCellOptions.withType(value) +fieldConfig.defaults.custom.cellOptions.TableBarGaugeCellOptions.withType() ``` -PARAMETERS: - -* **value** (`string`) ######## fn fieldConfig.defaults.custom.cellOptions.TableBarGaugeCellOptions.withValueDisplayMode @@ -567,17 +580,38 @@ Allows for the table cell gauge display type to set the gauge mode. ######## fn fieldConfig.defaults.custom.cellOptions.TableColorTextCellOptions.withType ```jsonnet -fieldConfig.defaults.custom.cellOptions.TableColorTextCellOptions.withType(value) +fieldConfig.defaults.custom.cellOptions.TableColorTextCellOptions.withType() +``` + + + +######## fn fieldConfig.defaults.custom.cellOptions.TableColorTextCellOptions.withWrapText + +```jsonnet +fieldConfig.defaults.custom.cellOptions.TableColorTextCellOptions.withWrapText(value=true) ``` PARAMETERS: -* **value** (`string`) +* **value** (`boolean`) + - default value: `true` ####### obj fieldConfig.defaults.custom.cellOptions.TableColoredBackgroundCellOptions +######## fn fieldConfig.defaults.custom.cellOptions.TableColoredBackgroundCellOptions.withApplyToRow + +```jsonnet +fieldConfig.defaults.custom.cellOptions.TableColoredBackgroundCellOptions.withApplyToRow(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + + ######## fn fieldConfig.defaults.custom.cellOptions.TableColoredBackgroundCellOptions.withMode ```jsonnet @@ -595,12 +629,21 @@ or a gradient. ######## fn fieldConfig.defaults.custom.cellOptions.TableColoredBackgroundCellOptions.withType ```jsonnet -fieldConfig.defaults.custom.cellOptions.TableColoredBackgroundCellOptions.withType(value) +fieldConfig.defaults.custom.cellOptions.TableColoredBackgroundCellOptions.withType() +``` + + + +######## fn fieldConfig.defaults.custom.cellOptions.TableColoredBackgroundCellOptions.withWrapText + +```jsonnet +fieldConfig.defaults.custom.cellOptions.TableColoredBackgroundCellOptions.withWrapText(value=true) ``` PARAMETERS: -* **value** (`string`) +* **value** (`boolean`) + - default value: `true` ####### obj fieldConfig.defaults.custom.cellOptions.TableDataLinksCellOptions @@ -609,12 +652,9 @@ PARAMETERS: ######## fn fieldConfig.defaults.custom.cellOptions.TableDataLinksCellOptions.withType ```jsonnet -fieldConfig.defaults.custom.cellOptions.TableDataLinksCellOptions.withType(value) +fieldConfig.defaults.custom.cellOptions.TableDataLinksCellOptions.withType() ``` -PARAMETERS: - -* **value** (`string`) ####### obj fieldConfig.defaults.custom.cellOptions.TableImageCellOptions @@ -623,12 +663,9 @@ PARAMETERS: ######## fn fieldConfig.defaults.custom.cellOptions.TableImageCellOptions.withType ```jsonnet -fieldConfig.defaults.custom.cellOptions.TableImageCellOptions.withType(value) +fieldConfig.defaults.custom.cellOptions.TableImageCellOptions.withType() ``` -PARAMETERS: - -* **value** (`string`) ####### obj fieldConfig.defaults.custom.cellOptions.TableJsonViewCellOptions @@ -637,12 +674,9 @@ PARAMETERS: ######## fn fieldConfig.defaults.custom.cellOptions.TableJsonViewCellOptions.withType ```jsonnet -fieldConfig.defaults.custom.cellOptions.TableJsonViewCellOptions.withType(value) +fieldConfig.defaults.custom.cellOptions.TableJsonViewCellOptions.withType() ``` -PARAMETERS: - -* **value** (`string`) ####### obj fieldConfig.defaults.custom.cellOptions.TableSparklineCellOptions @@ -760,7 +794,7 @@ fieldConfig.defaults.custom.cellOptions.TableSparklineCellOptions.withBarAlignme PARAMETERS: -* **value** (`integer`) +* **value** (`string`) - valid values: `-1`, `0`, `1` TODO docs @@ -877,6 +911,28 @@ PARAMETERS: - default value: `true` +######## fn fieldConfig.defaults.custom.cellOptions.TableSparklineCellOptions.withInsertNulls + +```jsonnet +fieldConfig.defaults.custom.cellOptions.TableSparklineCellOptions.withInsertNulls(value) +``` + +PARAMETERS: + +* **value** (`boolean`,`number`) + + +######## fn fieldConfig.defaults.custom.cellOptions.TableSparklineCellOptions.withInsertNullsMixin + +```jsonnet +fieldConfig.defaults.custom.cellOptions.TableSparklineCellOptions.withInsertNullsMixin(value) +``` + +PARAMETERS: + +* **value** (`boolean`,`number`) + + ######## fn fieldConfig.defaults.custom.cellOptions.TableSparklineCellOptions.withLineColor ```jsonnet @@ -1085,12 +1141,9 @@ TODO docs ######## fn fieldConfig.defaults.custom.cellOptions.TableSparklineCellOptions.withType ```jsonnet -fieldConfig.defaults.custom.cellOptions.TableSparklineCellOptions.withType(value) +fieldConfig.defaults.custom.cellOptions.TableSparklineCellOptions.withType() ``` -PARAMETERS: - -* **value** (`string`) ######## obj fieldConfig.defaults.custom.cellOptions.TableSparklineCellOptions.hideFrom @@ -1278,38 +1331,40 @@ Library panel uid #### fn options.withCellHeight ```jsonnet -options.withCellHeight(value) +options.withCellHeight(value="sm") ``` PARAMETERS: * **value** (`string`) + - default value: `"sm"` + - valid values: `"sm"`, `"md"`, `"lg"`, `"auto"` -Controls the height of the rows +Height of a table cell #### fn options.withFooter ```jsonnet -options.withFooter(value={"countRows": false,"reducer": [],"show": false}) +options.withFooter(value={"countRows": false,"reducer": null,"show": false}) ``` PARAMETERS: * **value** (`object`) - - default value: `{"countRows": false,"reducer": [],"show": false}` + - default value: `{"countRows": false,"reducer": null,"show": false}` -Controls footer options +Footer options #### fn options.withFooterMixin ```jsonnet -options.withFooterMixin(value={"countRows": false,"reducer": [],"show": false}) +options.withFooterMixin(value={"countRows": false,"reducer": null,"show": false}) ``` PARAMETERS: * **value** (`object`) - - default value: `{"countRows": false,"reducer": [],"show": false}` + - default value: `{"countRows": false,"reducer": null,"show": false}` -Controls footer options +Footer options #### fn options.withFrameIndex ```jsonnet @@ -1371,35 +1426,10 @@ Used to control row sorting #### obj options.footer -##### fn options.footer.withTableFooterOptions - -```jsonnet -options.footer.withTableFooterOptions(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Footer options -##### fn options.footer.withTableFooterOptionsMixin - -```jsonnet -options.footer.withTableFooterOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Footer options -##### obj options.footer.TableFooterOptions - - -###### fn options.footer.TableFooterOptions.withCountRows +##### fn options.footer.withCountRows ```jsonnet -options.footer.TableFooterOptions.withCountRows(value=true) +options.footer.withCountRows(value=true) ``` PARAMETERS: @@ -1408,10 +1438,10 @@ PARAMETERS: - default value: `true` -###### fn options.footer.TableFooterOptions.withEnablePagination +##### fn options.footer.withEnablePagination ```jsonnet -options.footer.TableFooterOptions.withEnablePagination(value=true) +options.footer.withEnablePagination(value=true) ``` PARAMETERS: @@ -1420,10 +1450,10 @@ PARAMETERS: - default value: `true` -###### fn options.footer.TableFooterOptions.withFields +##### fn options.footer.withFields ```jsonnet -options.footer.TableFooterOptions.withFields(value) +options.footer.withFields(value) ``` PARAMETERS: @@ -1431,10 +1461,10 @@ PARAMETERS: * **value** (`array`) -###### fn options.footer.TableFooterOptions.withFieldsMixin +##### fn options.footer.withFieldsMixin ```jsonnet -options.footer.TableFooterOptions.withFieldsMixin(value) +options.footer.withFieldsMixin(value) ``` PARAMETERS: @@ -1442,32 +1472,32 @@ PARAMETERS: * **value** (`array`) -###### fn options.footer.TableFooterOptions.withReducer +##### fn options.footer.withReducer ```jsonnet -options.footer.TableFooterOptions.withReducer(value) +options.footer.withReducer(value) ``` PARAMETERS: * **value** (`array`) - -###### fn options.footer.TableFooterOptions.withReducerMixin +actually 1 value +##### fn options.footer.withReducerMixin ```jsonnet -options.footer.TableFooterOptions.withReducerMixin(value) +options.footer.withReducerMixin(value) ``` PARAMETERS: * **value** (`array`) - -###### fn options.footer.TableFooterOptions.withShow +actually 1 value +##### fn options.footer.withShow ```jsonnet -options.footer.TableFooterOptions.withShow(value=true) +options.footer.withShow(value=true) ``` PARAMETERS: @@ -1533,6 +1563,18 @@ PARAMETERS: * **value** (`array`) Panel links. +#### fn panelOptions.withMaxPerRow + +```jsonnet +panelOptions.withMaxPerRow(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Option for repeated panels that controls max items per row +Only relevant for horizontally repeated panels #### fn panelOptions.withRepeat ```jsonnet @@ -1610,6 +1652,18 @@ PARAMETERS: * **value** (`object`) Ref to a DataSource instance +#### fn queryOptions.withHideTimeOverride + +```jsonnet +queryOptions.withHideTimeOverride(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Controls if the timeFrom or timeShift overrides are shown in the panel header #### fn queryOptions.withInterval ```jsonnet @@ -1635,6 +1689,17 @@ PARAMETERS: * **value** (`number`) The maximum number of data points that the panel queries are retrieving. +#### fn queryOptions.withQueryCachingTTL + +```jsonnet +queryOptions.withQueryCachingTTL(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Overrides the data source configured time-to-live for a query cache item in milliseconds #### fn queryOptions.withTargets ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/table/options/sortBy.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/table/options/sortBy.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/table/options/sortBy.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/table/options/sortBy.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/statusHistory/panelOptions/link.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/table/panelOptions/link.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/statusHistory/panelOptions/link.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/table/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/table/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/table/queryOptions/transformation.md new file mode 100644 index 0000000..69dda9a --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/table/queryOptions/transformation.md @@ -0,0 +1,140 @@ +# transformation + + + +## Index + +* [`fn withDisabled(value=true)`](#fn-withdisabled) +* [`fn withFilter(value)`](#fn-withfilter) +* [`fn withFilterMixin(value)`](#fn-withfiltermixin) +* [`fn withId(value)`](#fn-withid) +* [`fn withOptions(value)`](#fn-withoptions) +* [`fn withOptionsMixin(value)`](#fn-withoptionsmixin) +* [`fn withTopic(value)`](#fn-withtopic) +* [`obj filter`](#obj-filter) + * [`fn withId(value="")`](#fn-filterwithid) + * [`fn withOptions(value)`](#fn-filterwithoptions) + * [`fn withOptionsMixin(value)`](#fn-filterwithoptionsmixin) + +## Fields + +### fn withDisabled + +```jsonnet +withDisabled(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Disabled transformations are skipped +### fn withFilter + +```jsonnet +withFilter(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withFilterMixin + +```jsonnet +withFilterMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withId + +```jsonnet +withId(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Unique identifier of transformer +### fn withOptions + +```jsonnet +withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withOptionsMixin + +```jsonnet +withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withTopic + +```jsonnet +withTopic(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"series"`, `"annotations"`, `"alertStates"` + +Where to pull DataFrames from as input to transformation +### obj filter + + +#### fn filter.withId + +```jsonnet +filter.withId(value="") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `""` + +The matcher id. This is used to find the matcher implementation from registry. +#### fn filter.withOptions + +```jsonnet +filter.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. +#### fn filter.withOptionsMixin + +```jsonnet +filter.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/table/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/table/standardOptions/mapping.md new file mode 100644 index 0000000..196c769 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/table/standardOptions/mapping.md @@ -0,0 +1,445 @@ +# mapping + + + +## Index + +* [`obj RangeMap`](#obj-rangemap) + * [`fn withOptions(value)`](#fn-rangemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) + * [`fn withType()`](#fn-rangemapwithtype) + * [`obj options`](#obj-rangemapoptions) + * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) + * [`fn withResult(value)`](#fn-rangemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) + * [`fn withTo(value)`](#fn-rangemapoptionswithto) + * [`obj result`](#obj-rangemapoptionsresult) + * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) +* [`obj RegexMap`](#obj-regexmap) + * [`fn withOptions(value)`](#fn-regexmapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) + * [`fn withType()`](#fn-regexmapwithtype) + * [`obj options`](#obj-regexmapoptions) + * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) + * [`fn withResult(value)`](#fn-regexmapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) + * [`obj result`](#obj-regexmapoptionsresult) + * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) + * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) +* [`obj SpecialValueMap`](#obj-specialvaluemap) + * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) + * [`fn withType()`](#fn-specialvaluemapwithtype) + * [`obj options`](#obj-specialvaluemapoptions) + * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) + * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) + * [`obj result`](#obj-specialvaluemapoptionsresult) + * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) +* [`obj ValueMap`](#obj-valuemap) + * [`fn withOptions(value)`](#fn-valuemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) + * [`fn withType()`](#fn-valuemapwithtype) + +## Fields + +### obj RangeMap + + +#### fn RangeMap.withOptions + +```jsonnet +RangeMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withOptionsMixin + +```jsonnet +RangeMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withType + +```jsonnet +RangeMap.withType() +``` + + + +#### obj RangeMap.options + + +##### fn RangeMap.options.withFrom + +```jsonnet +RangeMap.options.withFrom(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Min value of the range. It can be null which means -Infinity +##### fn RangeMap.options.withResult + +```jsonnet +RangeMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withResultMixin + +```jsonnet +RangeMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withTo + +```jsonnet +RangeMap.options.withTo(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Max value of the range. It can be null which means +Infinity +##### obj RangeMap.options.result + + +###### fn RangeMap.options.result.withColor + +```jsonnet +RangeMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RangeMap.options.result.withIcon + +```jsonnet +RangeMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RangeMap.options.result.withIndex + +```jsonnet +RangeMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RangeMap.options.result.withText + +```jsonnet +RangeMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj RegexMap + + +#### fn RegexMap.withOptions + +```jsonnet +RegexMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withOptionsMixin + +```jsonnet +RegexMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withType + +```jsonnet +RegexMap.withType() +``` + + + +#### obj RegexMap.options + + +##### fn RegexMap.options.withPattern + +```jsonnet +RegexMap.options.withPattern(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Regular expression to match against +##### fn RegexMap.options.withResult + +```jsonnet +RegexMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RegexMap.options.withResultMixin + +```jsonnet +RegexMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj RegexMap.options.result + + +###### fn RegexMap.options.result.withColor + +```jsonnet +RegexMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RegexMap.options.result.withIcon + +```jsonnet +RegexMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RegexMap.options.result.withIndex + +```jsonnet +RegexMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RegexMap.options.result.withText + +```jsonnet +RegexMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj SpecialValueMap + + +#### fn SpecialValueMap.withOptions + +```jsonnet +SpecialValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withOptionsMixin + +```jsonnet +SpecialValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withType + +```jsonnet +SpecialValueMap.withType() +``` + + + +#### obj SpecialValueMap.options + + +##### fn SpecialValueMap.options.withMatch + +```jsonnet +SpecialValueMap.options.withMatch(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` + +Special value types supported by the `SpecialValueMap` +##### fn SpecialValueMap.options.withResult + +```jsonnet +SpecialValueMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn SpecialValueMap.options.withResultMixin + +```jsonnet +SpecialValueMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj SpecialValueMap.options.result + + +###### fn SpecialValueMap.options.result.withColor + +```jsonnet +SpecialValueMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn SpecialValueMap.options.result.withIcon + +```jsonnet +SpecialValueMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn SpecialValueMap.options.result.withIndex + +```jsonnet +SpecialValueMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn SpecialValueMap.options.result.withText + +```jsonnet +SpecialValueMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj ValueMap + + +#### fn ValueMap.withOptions + +```jsonnet +ValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withOptionsMixin + +```jsonnet +ValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withType + +```jsonnet +ValueMap.withType() +``` + + diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/statusHistory/standardOptions/override.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/table/standardOptions/override.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/statusHistory/standardOptions/override.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/table/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/table/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/table/standardOptions/threshold/step.md new file mode 100644 index 0000000..62c49ab --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/table/standardOptions/threshold/step.md @@ -0,0 +1,34 @@ +# threshold.step + + + +## Index + +* [`fn withColor(value)`](#fn-withcolor) +* [`fn withValue(value)`](#fn-withvalue) + +## Fields + +### fn withColor + +```jsonnet +withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. +### fn withValue + +```jsonnet +withValue(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. +Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/text/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/text/index.md similarity index 93% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/text/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/text/index.md index 460aa72..d898bab 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/text/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/text/index.md @@ -20,7 +20,7 @@ grafonnet.panel.text * [`fn withCode(value)`](#fn-optionswithcode) * [`fn withCodeMixin(value)`](#fn-optionswithcodemixin) * [`fn withContent(value="# Title\n\nFor markdown syntax help: [commonmark.org/help](https://commonmark.org/help/)")`](#fn-optionswithcontent) - * [`fn withMode(value)`](#fn-optionswithmode) + * [`fn withMode(value="markdown")`](#fn-optionswithmode) * [`obj code`](#obj-optionscode) * [`fn withLanguage(value="plaintext")`](#fn-optionscodewithlanguage) * [`fn withShowLineNumbers(value=true)`](#fn-optionscodewithshowlinenumbers) @@ -30,6 +30,7 @@ grafonnet.panel.text * [`fn withGridPos(h="null", w="null", x="null", y="null")`](#fn-paneloptionswithgridpos) * [`fn withLinks(value)`](#fn-paneloptionswithlinks) * [`fn withLinksMixin(value)`](#fn-paneloptionswithlinksmixin) + * [`fn withMaxPerRow(value)`](#fn-paneloptionswithmaxperrow) * [`fn withRepeat(value)`](#fn-paneloptionswithrepeat) * [`fn withRepeatDirection(value="h")`](#fn-paneloptionswithrepeatdirection) * [`fn withTitle(value)`](#fn-paneloptionswithtitle) @@ -37,8 +38,10 @@ grafonnet.panel.text * [`obj queryOptions`](#obj-queryoptions) * [`fn withDatasource(type, uid)`](#fn-queryoptionswithdatasource) * [`fn withDatasourceMixin(value)`](#fn-queryoptionswithdatasourcemixin) + * [`fn withHideTimeOverride(value=true)`](#fn-queryoptionswithhidetimeoverride) * [`fn withInterval(value)`](#fn-queryoptionswithinterval) * [`fn withMaxDataPoints(value)`](#fn-queryoptionswithmaxdatapoints) + * [`fn withQueryCachingTTL(value)`](#fn-queryoptionswithquerycachingttl) * [`fn withTargets(value)`](#fn-queryoptionswithtargets) * [`fn withTargetsMixin(value)`](#fn-queryoptionswithtargetsmixin) * [`fn withTimeFrom(value)`](#fn-queryoptionswithtimefrom) @@ -147,12 +150,13 @@ PARAMETERS: #### fn options.withMode ```jsonnet -options.withMode(value) +options.withMode(value="markdown") ``` PARAMETERS: * **value** (`string`) + - default value: `"markdown"` - valid values: `"html"`, `"markdown"`, `"code"` @@ -169,9 +173,9 @@ PARAMETERS: * **value** (`string`) - default value: `"plaintext"` - - valid values: `"plaintext"`, `"yaml"`, `"xml"`, `"typescript"`, `"sql"`, `"go"`, `"markdown"`, `"html"`, `"json"` - + - valid values: `"json"`, `"yaml"`, `"xml"`, `"typescript"`, `"sql"`, `"go"`, `"markdown"`, `"html"`, `"plaintext"` +The language passed to monaco code editor ##### fn options.code.withShowLineNumbers ```jsonnet @@ -253,6 +257,18 @@ PARAMETERS: * **value** (`array`) Panel links. +#### fn panelOptions.withMaxPerRow + +```jsonnet +panelOptions.withMaxPerRow(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Option for repeated panels that controls max items per row +Only relevant for horizontally repeated panels #### fn panelOptions.withRepeat ```jsonnet @@ -330,6 +346,18 @@ PARAMETERS: * **value** (`object`) Ref to a DataSource instance +#### fn queryOptions.withHideTimeOverride + +```jsonnet +queryOptions.withHideTimeOverride(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Controls if the timeFrom or timeShift overrides are shown in the panel header #### fn queryOptions.withInterval ```jsonnet @@ -355,6 +383,17 @@ PARAMETERS: * **value** (`number`) The maximum number of data points that the panel queries are retrieving. +#### fn queryOptions.withQueryCachingTTL + +```jsonnet +queryOptions.withQueryCachingTTL(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Overrides the data source configured time-to-live for a query cache item in milliseconds #### fn queryOptions.withTargets ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/table/panelOptions/link.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/text/panelOptions/link.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/table/panelOptions/link.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/text/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/text/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/text/queryOptions/transformation.md new file mode 100644 index 0000000..69dda9a --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/text/queryOptions/transformation.md @@ -0,0 +1,140 @@ +# transformation + + + +## Index + +* [`fn withDisabled(value=true)`](#fn-withdisabled) +* [`fn withFilter(value)`](#fn-withfilter) +* [`fn withFilterMixin(value)`](#fn-withfiltermixin) +* [`fn withId(value)`](#fn-withid) +* [`fn withOptions(value)`](#fn-withoptions) +* [`fn withOptionsMixin(value)`](#fn-withoptionsmixin) +* [`fn withTopic(value)`](#fn-withtopic) +* [`obj filter`](#obj-filter) + * [`fn withId(value="")`](#fn-filterwithid) + * [`fn withOptions(value)`](#fn-filterwithoptions) + * [`fn withOptionsMixin(value)`](#fn-filterwithoptionsmixin) + +## Fields + +### fn withDisabled + +```jsonnet +withDisabled(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Disabled transformations are skipped +### fn withFilter + +```jsonnet +withFilter(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withFilterMixin + +```jsonnet +withFilterMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withId + +```jsonnet +withId(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Unique identifier of transformer +### fn withOptions + +```jsonnet +withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withOptionsMixin + +```jsonnet +withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withTopic + +```jsonnet +withTopic(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"series"`, `"annotations"`, `"alertStates"` + +Where to pull DataFrames from as input to transformation +### obj filter + + +#### fn filter.withId + +```jsonnet +filter.withId(value="") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `""` + +The matcher id. This is used to find the matcher implementation from registry. +#### fn filter.withOptions + +```jsonnet +filter.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. +#### fn filter.withOptionsMixin + +```jsonnet +filter.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/text/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/text/standardOptions/mapping.md new file mode 100644 index 0000000..196c769 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/text/standardOptions/mapping.md @@ -0,0 +1,445 @@ +# mapping + + + +## Index + +* [`obj RangeMap`](#obj-rangemap) + * [`fn withOptions(value)`](#fn-rangemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) + * [`fn withType()`](#fn-rangemapwithtype) + * [`obj options`](#obj-rangemapoptions) + * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) + * [`fn withResult(value)`](#fn-rangemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) + * [`fn withTo(value)`](#fn-rangemapoptionswithto) + * [`obj result`](#obj-rangemapoptionsresult) + * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) +* [`obj RegexMap`](#obj-regexmap) + * [`fn withOptions(value)`](#fn-regexmapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) + * [`fn withType()`](#fn-regexmapwithtype) + * [`obj options`](#obj-regexmapoptions) + * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) + * [`fn withResult(value)`](#fn-regexmapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) + * [`obj result`](#obj-regexmapoptionsresult) + * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) + * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) +* [`obj SpecialValueMap`](#obj-specialvaluemap) + * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) + * [`fn withType()`](#fn-specialvaluemapwithtype) + * [`obj options`](#obj-specialvaluemapoptions) + * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) + * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) + * [`obj result`](#obj-specialvaluemapoptionsresult) + * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) +* [`obj ValueMap`](#obj-valuemap) + * [`fn withOptions(value)`](#fn-valuemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) + * [`fn withType()`](#fn-valuemapwithtype) + +## Fields + +### obj RangeMap + + +#### fn RangeMap.withOptions + +```jsonnet +RangeMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withOptionsMixin + +```jsonnet +RangeMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withType + +```jsonnet +RangeMap.withType() +``` + + + +#### obj RangeMap.options + + +##### fn RangeMap.options.withFrom + +```jsonnet +RangeMap.options.withFrom(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Min value of the range. It can be null which means -Infinity +##### fn RangeMap.options.withResult + +```jsonnet +RangeMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withResultMixin + +```jsonnet +RangeMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withTo + +```jsonnet +RangeMap.options.withTo(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Max value of the range. It can be null which means +Infinity +##### obj RangeMap.options.result + + +###### fn RangeMap.options.result.withColor + +```jsonnet +RangeMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RangeMap.options.result.withIcon + +```jsonnet +RangeMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RangeMap.options.result.withIndex + +```jsonnet +RangeMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RangeMap.options.result.withText + +```jsonnet +RangeMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj RegexMap + + +#### fn RegexMap.withOptions + +```jsonnet +RegexMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withOptionsMixin + +```jsonnet +RegexMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withType + +```jsonnet +RegexMap.withType() +``` + + + +#### obj RegexMap.options + + +##### fn RegexMap.options.withPattern + +```jsonnet +RegexMap.options.withPattern(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Regular expression to match against +##### fn RegexMap.options.withResult + +```jsonnet +RegexMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RegexMap.options.withResultMixin + +```jsonnet +RegexMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj RegexMap.options.result + + +###### fn RegexMap.options.result.withColor + +```jsonnet +RegexMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RegexMap.options.result.withIcon + +```jsonnet +RegexMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RegexMap.options.result.withIndex + +```jsonnet +RegexMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RegexMap.options.result.withText + +```jsonnet +RegexMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj SpecialValueMap + + +#### fn SpecialValueMap.withOptions + +```jsonnet +SpecialValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withOptionsMixin + +```jsonnet +SpecialValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withType + +```jsonnet +SpecialValueMap.withType() +``` + + + +#### obj SpecialValueMap.options + + +##### fn SpecialValueMap.options.withMatch + +```jsonnet +SpecialValueMap.options.withMatch(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` + +Special value types supported by the `SpecialValueMap` +##### fn SpecialValueMap.options.withResult + +```jsonnet +SpecialValueMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn SpecialValueMap.options.withResultMixin + +```jsonnet +SpecialValueMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj SpecialValueMap.options.result + + +###### fn SpecialValueMap.options.result.withColor + +```jsonnet +SpecialValueMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn SpecialValueMap.options.result.withIcon + +```jsonnet +SpecialValueMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn SpecialValueMap.options.result.withIndex + +```jsonnet +SpecialValueMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn SpecialValueMap.options.result.withText + +```jsonnet +SpecialValueMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj ValueMap + + +#### fn ValueMap.withOptions + +```jsonnet +ValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withOptionsMixin + +```jsonnet +ValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withType + +```jsonnet +ValueMap.withType() +``` + + diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/table/standardOptions/override.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/text/standardOptions/override.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/table/standardOptions/override.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/text/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/text/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/text/standardOptions/threshold/step.md new file mode 100644 index 0000000..62c49ab --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/text/standardOptions/threshold/step.md @@ -0,0 +1,34 @@ +# threshold.step + + + +## Index + +* [`fn withColor(value)`](#fn-withcolor) +* [`fn withValue(value)`](#fn-withvalue) + +## Fields + +### fn withColor + +```jsonnet +withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. +### fn withValue + +```jsonnet +withValue(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. +Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/timeSeries/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/timeSeries/index.md similarity index 92% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/timeSeries/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/timeSeries/index.md index 4b2fa8f..6c2101e 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/timeSeries/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/timeSeries/index.md @@ -35,6 +35,8 @@ grafonnet.panel.timeSeries * [`fn withGradientMode(value)`](#fn-fieldconfigdefaultscustomwithgradientmode) * [`fn withHideFrom(value)`](#fn-fieldconfigdefaultscustomwithhidefrom) * [`fn withHideFromMixin(value)`](#fn-fieldconfigdefaultscustomwithhidefrommixin) + * [`fn withInsertNulls(value)`](#fn-fieldconfigdefaultscustomwithinsertnulls) + * [`fn withInsertNullsMixin(value)`](#fn-fieldconfigdefaultscustomwithinsertnullsmixin) * [`fn withLineColor(value)`](#fn-fieldconfigdefaultscustomwithlinecolor) * [`fn withLineInterpolation(value)`](#fn-fieldconfigdefaultscustomwithlineinterpolation) * [`fn withLineStyle(value)`](#fn-fieldconfigdefaultscustomwithlinestyle) @@ -74,19 +76,20 @@ grafonnet.panel.timeSeries * [`fn withName(value)`](#fn-librarypanelwithname) * [`fn withUid(value)`](#fn-librarypanelwithuid) * [`obj options`](#obj-options) - * [`fn withLegend(value)`](#fn-optionswithlegend) - * [`fn withLegendMixin(value)`](#fn-optionswithlegendmixin) + * [`fn withLegend(value={"calcs": [],"displayMode": "list","placement": "bottom"})`](#fn-optionswithlegend) + * [`fn withLegendMixin(value={"calcs": [],"displayMode": "list","placement": "bottom"})`](#fn-optionswithlegendmixin) + * [`fn withOrientation(value)`](#fn-optionswithorientation) * [`fn withTimezone(value)`](#fn-optionswithtimezone) * [`fn withTimezoneMixin(value)`](#fn-optionswithtimezonemixin) * [`fn withTooltip(value)`](#fn-optionswithtooltip) * [`fn withTooltipMixin(value)`](#fn-optionswithtooltipmixin) * [`obj legend`](#obj-optionslegend) * [`fn withAsTable(value=true)`](#fn-optionslegendwithastable) - * [`fn withCalcs(value)`](#fn-optionslegendwithcalcs) - * [`fn withCalcsMixin(value)`](#fn-optionslegendwithcalcsmixin) - * [`fn withDisplayMode(value)`](#fn-optionslegendwithdisplaymode) + * [`fn withCalcs(value=[])`](#fn-optionslegendwithcalcs) + * [`fn withCalcsMixin(value=[])`](#fn-optionslegendwithcalcsmixin) + * [`fn withDisplayMode(value="list")`](#fn-optionslegendwithdisplaymode) * [`fn withIsVisible(value=true)`](#fn-optionslegendwithisvisible) - * [`fn withPlacement(value)`](#fn-optionslegendwithplacement) + * [`fn withPlacement(value="bottom")`](#fn-optionslegendwithplacement) * [`fn withShowLegend(value=true)`](#fn-optionslegendwithshowlegend) * [`fn withSortBy(value)`](#fn-optionslegendwithsortby) * [`fn withSortDesc(value=true)`](#fn-optionslegendwithsortdesc) @@ -101,6 +104,7 @@ grafonnet.panel.timeSeries * [`fn withGridPos(h="null", w="null", x="null", y="null")`](#fn-paneloptionswithgridpos) * [`fn withLinks(value)`](#fn-paneloptionswithlinks) * [`fn withLinksMixin(value)`](#fn-paneloptionswithlinksmixin) + * [`fn withMaxPerRow(value)`](#fn-paneloptionswithmaxperrow) * [`fn withRepeat(value)`](#fn-paneloptionswithrepeat) * [`fn withRepeatDirection(value="h")`](#fn-paneloptionswithrepeatdirection) * [`fn withTitle(value)`](#fn-paneloptionswithtitle) @@ -108,8 +112,10 @@ grafonnet.panel.timeSeries * [`obj queryOptions`](#obj-queryoptions) * [`fn withDatasource(type, uid)`](#fn-queryoptionswithdatasource) * [`fn withDatasourceMixin(value)`](#fn-queryoptionswithdatasourcemixin) + * [`fn withHideTimeOverride(value=true)`](#fn-queryoptionswithhidetimeoverride) * [`fn withInterval(value)`](#fn-queryoptionswithinterval) * [`fn withMaxDataPoints(value)`](#fn-queryoptionswithmaxdatapoints) + * [`fn withQueryCachingTTL(value)`](#fn-queryoptionswithquerycachingttl) * [`fn withTargets(value)`](#fn-queryoptionswithtargets) * [`fn withTargetsMixin(value)`](#fn-queryoptionswithtargetsmixin) * [`fn withTimeFrom(value)`](#fn-queryoptionswithtimefrom) @@ -274,7 +280,7 @@ fieldConfig.defaults.custom.withBarAlignment(value) PARAMETERS: -* **value** (`integer`) +* **value** (`string`) - valid values: `-1`, `0`, `1` TODO docs @@ -379,6 +385,28 @@ PARAMETERS: * **value** (`object`) TODO docs +###### fn fieldConfig.defaults.custom.withInsertNulls + +```jsonnet +fieldConfig.defaults.custom.withInsertNulls(value) +``` + +PARAMETERS: + +* **value** (`boolean`,`number`) + + +###### fn fieldConfig.defaults.custom.withInsertNullsMixin + +```jsonnet +fieldConfig.defaults.custom.withInsertNullsMixin(value) +``` + +PARAMETERS: + +* **value** (`boolean`,`number`) + + ###### fn fieldConfig.defaults.custom.withLineColor ```jsonnet @@ -769,23 +797,37 @@ Library panel uid #### fn options.withLegend ```jsonnet -options.withLegend(value) +options.withLegend(value={"calcs": [],"displayMode": "list","placement": "bottom"}) ``` PARAMETERS: * **value** (`object`) + - default value: `{"calcs": [],"displayMode": "list","placement": "bottom"}` TODO docs #### fn options.withLegendMixin ```jsonnet -options.withLegendMixin(value) +options.withLegendMixin(value={"calcs": [],"displayMode": "list","placement": "bottom"}) ``` PARAMETERS: * **value** (`object`) + - default value: `{"calcs": [],"displayMode": "list","placement": "bottom"}` + +TODO docs +#### fn options.withOrientation + +```jsonnet +options.withOrientation(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"auto"`, `"vertical"`, `"horizontal"` TODO docs #### fn options.withTimezone @@ -850,34 +892,37 @@ PARAMETERS: ##### fn options.legend.withCalcs ```jsonnet -options.legend.withCalcs(value) +options.legend.withCalcs(value=[]) ``` PARAMETERS: * **value** (`array`) + - default value: `[]` ##### fn options.legend.withCalcsMixin ```jsonnet -options.legend.withCalcsMixin(value) +options.legend.withCalcsMixin(value=[]) ``` PARAMETERS: * **value** (`array`) + - default value: `[]` ##### fn options.legend.withDisplayMode ```jsonnet -options.legend.withDisplayMode(value) +options.legend.withDisplayMode(value="list") ``` PARAMETERS: * **value** (`string`) + - default value: `"list"` - valid values: `"list"`, `"table"`, `"hidden"` TODO docs @@ -897,12 +942,13 @@ PARAMETERS: ##### fn options.legend.withPlacement ```jsonnet -options.legend.withPlacement(value) +options.legend.withPlacement(value="bottom") ``` PARAMETERS: * **value** (`string`) + - default value: `"bottom"` - valid values: `"bottom"`, `"right"` TODO docs @@ -1058,6 +1104,18 @@ PARAMETERS: * **value** (`array`) Panel links. +#### fn panelOptions.withMaxPerRow + +```jsonnet +panelOptions.withMaxPerRow(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Option for repeated panels that controls max items per row +Only relevant for horizontally repeated panels #### fn panelOptions.withRepeat ```jsonnet @@ -1135,6 +1193,18 @@ PARAMETERS: * **value** (`object`) Ref to a DataSource instance +#### fn queryOptions.withHideTimeOverride + +```jsonnet +queryOptions.withHideTimeOverride(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Controls if the timeFrom or timeShift overrides are shown in the panel header #### fn queryOptions.withInterval ```jsonnet @@ -1160,6 +1230,17 @@ PARAMETERS: * **value** (`number`) The maximum number of data points that the panel queries are retrieving. +#### fn queryOptions.withQueryCachingTTL + +```jsonnet +queryOptions.withQueryCachingTTL(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Overrides the data source configured time-to-live for a query cache item in milliseconds #### fn queryOptions.withTargets ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/text/panelOptions/link.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/timeSeries/panelOptions/link.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/text/panelOptions/link.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/timeSeries/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/timeSeries/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/timeSeries/queryOptions/transformation.md new file mode 100644 index 0000000..69dda9a --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/timeSeries/queryOptions/transformation.md @@ -0,0 +1,140 @@ +# transformation + + + +## Index + +* [`fn withDisabled(value=true)`](#fn-withdisabled) +* [`fn withFilter(value)`](#fn-withfilter) +* [`fn withFilterMixin(value)`](#fn-withfiltermixin) +* [`fn withId(value)`](#fn-withid) +* [`fn withOptions(value)`](#fn-withoptions) +* [`fn withOptionsMixin(value)`](#fn-withoptionsmixin) +* [`fn withTopic(value)`](#fn-withtopic) +* [`obj filter`](#obj-filter) + * [`fn withId(value="")`](#fn-filterwithid) + * [`fn withOptions(value)`](#fn-filterwithoptions) + * [`fn withOptionsMixin(value)`](#fn-filterwithoptionsmixin) + +## Fields + +### fn withDisabled + +```jsonnet +withDisabled(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Disabled transformations are skipped +### fn withFilter + +```jsonnet +withFilter(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withFilterMixin + +```jsonnet +withFilterMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withId + +```jsonnet +withId(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Unique identifier of transformer +### fn withOptions + +```jsonnet +withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withOptionsMixin + +```jsonnet +withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withTopic + +```jsonnet +withTopic(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"series"`, `"annotations"`, `"alertStates"` + +Where to pull DataFrames from as input to transformation +### obj filter + + +#### fn filter.withId + +```jsonnet +filter.withId(value="") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `""` + +The matcher id. This is used to find the matcher implementation from registry. +#### fn filter.withOptions + +```jsonnet +filter.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. +#### fn filter.withOptionsMixin + +```jsonnet +filter.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/timeSeries/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/timeSeries/standardOptions/mapping.md new file mode 100644 index 0000000..196c769 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/timeSeries/standardOptions/mapping.md @@ -0,0 +1,445 @@ +# mapping + + + +## Index + +* [`obj RangeMap`](#obj-rangemap) + * [`fn withOptions(value)`](#fn-rangemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) + * [`fn withType()`](#fn-rangemapwithtype) + * [`obj options`](#obj-rangemapoptions) + * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) + * [`fn withResult(value)`](#fn-rangemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) + * [`fn withTo(value)`](#fn-rangemapoptionswithto) + * [`obj result`](#obj-rangemapoptionsresult) + * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) +* [`obj RegexMap`](#obj-regexmap) + * [`fn withOptions(value)`](#fn-regexmapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) + * [`fn withType()`](#fn-regexmapwithtype) + * [`obj options`](#obj-regexmapoptions) + * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) + * [`fn withResult(value)`](#fn-regexmapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) + * [`obj result`](#obj-regexmapoptionsresult) + * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) + * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) +* [`obj SpecialValueMap`](#obj-specialvaluemap) + * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) + * [`fn withType()`](#fn-specialvaluemapwithtype) + * [`obj options`](#obj-specialvaluemapoptions) + * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) + * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) + * [`obj result`](#obj-specialvaluemapoptionsresult) + * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) +* [`obj ValueMap`](#obj-valuemap) + * [`fn withOptions(value)`](#fn-valuemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) + * [`fn withType()`](#fn-valuemapwithtype) + +## Fields + +### obj RangeMap + + +#### fn RangeMap.withOptions + +```jsonnet +RangeMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withOptionsMixin + +```jsonnet +RangeMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withType + +```jsonnet +RangeMap.withType() +``` + + + +#### obj RangeMap.options + + +##### fn RangeMap.options.withFrom + +```jsonnet +RangeMap.options.withFrom(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Min value of the range. It can be null which means -Infinity +##### fn RangeMap.options.withResult + +```jsonnet +RangeMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withResultMixin + +```jsonnet +RangeMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withTo + +```jsonnet +RangeMap.options.withTo(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Max value of the range. It can be null which means +Infinity +##### obj RangeMap.options.result + + +###### fn RangeMap.options.result.withColor + +```jsonnet +RangeMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RangeMap.options.result.withIcon + +```jsonnet +RangeMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RangeMap.options.result.withIndex + +```jsonnet +RangeMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RangeMap.options.result.withText + +```jsonnet +RangeMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj RegexMap + + +#### fn RegexMap.withOptions + +```jsonnet +RegexMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withOptionsMixin + +```jsonnet +RegexMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withType + +```jsonnet +RegexMap.withType() +``` + + + +#### obj RegexMap.options + + +##### fn RegexMap.options.withPattern + +```jsonnet +RegexMap.options.withPattern(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Regular expression to match against +##### fn RegexMap.options.withResult + +```jsonnet +RegexMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RegexMap.options.withResultMixin + +```jsonnet +RegexMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj RegexMap.options.result + + +###### fn RegexMap.options.result.withColor + +```jsonnet +RegexMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RegexMap.options.result.withIcon + +```jsonnet +RegexMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RegexMap.options.result.withIndex + +```jsonnet +RegexMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RegexMap.options.result.withText + +```jsonnet +RegexMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj SpecialValueMap + + +#### fn SpecialValueMap.withOptions + +```jsonnet +SpecialValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withOptionsMixin + +```jsonnet +SpecialValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withType + +```jsonnet +SpecialValueMap.withType() +``` + + + +#### obj SpecialValueMap.options + + +##### fn SpecialValueMap.options.withMatch + +```jsonnet +SpecialValueMap.options.withMatch(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` + +Special value types supported by the `SpecialValueMap` +##### fn SpecialValueMap.options.withResult + +```jsonnet +SpecialValueMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn SpecialValueMap.options.withResultMixin + +```jsonnet +SpecialValueMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj SpecialValueMap.options.result + + +###### fn SpecialValueMap.options.result.withColor + +```jsonnet +SpecialValueMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn SpecialValueMap.options.result.withIcon + +```jsonnet +SpecialValueMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn SpecialValueMap.options.result.withIndex + +```jsonnet +SpecialValueMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn SpecialValueMap.options.result.withText + +```jsonnet +SpecialValueMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj ValueMap + + +#### fn ValueMap.withOptions + +```jsonnet +ValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withOptionsMixin + +```jsonnet +ValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withType + +```jsonnet +ValueMap.withType() +``` + + diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/text/standardOptions/override.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/timeSeries/standardOptions/override.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/text/standardOptions/override.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/timeSeries/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/timeSeries/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/timeSeries/standardOptions/threshold/step.md new file mode 100644 index 0000000..62c49ab --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/timeSeries/standardOptions/threshold/step.md @@ -0,0 +1,34 @@ +# threshold.step + + + +## Index + +* [`fn withColor(value)`](#fn-withcolor) +* [`fn withValue(value)`](#fn-withvalue) + +## Fields + +### fn withColor + +```jsonnet +withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. +### fn withValue + +```jsonnet +withValue(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. +Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/trend/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/trend/index.md similarity index 94% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/trend/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/trend/index.md index ad7d92c..dcf118e 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/trend/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/trend/index.md @@ -35,6 +35,8 @@ grafonnet.panel.trend * [`fn withGradientMode(value)`](#fn-fieldconfigdefaultscustomwithgradientmode) * [`fn withHideFrom(value)`](#fn-fieldconfigdefaultscustomwithhidefrom) * [`fn withHideFromMixin(value)`](#fn-fieldconfigdefaultscustomwithhidefrommixin) + * [`fn withInsertNulls(value)`](#fn-fieldconfigdefaultscustomwithinsertnulls) + * [`fn withInsertNullsMixin(value)`](#fn-fieldconfigdefaultscustomwithinsertnullsmixin) * [`fn withLineColor(value)`](#fn-fieldconfigdefaultscustomwithlinecolor) * [`fn withLineInterpolation(value)`](#fn-fieldconfigdefaultscustomwithlineinterpolation) * [`fn withLineStyle(value)`](#fn-fieldconfigdefaultscustomwithlinestyle) @@ -81,11 +83,11 @@ grafonnet.panel.trend * [`fn withXField(value)`](#fn-optionswithxfield) * [`obj legend`](#obj-optionslegend) * [`fn withAsTable(value=true)`](#fn-optionslegendwithastable) - * [`fn withCalcs(value)`](#fn-optionslegendwithcalcs) - * [`fn withCalcsMixin(value)`](#fn-optionslegendwithcalcsmixin) - * [`fn withDisplayMode(value)`](#fn-optionslegendwithdisplaymode) + * [`fn withCalcs(value=[])`](#fn-optionslegendwithcalcs) + * [`fn withCalcsMixin(value=[])`](#fn-optionslegendwithcalcsmixin) + * [`fn withDisplayMode(value="list")`](#fn-optionslegendwithdisplaymode) * [`fn withIsVisible(value=true)`](#fn-optionslegendwithisvisible) - * [`fn withPlacement(value)`](#fn-optionslegendwithplacement) + * [`fn withPlacement(value="bottom")`](#fn-optionslegendwithplacement) * [`fn withShowLegend(value=true)`](#fn-optionslegendwithshowlegend) * [`fn withSortBy(value)`](#fn-optionslegendwithsortby) * [`fn withSortDesc(value=true)`](#fn-optionslegendwithsortdesc) @@ -100,6 +102,7 @@ grafonnet.panel.trend * [`fn withGridPos(h="null", w="null", x="null", y="null")`](#fn-paneloptionswithgridpos) * [`fn withLinks(value)`](#fn-paneloptionswithlinks) * [`fn withLinksMixin(value)`](#fn-paneloptionswithlinksmixin) + * [`fn withMaxPerRow(value)`](#fn-paneloptionswithmaxperrow) * [`fn withRepeat(value)`](#fn-paneloptionswithrepeat) * [`fn withRepeatDirection(value="h")`](#fn-paneloptionswithrepeatdirection) * [`fn withTitle(value)`](#fn-paneloptionswithtitle) @@ -107,8 +110,10 @@ grafonnet.panel.trend * [`obj queryOptions`](#obj-queryoptions) * [`fn withDatasource(type, uid)`](#fn-queryoptionswithdatasource) * [`fn withDatasourceMixin(value)`](#fn-queryoptionswithdatasourcemixin) + * [`fn withHideTimeOverride(value=true)`](#fn-queryoptionswithhidetimeoverride) * [`fn withInterval(value)`](#fn-queryoptionswithinterval) * [`fn withMaxDataPoints(value)`](#fn-queryoptionswithmaxdatapoints) + * [`fn withQueryCachingTTL(value)`](#fn-queryoptionswithquerycachingttl) * [`fn withTargets(value)`](#fn-queryoptionswithtargets) * [`fn withTargetsMixin(value)`](#fn-queryoptionswithtargetsmixin) * [`fn withTimeFrom(value)`](#fn-queryoptionswithtimefrom) @@ -273,7 +278,7 @@ fieldConfig.defaults.custom.withBarAlignment(value) PARAMETERS: -* **value** (`integer`) +* **value** (`string`) - valid values: `-1`, `0`, `1` TODO docs @@ -378,6 +383,28 @@ PARAMETERS: * **value** (`object`) TODO docs +###### fn fieldConfig.defaults.custom.withInsertNulls + +```jsonnet +fieldConfig.defaults.custom.withInsertNulls(value) +``` + +PARAMETERS: + +* **value** (`boolean`,`number`) + + +###### fn fieldConfig.defaults.custom.withInsertNullsMixin + +```jsonnet +fieldConfig.defaults.custom.withInsertNullsMixin(value) +``` + +PARAMETERS: + +* **value** (`boolean`,`number`) + + ###### fn fieldConfig.defaults.custom.withLineColor ```jsonnet @@ -838,34 +865,37 @@ PARAMETERS: ##### fn options.legend.withCalcs ```jsonnet -options.legend.withCalcs(value) +options.legend.withCalcs(value=[]) ``` PARAMETERS: * **value** (`array`) + - default value: `[]` ##### fn options.legend.withCalcsMixin ```jsonnet -options.legend.withCalcsMixin(value) +options.legend.withCalcsMixin(value=[]) ``` PARAMETERS: * **value** (`array`) + - default value: `[]` ##### fn options.legend.withDisplayMode ```jsonnet -options.legend.withDisplayMode(value) +options.legend.withDisplayMode(value="list") ``` PARAMETERS: * **value** (`string`) + - default value: `"list"` - valid values: `"list"`, `"table"`, `"hidden"` TODO docs @@ -885,12 +915,13 @@ PARAMETERS: ##### fn options.legend.withPlacement ```jsonnet -options.legend.withPlacement(value) +options.legend.withPlacement(value="bottom") ``` PARAMETERS: * **value** (`string`) + - default value: `"bottom"` - valid values: `"bottom"`, `"right"` TODO docs @@ -1046,6 +1077,18 @@ PARAMETERS: * **value** (`array`) Panel links. +#### fn panelOptions.withMaxPerRow + +```jsonnet +panelOptions.withMaxPerRow(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Option for repeated panels that controls max items per row +Only relevant for horizontally repeated panels #### fn panelOptions.withRepeat ```jsonnet @@ -1123,6 +1166,18 @@ PARAMETERS: * **value** (`object`) Ref to a DataSource instance +#### fn queryOptions.withHideTimeOverride + +```jsonnet +queryOptions.withHideTimeOverride(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Controls if the timeFrom or timeShift overrides are shown in the panel header #### fn queryOptions.withInterval ```jsonnet @@ -1148,6 +1203,17 @@ PARAMETERS: * **value** (`number`) The maximum number of data points that the panel queries are retrieving. +#### fn queryOptions.withQueryCachingTTL + +```jsonnet +queryOptions.withQueryCachingTTL(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Overrides the data source configured time-to-live for a query cache item in milliseconds #### fn queryOptions.withTargets ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/timeSeries/panelOptions/link.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/trend/panelOptions/link.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/timeSeries/panelOptions/link.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/trend/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/trend/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/trend/queryOptions/transformation.md new file mode 100644 index 0000000..69dda9a --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/trend/queryOptions/transformation.md @@ -0,0 +1,140 @@ +# transformation + + + +## Index + +* [`fn withDisabled(value=true)`](#fn-withdisabled) +* [`fn withFilter(value)`](#fn-withfilter) +* [`fn withFilterMixin(value)`](#fn-withfiltermixin) +* [`fn withId(value)`](#fn-withid) +* [`fn withOptions(value)`](#fn-withoptions) +* [`fn withOptionsMixin(value)`](#fn-withoptionsmixin) +* [`fn withTopic(value)`](#fn-withtopic) +* [`obj filter`](#obj-filter) + * [`fn withId(value="")`](#fn-filterwithid) + * [`fn withOptions(value)`](#fn-filterwithoptions) + * [`fn withOptionsMixin(value)`](#fn-filterwithoptionsmixin) + +## Fields + +### fn withDisabled + +```jsonnet +withDisabled(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Disabled transformations are skipped +### fn withFilter + +```jsonnet +withFilter(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withFilterMixin + +```jsonnet +withFilterMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withId + +```jsonnet +withId(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Unique identifier of transformer +### fn withOptions + +```jsonnet +withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withOptionsMixin + +```jsonnet +withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withTopic + +```jsonnet +withTopic(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"series"`, `"annotations"`, `"alertStates"` + +Where to pull DataFrames from as input to transformation +### obj filter + + +#### fn filter.withId + +```jsonnet +filter.withId(value="") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `""` + +The matcher id. This is used to find the matcher implementation from registry. +#### fn filter.withOptions + +```jsonnet +filter.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. +#### fn filter.withOptionsMixin + +```jsonnet +filter.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/trend/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/trend/standardOptions/mapping.md new file mode 100644 index 0000000..196c769 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/trend/standardOptions/mapping.md @@ -0,0 +1,445 @@ +# mapping + + + +## Index + +* [`obj RangeMap`](#obj-rangemap) + * [`fn withOptions(value)`](#fn-rangemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) + * [`fn withType()`](#fn-rangemapwithtype) + * [`obj options`](#obj-rangemapoptions) + * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) + * [`fn withResult(value)`](#fn-rangemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) + * [`fn withTo(value)`](#fn-rangemapoptionswithto) + * [`obj result`](#obj-rangemapoptionsresult) + * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) +* [`obj RegexMap`](#obj-regexmap) + * [`fn withOptions(value)`](#fn-regexmapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) + * [`fn withType()`](#fn-regexmapwithtype) + * [`obj options`](#obj-regexmapoptions) + * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) + * [`fn withResult(value)`](#fn-regexmapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) + * [`obj result`](#obj-regexmapoptionsresult) + * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) + * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) +* [`obj SpecialValueMap`](#obj-specialvaluemap) + * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) + * [`fn withType()`](#fn-specialvaluemapwithtype) + * [`obj options`](#obj-specialvaluemapoptions) + * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) + * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) + * [`obj result`](#obj-specialvaluemapoptionsresult) + * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) +* [`obj ValueMap`](#obj-valuemap) + * [`fn withOptions(value)`](#fn-valuemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) + * [`fn withType()`](#fn-valuemapwithtype) + +## Fields + +### obj RangeMap + + +#### fn RangeMap.withOptions + +```jsonnet +RangeMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withOptionsMixin + +```jsonnet +RangeMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withType + +```jsonnet +RangeMap.withType() +``` + + + +#### obj RangeMap.options + + +##### fn RangeMap.options.withFrom + +```jsonnet +RangeMap.options.withFrom(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Min value of the range. It can be null which means -Infinity +##### fn RangeMap.options.withResult + +```jsonnet +RangeMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withResultMixin + +```jsonnet +RangeMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withTo + +```jsonnet +RangeMap.options.withTo(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Max value of the range. It can be null which means +Infinity +##### obj RangeMap.options.result + + +###### fn RangeMap.options.result.withColor + +```jsonnet +RangeMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RangeMap.options.result.withIcon + +```jsonnet +RangeMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RangeMap.options.result.withIndex + +```jsonnet +RangeMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RangeMap.options.result.withText + +```jsonnet +RangeMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj RegexMap + + +#### fn RegexMap.withOptions + +```jsonnet +RegexMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withOptionsMixin + +```jsonnet +RegexMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withType + +```jsonnet +RegexMap.withType() +``` + + + +#### obj RegexMap.options + + +##### fn RegexMap.options.withPattern + +```jsonnet +RegexMap.options.withPattern(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Regular expression to match against +##### fn RegexMap.options.withResult + +```jsonnet +RegexMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RegexMap.options.withResultMixin + +```jsonnet +RegexMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj RegexMap.options.result + + +###### fn RegexMap.options.result.withColor + +```jsonnet +RegexMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RegexMap.options.result.withIcon + +```jsonnet +RegexMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RegexMap.options.result.withIndex + +```jsonnet +RegexMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RegexMap.options.result.withText + +```jsonnet +RegexMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj SpecialValueMap + + +#### fn SpecialValueMap.withOptions + +```jsonnet +SpecialValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withOptionsMixin + +```jsonnet +SpecialValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withType + +```jsonnet +SpecialValueMap.withType() +``` + + + +#### obj SpecialValueMap.options + + +##### fn SpecialValueMap.options.withMatch + +```jsonnet +SpecialValueMap.options.withMatch(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` + +Special value types supported by the `SpecialValueMap` +##### fn SpecialValueMap.options.withResult + +```jsonnet +SpecialValueMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn SpecialValueMap.options.withResultMixin + +```jsonnet +SpecialValueMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj SpecialValueMap.options.result + + +###### fn SpecialValueMap.options.result.withColor + +```jsonnet +SpecialValueMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn SpecialValueMap.options.result.withIcon + +```jsonnet +SpecialValueMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn SpecialValueMap.options.result.withIndex + +```jsonnet +SpecialValueMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn SpecialValueMap.options.result.withText + +```jsonnet +SpecialValueMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj ValueMap + + +#### fn ValueMap.withOptions + +```jsonnet +ValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withOptionsMixin + +```jsonnet +ValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withType + +```jsonnet +ValueMap.withType() +``` + + diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/timeSeries/standardOptions/override.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/trend/standardOptions/override.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/timeSeries/standardOptions/override.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/trend/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/trend/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/trend/standardOptions/threshold/step.md new file mode 100644 index 0000000..62c49ab --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/trend/standardOptions/threshold/step.md @@ -0,0 +1,34 @@ +# threshold.step + + + +## Index + +* [`fn withColor(value)`](#fn-withcolor) +* [`fn withValue(value)`](#fn-withvalue) + +## Fields + +### fn withColor + +```jsonnet +withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. +### fn withValue + +```jsonnet +withValue(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. +Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/xyChart/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/xyChart/index.md similarity index 95% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/xyChart/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/xyChart/index.md index eba7805..06cbfe4 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/xyChart/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/xyChart/index.md @@ -28,7 +28,7 @@ grafonnet.panel.xyChart * [`fn withAxisWidth(value)`](#fn-fieldconfigdefaultscustomwithaxiswidth) * [`fn withHideFrom(value)`](#fn-fieldconfigdefaultscustomwithhidefrom) * [`fn withHideFromMixin(value)`](#fn-fieldconfigdefaultscustomwithhidefrommixin) - * [`fn withLabel(value)`](#fn-fieldconfigdefaultscustomwithlabel) + * [`fn withLabel(value="auto")`](#fn-fieldconfigdefaultscustomwithlabel) * [`fn withLabelValue(value)`](#fn-fieldconfigdefaultscustomwithlabelvalue) * [`fn withLabelValueMixin(value)`](#fn-fieldconfigdefaultscustomwithlabelvaluemixin) * [`fn withLineColor(value)`](#fn-fieldconfigdefaultscustomwithlinecolor) @@ -42,7 +42,7 @@ grafonnet.panel.xyChart * [`fn withPointSizeMixin(value)`](#fn-fieldconfigdefaultscustomwithpointsizemixin) * [`fn withScaleDistribution(value)`](#fn-fieldconfigdefaultscustomwithscaledistribution) * [`fn withScaleDistributionMixin(value)`](#fn-fieldconfigdefaultscustomwithscaledistributionmixin) - * [`fn withShow(value)`](#fn-fieldconfigdefaultscustomwithshow) + * [`fn withShow(value="points")`](#fn-fieldconfigdefaultscustomwithshow) * [`obj hideFrom`](#obj-fieldconfigdefaultscustomhidefrom) * [`fn withLegend(value=true)`](#fn-fieldconfigdefaultscustomhidefromwithlegend) * [`fn withTooltip(value=true)`](#fn-fieldconfigdefaultscustomhidefromwithtooltip) @@ -91,11 +91,11 @@ grafonnet.panel.xyChart * [`fn withX(value)`](#fn-optionsdimswithx) * [`obj legend`](#obj-optionslegend) * [`fn withAsTable(value=true)`](#fn-optionslegendwithastable) - * [`fn withCalcs(value)`](#fn-optionslegendwithcalcs) - * [`fn withCalcsMixin(value)`](#fn-optionslegendwithcalcsmixin) - * [`fn withDisplayMode(value)`](#fn-optionslegendwithdisplaymode) + * [`fn withCalcs(value=[])`](#fn-optionslegendwithcalcs) + * [`fn withCalcsMixin(value=[])`](#fn-optionslegendwithcalcsmixin) + * [`fn withDisplayMode(value="list")`](#fn-optionslegendwithdisplaymode) * [`fn withIsVisible(value=true)`](#fn-optionslegendwithisvisible) - * [`fn withPlacement(value)`](#fn-optionslegendwithplacement) + * [`fn withPlacement(value="bottom")`](#fn-optionslegendwithplacement) * [`fn withShowLegend(value=true)`](#fn-optionslegendwithshowlegend) * [`fn withSortBy(value)`](#fn-optionslegendwithsortby) * [`fn withSortDesc(value=true)`](#fn-optionslegendwithsortdesc) @@ -110,6 +110,7 @@ grafonnet.panel.xyChart * [`fn withGridPos(h="null", w="null", x="null", y="null")`](#fn-paneloptionswithgridpos) * [`fn withLinks(value)`](#fn-paneloptionswithlinks) * [`fn withLinksMixin(value)`](#fn-paneloptionswithlinksmixin) + * [`fn withMaxPerRow(value)`](#fn-paneloptionswithmaxperrow) * [`fn withRepeat(value)`](#fn-paneloptionswithrepeat) * [`fn withRepeatDirection(value="h")`](#fn-paneloptionswithrepeatdirection) * [`fn withTitle(value)`](#fn-paneloptionswithtitle) @@ -117,8 +118,10 @@ grafonnet.panel.xyChart * [`obj queryOptions`](#obj-queryoptions) * [`fn withDatasource(type, uid)`](#fn-queryoptionswithdatasource) * [`fn withDatasourceMixin(value)`](#fn-queryoptionswithdatasourcemixin) + * [`fn withHideTimeOverride(value=true)`](#fn-queryoptionswithhidetimeoverride) * [`fn withInterval(value)`](#fn-queryoptionswithinterval) * [`fn withMaxDataPoints(value)`](#fn-queryoptionswithmaxdatapoints) + * [`fn withQueryCachingTTL(value)`](#fn-queryoptionswithquerycachingttl) * [`fn withTargets(value)`](#fn-queryoptionswithtargets) * [`fn withTargetsMixin(value)`](#fn-queryoptionswithtargetsmixin) * [`fn withTimeFrom(value)`](#fn-queryoptionswithtimefrom) @@ -300,12 +303,13 @@ TODO docs ###### fn fieldConfig.defaults.custom.withLabel ```jsonnet -fieldConfig.defaults.custom.withLabel(value) +fieldConfig.defaults.custom.withLabel(value="auto") ``` PARAMETERS: * **value** (`string`) + - default value: `"auto"` - valid values: `"auto"`, `"never"`, `"always"` TODO docs @@ -455,12 +459,13 @@ TODO docs ###### fn fieldConfig.defaults.custom.withShow ```jsonnet -fieldConfig.defaults.custom.withShow(value) +fieldConfig.defaults.custom.withShow(value="points") ``` PARAMETERS: * **value** (`string`) + - default value: `"points"` - valid values: `"points"`, `"lines"`, `"points+lines"` @@ -564,7 +569,7 @@ PARAMETERS: * **value** (`string`) - +color value ###### obj fieldConfig.defaults.custom.lineStyle @@ -626,7 +631,7 @@ PARAMETERS: * **value** (`string`) - +color value ###### obj fieldConfig.defaults.custom.pointSize @@ -685,7 +690,7 @@ PARAMETERS: * **value** (`string`) - valid values: `"linear"`, `"quad"` - +| *"linear" ###### obj fieldConfig.defaults.custom.scaleDistribution @@ -916,34 +921,37 @@ PARAMETERS: ##### fn options.legend.withCalcs ```jsonnet -options.legend.withCalcs(value) +options.legend.withCalcs(value=[]) ``` PARAMETERS: * **value** (`array`) + - default value: `[]` ##### fn options.legend.withCalcsMixin ```jsonnet -options.legend.withCalcsMixin(value) +options.legend.withCalcsMixin(value=[]) ``` PARAMETERS: * **value** (`array`) + - default value: `[]` ##### fn options.legend.withDisplayMode ```jsonnet -options.legend.withDisplayMode(value) +options.legend.withDisplayMode(value="list") ``` PARAMETERS: * **value** (`string`) + - default value: `"list"` - valid values: `"list"`, `"table"`, `"hidden"` TODO docs @@ -963,12 +971,13 @@ PARAMETERS: ##### fn options.legend.withPlacement ```jsonnet -options.legend.withPlacement(value) +options.legend.withPlacement(value="bottom") ``` PARAMETERS: * **value** (`string`) + - default value: `"bottom"` - valid values: `"bottom"`, `"right"` TODO docs @@ -1124,6 +1133,18 @@ PARAMETERS: * **value** (`array`) Panel links. +#### fn panelOptions.withMaxPerRow + +```jsonnet +panelOptions.withMaxPerRow(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Option for repeated panels that controls max items per row +Only relevant for horizontally repeated panels #### fn panelOptions.withRepeat ```jsonnet @@ -1201,6 +1222,18 @@ PARAMETERS: * **value** (`object`) Ref to a DataSource instance +#### fn queryOptions.withHideTimeOverride + +```jsonnet +queryOptions.withHideTimeOverride(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Controls if the timeFrom or timeShift overrides are shown in the panel header #### fn queryOptions.withInterval ```jsonnet @@ -1226,6 +1259,17 @@ PARAMETERS: * **value** (`number`) The maximum number of data points that the panel queries are retrieving. +#### fn queryOptions.withQueryCachingTTL + +```jsonnet +queryOptions.withQueryCachingTTL(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Overrides the data source configured time-to-live for a query cache item in milliseconds #### fn queryOptions.withTargets ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/xyChart/options/series.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/xyChart/options/series.md similarity index 97% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/xyChart/options/series.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/xyChart/options/series.md index 80fed2f..042a580 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/xyChart/options/series.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/xyChart/options/series.md @@ -16,7 +16,7 @@ * [`fn withFrame(value)`](#fn-withframe) * [`fn withHideFrom(value)`](#fn-withhidefrom) * [`fn withHideFromMixin(value)`](#fn-withhidefrommixin) -* [`fn withLabel(value)`](#fn-withlabel) +* [`fn withLabel(value="auto")`](#fn-withlabel) * [`fn withLabelValue(value)`](#fn-withlabelvalue) * [`fn withLabelValueMixin(value)`](#fn-withlabelvaluemixin) * [`fn withLineColor(value)`](#fn-withlinecolor) @@ -31,7 +31,7 @@ * [`fn withPointSizeMixin(value)`](#fn-withpointsizemixin) * [`fn withScaleDistribution(value)`](#fn-withscaledistribution) * [`fn withScaleDistributionMixin(value)`](#fn-withscaledistributionmixin) -* [`fn withShow(value)`](#fn-withshow) +* [`fn withShow(value="points")`](#fn-withshow) * [`fn withX(value)`](#fn-withx) * [`fn withY(value)`](#fn-withy) * [`obj hideFrom`](#obj-hidefrom) @@ -205,12 +205,13 @@ TODO docs ### fn withLabel ```jsonnet -withLabel(value) +withLabel(value="auto") ``` PARAMETERS: * **value** (`string`) + - default value: `"auto"` - valid values: `"auto"`, `"never"`, `"always"` TODO docs @@ -371,12 +372,13 @@ TODO docs ### fn withShow ```jsonnet -withShow(value) +withShow(value="points") ``` PARAMETERS: * **value** (`string`) + - default value: `"points"` - valid values: `"points"`, `"lines"`, `"points+lines"` @@ -502,7 +504,7 @@ PARAMETERS: * **value** (`string`) - +color value ### obj lineStyle @@ -564,7 +566,7 @@ PARAMETERS: * **value** (`string`) - +color value ### obj pointSize @@ -623,7 +625,7 @@ PARAMETERS: * **value** (`string`) - valid values: `"linear"`, `"quad"` - +| *"linear" ### obj scaleDistribution diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/trend/panelOptions/link.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/xyChart/panelOptions/link.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/trend/panelOptions/link.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/xyChart/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/xyChart/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/xyChart/queryOptions/transformation.md new file mode 100644 index 0000000..69dda9a --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/xyChart/queryOptions/transformation.md @@ -0,0 +1,140 @@ +# transformation + + + +## Index + +* [`fn withDisabled(value=true)`](#fn-withdisabled) +* [`fn withFilter(value)`](#fn-withfilter) +* [`fn withFilterMixin(value)`](#fn-withfiltermixin) +* [`fn withId(value)`](#fn-withid) +* [`fn withOptions(value)`](#fn-withoptions) +* [`fn withOptionsMixin(value)`](#fn-withoptionsmixin) +* [`fn withTopic(value)`](#fn-withtopic) +* [`obj filter`](#obj-filter) + * [`fn withId(value="")`](#fn-filterwithid) + * [`fn withOptions(value)`](#fn-filterwithoptions) + * [`fn withOptionsMixin(value)`](#fn-filterwithoptionsmixin) + +## Fields + +### fn withDisabled + +```jsonnet +withDisabled(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +Disabled transformations are skipped +### fn withFilter + +```jsonnet +withFilter(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withFilterMixin + +```jsonnet +withFilterMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation. +It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type. +### fn withId + +```jsonnet +withId(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Unique identifier of transformer +### fn withOptions + +```jsonnet +withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withOptionsMixin + +```jsonnet +withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Options to be passed to the transformer +Valid options depend on the transformer id +### fn withTopic + +```jsonnet +withTopic(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"series"`, `"annotations"`, `"alertStates"` + +Where to pull DataFrames from as input to transformation +### obj filter + + +#### fn filter.withId + +```jsonnet +filter.withId(value="") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `""` + +The matcher id. This is used to find the matcher implementation from registry. +#### fn filter.withOptions + +```jsonnet +filter.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. +#### fn filter.withOptionsMixin + +```jsonnet +filter.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The matcher options. This is specific to the matcher implementation. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/xyChart/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/xyChart/standardOptions/mapping.md new file mode 100644 index 0000000..196c769 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/xyChart/standardOptions/mapping.md @@ -0,0 +1,445 @@ +# mapping + + + +## Index + +* [`obj RangeMap`](#obj-rangemap) + * [`fn withOptions(value)`](#fn-rangemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-rangemapwithoptionsmixin) + * [`fn withType()`](#fn-rangemapwithtype) + * [`obj options`](#obj-rangemapoptions) + * [`fn withFrom(value)`](#fn-rangemapoptionswithfrom) + * [`fn withResult(value)`](#fn-rangemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-rangemapoptionswithresultmixin) + * [`fn withTo(value)`](#fn-rangemapoptionswithto) + * [`obj result`](#obj-rangemapoptionsresult) + * [`fn withColor(value)`](#fn-rangemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-rangemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-rangemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-rangemapoptionsresultwithtext) +* [`obj RegexMap`](#obj-regexmap) + * [`fn withOptions(value)`](#fn-regexmapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-regexmapwithoptionsmixin) + * [`fn withType()`](#fn-regexmapwithtype) + * [`obj options`](#obj-regexmapoptions) + * [`fn withPattern(value)`](#fn-regexmapoptionswithpattern) + * [`fn withResult(value)`](#fn-regexmapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-regexmapoptionswithresultmixin) + * [`obj result`](#obj-regexmapoptionsresult) + * [`fn withColor(value)`](#fn-regexmapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-regexmapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-regexmapoptionsresultwithindex) + * [`fn withText(value)`](#fn-regexmapoptionsresultwithtext) +* [`obj SpecialValueMap`](#obj-specialvaluemap) + * [`fn withOptions(value)`](#fn-specialvaluemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-specialvaluemapwithoptionsmixin) + * [`fn withType()`](#fn-specialvaluemapwithtype) + * [`obj options`](#obj-specialvaluemapoptions) + * [`fn withMatch(value)`](#fn-specialvaluemapoptionswithmatch) + * [`fn withResult(value)`](#fn-specialvaluemapoptionswithresult) + * [`fn withResultMixin(value)`](#fn-specialvaluemapoptionswithresultmixin) + * [`obj result`](#obj-specialvaluemapoptionsresult) + * [`fn withColor(value)`](#fn-specialvaluemapoptionsresultwithcolor) + * [`fn withIcon(value)`](#fn-specialvaluemapoptionsresultwithicon) + * [`fn withIndex(value)`](#fn-specialvaluemapoptionsresultwithindex) + * [`fn withText(value)`](#fn-specialvaluemapoptionsresultwithtext) +* [`obj ValueMap`](#obj-valuemap) + * [`fn withOptions(value)`](#fn-valuemapwithoptions) + * [`fn withOptionsMixin(value)`](#fn-valuemapwithoptionsmixin) + * [`fn withType()`](#fn-valuemapwithtype) + +## Fields + +### obj RangeMap + + +#### fn RangeMap.withOptions + +```jsonnet +RangeMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withOptionsMixin + +```jsonnet +RangeMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Range to match against and the result to apply when the value is within the range +#### fn RangeMap.withType + +```jsonnet +RangeMap.withType() +``` + + + +#### obj RangeMap.options + + +##### fn RangeMap.options.withFrom + +```jsonnet +RangeMap.options.withFrom(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Min value of the range. It can be null which means -Infinity +##### fn RangeMap.options.withResult + +```jsonnet +RangeMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withResultMixin + +```jsonnet +RangeMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RangeMap.options.withTo + +```jsonnet +RangeMap.options.withTo(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Max value of the range. It can be null which means +Infinity +##### obj RangeMap.options.result + + +###### fn RangeMap.options.result.withColor + +```jsonnet +RangeMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RangeMap.options.result.withIcon + +```jsonnet +RangeMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RangeMap.options.result.withIndex + +```jsonnet +RangeMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RangeMap.options.result.withText + +```jsonnet +RangeMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj RegexMap + + +#### fn RegexMap.withOptions + +```jsonnet +RegexMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withOptionsMixin + +```jsonnet +RegexMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Regular expression to match against and the result to apply when the value matches the regex +#### fn RegexMap.withType + +```jsonnet +RegexMap.withType() +``` + + + +#### obj RegexMap.options + + +##### fn RegexMap.options.withPattern + +```jsonnet +RegexMap.options.withPattern(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Regular expression to match against +##### fn RegexMap.options.withResult + +```jsonnet +RegexMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn RegexMap.options.withResultMixin + +```jsonnet +RegexMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj RegexMap.options.result + + +###### fn RegexMap.options.result.withColor + +```jsonnet +RegexMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn RegexMap.options.result.withIcon + +```jsonnet +RegexMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn RegexMap.options.result.withIndex + +```jsonnet +RegexMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn RegexMap.options.result.withText + +```jsonnet +RegexMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj SpecialValueMap + + +#### fn SpecialValueMap.withOptions + +```jsonnet +SpecialValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withOptionsMixin + +```jsonnet +SpecialValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +#### fn SpecialValueMap.withType + +```jsonnet +SpecialValueMap.withType() +``` + + + +#### obj SpecialValueMap.options + + +##### fn SpecialValueMap.options.withMatch + +```jsonnet +SpecialValueMap.options.withMatch(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"true"`, `"false"`, `"null"`, `"nan"`, `"null+nan"`, `"empty"` + +Special value types supported by the `SpecialValueMap` +##### fn SpecialValueMap.options.withResult + +```jsonnet +SpecialValueMap.options.withResult(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### fn SpecialValueMap.options.withResultMixin + +```jsonnet +SpecialValueMap.options.withResultMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Result used as replacement with text and color when the value matches +##### obj SpecialValueMap.options.result + + +###### fn SpecialValueMap.options.result.withColor + +```jsonnet +SpecialValueMap.options.result.withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to use when the value matches +###### fn SpecialValueMap.options.result.withIcon + +```jsonnet +SpecialValueMap.options.result.withIcon(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Icon to display when the value matches. Only specific visualizations. +###### fn SpecialValueMap.options.result.withIndex + +```jsonnet +SpecialValueMap.options.result.withIndex(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Position in the mapping array. Only used internally. +###### fn SpecialValueMap.options.result.withText + +```jsonnet +SpecialValueMap.options.result.withText(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Text to display when the value matches +### obj ValueMap + + +#### fn ValueMap.withOptions + +```jsonnet +ValueMap.withOptions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withOptionsMixin + +```jsonnet +ValueMap.withOptionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } } +#### fn ValueMap.withType + +```jsonnet +ValueMap.withType() +``` + + diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/trend/standardOptions/override.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/xyChart/standardOptions/override.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/panel/trend/standardOptions/override.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/xyChart/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/xyChart/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/xyChart/standardOptions/threshold/step.md new file mode 100644 index 0000000..62c49ab --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/panel/xyChart/standardOptions/threshold/step.md @@ -0,0 +1,34 @@ +# threshold.step + + + +## Index + +* [`fn withColor(value)`](#fn-withcolor) +* [`fn withValue(value)`](#fn-withvalue) + +## Fields + +### fn withColor + +```jsonnet +withColor(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. +### fn withValue + +```jsonnet +withValue(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. +Nulls currently appear here when serializing -Infinity to JSON. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/preferences.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/preferences.md similarity index 96% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/preferences.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/preferences.md index 79b7bfc..337ac76 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/preferences.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/preferences.md @@ -35,7 +35,7 @@ PARAMETERS: * **value** (`object`) - +Cookie preferences ### fn withCookiePreferencesMixin ```jsonnet @@ -46,7 +46,7 @@ PARAMETERS: * **value** (`object`) - +Cookie preferences ### fn withHomeDashboardUID ```jsonnet @@ -79,7 +79,7 @@ PARAMETERS: * **value** (`object`) - +Explore query history preferences ### fn withQueryHistoryMixin ```jsonnet @@ -90,7 +90,7 @@ PARAMETERS: * **value** (`object`) - +Explore query history preferences ### fn withTheme ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/publicdashboard.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/publicdashboard.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/publicdashboard.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/publicdashboard.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/azureMonitor/azureMonitor/dimensionFilters.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/azureMonitor/azureMonitor/dimensionFilters.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/azureMonitor/azureMonitor/dimensionFilters.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/azureMonitor/azureMonitor/dimensionFilters.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/azureMonitor/azureMonitor/resources.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/azureMonitor/azureMonitor/resources.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/azureMonitor/azureMonitor/resources.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/azureMonitor/azureMonitor/resources.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/azureMonitor/azureTraces/filters.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/azureMonitor/azureTraces/filters.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/azureMonitor/azureTraces/filters.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/azureMonitor/azureTraces/filters.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/azureMonitor/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/azureMonitor/index.md similarity index 92% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/azureMonitor/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/azureMonitor/index.md index 05b67bf..ba09be0 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/azureMonitor/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/azureMonitor/index.md @@ -23,6 +23,7 @@ grafonnet.query.azureMonitor * [`fn withGrafanaTemplateVariableFnMixin(value)`](#fn-withgrafanatemplatevariablefnmixin) * [`fn withHide(value=true)`](#fn-withhide) * [`fn withNamespace(value)`](#fn-withnamespace) +* [`fn withQuery(value)`](#fn-withquery) * [`fn withQueryType(value)`](#fn-withquerytype) * [`fn withRefId(value)`](#fn-withrefid) * [`fn withRegion(value)`](#fn-withregion) @@ -32,6 +33,7 @@ grafonnet.query.azureMonitor * [`fn withSubscriptions(value)`](#fn-withsubscriptions) * [`fn withSubscriptionsMixin(value)`](#fn-withsubscriptionsmixin) * [`obj azureLogAnalytics`](#obj-azureloganalytics) + * [`fn withBasicLogsQuery(value=true)`](#fn-azureloganalyticswithbasiclogsquery) * [`fn withDashboardTime(value=true)`](#fn-azureloganalyticswithdashboardtime) * [`fn withIntersectTime(value=true)`](#fn-azureloganalyticswithintersecttime) * [`fn withQuery(value)`](#fn-azureloganalyticswithquery) @@ -98,51 +100,51 @@ grafonnet.query.azureMonitor * [`fn withWorkspacesQuery(value)`](#fn-grafanatemplatevariablefnwithworkspacesquery) * [`fn withWorkspacesQueryMixin(value)`](#fn-grafanatemplatevariablefnwithworkspacesquerymixin) * [`obj AppInsightsGroupByQuery`](#obj-grafanatemplatevariablefnappinsightsgroupbyquery) - * [`fn withKind(value)`](#fn-grafanatemplatevariablefnappinsightsgroupbyquerywithkind) + * [`fn withKind()`](#fn-grafanatemplatevariablefnappinsightsgroupbyquerywithkind) * [`fn withMetricName(value)`](#fn-grafanatemplatevariablefnappinsightsgroupbyquerywithmetricname) * [`fn withRawQuery(value)`](#fn-grafanatemplatevariablefnappinsightsgroupbyquerywithrawquery) * [`obj AppInsightsMetricNameQuery`](#obj-grafanatemplatevariablefnappinsightsmetricnamequery) - * [`fn withKind(value)`](#fn-grafanatemplatevariablefnappinsightsmetricnamequerywithkind) + * [`fn withKind()`](#fn-grafanatemplatevariablefnappinsightsmetricnamequerywithkind) * [`fn withRawQuery(value)`](#fn-grafanatemplatevariablefnappinsightsmetricnamequerywithrawquery) * [`obj MetricDefinitionsQuery`](#obj-grafanatemplatevariablefnmetricdefinitionsquery) - * [`fn withKind(value)`](#fn-grafanatemplatevariablefnmetricdefinitionsquerywithkind) + * [`fn withKind()`](#fn-grafanatemplatevariablefnmetricdefinitionsquerywithkind) * [`fn withMetricNamespace(value)`](#fn-grafanatemplatevariablefnmetricdefinitionsquerywithmetricnamespace) * [`fn withRawQuery(value)`](#fn-grafanatemplatevariablefnmetricdefinitionsquerywithrawquery) * [`fn withResourceGroup(value)`](#fn-grafanatemplatevariablefnmetricdefinitionsquerywithresourcegroup) * [`fn withResourceName(value)`](#fn-grafanatemplatevariablefnmetricdefinitionsquerywithresourcename) * [`fn withSubscription(value)`](#fn-grafanatemplatevariablefnmetricdefinitionsquerywithsubscription) * [`obj MetricNamesQuery`](#obj-grafanatemplatevariablefnmetricnamesquery) - * [`fn withKind(value)`](#fn-grafanatemplatevariablefnmetricnamesquerywithkind) + * [`fn withKind()`](#fn-grafanatemplatevariablefnmetricnamesquerywithkind) * [`fn withMetricNamespace(value)`](#fn-grafanatemplatevariablefnmetricnamesquerywithmetricnamespace) * [`fn withRawQuery(value)`](#fn-grafanatemplatevariablefnmetricnamesquerywithrawquery) * [`fn withResourceGroup(value)`](#fn-grafanatemplatevariablefnmetricnamesquerywithresourcegroup) * [`fn withResourceName(value)`](#fn-grafanatemplatevariablefnmetricnamesquerywithresourcename) * [`fn withSubscription(value)`](#fn-grafanatemplatevariablefnmetricnamesquerywithsubscription) * [`obj MetricNamespaceQuery`](#obj-grafanatemplatevariablefnmetricnamespacequery) - * [`fn withKind(value)`](#fn-grafanatemplatevariablefnmetricnamespacequerywithkind) + * [`fn withKind()`](#fn-grafanatemplatevariablefnmetricnamespacequerywithkind) * [`fn withMetricNamespace(value)`](#fn-grafanatemplatevariablefnmetricnamespacequerywithmetricnamespace) * [`fn withRawQuery(value)`](#fn-grafanatemplatevariablefnmetricnamespacequerywithrawquery) * [`fn withResourceGroup(value)`](#fn-grafanatemplatevariablefnmetricnamespacequerywithresourcegroup) * [`fn withResourceName(value)`](#fn-grafanatemplatevariablefnmetricnamespacequerywithresourcename) * [`fn withSubscription(value)`](#fn-grafanatemplatevariablefnmetricnamespacequerywithsubscription) * [`obj ResourceGroupsQuery`](#obj-grafanatemplatevariablefnresourcegroupsquery) - * [`fn withKind(value)`](#fn-grafanatemplatevariablefnresourcegroupsquerywithkind) + * [`fn withKind()`](#fn-grafanatemplatevariablefnresourcegroupsquerywithkind) * [`fn withRawQuery(value)`](#fn-grafanatemplatevariablefnresourcegroupsquerywithrawquery) * [`fn withSubscription(value)`](#fn-grafanatemplatevariablefnresourcegroupsquerywithsubscription) * [`obj ResourceNamesQuery`](#obj-grafanatemplatevariablefnresourcenamesquery) - * [`fn withKind(value)`](#fn-grafanatemplatevariablefnresourcenamesquerywithkind) + * [`fn withKind()`](#fn-grafanatemplatevariablefnresourcenamesquerywithkind) * [`fn withMetricNamespace(value)`](#fn-grafanatemplatevariablefnresourcenamesquerywithmetricnamespace) * [`fn withRawQuery(value)`](#fn-grafanatemplatevariablefnresourcenamesquerywithrawquery) * [`fn withResourceGroup(value)`](#fn-grafanatemplatevariablefnresourcenamesquerywithresourcegroup) * [`fn withSubscription(value)`](#fn-grafanatemplatevariablefnresourcenamesquerywithsubscription) * [`obj SubscriptionsQuery`](#obj-grafanatemplatevariablefnsubscriptionsquery) - * [`fn withKind(value)`](#fn-grafanatemplatevariablefnsubscriptionsquerywithkind) + * [`fn withKind()`](#fn-grafanatemplatevariablefnsubscriptionsquerywithkind) * [`fn withRawQuery(value)`](#fn-grafanatemplatevariablefnsubscriptionsquerywithrawquery) * [`obj UnknownQuery`](#obj-grafanatemplatevariablefnunknownquery) - * [`fn withKind(value)`](#fn-grafanatemplatevariablefnunknownquerywithkind) + * [`fn withKind()`](#fn-grafanatemplatevariablefnunknownquerywithkind) * [`fn withRawQuery(value)`](#fn-grafanatemplatevariablefnunknownquerywithrawquery) * [`obj WorkspacesQuery`](#obj-grafanatemplatevariablefnworkspacesquery) - * [`fn withKind(value)`](#fn-grafanatemplatevariablefnworkspacesquerywithkind) + * [`fn withKind()`](#fn-grafanatemplatevariablefnworkspacesquerywithkind) * [`fn withRawQuery(value)`](#fn-grafanatemplatevariablefnworkspacesquerywithrawquery) * [`fn withSubscription(value)`](#fn-grafanatemplatevariablefnworkspacesquerywithsubscription) @@ -180,7 +182,7 @@ PARAMETERS: * **value** (`object`) - +Azure Monitor Metrics sub-query properties. ### fn withAzureMonitorMixin ```jsonnet @@ -191,7 +193,7 @@ PARAMETERS: * **value** (`object`) - +Azure Monitor Metrics sub-query properties. ### fn withAzureResourceGraph ```jsonnet @@ -202,7 +204,7 @@ PARAMETERS: * **value** (`object`) - +Azure Resource Graph sub-query properties. ### fn withAzureResourceGraphMixin ```jsonnet @@ -213,7 +215,7 @@ PARAMETERS: * **value** (`object`) - +Azure Resource Graph sub-query properties. ### fn withAzureTraces ```jsonnet @@ -246,10 +248,7 @@ PARAMETERS: * **value** (`string`) -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 +Set the datasource for this query. ### fn withGrafanaTemplateVariableFn ```jsonnet @@ -260,7 +259,7 @@ PARAMETERS: * **value** (`object`) - +@deprecated Legacy template variable support. ### fn withGrafanaTemplateVariableFnMixin ```jsonnet @@ -271,7 +270,7 @@ PARAMETERS: * **value** (`object`) - +@deprecated Legacy template variable support. ### fn withHide ```jsonnet @@ -283,9 +282,7 @@ PARAMETERS: * **value** (`boolean`) - default value: `true` -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) +If hide is set to true, Grafana will filter out the response(s) associated with this query before returning it to the panel. ### fn withNamespace ```jsonnet @@ -297,6 +294,17 @@ PARAMETERS: * **value** (`string`) +### fn withQuery + +```jsonnet +withQuery(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Used only for exemplar queries from Prometheus ### fn withQueryType ```jsonnet @@ -332,8 +340,7 @@ PARAMETERS: * **value** (`string`) -Azure Monitor query type. -queryType: #AzureQueryType + ### fn withResource ```jsonnet @@ -392,6 +399,18 @@ Subscriptions to be queried via Azure Resource Graph. ### obj azureLogAnalytics +#### fn azureLogAnalytics.withBasicLogsQuery + +```jsonnet +azureLogAnalytics.withBasicLogsQuery(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +If set to true the query will be run as a basic logs query #### fn azureLogAnalytics.withDashboardTime ```jsonnet @@ -471,7 +490,7 @@ PARAMETERS: * **value** (`string`) - valid values: `"table"`, `"time_series"`, `"trace"`, `"logs"` - +Specifies the format results should be returned as. #### fn azureLogAnalytics.withTimeColumn ```jsonnet @@ -835,7 +854,7 @@ PARAMETERS: * **value** (`string`) - valid values: `"table"`, `"time_series"`, `"trace"`, `"logs"` - +Specifies the format results should be returned as. #### fn azureTraces.withTraceTypes ```jsonnet @@ -1087,13 +1106,9 @@ PARAMETERS: ##### fn grafanaTemplateVariableFn.AppInsightsGroupByQuery.withKind ```jsonnet -grafanaTemplateVariableFn.AppInsightsGroupByQuery.withKind(value) +grafanaTemplateVariableFn.AppInsightsGroupByQuery.withKind() ``` -PARAMETERS: - -* **value** (`string`) - - valid values: `"AppInsightsGroupByQuery"` ##### fn grafanaTemplateVariableFn.AppInsightsGroupByQuery.withMetricName @@ -1124,13 +1139,9 @@ PARAMETERS: ##### fn grafanaTemplateVariableFn.AppInsightsMetricNameQuery.withKind ```jsonnet -grafanaTemplateVariableFn.AppInsightsMetricNameQuery.withKind(value) +grafanaTemplateVariableFn.AppInsightsMetricNameQuery.withKind() ``` -PARAMETERS: - -* **value** (`string`) - - valid values: `"AppInsightsMetricNameQuery"` ##### fn grafanaTemplateVariableFn.AppInsightsMetricNameQuery.withRawQuery @@ -1150,13 +1161,9 @@ PARAMETERS: ##### fn grafanaTemplateVariableFn.MetricDefinitionsQuery.withKind ```jsonnet -grafanaTemplateVariableFn.MetricDefinitionsQuery.withKind(value) +grafanaTemplateVariableFn.MetricDefinitionsQuery.withKind() ``` -PARAMETERS: - -* **value** (`string`) - - valid values: `"MetricDefinitionsQuery"` ##### fn grafanaTemplateVariableFn.MetricDefinitionsQuery.withMetricNamespace @@ -1220,13 +1227,9 @@ PARAMETERS: ##### fn grafanaTemplateVariableFn.MetricNamesQuery.withKind ```jsonnet -grafanaTemplateVariableFn.MetricNamesQuery.withKind(value) +grafanaTemplateVariableFn.MetricNamesQuery.withKind() ``` -PARAMETERS: - -* **value** (`string`) - - valid values: `"MetricNamesQuery"` ##### fn grafanaTemplateVariableFn.MetricNamesQuery.withMetricNamespace @@ -1290,13 +1293,9 @@ PARAMETERS: ##### fn grafanaTemplateVariableFn.MetricNamespaceQuery.withKind ```jsonnet -grafanaTemplateVariableFn.MetricNamespaceQuery.withKind(value) +grafanaTemplateVariableFn.MetricNamespaceQuery.withKind() ``` -PARAMETERS: - -* **value** (`string`) - - valid values: `"MetricNamespaceQuery"` ##### fn grafanaTemplateVariableFn.MetricNamespaceQuery.withMetricNamespace @@ -1360,13 +1359,9 @@ PARAMETERS: ##### fn grafanaTemplateVariableFn.ResourceGroupsQuery.withKind ```jsonnet -grafanaTemplateVariableFn.ResourceGroupsQuery.withKind(value) +grafanaTemplateVariableFn.ResourceGroupsQuery.withKind() ``` -PARAMETERS: - -* **value** (`string`) - - valid values: `"ResourceGroupsQuery"` ##### fn grafanaTemplateVariableFn.ResourceGroupsQuery.withRawQuery @@ -1397,13 +1392,9 @@ PARAMETERS: ##### fn grafanaTemplateVariableFn.ResourceNamesQuery.withKind ```jsonnet -grafanaTemplateVariableFn.ResourceNamesQuery.withKind(value) +grafanaTemplateVariableFn.ResourceNamesQuery.withKind() ``` -PARAMETERS: - -* **value** (`string`) - - valid values: `"ResourceNamesQuery"` ##### fn grafanaTemplateVariableFn.ResourceNamesQuery.withMetricNamespace @@ -1456,13 +1447,9 @@ PARAMETERS: ##### fn grafanaTemplateVariableFn.SubscriptionsQuery.withKind ```jsonnet -grafanaTemplateVariableFn.SubscriptionsQuery.withKind(value) +grafanaTemplateVariableFn.SubscriptionsQuery.withKind() ``` -PARAMETERS: - -* **value** (`string`) - - valid values: `"SubscriptionsQuery"` ##### fn grafanaTemplateVariableFn.SubscriptionsQuery.withRawQuery @@ -1482,13 +1469,9 @@ PARAMETERS: ##### fn grafanaTemplateVariableFn.UnknownQuery.withKind ```jsonnet -grafanaTemplateVariableFn.UnknownQuery.withKind(value) +grafanaTemplateVariableFn.UnknownQuery.withKind() ``` -PARAMETERS: - -* **value** (`string`) - - valid values: `"UnknownQuery"` ##### fn grafanaTemplateVariableFn.UnknownQuery.withRawQuery @@ -1508,13 +1491,9 @@ PARAMETERS: ##### fn grafanaTemplateVariableFn.WorkspacesQuery.withKind ```jsonnet -grafanaTemplateVariableFn.WorkspacesQuery.withKind(value) +grafanaTemplateVariableFn.WorkspacesQuery.withKind() ``` -PARAMETERS: - -* **value** (`string`) - - valid values: `"WorkspacesQuery"` ##### fn grafanaTemplateVariableFn.WorkspacesQuery.withRawQuery diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/cloudWatch/CloudWatchLogsQuery/logGroups.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/cloudWatch/CloudWatchLogsQuery/logGroups.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/cloudWatch/CloudWatchLogsQuery/logGroups.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/cloudWatch/CloudWatchLogsQuery/logGroups.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/cloudWatch/CloudWatchMetricsQuery/sql/orderBy/parameters.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/cloudWatch/CloudWatchMetricsQuery/sql/from/QueryEditorFunctionExpression/parameters.md similarity index 68% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/cloudWatch/CloudWatchMetricsQuery/sql/orderBy/parameters.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/cloudWatch/CloudWatchMetricsQuery/sql/from/QueryEditorFunctionExpression/parameters.md index a7f0402..d2fb19d 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/cloudWatch/CloudWatchMetricsQuery/sql/orderBy/parameters.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/cloudWatch/CloudWatchMetricsQuery/sql/from/QueryEditorFunctionExpression/parameters.md @@ -5,7 +5,7 @@ ## Index * [`fn withName(value)`](#fn-withname) -* [`fn withType(value)`](#fn-withtype) +* [`fn withType()`](#fn-withtype) ## Fields @@ -23,10 +23,7 @@ PARAMETERS: ### fn withType ```jsonnet -withType(value) +withType() ``` -PARAMETERS: - -* **value** (`string`) diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/cloudWatch/CloudWatchMetricsQuery/sql/select/parameters.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/cloudWatch/CloudWatchMetricsQuery/sql/orderBy/parameters.md similarity index 68% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/cloudWatch/CloudWatchMetricsQuery/sql/select/parameters.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/cloudWatch/CloudWatchMetricsQuery/sql/orderBy/parameters.md index a7f0402..d2fb19d 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/cloudWatch/CloudWatchMetricsQuery/sql/select/parameters.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/cloudWatch/CloudWatchMetricsQuery/sql/orderBy/parameters.md @@ -5,7 +5,7 @@ ## Index * [`fn withName(value)`](#fn-withname) -* [`fn withType(value)`](#fn-withtype) +* [`fn withType()`](#fn-withtype) ## Fields @@ -23,10 +23,7 @@ PARAMETERS: ### fn withType ```jsonnet -withType(value) +withType() ``` -PARAMETERS: - -* **value** (`string`) diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/cloudWatch/CloudWatchMetricsQuery/sql/from/QueryEditorFunctionExpression/parameters.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/cloudWatch/CloudWatchMetricsQuery/sql/select/parameters.md similarity index 68% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/cloudWatch/CloudWatchMetricsQuery/sql/from/QueryEditorFunctionExpression/parameters.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/cloudWatch/CloudWatchMetricsQuery/sql/select/parameters.md index a7f0402..d2fb19d 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/cloudWatch/CloudWatchMetricsQuery/sql/from/QueryEditorFunctionExpression/parameters.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/cloudWatch/CloudWatchMetricsQuery/sql/select/parameters.md @@ -5,7 +5,7 @@ ## Index * [`fn withName(value)`](#fn-withname) -* [`fn withType(value)`](#fn-withtype) +* [`fn withType()`](#fn-withtype) ## Fields @@ -23,10 +23,7 @@ PARAMETERS: ### fn withType ```jsonnet -withType(value) +withType() ``` -PARAMETERS: - -* **value** (`string`) diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/cloudWatch/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/cloudWatch/index.md similarity index 92% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/cloudWatch/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/cloudWatch/index.md index 36cc721..62a558c 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/cloudWatch/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/cloudWatch/index.md @@ -24,7 +24,7 @@ grafonnet.query.cloudWatch * [`fn withNamespace(value)`](#fn-cloudwatchannotationquerywithnamespace) * [`fn withPeriod(value)`](#fn-cloudwatchannotationquerywithperiod) * [`fn withPrefixMatching(value=true)`](#fn-cloudwatchannotationquerywithprefixmatching) - * [`fn withQueryMode(value)`](#fn-cloudwatchannotationquerywithquerymode) + * [`fn withQueryMode(value="Annotations")`](#fn-cloudwatchannotationquerywithquerymode) * [`fn withQueryType(value)`](#fn-cloudwatchannotationquerywithquerytype) * [`fn withRefId(value)`](#fn-cloudwatchannotationquerywithrefid) * [`fn withRegion(value)`](#fn-cloudwatchannotationquerywithregion) @@ -40,7 +40,7 @@ grafonnet.query.cloudWatch * [`fn withLogGroupNamesMixin(value)`](#fn-cloudwatchlogsquerywithloggroupnamesmixin) * [`fn withLogGroups(value)`](#fn-cloudwatchlogsquerywithloggroups) * [`fn withLogGroupsMixin(value)`](#fn-cloudwatchlogsquerywithloggroupsmixin) - * [`fn withQueryMode(value)`](#fn-cloudwatchlogsquerywithquerymode) + * [`fn withQueryMode(value="Logs")`](#fn-cloudwatchlogsquerywithquerymode) * [`fn withQueryType(value)`](#fn-cloudwatchlogsquerywithquerytype) * [`fn withRefId(value)`](#fn-cloudwatchlogsquerywithrefid) * [`fn withRegion(value)`](#fn-cloudwatchlogsquerywithregion) @@ -62,7 +62,7 @@ grafonnet.query.cloudWatch * [`fn withMetricQueryType(value)`](#fn-cloudwatchmetricsquerywithmetricquerytype) * [`fn withNamespace(value)`](#fn-cloudwatchmetricsquerywithnamespace) * [`fn withPeriod(value)`](#fn-cloudwatchmetricsquerywithperiod) - * [`fn withQueryMode(value)`](#fn-cloudwatchmetricsquerywithquerymode) + * [`fn withQueryMode(value="Metrics")`](#fn-cloudwatchmetricsquerywithquerymode) * [`fn withQueryType(value)`](#fn-cloudwatchmetricsquerywithquerytype) * [`fn withRefId(value)`](#fn-cloudwatchmetricsquerywithrefid) * [`fn withRegion(value)`](#fn-cloudwatchmetricsquerywithregion) @@ -94,11 +94,11 @@ grafonnet.query.cloudWatch * [`fn withName(value)`](#fn-cloudwatchmetricsquerysqlfromqueryeditorfunctionexpressionwithname) * [`fn withParameters(value)`](#fn-cloudwatchmetricsquerysqlfromqueryeditorfunctionexpressionwithparameters) * [`fn withParametersMixin(value)`](#fn-cloudwatchmetricsquerysqlfromqueryeditorfunctionexpressionwithparametersmixin) - * [`fn withType(value)`](#fn-cloudwatchmetricsquerysqlfromqueryeditorfunctionexpressionwithtype) + * [`fn withType()`](#fn-cloudwatchmetricsquerysqlfromqueryeditorfunctionexpressionwithtype) * [`obj QueryEditorPropertyExpression`](#obj-cloudwatchmetricsquerysqlfromqueryeditorpropertyexpression) * [`fn withProperty(value)`](#fn-cloudwatchmetricsquerysqlfromqueryeditorpropertyexpressionwithproperty) * [`fn withPropertyMixin(value)`](#fn-cloudwatchmetricsquerysqlfromqueryeditorpropertyexpressionwithpropertymixin) - * [`fn withType(value)`](#fn-cloudwatchmetricsquerysqlfromqueryeditorpropertyexpressionwithtype) + * [`fn withType()`](#fn-cloudwatchmetricsquerysqlfromqueryeditorpropertyexpressionwithtype) * [`obj property`](#obj-cloudwatchmetricsquerysqlfromqueryeditorpropertyexpressionproperty) * [`fn withName(value)`](#fn-cloudwatchmetricsquerysqlfromqueryeditorpropertyexpressionpropertywithname) * [`fn withType(value)`](#fn-cloudwatchmetricsquerysqlfromqueryeditorpropertyexpressionpropertywithtype) @@ -110,12 +110,12 @@ grafonnet.query.cloudWatch * [`fn withName(value)`](#fn-cloudwatchmetricsquerysqlorderbywithname) * [`fn withParameters(value)`](#fn-cloudwatchmetricsquerysqlorderbywithparameters) * [`fn withParametersMixin(value)`](#fn-cloudwatchmetricsquerysqlorderbywithparametersmixin) - * [`fn withType(value)`](#fn-cloudwatchmetricsquerysqlorderbywithtype) + * [`fn withType()`](#fn-cloudwatchmetricsquerysqlorderbywithtype) * [`obj select`](#obj-cloudwatchmetricsquerysqlselect) * [`fn withName(value)`](#fn-cloudwatchmetricsquerysqlselectwithname) * [`fn withParameters(value)`](#fn-cloudwatchmetricsquerysqlselectwithparameters) * [`fn withParametersMixin(value)`](#fn-cloudwatchmetricsquerysqlselectwithparametersmixin) - * [`fn withType(value)`](#fn-cloudwatchmetricsquerysqlselectwithtype) + * [`fn withType()`](#fn-cloudwatchmetricsquerysqlselectwithtype) * [`obj where`](#obj-cloudwatchmetricsquerysqlwhere) * [`fn withExpressions(value)`](#fn-cloudwatchmetricsquerysqlwherewithexpressions) * [`fn withExpressionsMixin(value)`](#fn-cloudwatchmetricsquerysqlwherewithexpressionsmixin) @@ -175,10 +175,7 @@ PARAMETERS: * **value** (`string`) -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 +Set the datasource for this query. #### fn CloudWatchAnnotationQuery.withDimensions ```jsonnet @@ -212,9 +209,7 @@ PARAMETERS: * **value** (`boolean`) - default value: `true` -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) +If hide is set to true, Grafana will filter out the response(s) associated with this query before returning it to the panel. #### fn CloudWatchAnnotationQuery.withMatchExact ```jsonnet @@ -275,15 +270,16 @@ Enable matching on the prefix of the action name or alarm name, specify the pref #### fn CloudWatchAnnotationQuery.withQueryMode ```jsonnet -CloudWatchAnnotationQuery.withQueryMode(value) +CloudWatchAnnotationQuery.withQueryMode(value="Annotations") ``` PARAMETERS: * **value** (`string`) + - default value: `"Annotations"` - valid values: `"Metrics"`, `"Logs"`, `"Annotations"` - +Whether a query is a Metrics, Logs, or Annotations query #### fn CloudWatchAnnotationQuery.withQueryType ```jsonnet @@ -366,10 +362,7 @@ PARAMETERS: * **value** (`string`) -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 +Set the datasource for this query. #### fn CloudWatchLogsQuery.withExpression ```jsonnet @@ -392,9 +385,7 @@ PARAMETERS: * **value** (`boolean`) - default value: `true` -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) +If hide is set to true, Grafana will filter out the response(s) associated with this query before returning it to the panel. #### fn CloudWatchLogsQuery.withId ```jsonnet @@ -453,15 +444,16 @@ Log groups to query #### fn CloudWatchLogsQuery.withQueryMode ```jsonnet -CloudWatchLogsQuery.withQueryMode(value) +CloudWatchLogsQuery.withQueryMode(value="Logs") ``` PARAMETERS: * **value** (`string`) + - default value: `"Logs"` - valid values: `"Metrics"`, `"Logs"`, `"Annotations"` - +Whether a query is a Metrics, Logs, or Annotations query #### fn CloudWatchLogsQuery.withQueryType ```jsonnet @@ -556,10 +548,7 @@ PARAMETERS: * **value** (`string`) -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 +Set the datasource for this query. #### fn CloudWatchMetricsQuery.withDimensions ```jsonnet @@ -604,9 +593,7 @@ PARAMETERS: * **value** (`boolean`) - default value: `true` -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) +If hide is set to true, Grafana will filter out the response(s) associated with this query before returning it to the panel. #### fn CloudWatchMetricsQuery.withId ```jsonnet @@ -649,10 +636,10 @@ CloudWatchMetricsQuery.withMetricEditorMode(value) PARAMETERS: -* **value** (`integer`) +* **value** (`string`) - valid values: `0`, `1` - +Whether to use the query builder or code editor to create the query #### fn CloudWatchMetricsQuery.withMetricName ```jsonnet @@ -672,10 +659,10 @@ CloudWatchMetricsQuery.withMetricQueryType(value) PARAMETERS: -* **value** (`integer`) +* **value** (`string`) - valid values: `0`, `1` - +Whether to use a metric search or metric query. Metric query is referred to as "Metrics Insights" in the AWS console. #### fn CloudWatchMetricsQuery.withNamespace ```jsonnet @@ -701,15 +688,16 @@ The length of time associated with a specific Amazon CloudWatch statistic. Can b #### fn CloudWatchMetricsQuery.withQueryMode ```jsonnet -CloudWatchMetricsQuery.withQueryMode(value) +CloudWatchMetricsQuery.withQueryMode(value="Metrics") ``` PARAMETERS: * **value** (`string`) + - default value: `"Metrics"` - valid values: `"Metrics"`, `"Logs"`, `"Annotations"` - +Whether a query is a Metrics, Logs, or Annotations query #### fn CloudWatchMetricsQuery.withQueryType ```jsonnet @@ -756,7 +744,7 @@ PARAMETERS: * **value** (`object`) - +When the metric query type is `metricQueryType` is set to `Query` and the `metricEditorMode` is set to `Builder`, this field is used to build up an object representation of a SQL query. #### fn CloudWatchMetricsQuery.withSqlExpression ```jsonnet @@ -778,7 +766,7 @@ PARAMETERS: * **value** (`object`) - +When the metric query type is `metricQueryType` is set to `Query` and the `metricEditorMode` is set to `Builder`, this field is used to build up an object representation of a SQL query. #### fn CloudWatchMetricsQuery.withStatistic ```jsonnet @@ -847,7 +835,7 @@ PARAMETERS: * **value** (`object`) - +GROUP BY part of the SQL expression ##### fn CloudWatchMetricsQuery.sql.withGroupByMixin ```jsonnet @@ -858,7 +846,7 @@ PARAMETERS: * **value** (`object`) - +GROUP BY part of the SQL expression ##### fn CloudWatchMetricsQuery.sql.withLimit ```jsonnet @@ -880,7 +868,7 @@ PARAMETERS: * **value** (`object`) - +ORDER BY part of the SQL expression ##### fn CloudWatchMetricsQuery.sql.withOrderByDirection ```jsonnet @@ -902,7 +890,7 @@ PARAMETERS: * **value** (`object`) - +ORDER BY part of the SQL expression ##### fn CloudWatchMetricsQuery.sql.withSelect ```jsonnet @@ -913,7 +901,7 @@ PARAMETERS: * **value** (`object`) - +SELECT part of the SQL expression ##### fn CloudWatchMetricsQuery.sql.withSelectMixin ```jsonnet @@ -924,7 +912,7 @@ PARAMETERS: * **value** (`object`) - +SELECT part of the SQL expression ##### fn CloudWatchMetricsQuery.sql.withWhere ```jsonnet @@ -935,7 +923,7 @@ PARAMETERS: * **value** (`object`) - +WHERE part of the SQL expression ##### fn CloudWatchMetricsQuery.sql.withWhereMixin ```jsonnet @@ -946,7 +934,7 @@ PARAMETERS: * **value** (`object`) - +WHERE part of the SQL expression ##### obj CloudWatchMetricsQuery.sql.from @@ -1033,12 +1021,9 @@ PARAMETERS: ####### fn CloudWatchMetricsQuery.sql.from.QueryEditorFunctionExpression.withType ```jsonnet -CloudWatchMetricsQuery.sql.from.QueryEditorFunctionExpression.withType(value) +CloudWatchMetricsQuery.sql.from.QueryEditorFunctionExpression.withType() ``` -PARAMETERS: - -* **value** (`string`) ###### obj CloudWatchMetricsQuery.sql.from.QueryEditorPropertyExpression @@ -1069,12 +1054,9 @@ PARAMETERS: ####### fn CloudWatchMetricsQuery.sql.from.QueryEditorPropertyExpression.withType ```jsonnet -CloudWatchMetricsQuery.sql.from.QueryEditorPropertyExpression.withType(value) +CloudWatchMetricsQuery.sql.from.QueryEditorPropertyExpression.withType() ``` -PARAMETERS: - -* **value** (`string`) ####### obj CloudWatchMetricsQuery.sql.from.QueryEditorPropertyExpression.property @@ -1179,12 +1161,9 @@ PARAMETERS: ###### fn CloudWatchMetricsQuery.sql.orderBy.withType ```jsonnet -CloudWatchMetricsQuery.sql.orderBy.withType(value) +CloudWatchMetricsQuery.sql.orderBy.withType() ``` -PARAMETERS: - -* **value** (`string`) ##### obj CloudWatchMetricsQuery.sql.select @@ -1226,12 +1205,9 @@ PARAMETERS: ###### fn CloudWatchMetricsQuery.sql.select.withType ```jsonnet -CloudWatchMetricsQuery.sql.select.withType(value) +CloudWatchMetricsQuery.sql.select.withType() ``` -PARAMETERS: - -* **value** (`string`) ##### obj CloudWatchMetricsQuery.sql.where diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/elasticsearch/bucketAggs/Filters/settings/filters.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/elasticsearch/bucketAggs/Filters/settings/filters.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/elasticsearch/bucketAggs/Filters/settings/filters.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/elasticsearch/bucketAggs/Filters/settings/filters.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/elasticsearch/bucketAggs/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/elasticsearch/bucketAggs/index.md similarity index 92% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/elasticsearch/bucketAggs/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/elasticsearch/bucketAggs/index.md index 07316db..f98cbde 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/elasticsearch/bucketAggs/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/elasticsearch/bucketAggs/index.md @@ -13,7 +13,7 @@ * [`fn withId(value)`](#fn-datehistogramwithid) * [`fn withSettings(value)`](#fn-datehistogramwithsettings) * [`fn withSettingsMixin(value)`](#fn-datehistogramwithsettingsmixin) - * [`fn withType(value)`](#fn-datehistogramwithtype) + * [`fn withType()`](#fn-datehistogramwithtype) * [`obj settings`](#obj-datehistogramsettings) * [`fn withInterval(value)`](#fn-datehistogramsettingswithinterval) * [`fn withMinDocCount(value)`](#fn-datehistogramsettingswithmindoccount) @@ -24,7 +24,7 @@ * [`fn withId(value)`](#fn-filterswithid) * [`fn withSettings(value)`](#fn-filterswithsettings) * [`fn withSettingsMixin(value)`](#fn-filterswithsettingsmixin) - * [`fn withType(value)`](#fn-filterswithtype) + * [`fn withType()`](#fn-filterswithtype) * [`obj settings`](#obj-filterssettings) * [`fn withFilters(value)`](#fn-filterssettingswithfilters) * [`fn withFiltersMixin(value)`](#fn-filterssettingswithfiltersmixin) @@ -33,7 +33,7 @@ * [`fn withId(value)`](#fn-geohashgridwithid) * [`fn withSettings(value)`](#fn-geohashgridwithsettings) * [`fn withSettingsMixin(value)`](#fn-geohashgridwithsettingsmixin) - * [`fn withType(value)`](#fn-geohashgridwithtype) + * [`fn withType()`](#fn-geohashgridwithtype) * [`obj settings`](#obj-geohashgridsettings) * [`fn withPrecision(value)`](#fn-geohashgridsettingswithprecision) * [`obj Histogram`](#obj-histogram) @@ -41,7 +41,7 @@ * [`fn withId(value)`](#fn-histogramwithid) * [`fn withSettings(value)`](#fn-histogramwithsettings) * [`fn withSettingsMixin(value)`](#fn-histogramwithsettingsmixin) - * [`fn withType(value)`](#fn-histogramwithtype) + * [`fn withType()`](#fn-histogramwithtype) * [`obj settings`](#obj-histogramsettings) * [`fn withInterval(value)`](#fn-histogramsettingswithinterval) * [`fn withMinDocCount(value)`](#fn-histogramsettingswithmindoccount) @@ -50,13 +50,13 @@ * [`fn withId(value)`](#fn-nestedwithid) * [`fn withSettings(value)`](#fn-nestedwithsettings) * [`fn withSettingsMixin(value)`](#fn-nestedwithsettingsmixin) - * [`fn withType(value)`](#fn-nestedwithtype) + * [`fn withType()`](#fn-nestedwithtype) * [`obj Terms`](#obj-terms) * [`fn withField(value)`](#fn-termswithfield) * [`fn withId(value)`](#fn-termswithid) * [`fn withSettings(value)`](#fn-termswithsettings) * [`fn withSettingsMixin(value)`](#fn-termswithsettingsmixin) - * [`fn withType(value)`](#fn-termswithtype) + * [`fn withType()`](#fn-termswithtype) * [`obj settings`](#obj-termssettings) * [`fn withMinDocCount(value)`](#fn-termssettingswithmindoccount) * [`fn withMissing(value)`](#fn-termssettingswithmissing) @@ -116,12 +116,9 @@ PARAMETERS: #### fn DateHistogram.withType ```jsonnet -DateHistogram.withType(value) +DateHistogram.withType() ``` -PARAMETERS: - -* **value** (`string`) #### obj DateHistogram.settings @@ -221,12 +218,9 @@ PARAMETERS: #### fn Filters.withType ```jsonnet -Filters.withType(value) +Filters.withType() ``` -PARAMETERS: - -* **value** (`string`) #### obj Filters.settings @@ -304,12 +298,9 @@ PARAMETERS: #### fn GeoHashGrid.withType ```jsonnet -GeoHashGrid.withType(value) +GeoHashGrid.withType() ``` -PARAMETERS: - -* **value** (`string`) #### obj GeoHashGrid.settings @@ -376,12 +367,9 @@ PARAMETERS: #### fn Histogram.withType ```jsonnet -Histogram.withType(value) +Histogram.withType() ``` -PARAMETERS: - -* **value** (`string`) #### obj Histogram.settings @@ -459,12 +447,9 @@ PARAMETERS: #### fn Nested.withType ```jsonnet -Nested.withType(value) +Nested.withType() ``` -PARAMETERS: - -* **value** (`string`) ### obj Terms @@ -517,12 +502,9 @@ PARAMETERS: #### fn Terms.withType ```jsonnet -Terms.withType(value) +Terms.withType() ``` -PARAMETERS: - -* **value** (`string`) #### obj Terms.settings diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/elasticsearch/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/elasticsearch/index.md similarity index 82% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/elasticsearch/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/elasticsearch/index.md index b5926b0..a84eb5f 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/elasticsearch/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/elasticsearch/index.md @@ -66,10 +66,7 @@ PARAMETERS: * **value** (`string`) -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 +Set the datasource for this query. ### fn withHide ```jsonnet @@ -81,9 +78,7 @@ PARAMETERS: * **value** (`boolean`) - default value: `true` -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) +If hide is set to true, Grafana will filter out the response(s) associated with this query before returning it to the panel. ### fn withMetrics ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/elasticsearch/metrics/MetricAggregationWithSettings/BucketScript/pipelineVariables.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/elasticsearch/metrics/MetricAggregationWithSettings/BucketScript/pipelineVariables.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/elasticsearch/metrics/MetricAggregationWithSettings/BucketScript/pipelineVariables.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/elasticsearch/metrics/MetricAggregationWithSettings/BucketScript/pipelineVariables.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/elasticsearch/metrics/PipelineMetricAggregation/BucketScript/pipelineVariables.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/elasticsearch/metrics/PipelineMetricAggregation/BucketScript/pipelineVariables.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/elasticsearch/metrics/PipelineMetricAggregation/BucketScript/pipelineVariables.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/elasticsearch/metrics/PipelineMetricAggregation/BucketScript/pipelineVariables.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/elasticsearch/metrics/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/elasticsearch/metrics/index.md similarity index 93% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/elasticsearch/metrics/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/elasticsearch/metrics/index.md index 60a0291..fc18efe 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/elasticsearch/metrics/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/elasticsearch/metrics/index.md @@ -12,7 +12,7 @@ * [`obj Count`](#obj-count) * [`fn withHide(value=true)`](#fn-countwithhide) * [`fn withId(value)`](#fn-countwithid) - * [`fn withType(value)`](#fn-countwithtype) + * [`fn withType()`](#fn-countwithtype) * [`obj MetricAggregationWithSettings`](#obj-metricaggregationwithsettings) * [`obj Average`](#obj-metricaggregationwithsettingsaverage) * [`fn withField(value)`](#fn-metricaggregationwithsettingsaveragewithfield) @@ -20,7 +20,7 @@ * [`fn withId(value)`](#fn-metricaggregationwithsettingsaveragewithid) * [`fn withSettings(value)`](#fn-metricaggregationwithsettingsaveragewithsettings) * [`fn withSettingsMixin(value)`](#fn-metricaggregationwithsettingsaveragewithsettingsmixin) - * [`fn withType(value)`](#fn-metricaggregationwithsettingsaveragewithtype) + * [`fn withType()`](#fn-metricaggregationwithsettingsaveragewithtype) * [`obj settings`](#obj-metricaggregationwithsettingsaveragesettings) * [`fn withMissing(value)`](#fn-metricaggregationwithsettingsaveragesettingswithmissing) * [`fn withScript(value)`](#fn-metricaggregationwithsettingsaveragesettingswithscript) @@ -34,7 +34,7 @@ * [`fn withPipelineVariablesMixin(value)`](#fn-metricaggregationwithsettingsbucketscriptwithpipelinevariablesmixin) * [`fn withSettings(value)`](#fn-metricaggregationwithsettingsbucketscriptwithsettings) * [`fn withSettingsMixin(value)`](#fn-metricaggregationwithsettingsbucketscriptwithsettingsmixin) - * [`fn withType(value)`](#fn-metricaggregationwithsettingsbucketscriptwithtype) + * [`fn withType()`](#fn-metricaggregationwithsettingsbucketscriptwithtype) * [`obj settings`](#obj-metricaggregationwithsettingsbucketscriptsettings) * [`fn withScript(value)`](#fn-metricaggregationwithsettingsbucketscriptsettingswithscript) * [`fn withScriptMixin(value)`](#fn-metricaggregationwithsettingsbucketscriptsettingswithscriptmixin) @@ -47,7 +47,7 @@ * [`fn withPipelineAgg(value)`](#fn-metricaggregationwithsettingscumulativesumwithpipelineagg) * [`fn withSettings(value)`](#fn-metricaggregationwithsettingscumulativesumwithsettings) * [`fn withSettingsMixin(value)`](#fn-metricaggregationwithsettingscumulativesumwithsettingsmixin) - * [`fn withType(value)`](#fn-metricaggregationwithsettingscumulativesumwithtype) + * [`fn withType()`](#fn-metricaggregationwithsettingscumulativesumwithtype) * [`obj settings`](#obj-metricaggregationwithsettingscumulativesumsettings) * [`fn withFormat(value)`](#fn-metricaggregationwithsettingscumulativesumsettingswithformat) * [`obj Derivative`](#obj-metricaggregationwithsettingsderivative) @@ -57,7 +57,7 @@ * [`fn withPipelineAgg(value)`](#fn-metricaggregationwithsettingsderivativewithpipelineagg) * [`fn withSettings(value)`](#fn-metricaggregationwithsettingsderivativewithsettings) * [`fn withSettingsMixin(value)`](#fn-metricaggregationwithsettingsderivativewithsettingsmixin) - * [`fn withType(value)`](#fn-metricaggregationwithsettingsderivativewithtype) + * [`fn withType()`](#fn-metricaggregationwithsettingsderivativewithtype) * [`obj settings`](#obj-metricaggregationwithsettingsderivativesettings) * [`fn withUnit(value)`](#fn-metricaggregationwithsettingsderivativesettingswithunit) * [`obj ExtendedStats`](#obj-metricaggregationwithsettingsextendedstats) @@ -68,7 +68,7 @@ * [`fn withMetaMixin(value)`](#fn-metricaggregationwithsettingsextendedstatswithmetamixin) * [`fn withSettings(value)`](#fn-metricaggregationwithsettingsextendedstatswithsettings) * [`fn withSettingsMixin(value)`](#fn-metricaggregationwithsettingsextendedstatswithsettingsmixin) - * [`fn withType(value)`](#fn-metricaggregationwithsettingsextendedstatswithtype) + * [`fn withType()`](#fn-metricaggregationwithsettingsextendedstatswithtype) * [`obj settings`](#obj-metricaggregationwithsettingsextendedstatssettings) * [`fn withMissing(value)`](#fn-metricaggregationwithsettingsextendedstatssettingswithmissing) * [`fn withScript(value)`](#fn-metricaggregationwithsettingsextendedstatssettingswithscript) @@ -81,7 +81,7 @@ * [`fn withId(value)`](#fn-metricaggregationwithsettingslogswithid) * [`fn withSettings(value)`](#fn-metricaggregationwithsettingslogswithsettings) * [`fn withSettingsMixin(value)`](#fn-metricaggregationwithsettingslogswithsettingsmixin) - * [`fn withType(value)`](#fn-metricaggregationwithsettingslogswithtype) + * [`fn withType()`](#fn-metricaggregationwithsettingslogswithtype) * [`obj settings`](#obj-metricaggregationwithsettingslogssettings) * [`fn withLimit(value)`](#fn-metricaggregationwithsettingslogssettingswithlimit) * [`obj Max`](#obj-metricaggregationwithsettingsmax) @@ -90,7 +90,7 @@ * [`fn withId(value)`](#fn-metricaggregationwithsettingsmaxwithid) * [`fn withSettings(value)`](#fn-metricaggregationwithsettingsmaxwithsettings) * [`fn withSettingsMixin(value)`](#fn-metricaggregationwithsettingsmaxwithsettingsmixin) - * [`fn withType(value)`](#fn-metricaggregationwithsettingsmaxwithtype) + * [`fn withType()`](#fn-metricaggregationwithsettingsmaxwithtype) * [`obj settings`](#obj-metricaggregationwithsettingsmaxsettings) * [`fn withMissing(value)`](#fn-metricaggregationwithsettingsmaxsettingswithmissing) * [`fn withScript(value)`](#fn-metricaggregationwithsettingsmaxsettingswithscript) @@ -103,7 +103,7 @@ * [`fn withId(value)`](#fn-metricaggregationwithsettingsminwithid) * [`fn withSettings(value)`](#fn-metricaggregationwithsettingsminwithsettings) * [`fn withSettingsMixin(value)`](#fn-metricaggregationwithsettingsminwithsettingsmixin) - * [`fn withType(value)`](#fn-metricaggregationwithsettingsminwithtype) + * [`fn withType()`](#fn-metricaggregationwithsettingsminwithtype) * [`obj settings`](#obj-metricaggregationwithsettingsminsettings) * [`fn withMissing(value)`](#fn-metricaggregationwithsettingsminsettingswithmissing) * [`fn withScript(value)`](#fn-metricaggregationwithsettingsminsettingswithscript) @@ -117,7 +117,7 @@ * [`fn withPipelineAgg(value)`](#fn-metricaggregationwithsettingsmovingaveragewithpipelineagg) * [`fn withSettings(value)`](#fn-metricaggregationwithsettingsmovingaveragewithsettings) * [`fn withSettingsMixin(value)`](#fn-metricaggregationwithsettingsmovingaveragewithsettingsmixin) - * [`fn withType(value)`](#fn-metricaggregationwithsettingsmovingaveragewithtype) + * [`fn withType()`](#fn-metricaggregationwithsettingsmovingaveragewithtype) * [`obj MovingFunction`](#obj-metricaggregationwithsettingsmovingfunction) * [`fn withField(value)`](#fn-metricaggregationwithsettingsmovingfunctionwithfield) * [`fn withHide(value=true)`](#fn-metricaggregationwithsettingsmovingfunctionwithhide) @@ -125,7 +125,7 @@ * [`fn withPipelineAgg(value)`](#fn-metricaggregationwithsettingsmovingfunctionwithpipelineagg) * [`fn withSettings(value)`](#fn-metricaggregationwithsettingsmovingfunctionwithsettings) * [`fn withSettingsMixin(value)`](#fn-metricaggregationwithsettingsmovingfunctionwithsettingsmixin) - * [`fn withType(value)`](#fn-metricaggregationwithsettingsmovingfunctionwithtype) + * [`fn withType()`](#fn-metricaggregationwithsettingsmovingfunctionwithtype) * [`obj settings`](#obj-metricaggregationwithsettingsmovingfunctionsettings) * [`fn withScript(value)`](#fn-metricaggregationwithsettingsmovingfunctionsettingswithscript) * [`fn withScriptMixin(value)`](#fn-metricaggregationwithsettingsmovingfunctionsettingswithscriptmixin) @@ -139,7 +139,7 @@ * [`fn withId(value)`](#fn-metricaggregationwithsettingspercentileswithid) * [`fn withSettings(value)`](#fn-metricaggregationwithsettingspercentileswithsettings) * [`fn withSettingsMixin(value)`](#fn-metricaggregationwithsettingspercentileswithsettingsmixin) - * [`fn withType(value)`](#fn-metricaggregationwithsettingspercentileswithtype) + * [`fn withType()`](#fn-metricaggregationwithsettingspercentileswithtype) * [`obj settings`](#obj-metricaggregationwithsettingspercentilessettings) * [`fn withMissing(value)`](#fn-metricaggregationwithsettingspercentilessettingswithmissing) * [`fn withPercents(value)`](#fn-metricaggregationwithsettingspercentilessettingswithpercents) @@ -154,7 +154,7 @@ * [`fn withId(value)`](#fn-metricaggregationwithsettingsratewithid) * [`fn withSettings(value)`](#fn-metricaggregationwithsettingsratewithsettings) * [`fn withSettingsMixin(value)`](#fn-metricaggregationwithsettingsratewithsettingsmixin) - * [`fn withType(value)`](#fn-metricaggregationwithsettingsratewithtype) + * [`fn withType()`](#fn-metricaggregationwithsettingsratewithtype) * [`obj settings`](#obj-metricaggregationwithsettingsratesettings) * [`fn withMode(value)`](#fn-metricaggregationwithsettingsratesettingswithmode) * [`fn withUnit(value)`](#fn-metricaggregationwithsettingsratesettingswithunit) @@ -163,7 +163,7 @@ * [`fn withId(value)`](#fn-metricaggregationwithsettingsrawdatawithid) * [`fn withSettings(value)`](#fn-metricaggregationwithsettingsrawdatawithsettings) * [`fn withSettingsMixin(value)`](#fn-metricaggregationwithsettingsrawdatawithsettingsmixin) - * [`fn withType(value)`](#fn-metricaggregationwithsettingsrawdatawithtype) + * [`fn withType()`](#fn-metricaggregationwithsettingsrawdatawithtype) * [`obj settings`](#obj-metricaggregationwithsettingsrawdatasettings) * [`fn withSize(value)`](#fn-metricaggregationwithsettingsrawdatasettingswithsize) * [`obj RawDocument`](#obj-metricaggregationwithsettingsrawdocument) @@ -171,7 +171,7 @@ * [`fn withId(value)`](#fn-metricaggregationwithsettingsrawdocumentwithid) * [`fn withSettings(value)`](#fn-metricaggregationwithsettingsrawdocumentwithsettings) * [`fn withSettingsMixin(value)`](#fn-metricaggregationwithsettingsrawdocumentwithsettingsmixin) - * [`fn withType(value)`](#fn-metricaggregationwithsettingsrawdocumentwithtype) + * [`fn withType()`](#fn-metricaggregationwithsettingsrawdocumentwithtype) * [`obj settings`](#obj-metricaggregationwithsettingsrawdocumentsettings) * [`fn withSize(value)`](#fn-metricaggregationwithsettingsrawdocumentsettingswithsize) * [`obj SerialDiff`](#obj-metricaggregationwithsettingsserialdiff) @@ -181,7 +181,7 @@ * [`fn withPipelineAgg(value)`](#fn-metricaggregationwithsettingsserialdiffwithpipelineagg) * [`fn withSettings(value)`](#fn-metricaggregationwithsettingsserialdiffwithsettings) * [`fn withSettingsMixin(value)`](#fn-metricaggregationwithsettingsserialdiffwithsettingsmixin) - * [`fn withType(value)`](#fn-metricaggregationwithsettingsserialdiffwithtype) + * [`fn withType()`](#fn-metricaggregationwithsettingsserialdiffwithtype) * [`obj settings`](#obj-metricaggregationwithsettingsserialdiffsettings) * [`fn withLag(value)`](#fn-metricaggregationwithsettingsserialdiffsettingswithlag) * [`obj Sum`](#obj-metricaggregationwithsettingssum) @@ -190,7 +190,7 @@ * [`fn withId(value)`](#fn-metricaggregationwithsettingssumwithid) * [`fn withSettings(value)`](#fn-metricaggregationwithsettingssumwithsettings) * [`fn withSettingsMixin(value)`](#fn-metricaggregationwithsettingssumwithsettingsmixin) - * [`fn withType(value)`](#fn-metricaggregationwithsettingssumwithtype) + * [`fn withType()`](#fn-metricaggregationwithsettingssumwithtype) * [`obj settings`](#obj-metricaggregationwithsettingssumsettings) * [`fn withMissing(value)`](#fn-metricaggregationwithsettingssumsettingswithmissing) * [`fn withScript(value)`](#fn-metricaggregationwithsettingssumsettingswithscript) @@ -202,7 +202,7 @@ * [`fn withId(value)`](#fn-metricaggregationwithsettingstopmetricswithid) * [`fn withSettings(value)`](#fn-metricaggregationwithsettingstopmetricswithsettings) * [`fn withSettingsMixin(value)`](#fn-metricaggregationwithsettingstopmetricswithsettingsmixin) - * [`fn withType(value)`](#fn-metricaggregationwithsettingstopmetricswithtype) + * [`fn withType()`](#fn-metricaggregationwithsettingstopmetricswithtype) * [`obj settings`](#obj-metricaggregationwithsettingstopmetricssettings) * [`fn withMetrics(value)`](#fn-metricaggregationwithsettingstopmetricssettingswithmetrics) * [`fn withMetricsMixin(value)`](#fn-metricaggregationwithsettingstopmetricssettingswithmetricsmixin) @@ -214,7 +214,7 @@ * [`fn withId(value)`](#fn-metricaggregationwithsettingsuniquecountwithid) * [`fn withSettings(value)`](#fn-metricaggregationwithsettingsuniquecountwithsettings) * [`fn withSettingsMixin(value)`](#fn-metricaggregationwithsettingsuniquecountwithsettingsmixin) - * [`fn withType(value)`](#fn-metricaggregationwithsettingsuniquecountwithtype) + * [`fn withType()`](#fn-metricaggregationwithsettingsuniquecountwithtype) * [`obj settings`](#obj-metricaggregationwithsettingsuniquecountsettings) * [`fn withMissing(value)`](#fn-metricaggregationwithsettingsuniquecountsettingswithmissing) * [`fn withPrecisionThreshold(value)`](#fn-metricaggregationwithsettingsuniquecountsettingswithprecisionthreshold) @@ -226,7 +226,7 @@ * [`fn withPipelineVariablesMixin(value)`](#fn-pipelinemetricaggregationbucketscriptwithpipelinevariablesmixin) * [`fn withSettings(value)`](#fn-pipelinemetricaggregationbucketscriptwithsettings) * [`fn withSettingsMixin(value)`](#fn-pipelinemetricaggregationbucketscriptwithsettingsmixin) - * [`fn withType(value)`](#fn-pipelinemetricaggregationbucketscriptwithtype) + * [`fn withType()`](#fn-pipelinemetricaggregationbucketscriptwithtype) * [`obj settings`](#obj-pipelinemetricaggregationbucketscriptsettings) * [`fn withScript(value)`](#fn-pipelinemetricaggregationbucketscriptsettingswithscript) * [`fn withScriptMixin(value)`](#fn-pipelinemetricaggregationbucketscriptsettingswithscriptmixin) @@ -239,7 +239,7 @@ * [`fn withPipelineAgg(value)`](#fn-pipelinemetricaggregationcumulativesumwithpipelineagg) * [`fn withSettings(value)`](#fn-pipelinemetricaggregationcumulativesumwithsettings) * [`fn withSettingsMixin(value)`](#fn-pipelinemetricaggregationcumulativesumwithsettingsmixin) - * [`fn withType(value)`](#fn-pipelinemetricaggregationcumulativesumwithtype) + * [`fn withType()`](#fn-pipelinemetricaggregationcumulativesumwithtype) * [`obj settings`](#obj-pipelinemetricaggregationcumulativesumsettings) * [`fn withFormat(value)`](#fn-pipelinemetricaggregationcumulativesumsettingswithformat) * [`obj Derivative`](#obj-pipelinemetricaggregationderivative) @@ -249,7 +249,7 @@ * [`fn withPipelineAgg(value)`](#fn-pipelinemetricaggregationderivativewithpipelineagg) * [`fn withSettings(value)`](#fn-pipelinemetricaggregationderivativewithsettings) * [`fn withSettingsMixin(value)`](#fn-pipelinemetricaggregationderivativewithsettingsmixin) - * [`fn withType(value)`](#fn-pipelinemetricaggregationderivativewithtype) + * [`fn withType()`](#fn-pipelinemetricaggregationderivativewithtype) * [`obj settings`](#obj-pipelinemetricaggregationderivativesettings) * [`fn withUnit(value)`](#fn-pipelinemetricaggregationderivativesettingswithunit) * [`obj MovingAverage`](#obj-pipelinemetricaggregationmovingaverage) @@ -259,7 +259,7 @@ * [`fn withPipelineAgg(value)`](#fn-pipelinemetricaggregationmovingaveragewithpipelineagg) * [`fn withSettings(value)`](#fn-pipelinemetricaggregationmovingaveragewithsettings) * [`fn withSettingsMixin(value)`](#fn-pipelinemetricaggregationmovingaveragewithsettingsmixin) - * [`fn withType(value)`](#fn-pipelinemetricaggregationmovingaveragewithtype) + * [`fn withType()`](#fn-pipelinemetricaggregationmovingaveragewithtype) ## Fields @@ -292,12 +292,9 @@ PARAMETERS: #### fn Count.withType ```jsonnet -Count.withType(value) +Count.withType() ``` -PARAMETERS: - -* **value** (`string`) ### obj MetricAggregationWithSettings @@ -365,12 +362,9 @@ PARAMETERS: ##### fn MetricAggregationWithSettings.Average.withType ```jsonnet -MetricAggregationWithSettings.Average.withType(value) +MetricAggregationWithSettings.Average.withType() ``` -PARAMETERS: - -* **value** (`string`) ##### obj MetricAggregationWithSettings.Average.settings @@ -496,12 +490,9 @@ PARAMETERS: ##### fn MetricAggregationWithSettings.BucketScript.withType ```jsonnet -MetricAggregationWithSettings.BucketScript.withType(value) +MetricAggregationWithSettings.BucketScript.withType() ``` -PARAMETERS: - -* **value** (`string`) ##### obj MetricAggregationWithSettings.BucketScript.settings @@ -616,12 +607,9 @@ PARAMETERS: ##### fn MetricAggregationWithSettings.CumulativeSum.withType ```jsonnet -MetricAggregationWithSettings.CumulativeSum.withType(value) +MetricAggregationWithSettings.CumulativeSum.withType() ``` -PARAMETERS: - -* **value** (`string`) ##### obj MetricAggregationWithSettings.CumulativeSum.settings @@ -711,12 +699,9 @@ PARAMETERS: ##### fn MetricAggregationWithSettings.Derivative.withType ```jsonnet -MetricAggregationWithSettings.Derivative.withType(value) +MetricAggregationWithSettings.Derivative.withType() ``` -PARAMETERS: - -* **value** (`string`) ##### obj MetricAggregationWithSettings.Derivative.settings @@ -817,12 +802,9 @@ PARAMETERS: ##### fn MetricAggregationWithSettings.ExtendedStats.withType ```jsonnet -MetricAggregationWithSettings.ExtendedStats.withType(value) +MetricAggregationWithSettings.ExtendedStats.withType() ``` -PARAMETERS: - -* **value** (`string`) ##### obj MetricAggregationWithSettings.ExtendedStats.settings @@ -937,12 +919,9 @@ PARAMETERS: ##### fn MetricAggregationWithSettings.Logs.withType ```jsonnet -MetricAggregationWithSettings.Logs.withType(value) +MetricAggregationWithSettings.Logs.withType() ``` -PARAMETERS: - -* **value** (`string`) ##### obj MetricAggregationWithSettings.Logs.settings @@ -1021,12 +1000,9 @@ PARAMETERS: ##### fn MetricAggregationWithSettings.Max.withType ```jsonnet -MetricAggregationWithSettings.Max.withType(value) +MetricAggregationWithSettings.Max.withType() ``` -PARAMETERS: - -* **value** (`string`) ##### obj MetricAggregationWithSettings.Max.settings @@ -1141,12 +1117,9 @@ PARAMETERS: ##### fn MetricAggregationWithSettings.Min.withType ```jsonnet -MetricAggregationWithSettings.Min.withType(value) +MetricAggregationWithSettings.Min.withType() ``` -PARAMETERS: - -* **value** (`string`) ##### obj MetricAggregationWithSettings.Min.settings @@ -1272,12 +1245,9 @@ PARAMETERS: ##### fn MetricAggregationWithSettings.MovingAverage.withType ```jsonnet -MetricAggregationWithSettings.MovingAverage.withType(value) +MetricAggregationWithSettings.MovingAverage.withType() ``` -PARAMETERS: - -* **value** (`string`) #### obj MetricAggregationWithSettings.MovingFunction @@ -1353,12 +1323,9 @@ PARAMETERS: ##### fn MetricAggregationWithSettings.MovingFunction.withType ```jsonnet -MetricAggregationWithSettings.MovingFunction.withType(value) +MetricAggregationWithSettings.MovingFunction.withType() ``` -PARAMETERS: - -* **value** (`string`) ##### obj MetricAggregationWithSettings.MovingFunction.settings @@ -1484,12 +1451,9 @@ PARAMETERS: ##### fn MetricAggregationWithSettings.Percentiles.withType ```jsonnet -MetricAggregationWithSettings.Percentiles.withType(value) +MetricAggregationWithSettings.Percentiles.withType() ``` -PARAMETERS: - -* **value** (`string`) ##### obj MetricAggregationWithSettings.Percentiles.settings @@ -1626,12 +1590,9 @@ PARAMETERS: ##### fn MetricAggregationWithSettings.Rate.withType ```jsonnet -MetricAggregationWithSettings.Rate.withType(value) +MetricAggregationWithSettings.Rate.withType() ``` -PARAMETERS: - -* **value** (`string`) ##### obj MetricAggregationWithSettings.Rate.settings @@ -1710,12 +1671,9 @@ PARAMETERS: ##### fn MetricAggregationWithSettings.RawData.withType ```jsonnet -MetricAggregationWithSettings.RawData.withType(value) +MetricAggregationWithSettings.RawData.withType() ``` -PARAMETERS: - -* **value** (`string`) ##### obj MetricAggregationWithSettings.RawData.settings @@ -1783,12 +1741,9 @@ PARAMETERS: ##### fn MetricAggregationWithSettings.RawDocument.withType ```jsonnet -MetricAggregationWithSettings.RawDocument.withType(value) +MetricAggregationWithSettings.RawDocument.withType() ``` -PARAMETERS: - -* **value** (`string`) ##### obj MetricAggregationWithSettings.RawDocument.settings @@ -1878,12 +1833,9 @@ PARAMETERS: ##### fn MetricAggregationWithSettings.SerialDiff.withType ```jsonnet -MetricAggregationWithSettings.SerialDiff.withType(value) +MetricAggregationWithSettings.SerialDiff.withType() ``` -PARAMETERS: - -* **value** (`string`) ##### obj MetricAggregationWithSettings.SerialDiff.settings @@ -1962,12 +1914,9 @@ PARAMETERS: ##### fn MetricAggregationWithSettings.Sum.withType ```jsonnet -MetricAggregationWithSettings.Sum.withType(value) +MetricAggregationWithSettings.Sum.withType() ``` -PARAMETERS: - -* **value** (`string`) ##### obj MetricAggregationWithSettings.Sum.settings @@ -2071,12 +2020,9 @@ PARAMETERS: ##### fn MetricAggregationWithSettings.TopMetrics.withType ```jsonnet -MetricAggregationWithSettings.TopMetrics.withType(value) +MetricAggregationWithSettings.TopMetrics.withType() ``` -PARAMETERS: - -* **value** (`string`) ##### obj MetricAggregationWithSettings.TopMetrics.settings @@ -2188,12 +2134,9 @@ PARAMETERS: ##### fn MetricAggregationWithSettings.UniqueCount.withType ```jsonnet -MetricAggregationWithSettings.UniqueCount.withType(value) +MetricAggregationWithSettings.UniqueCount.withType() ``` -PARAMETERS: - -* **value** (`string`) ##### obj MetricAggregationWithSettings.UniqueCount.settings @@ -2297,12 +2240,9 @@ PARAMETERS: ##### fn PipelineMetricAggregation.BucketScript.withType ```jsonnet -PipelineMetricAggregation.BucketScript.withType(value) +PipelineMetricAggregation.BucketScript.withType() ``` -PARAMETERS: - -* **value** (`string`) ##### obj PipelineMetricAggregation.BucketScript.settings @@ -2417,12 +2357,9 @@ PARAMETERS: ##### fn PipelineMetricAggregation.CumulativeSum.withType ```jsonnet -PipelineMetricAggregation.CumulativeSum.withType(value) +PipelineMetricAggregation.CumulativeSum.withType() ``` -PARAMETERS: - -* **value** (`string`) ##### obj PipelineMetricAggregation.CumulativeSum.settings @@ -2512,12 +2449,9 @@ PARAMETERS: ##### fn PipelineMetricAggregation.Derivative.withType ```jsonnet -PipelineMetricAggregation.Derivative.withType(value) +PipelineMetricAggregation.Derivative.withType() ``` -PARAMETERS: - -* **value** (`string`) ##### obj PipelineMetricAggregation.Derivative.settings @@ -2607,10 +2541,7 @@ PARAMETERS: ##### fn PipelineMetricAggregation.MovingAverage.withType ```jsonnet -PipelineMetricAggregation.MovingAverage.withType(value) +PipelineMetricAggregation.MovingAverage.withType() ``` -PARAMETERS: - -* **value** (`string`) diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/TypeClassicConditions/conditions.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/TypeClassicConditions/conditions.md new file mode 100644 index 0000000..ec5853e --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/TypeClassicConditions/conditions.md @@ -0,0 +1,205 @@ +# conditions + + + +## Index + +* [`fn withEvaluator(value)`](#fn-withevaluator) +* [`fn withEvaluatorMixin(value)`](#fn-withevaluatormixin) +* [`fn withOperator(value)`](#fn-withoperator) +* [`fn withOperatorMixin(value)`](#fn-withoperatormixin) +* [`fn withQuery(value)`](#fn-withquery) +* [`fn withQueryMixin(value)`](#fn-withquerymixin) +* [`fn withReducer(value)`](#fn-withreducer) +* [`fn withReducerMixin(value)`](#fn-withreducermixin) +* [`obj evaluator`](#obj-evaluator) + * [`fn withParams(value)`](#fn-evaluatorwithparams) + * [`fn withParamsMixin(value)`](#fn-evaluatorwithparamsmixin) + * [`fn withType(value)`](#fn-evaluatorwithtype) +* [`obj operator`](#obj-operator) + * [`fn withType(value)`](#fn-operatorwithtype) +* [`obj query`](#obj-query) + * [`fn withParams(value)`](#fn-querywithparams) + * [`fn withParamsMixin(value)`](#fn-querywithparamsmixin) +* [`obj reducer`](#obj-reducer) + * [`fn withType(value)`](#fn-reducerwithtype) + +## Fields + +### fn withEvaluator + +```jsonnet +withEvaluator(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +### fn withEvaluatorMixin + +```jsonnet +withEvaluatorMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +### fn withOperator + +```jsonnet +withOperator(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +### fn withOperatorMixin + +```jsonnet +withOperatorMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +### fn withQuery + +```jsonnet +withQuery(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +### fn withQueryMixin + +```jsonnet +withQueryMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +### fn withReducer + +```jsonnet +withReducer(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +### fn withReducerMixin + +```jsonnet +withReducerMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +### obj evaluator + + +#### fn evaluator.withParams + +```jsonnet +evaluator.withParams(value) +``` + +PARAMETERS: + +* **value** (`array`) + + +#### fn evaluator.withParamsMixin + +```jsonnet +evaluator.withParamsMixin(value) +``` + +PARAMETERS: + +* **value** (`array`) + + +#### fn evaluator.withType + +```jsonnet +evaluator.withType(value) +``` + +PARAMETERS: + +* **value** (`string`) + +e.g. "gt" +### obj operator + + +#### fn operator.withType + +```jsonnet +operator.withType(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"and"`, `"or"`, `"logic-or"` + + +### obj query + + +#### fn query.withParams + +```jsonnet +query.withParams(value) +``` + +PARAMETERS: + +* **value** (`array`) + + +#### fn query.withParamsMixin + +```jsonnet +query.withParamsMixin(value) +``` + +PARAMETERS: + +* **value** (`array`) + + +### obj reducer + + +#### fn reducer.withType + +```jsonnet +reducer.withType(value) +``` + +PARAMETERS: + +* **value** (`string`) + diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/TypeClassicConditions/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/TypeClassicConditions/index.md new file mode 100644 index 0000000..e2b1f59 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/TypeClassicConditions/index.md @@ -0,0 +1,324 @@ +# TypeClassicConditions + +grafonnet.query.expr.TypeClassicConditions + +## Subpackages + +* [conditions](conditions.md) + +## Index + +* [`fn withConditions(value)`](#fn-withconditions) +* [`fn withConditionsMixin(value)`](#fn-withconditionsmixin) +* [`fn withDatasource(value)`](#fn-withdatasource) +* [`fn withDatasourceMixin(value)`](#fn-withdatasourcemixin) +* [`fn withHide(value=true)`](#fn-withhide) +* [`fn withIntervalMs(value)`](#fn-withintervalms) +* [`fn withMaxDataPoints(value)`](#fn-withmaxdatapoints) +* [`fn withQueryType(value)`](#fn-withquerytype) +* [`fn withRefId(value)`](#fn-withrefid) +* [`fn withResultAssertions(value)`](#fn-withresultassertions) +* [`fn withResultAssertionsMixin(value)`](#fn-withresultassertionsmixin) +* [`fn withTimeRange(value)`](#fn-withtimerange) +* [`fn withTimeRangeMixin(value)`](#fn-withtimerangemixin) +* [`fn withType()`](#fn-withtype) +* [`obj datasource`](#obj-datasource) + * [`fn withApiVersion(value)`](#fn-datasourcewithapiversion) + * [`fn withType()`](#fn-datasourcewithtype) + * [`fn withUid(value)`](#fn-datasourcewithuid) +* [`obj resultAssertions`](#obj-resultassertions) + * [`fn withMaxFrames(value)`](#fn-resultassertionswithmaxframes) + * [`fn withType(value)`](#fn-resultassertionswithtype) + * [`fn withTypeVersion(value)`](#fn-resultassertionswithtypeversion) + * [`fn withTypeVersionMixin(value)`](#fn-resultassertionswithtypeversionmixin) +* [`obj timeRange`](#obj-timerange) + * [`fn withFrom(value="now-6h")`](#fn-timerangewithfrom) + * [`fn withTo(value="now")`](#fn-timerangewithto) + +## Fields + +### fn withConditions + +```jsonnet +withConditions(value) +``` + +PARAMETERS: + +* **value** (`array`) + + +### fn withConditionsMixin + +```jsonnet +withConditionsMixin(value) +``` + +PARAMETERS: + +* **value** (`array`) + + +### fn withDatasource + +```jsonnet +withDatasource(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The datasource +### fn withDatasourceMixin + +```jsonnet +withDatasourceMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The datasource +### fn withHide + +```jsonnet +withHide(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +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) +### fn withIntervalMs + +```jsonnet +withIntervalMs(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Interval is the suggested duration between time points in a time series query. +NOTE: the values for intervalMs is not saved in the query model. It is typically calculated +from the interval required to fill a pixels in the visualization +### fn withMaxDataPoints + +```jsonnet +withMaxDataPoints(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +MaxDataPoints is the maximum number of data points that should be returned from a time series query. +NOTE: the values for maxDataPoints is not saved in the query model. It is typically calculated +from the number of pixels visible in a visualization +### fn withQueryType + +```jsonnet +withQueryType(value) +``` + +PARAMETERS: + +* **value** (`string`) + +QueryType is an optional identifier for the type of query. +It can be used to distinguish different types of queries. +### fn withRefId + +```jsonnet +withRefId(value) +``` + +PARAMETERS: + +* **value** (`string`) + +RefID is the unique identifier of the query, set by the frontend call. +### fn withResultAssertions + +```jsonnet +withResultAssertions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Optionally define expected query result behavior +### fn withResultAssertionsMixin + +```jsonnet +withResultAssertionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Optionally define expected query result behavior +### fn withTimeRange + +```jsonnet +withTimeRange(value) +``` + +PARAMETERS: + +* **value** (`object`) + +TimeRange represents the query range +NOTE: unlike generic /ds/query, we can now send explicit time values in each query +NOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly +### fn withTimeRangeMixin + +```jsonnet +withTimeRangeMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +TimeRange represents the query range +NOTE: unlike generic /ds/query, we can now send explicit time values in each query +NOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly +### fn withType + +```jsonnet +withType() +``` + + + +### obj datasource + + +#### fn datasource.withApiVersion + +```jsonnet +datasource.withApiVersion(value) +``` + +PARAMETERS: + +* **value** (`string`) + +The apiserver version +#### fn datasource.withType + +```jsonnet +datasource.withType() +``` + + +The datasource plugin type +#### fn datasource.withUid + +```jsonnet +datasource.withUid(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Datasource UID (NOTE: name in k8s) +### obj resultAssertions + + +#### fn resultAssertions.withMaxFrames + +```jsonnet +resultAssertions.withMaxFrames(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Maximum frame count +#### fn resultAssertions.withType + +```jsonnet +resultAssertions.withType(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `""`, `"timeseries-wide"`, `"timeseries-long"`, `"timeseries-many"`, `"timeseries-multi"`, `"directory-listing"`, `"table"`, `"numeric-wide"`, `"numeric-multi"`, `"numeric-long"`, `"log-lines"` + +Type asserts that the frame matches a known type structure. +Possible enum values: + - `""` + - `"timeseries-wide"` + - `"timeseries-long"` + - `"timeseries-many"` + - `"timeseries-multi"` + - `"directory-listing"` + - `"table"` + - `"numeric-wide"` + - `"numeric-multi"` + - `"numeric-long"` + - `"log-lines"` +#### fn resultAssertions.withTypeVersion + +```jsonnet +resultAssertions.withTypeVersion(value) +``` + +PARAMETERS: + +* **value** (`array`) + +TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane +contract documentation https://grafana.github.io/dataplane/contract/. +#### fn resultAssertions.withTypeVersionMixin + +```jsonnet +resultAssertions.withTypeVersionMixin(value) +``` + +PARAMETERS: + +* **value** (`array`) + +TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane +contract documentation https://grafana.github.io/dataplane/contract/. +### obj timeRange + + +#### fn timeRange.withFrom + +```jsonnet +timeRange.withFrom(value="now-6h") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `"now-6h"` + +From is the start time of the query. +#### fn timeRange.withTo + +```jsonnet +timeRange.withTo(value="now") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `"now"` + +To is the end time of the query. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/TypeMath.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/TypeMath.md new file mode 100644 index 0000000..a8b85d2 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/TypeMath.md @@ -0,0 +1,308 @@ +# TypeMath + +grafonnet.query.expr.TypeMath + +## Index + +* [`fn withDatasource(value)`](#fn-withdatasource) +* [`fn withDatasourceMixin(value)`](#fn-withdatasourcemixin) +* [`fn withExpression(value)`](#fn-withexpression) +* [`fn withHide(value=true)`](#fn-withhide) +* [`fn withIntervalMs(value)`](#fn-withintervalms) +* [`fn withMaxDataPoints(value)`](#fn-withmaxdatapoints) +* [`fn withQueryType(value)`](#fn-withquerytype) +* [`fn withRefId(value)`](#fn-withrefid) +* [`fn withResultAssertions(value)`](#fn-withresultassertions) +* [`fn withResultAssertionsMixin(value)`](#fn-withresultassertionsmixin) +* [`fn withTimeRange(value)`](#fn-withtimerange) +* [`fn withTimeRangeMixin(value)`](#fn-withtimerangemixin) +* [`fn withType()`](#fn-withtype) +* [`obj datasource`](#obj-datasource) + * [`fn withApiVersion(value)`](#fn-datasourcewithapiversion) + * [`fn withType()`](#fn-datasourcewithtype) + * [`fn withUid(value)`](#fn-datasourcewithuid) +* [`obj resultAssertions`](#obj-resultassertions) + * [`fn withMaxFrames(value)`](#fn-resultassertionswithmaxframes) + * [`fn withType(value)`](#fn-resultassertionswithtype) + * [`fn withTypeVersion(value)`](#fn-resultassertionswithtypeversion) + * [`fn withTypeVersionMixin(value)`](#fn-resultassertionswithtypeversionmixin) +* [`obj timeRange`](#obj-timerange) + * [`fn withFrom(value="now-6h")`](#fn-timerangewithfrom) + * [`fn withTo(value="now")`](#fn-timerangewithto) + +## Fields + +### fn withDatasource + +```jsonnet +withDatasource(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The datasource +### fn withDatasourceMixin + +```jsonnet +withDatasourceMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The datasource +### fn withExpression + +```jsonnet +withExpression(value) +``` + +PARAMETERS: + +* **value** (`string`) + +General math expression +### fn withHide + +```jsonnet +withHide(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +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) +### fn withIntervalMs + +```jsonnet +withIntervalMs(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Interval is the suggested duration between time points in a time series query. +NOTE: the values for intervalMs is not saved in the query model. It is typically calculated +from the interval required to fill a pixels in the visualization +### fn withMaxDataPoints + +```jsonnet +withMaxDataPoints(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +MaxDataPoints is the maximum number of data points that should be returned from a time series query. +NOTE: the values for maxDataPoints is not saved in the query model. It is typically calculated +from the number of pixels visible in a visualization +### fn withQueryType + +```jsonnet +withQueryType(value) +``` + +PARAMETERS: + +* **value** (`string`) + +QueryType is an optional identifier for the type of query. +It can be used to distinguish different types of queries. +### fn withRefId + +```jsonnet +withRefId(value) +``` + +PARAMETERS: + +* **value** (`string`) + +RefID is the unique identifier of the query, set by the frontend call. +### fn withResultAssertions + +```jsonnet +withResultAssertions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Optionally define expected query result behavior +### fn withResultAssertionsMixin + +```jsonnet +withResultAssertionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Optionally define expected query result behavior +### fn withTimeRange + +```jsonnet +withTimeRange(value) +``` + +PARAMETERS: + +* **value** (`object`) + +TimeRange represents the query range +NOTE: unlike generic /ds/query, we can now send explicit time values in each query +NOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly +### fn withTimeRangeMixin + +```jsonnet +withTimeRangeMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +TimeRange represents the query range +NOTE: unlike generic /ds/query, we can now send explicit time values in each query +NOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly +### fn withType + +```jsonnet +withType() +``` + + + +### obj datasource + + +#### fn datasource.withApiVersion + +```jsonnet +datasource.withApiVersion(value) +``` + +PARAMETERS: + +* **value** (`string`) + +The apiserver version +#### fn datasource.withType + +```jsonnet +datasource.withType() +``` + + +The datasource plugin type +#### fn datasource.withUid + +```jsonnet +datasource.withUid(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Datasource UID (NOTE: name in k8s) +### obj resultAssertions + + +#### fn resultAssertions.withMaxFrames + +```jsonnet +resultAssertions.withMaxFrames(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Maximum frame count +#### fn resultAssertions.withType + +```jsonnet +resultAssertions.withType(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `""`, `"timeseries-wide"`, `"timeseries-long"`, `"timeseries-many"`, `"timeseries-multi"`, `"directory-listing"`, `"table"`, `"numeric-wide"`, `"numeric-multi"`, `"numeric-long"`, `"log-lines"` + +Type asserts that the frame matches a known type structure. +Possible enum values: + - `""` + - `"timeseries-wide"` + - `"timeseries-long"` + - `"timeseries-many"` + - `"timeseries-multi"` + - `"directory-listing"` + - `"table"` + - `"numeric-wide"` + - `"numeric-multi"` + - `"numeric-long"` + - `"log-lines"` +#### fn resultAssertions.withTypeVersion + +```jsonnet +resultAssertions.withTypeVersion(value) +``` + +PARAMETERS: + +* **value** (`array`) + +TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane +contract documentation https://grafana.github.io/dataplane/contract/. +#### fn resultAssertions.withTypeVersionMixin + +```jsonnet +resultAssertions.withTypeVersionMixin(value) +``` + +PARAMETERS: + +* **value** (`array`) + +TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane +contract documentation https://grafana.github.io/dataplane/contract/. +### obj timeRange + + +#### fn timeRange.withFrom + +```jsonnet +timeRange.withFrom(value="now-6h") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `"now-6h"` + +From is the start time of the query. +#### fn timeRange.withTo + +```jsonnet +timeRange.withTo(value="now") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `"now"` + +To is the end time of the query. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/TypeReduce.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/TypeReduce.md new file mode 100644 index 0000000..fd7c605 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/TypeReduce.md @@ -0,0 +1,385 @@ +# TypeReduce + +grafonnet.query.expr.TypeReduce + +## Index + +* [`fn withDatasource(value)`](#fn-withdatasource) +* [`fn withDatasourceMixin(value)`](#fn-withdatasourcemixin) +* [`fn withExpression(value)`](#fn-withexpression) +* [`fn withHide(value=true)`](#fn-withhide) +* [`fn withIntervalMs(value)`](#fn-withintervalms) +* [`fn withMaxDataPoints(value)`](#fn-withmaxdatapoints) +* [`fn withQueryType(value)`](#fn-withquerytype) +* [`fn withReducer(value)`](#fn-withreducer) +* [`fn withRefId(value)`](#fn-withrefid) +* [`fn withResultAssertions(value)`](#fn-withresultassertions) +* [`fn withResultAssertionsMixin(value)`](#fn-withresultassertionsmixin) +* [`fn withSettings(value)`](#fn-withsettings) +* [`fn withSettingsMixin(value)`](#fn-withsettingsmixin) +* [`fn withTimeRange(value)`](#fn-withtimerange) +* [`fn withTimeRangeMixin(value)`](#fn-withtimerangemixin) +* [`fn withType()`](#fn-withtype) +* [`obj datasource`](#obj-datasource) + * [`fn withApiVersion(value)`](#fn-datasourcewithapiversion) + * [`fn withType()`](#fn-datasourcewithtype) + * [`fn withUid(value)`](#fn-datasourcewithuid) +* [`obj resultAssertions`](#obj-resultassertions) + * [`fn withMaxFrames(value)`](#fn-resultassertionswithmaxframes) + * [`fn withType(value)`](#fn-resultassertionswithtype) + * [`fn withTypeVersion(value)`](#fn-resultassertionswithtypeversion) + * [`fn withTypeVersionMixin(value)`](#fn-resultassertionswithtypeversionmixin) +* [`obj settings`](#obj-settings) + * [`fn withMode(value)`](#fn-settingswithmode) + * [`fn withReplaceWithValue(value)`](#fn-settingswithreplacewithvalue) +* [`obj timeRange`](#obj-timerange) + * [`fn withFrom(value="now-6h")`](#fn-timerangewithfrom) + * [`fn withTo(value="now")`](#fn-timerangewithto) + +## Fields + +### fn withDatasource + +```jsonnet +withDatasource(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The datasource +### fn withDatasourceMixin + +```jsonnet +withDatasourceMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The datasource +### fn withExpression + +```jsonnet +withExpression(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Reference to single query result +### fn withHide + +```jsonnet +withHide(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +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) +### fn withIntervalMs + +```jsonnet +withIntervalMs(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Interval is the suggested duration between time points in a time series query. +NOTE: the values for intervalMs is not saved in the query model. It is typically calculated +from the interval required to fill a pixels in the visualization +### fn withMaxDataPoints + +```jsonnet +withMaxDataPoints(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +MaxDataPoints is the maximum number of data points that should be returned from a time series query. +NOTE: the values for maxDataPoints is not saved in the query model. It is typically calculated +from the number of pixels visible in a visualization +### fn withQueryType + +```jsonnet +withQueryType(value) +``` + +PARAMETERS: + +* **value** (`string`) + +QueryType is an optional identifier for the type of query. +It can be used to distinguish different types of queries. +### fn withReducer + +```jsonnet +withReducer(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"sum"`, `"mean"`, `"min"`, `"max"`, `"count"`, `"last"`, `"median"` + +The reducer +Possible enum values: + - `"sum"` + - `"mean"` + - `"min"` + - `"max"` + - `"count"` + - `"last"` + - `"median"` +### fn withRefId + +```jsonnet +withRefId(value) +``` + +PARAMETERS: + +* **value** (`string`) + +RefID is the unique identifier of the query, set by the frontend call. +### fn withResultAssertions + +```jsonnet +withResultAssertions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Optionally define expected query result behavior +### fn withResultAssertionsMixin + +```jsonnet +withResultAssertionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Optionally define expected query result behavior +### fn withSettings + +```jsonnet +withSettings(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Reducer Options +### fn withSettingsMixin + +```jsonnet +withSettingsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Reducer Options +### fn withTimeRange + +```jsonnet +withTimeRange(value) +``` + +PARAMETERS: + +* **value** (`object`) + +TimeRange represents the query range +NOTE: unlike generic /ds/query, we can now send explicit time values in each query +NOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly +### fn withTimeRangeMixin + +```jsonnet +withTimeRangeMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +TimeRange represents the query range +NOTE: unlike generic /ds/query, we can now send explicit time values in each query +NOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly +### fn withType + +```jsonnet +withType() +``` + + + +### obj datasource + + +#### fn datasource.withApiVersion + +```jsonnet +datasource.withApiVersion(value) +``` + +PARAMETERS: + +* **value** (`string`) + +The apiserver version +#### fn datasource.withType + +```jsonnet +datasource.withType() +``` + + +The datasource plugin type +#### fn datasource.withUid + +```jsonnet +datasource.withUid(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Datasource UID (NOTE: name in k8s) +### obj resultAssertions + + +#### fn resultAssertions.withMaxFrames + +```jsonnet +resultAssertions.withMaxFrames(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Maximum frame count +#### fn resultAssertions.withType + +```jsonnet +resultAssertions.withType(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `""`, `"timeseries-wide"`, `"timeseries-long"`, `"timeseries-many"`, `"timeseries-multi"`, `"directory-listing"`, `"table"`, `"numeric-wide"`, `"numeric-multi"`, `"numeric-long"`, `"log-lines"` + +Type asserts that the frame matches a known type structure. +Possible enum values: + - `""` + - `"timeseries-wide"` + - `"timeseries-long"` + - `"timeseries-many"` + - `"timeseries-multi"` + - `"directory-listing"` + - `"table"` + - `"numeric-wide"` + - `"numeric-multi"` + - `"numeric-long"` + - `"log-lines"` +#### fn resultAssertions.withTypeVersion + +```jsonnet +resultAssertions.withTypeVersion(value) +``` + +PARAMETERS: + +* **value** (`array`) + +TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane +contract documentation https://grafana.github.io/dataplane/contract/. +#### fn resultAssertions.withTypeVersionMixin + +```jsonnet +resultAssertions.withTypeVersionMixin(value) +``` + +PARAMETERS: + +* **value** (`array`) + +TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane +contract documentation https://grafana.github.io/dataplane/contract/. +### obj settings + + +#### fn settings.withMode + +```jsonnet +settings.withMode(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"dropNN"`, `"replaceNN"` + +Non-number reduce behavior +Possible enum values: + - `"dropNN"` Drop non-numbers + - `"replaceNN"` Replace non-numbers +#### fn settings.withReplaceWithValue + +```jsonnet +settings.withReplaceWithValue(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Only valid when mode is replace +### obj timeRange + + +#### fn timeRange.withFrom + +```jsonnet +timeRange.withFrom(value="now-6h") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `"now-6h"` + +From is the start time of the query. +#### fn timeRange.withTo + +```jsonnet +timeRange.withTo(value="now") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `"now"` + +To is the end time of the query. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/TypeResample.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/TypeResample.md new file mode 100644 index 0000000..d68ca1d --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/TypeResample.md @@ -0,0 +1,358 @@ +# TypeResample + +grafonnet.query.expr.TypeResample + +## Index + +* [`fn withDatasource(value)`](#fn-withdatasource) +* [`fn withDatasourceMixin(value)`](#fn-withdatasourcemixin) +* [`fn withDownsampler(value)`](#fn-withdownsampler) +* [`fn withExpression(value)`](#fn-withexpression) +* [`fn withHide(value=true)`](#fn-withhide) +* [`fn withIntervalMs(value)`](#fn-withintervalms) +* [`fn withMaxDataPoints(value)`](#fn-withmaxdatapoints) +* [`fn withQueryType(value)`](#fn-withquerytype) +* [`fn withRefId(value)`](#fn-withrefid) +* [`fn withResultAssertions(value)`](#fn-withresultassertions) +* [`fn withResultAssertionsMixin(value)`](#fn-withresultassertionsmixin) +* [`fn withTimeRange(value)`](#fn-withtimerange) +* [`fn withTimeRangeMixin(value)`](#fn-withtimerangemixin) +* [`fn withType()`](#fn-withtype) +* [`fn withUpsampler(value)`](#fn-withupsampler) +* [`fn withWindow(value)`](#fn-withwindow) +* [`obj datasource`](#obj-datasource) + * [`fn withApiVersion(value)`](#fn-datasourcewithapiversion) + * [`fn withType()`](#fn-datasourcewithtype) + * [`fn withUid(value)`](#fn-datasourcewithuid) +* [`obj resultAssertions`](#obj-resultassertions) + * [`fn withMaxFrames(value)`](#fn-resultassertionswithmaxframes) + * [`fn withType(value)`](#fn-resultassertionswithtype) + * [`fn withTypeVersion(value)`](#fn-resultassertionswithtypeversion) + * [`fn withTypeVersionMixin(value)`](#fn-resultassertionswithtypeversionmixin) +* [`obj timeRange`](#obj-timerange) + * [`fn withFrom(value="now-6h")`](#fn-timerangewithfrom) + * [`fn withTo(value="now")`](#fn-timerangewithto) + +## Fields + +### fn withDatasource + +```jsonnet +withDatasource(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The datasource +### fn withDatasourceMixin + +```jsonnet +withDatasourceMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The datasource +### fn withDownsampler + +```jsonnet +withDownsampler(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"sum"`, `"mean"`, `"min"`, `"max"`, `"count"`, `"last"`, `"median"` + +The downsample function +Possible enum values: + - `"sum"` + - `"mean"` + - `"min"` + - `"max"` + - `"count"` + - `"last"` + - `"median"` +### fn withExpression + +```jsonnet +withExpression(value) +``` + +PARAMETERS: + +* **value** (`string`) + +The math expression +### fn withHide + +```jsonnet +withHide(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +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) +### fn withIntervalMs + +```jsonnet +withIntervalMs(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Interval is the suggested duration between time points in a time series query. +NOTE: the values for intervalMs is not saved in the query model. It is typically calculated +from the interval required to fill a pixels in the visualization +### fn withMaxDataPoints + +```jsonnet +withMaxDataPoints(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +MaxDataPoints is the maximum number of data points that should be returned from a time series query. +NOTE: the values for maxDataPoints is not saved in the query model. It is typically calculated +from the number of pixels visible in a visualization +### fn withQueryType + +```jsonnet +withQueryType(value) +``` + +PARAMETERS: + +* **value** (`string`) + +QueryType is an optional identifier for the type of query. +It can be used to distinguish different types of queries. +### fn withRefId + +```jsonnet +withRefId(value) +``` + +PARAMETERS: + +* **value** (`string`) + +RefID is the unique identifier of the query, set by the frontend call. +### fn withResultAssertions + +```jsonnet +withResultAssertions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Optionally define expected query result behavior +### fn withResultAssertionsMixin + +```jsonnet +withResultAssertionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Optionally define expected query result behavior +### fn withTimeRange + +```jsonnet +withTimeRange(value) +``` + +PARAMETERS: + +* **value** (`object`) + +TimeRange represents the query range +NOTE: unlike generic /ds/query, we can now send explicit time values in each query +NOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly +### fn withTimeRangeMixin + +```jsonnet +withTimeRangeMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +TimeRange represents the query range +NOTE: unlike generic /ds/query, we can now send explicit time values in each query +NOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly +### fn withType + +```jsonnet +withType() +``` + + + +### fn withUpsampler + +```jsonnet +withUpsampler(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"pad"`, `"backfilling"`, `"fillna"` + +The upsample function +Possible enum values: + - `"pad"` Use the last seen value + - `"backfilling"` backfill + - `"fillna"` Do not fill values (nill) +### fn withWindow + +```jsonnet +withWindow(value) +``` + +PARAMETERS: + +* **value** (`string`) + +The time duration +### obj datasource + + +#### fn datasource.withApiVersion + +```jsonnet +datasource.withApiVersion(value) +``` + +PARAMETERS: + +* **value** (`string`) + +The apiserver version +#### fn datasource.withType + +```jsonnet +datasource.withType() +``` + + +The datasource plugin type +#### fn datasource.withUid + +```jsonnet +datasource.withUid(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Datasource UID (NOTE: name in k8s) +### obj resultAssertions + + +#### fn resultAssertions.withMaxFrames + +```jsonnet +resultAssertions.withMaxFrames(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Maximum frame count +#### fn resultAssertions.withType + +```jsonnet +resultAssertions.withType(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `""`, `"timeseries-wide"`, `"timeseries-long"`, `"timeseries-many"`, `"timeseries-multi"`, `"directory-listing"`, `"table"`, `"numeric-wide"`, `"numeric-multi"`, `"numeric-long"`, `"log-lines"` + +Type asserts that the frame matches a known type structure. +Possible enum values: + - `""` + - `"timeseries-wide"` + - `"timeseries-long"` + - `"timeseries-many"` + - `"timeseries-multi"` + - `"directory-listing"` + - `"table"` + - `"numeric-wide"` + - `"numeric-multi"` + - `"numeric-long"` + - `"log-lines"` +#### fn resultAssertions.withTypeVersion + +```jsonnet +resultAssertions.withTypeVersion(value) +``` + +PARAMETERS: + +* **value** (`array`) + +TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane +contract documentation https://grafana.github.io/dataplane/contract/. +#### fn resultAssertions.withTypeVersionMixin + +```jsonnet +resultAssertions.withTypeVersionMixin(value) +``` + +PARAMETERS: + +* **value** (`array`) + +TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane +contract documentation https://grafana.github.io/dataplane/contract/. +### obj timeRange + + +#### fn timeRange.withFrom + +```jsonnet +timeRange.withFrom(value="now-6h") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `"now-6h"` + +From is the start time of the query. +#### fn timeRange.withTo + +```jsonnet +timeRange.withTo(value="now") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `"now"` + +To is the end time of the query. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/TypeSql.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/TypeSql.md new file mode 100644 index 0000000..f0a4639 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/TypeSql.md @@ -0,0 +1,308 @@ +# TypeSql + +grafonnet.query.expr.TypeSql + +## Index + +* [`fn withDatasource(value)`](#fn-withdatasource) +* [`fn withDatasourceMixin(value)`](#fn-withdatasourcemixin) +* [`fn withExpression(value)`](#fn-withexpression) +* [`fn withHide(value=true)`](#fn-withhide) +* [`fn withIntervalMs(value)`](#fn-withintervalms) +* [`fn withMaxDataPoints(value)`](#fn-withmaxdatapoints) +* [`fn withQueryType(value)`](#fn-withquerytype) +* [`fn withRefId(value)`](#fn-withrefid) +* [`fn withResultAssertions(value)`](#fn-withresultassertions) +* [`fn withResultAssertionsMixin(value)`](#fn-withresultassertionsmixin) +* [`fn withTimeRange(value)`](#fn-withtimerange) +* [`fn withTimeRangeMixin(value)`](#fn-withtimerangemixin) +* [`fn withType()`](#fn-withtype) +* [`obj datasource`](#obj-datasource) + * [`fn withApiVersion(value)`](#fn-datasourcewithapiversion) + * [`fn withType()`](#fn-datasourcewithtype) + * [`fn withUid(value)`](#fn-datasourcewithuid) +* [`obj resultAssertions`](#obj-resultassertions) + * [`fn withMaxFrames(value)`](#fn-resultassertionswithmaxframes) + * [`fn withType(value)`](#fn-resultassertionswithtype) + * [`fn withTypeVersion(value)`](#fn-resultassertionswithtypeversion) + * [`fn withTypeVersionMixin(value)`](#fn-resultassertionswithtypeversionmixin) +* [`obj timeRange`](#obj-timerange) + * [`fn withFrom(value="now-6h")`](#fn-timerangewithfrom) + * [`fn withTo(value="now")`](#fn-timerangewithto) + +## Fields + +### fn withDatasource + +```jsonnet +withDatasource(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The datasource +### fn withDatasourceMixin + +```jsonnet +withDatasourceMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The datasource +### fn withExpression + +```jsonnet +withExpression(value) +``` + +PARAMETERS: + +* **value** (`string`) + + +### fn withHide + +```jsonnet +withHide(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +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) +### fn withIntervalMs + +```jsonnet +withIntervalMs(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Interval is the suggested duration between time points in a time series query. +NOTE: the values for intervalMs is not saved in the query model. It is typically calculated +from the interval required to fill a pixels in the visualization +### fn withMaxDataPoints + +```jsonnet +withMaxDataPoints(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +MaxDataPoints is the maximum number of data points that should be returned from a time series query. +NOTE: the values for maxDataPoints is not saved in the query model. It is typically calculated +from the number of pixels visible in a visualization +### fn withQueryType + +```jsonnet +withQueryType(value) +``` + +PARAMETERS: + +* **value** (`string`) + +QueryType is an optional identifier for the type of query. +It can be used to distinguish different types of queries. +### fn withRefId + +```jsonnet +withRefId(value) +``` + +PARAMETERS: + +* **value** (`string`) + +RefID is the unique identifier of the query, set by the frontend call. +### fn withResultAssertions + +```jsonnet +withResultAssertions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Optionally define expected query result behavior +### fn withResultAssertionsMixin + +```jsonnet +withResultAssertionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Optionally define expected query result behavior +### fn withTimeRange + +```jsonnet +withTimeRange(value) +``` + +PARAMETERS: + +* **value** (`object`) + +TimeRange represents the query range +NOTE: unlike generic /ds/query, we can now send explicit time values in each query +NOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly +### fn withTimeRangeMixin + +```jsonnet +withTimeRangeMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +TimeRange represents the query range +NOTE: unlike generic /ds/query, we can now send explicit time values in each query +NOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly +### fn withType + +```jsonnet +withType() +``` + + + +### obj datasource + + +#### fn datasource.withApiVersion + +```jsonnet +datasource.withApiVersion(value) +``` + +PARAMETERS: + +* **value** (`string`) + +The apiserver version +#### fn datasource.withType + +```jsonnet +datasource.withType() +``` + + +The datasource plugin type +#### fn datasource.withUid + +```jsonnet +datasource.withUid(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Datasource UID (NOTE: name in k8s) +### obj resultAssertions + + +#### fn resultAssertions.withMaxFrames + +```jsonnet +resultAssertions.withMaxFrames(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Maximum frame count +#### fn resultAssertions.withType + +```jsonnet +resultAssertions.withType(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `""`, `"timeseries-wide"`, `"timeseries-long"`, `"timeseries-many"`, `"timeseries-multi"`, `"directory-listing"`, `"table"`, `"numeric-wide"`, `"numeric-multi"`, `"numeric-long"`, `"log-lines"` + +Type asserts that the frame matches a known type structure. +Possible enum values: + - `""` + - `"timeseries-wide"` + - `"timeseries-long"` + - `"timeseries-many"` + - `"timeseries-multi"` + - `"directory-listing"` + - `"table"` + - `"numeric-wide"` + - `"numeric-multi"` + - `"numeric-long"` + - `"log-lines"` +#### fn resultAssertions.withTypeVersion + +```jsonnet +resultAssertions.withTypeVersion(value) +``` + +PARAMETERS: + +* **value** (`array`) + +TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane +contract documentation https://grafana.github.io/dataplane/contract/. +#### fn resultAssertions.withTypeVersionMixin + +```jsonnet +resultAssertions.withTypeVersionMixin(value) +``` + +PARAMETERS: + +* **value** (`array`) + +TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane +contract documentation https://grafana.github.io/dataplane/contract/. +### obj timeRange + + +#### fn timeRange.withFrom + +```jsonnet +timeRange.withFrom(value="now-6h") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `"now-6h"` + +From is the start time of the query. +#### fn timeRange.withTo + +```jsonnet +timeRange.withTo(value="now") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `"now"` + +To is the end time of the query. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/TypeThreshold/conditions.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/TypeThreshold/conditions.md new file mode 100644 index 0000000..554ddb9 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/TypeThreshold/conditions.md @@ -0,0 +1,163 @@ +# conditions + + + +## Index + +* [`fn withEvaluator(value)`](#fn-withevaluator) +* [`fn withEvaluatorMixin(value)`](#fn-withevaluatormixin) +* [`fn withLoadedDimensions(value)`](#fn-withloadeddimensions) +* [`fn withLoadedDimensionsMixin(value)`](#fn-withloadeddimensionsmixin) +* [`fn withUnloadEvaluator(value)`](#fn-withunloadevaluator) +* [`fn withUnloadEvaluatorMixin(value)`](#fn-withunloadevaluatormixin) +* [`obj evaluator`](#obj-evaluator) + * [`fn withParams(value)`](#fn-evaluatorwithparams) + * [`fn withParamsMixin(value)`](#fn-evaluatorwithparamsmixin) + * [`fn withType(value)`](#fn-evaluatorwithtype) +* [`obj unloadEvaluator`](#obj-unloadevaluator) + * [`fn withParams(value)`](#fn-unloadevaluatorwithparams) + * [`fn withParamsMixin(value)`](#fn-unloadevaluatorwithparamsmixin) + * [`fn withType(value)`](#fn-unloadevaluatorwithtype) + +## Fields + +### fn withEvaluator + +```jsonnet +withEvaluator(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +### fn withEvaluatorMixin + +```jsonnet +withEvaluatorMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +### fn withLoadedDimensions + +```jsonnet +withLoadedDimensions(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +### fn withLoadedDimensionsMixin + +```jsonnet +withLoadedDimensionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +### fn withUnloadEvaluator + +```jsonnet +withUnloadEvaluator(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +### fn withUnloadEvaluatorMixin + +```jsonnet +withUnloadEvaluatorMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +### obj evaluator + + +#### fn evaluator.withParams + +```jsonnet +evaluator.withParams(value) +``` + +PARAMETERS: + +* **value** (`array`) + + +#### fn evaluator.withParamsMixin + +```jsonnet +evaluator.withParamsMixin(value) +``` + +PARAMETERS: + +* **value** (`array`) + + +#### fn evaluator.withType + +```jsonnet +evaluator.withType(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"gt"`, `"lt"`, `"within_range"`, `"outside_range"` + +e.g. "gt" +### obj unloadEvaluator + + +#### fn unloadEvaluator.withParams + +```jsonnet +unloadEvaluator.withParams(value) +``` + +PARAMETERS: + +* **value** (`array`) + + +#### fn unloadEvaluator.withParamsMixin + +```jsonnet +unloadEvaluator.withParamsMixin(value) +``` + +PARAMETERS: + +* **value** (`array`) + + +#### fn unloadEvaluator.withType + +```jsonnet +unloadEvaluator.withType(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"gt"`, `"lt"`, `"within_range"`, `"outside_range"` + +e.g. "gt" \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/TypeThreshold/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/TypeThreshold/index.md new file mode 100644 index 0000000..e2e47f1 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/TypeThreshold/index.md @@ -0,0 +1,336 @@ +# TypeThreshold + +grafonnet.query.expr.TypeThreshold + +## Subpackages + +* [conditions](conditions.md) + +## Index + +* [`fn withConditions(value)`](#fn-withconditions) +* [`fn withConditionsMixin(value)`](#fn-withconditionsmixin) +* [`fn withDatasource(value)`](#fn-withdatasource) +* [`fn withDatasourceMixin(value)`](#fn-withdatasourcemixin) +* [`fn withExpression(value)`](#fn-withexpression) +* [`fn withHide(value=true)`](#fn-withhide) +* [`fn withIntervalMs(value)`](#fn-withintervalms) +* [`fn withMaxDataPoints(value)`](#fn-withmaxdatapoints) +* [`fn withQueryType(value)`](#fn-withquerytype) +* [`fn withRefId(value)`](#fn-withrefid) +* [`fn withResultAssertions(value)`](#fn-withresultassertions) +* [`fn withResultAssertionsMixin(value)`](#fn-withresultassertionsmixin) +* [`fn withTimeRange(value)`](#fn-withtimerange) +* [`fn withTimeRangeMixin(value)`](#fn-withtimerangemixin) +* [`fn withType()`](#fn-withtype) +* [`obj datasource`](#obj-datasource) + * [`fn withApiVersion(value)`](#fn-datasourcewithapiversion) + * [`fn withType()`](#fn-datasourcewithtype) + * [`fn withUid(value)`](#fn-datasourcewithuid) +* [`obj resultAssertions`](#obj-resultassertions) + * [`fn withMaxFrames(value)`](#fn-resultassertionswithmaxframes) + * [`fn withType(value)`](#fn-resultassertionswithtype) + * [`fn withTypeVersion(value)`](#fn-resultassertionswithtypeversion) + * [`fn withTypeVersionMixin(value)`](#fn-resultassertionswithtypeversionmixin) +* [`obj timeRange`](#obj-timerange) + * [`fn withFrom(value="now-6h")`](#fn-timerangewithfrom) + * [`fn withTo(value="now")`](#fn-timerangewithto) + +## Fields + +### fn withConditions + +```jsonnet +withConditions(value) +``` + +PARAMETERS: + +* **value** (`array`) + +Threshold Conditions +### fn withConditionsMixin + +```jsonnet +withConditionsMixin(value) +``` + +PARAMETERS: + +* **value** (`array`) + +Threshold Conditions +### fn withDatasource + +```jsonnet +withDatasource(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The datasource +### fn withDatasourceMixin + +```jsonnet +withDatasourceMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +The datasource +### fn withExpression + +```jsonnet +withExpression(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Reference to single query result +### fn withHide + +```jsonnet +withHide(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +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) +### fn withIntervalMs + +```jsonnet +withIntervalMs(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Interval is the suggested duration between time points in a time series query. +NOTE: the values for intervalMs is not saved in the query model. It is typically calculated +from the interval required to fill a pixels in the visualization +### fn withMaxDataPoints + +```jsonnet +withMaxDataPoints(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +MaxDataPoints is the maximum number of data points that should be returned from a time series query. +NOTE: the values for maxDataPoints is not saved in the query model. It is typically calculated +from the number of pixels visible in a visualization +### fn withQueryType + +```jsonnet +withQueryType(value) +``` + +PARAMETERS: + +* **value** (`string`) + +QueryType is an optional identifier for the type of query. +It can be used to distinguish different types of queries. +### fn withRefId + +```jsonnet +withRefId(value) +``` + +PARAMETERS: + +* **value** (`string`) + +RefID is the unique identifier of the query, set by the frontend call. +### fn withResultAssertions + +```jsonnet +withResultAssertions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Optionally define expected query result behavior +### fn withResultAssertionsMixin + +```jsonnet +withResultAssertionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Optionally define expected query result behavior +### fn withTimeRange + +```jsonnet +withTimeRange(value) +``` + +PARAMETERS: + +* **value** (`object`) + +TimeRange represents the query range +NOTE: unlike generic /ds/query, we can now send explicit time values in each query +NOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly +### fn withTimeRangeMixin + +```jsonnet +withTimeRangeMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +TimeRange represents the query range +NOTE: unlike generic /ds/query, we can now send explicit time values in each query +NOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly +### fn withType + +```jsonnet +withType() +``` + + + +### obj datasource + + +#### fn datasource.withApiVersion + +```jsonnet +datasource.withApiVersion(value) +``` + +PARAMETERS: + +* **value** (`string`) + +The apiserver version +#### fn datasource.withType + +```jsonnet +datasource.withType() +``` + + +The datasource plugin type +#### fn datasource.withUid + +```jsonnet +datasource.withUid(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Datasource UID (NOTE: name in k8s) +### obj resultAssertions + + +#### fn resultAssertions.withMaxFrames + +```jsonnet +resultAssertions.withMaxFrames(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Maximum frame count +#### fn resultAssertions.withType + +```jsonnet +resultAssertions.withType(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `""`, `"timeseries-wide"`, `"timeseries-long"`, `"timeseries-many"`, `"timeseries-multi"`, `"directory-listing"`, `"table"`, `"numeric-wide"`, `"numeric-multi"`, `"numeric-long"`, `"log-lines"` + +Type asserts that the frame matches a known type structure. +Possible enum values: + - `""` + - `"timeseries-wide"` + - `"timeseries-long"` + - `"timeseries-many"` + - `"timeseries-multi"` + - `"directory-listing"` + - `"table"` + - `"numeric-wide"` + - `"numeric-multi"` + - `"numeric-long"` + - `"log-lines"` +#### fn resultAssertions.withTypeVersion + +```jsonnet +resultAssertions.withTypeVersion(value) +``` + +PARAMETERS: + +* **value** (`array`) + +TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane +contract documentation https://grafana.github.io/dataplane/contract/. +#### fn resultAssertions.withTypeVersionMixin + +```jsonnet +resultAssertions.withTypeVersionMixin(value) +``` + +PARAMETERS: + +* **value** (`array`) + +TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane +contract documentation https://grafana.github.io/dataplane/contract/. +### obj timeRange + + +#### fn timeRange.withFrom + +```jsonnet +timeRange.withFrom(value="now-6h") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `"now-6h"` + +From is the start time of the query. +#### fn timeRange.withTo + +```jsonnet +timeRange.withTo(value="now") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `"now"` + +To is the end time of the query. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/index.md new file mode 100644 index 0000000..a89a72a --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/expr/index.md @@ -0,0 +1,12 @@ +# expr + +Server Side Expression operations for grafonnet.alerting.ruleGroup.rule + +## Subpackages + +* [TypeClassicConditions](TypeClassicConditions/index.md) +* [TypeMath](TypeMath.md) +* [TypeReduce](TypeReduce.md) +* [TypeResample](TypeResample.md) +* [TypeSql](TypeSql.md) +* [TypeThreshold](TypeThreshold/index.md) diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/googleCloudMonitoring.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/googleCloudMonitoring.md similarity index 95% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/googleCloudMonitoring.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/googleCloudMonitoring.md index 7b82b66..b728940 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/googleCloudMonitoring.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/googleCloudMonitoring.md @@ -52,7 +52,7 @@ grafonnet.query.googleCloudMonitoring * [`fn withTitle(value)`](#fn-timeserieslistwithtitle) * [`fn withView(value)`](#fn-timeserieslistwithview) * [`obj timeSeriesQuery`](#obj-timeseriesquery) - * [`fn withGraphPeriod(value)`](#fn-timeseriesquerywithgraphperiod) + * [`fn withGraphPeriod(value="disabled")`](#fn-timeseriesquerywithgraphperiod) * [`fn withProjectName(value)`](#fn-timeseriesquerywithprojectname) * [`fn withQuery(value)`](#fn-timeseriesquerywithquery) @@ -79,10 +79,7 @@ PARAMETERS: * **value** (`string`) -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 +Set the datasource for this query. ### fn withHide ```jsonnet @@ -94,9 +91,7 @@ PARAMETERS: * **value** (`boolean`) - default value: `true` -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) +If hide is set to true, Grafana will filter out the response(s) associated with this query before returning it to the panel. ### fn withIntervalMs ```jsonnet @@ -567,12 +562,13 @@ Data view, defaults to FULL. #### fn timeSeriesQuery.withGraphPeriod ```jsonnet -timeSeriesQuery.withGraphPeriod(value) +timeSeriesQuery.withGraphPeriod(value="disabled") ``` PARAMETERS: * **value** (`string`) + - default value: `"disabled"` To disable the graphPeriod, it should explictly be set to 'disabled'. #### fn timeSeriesQuery.withProjectName diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/grafanaPyroscope.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/grafanaPyroscope.md similarity index 83% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/grafanaPyroscope.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/grafanaPyroscope.md index 265f6c7..c150bba 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/grafanaPyroscope.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/grafanaPyroscope.md @@ -28,10 +28,7 @@ PARAMETERS: * **value** (`string`) -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 +Set the datasource for this query. ### fn withGroupBy ```jsonnet @@ -65,9 +62,7 @@ PARAMETERS: * **value** (`boolean`) - default value: `true` -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) +If hide is set to true, Grafana will filter out the response(s) associated with this query before returning it to the panel. ### fn withLabelSelector ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/index.md similarity index 94% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/index.md index c36150f..2e38197 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/index.md @@ -7,6 +7,7 @@ grafonnet.query * [azureMonitor](azureMonitor/index.md) * [cloudWatch](cloudWatch/index.md) * [elasticsearch](elasticsearch/index.md) +* [expr](expr/index.md) * [googleCloudMonitoring](googleCloudMonitoring.md) * [grafanaPyroscope](grafanaPyroscope.md) * [loki](loki.md) diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/loki.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/loki.md similarity index 91% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/loki.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/loki.md index 273d5f6..2ebd28f 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/loki.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/loki.md @@ -77,9 +77,7 @@ PARAMETERS: * **value** (`boolean`) - default value: `true` -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) +If hide is set to true, Grafana will filter out the response(s) associated with this query before returning it to the panel. ### fn withInstant ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/parca.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/parca.md similarity index 74% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/parca.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/parca.md index 6edbee5..03c73bf 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/parca.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/parca.md @@ -23,10 +23,7 @@ PARAMETERS: * **value** (`string`) -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 +Set the datasource for this query. ### fn withHide ```jsonnet @@ -38,9 +35,7 @@ PARAMETERS: * **value** (`boolean`) - default value: `true` -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) +If hide is set to true, Grafana will filter out the response(s) associated with this query before returning it to the panel. ### fn withLabelSelector ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/prometheus.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/prometheus.md similarity index 81% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/prometheus.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/prometheus.md index 027be68..f35381e 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/prometheus.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/prometheus.md @@ -12,15 +12,12 @@ grafonnet.query.prometheus * [`fn withFormat(value)`](#fn-withformat) * [`fn withHide(value=true)`](#fn-withhide) * [`fn withInstant(value=true)`](#fn-withinstant) +* [`fn withInterval(value)`](#fn-withinterval) * [`fn withIntervalFactor(value)`](#fn-withintervalfactor) * [`fn withLegendFormat(value)`](#fn-withlegendformat) * [`fn withQueryType(value)`](#fn-withquerytype) * [`fn withRange(value=true)`](#fn-withrange) * [`fn withRefId(value)`](#fn-withrefid) -* [`fn withScope(value)`](#fn-withscope) -* [`fn withScopeMixin(value)`](#fn-withscopemixin) -* [`obj scope`](#obj-scope) - * [`fn withMatchers(value)`](#fn-scopewithmatchers) ## Fields @@ -58,7 +55,7 @@ PARAMETERS: * **value** (`string`) - valid values: `"code"`, `"builder"` - +Specifies which editor is being used to prepare the query. It can be "code" or "builder" ### fn withExemplar ```jsonnet @@ -93,7 +90,7 @@ PARAMETERS: * **value** (`string`) - valid values: `"time_series"`, `"table"`, `"heatmap"` - +Query format to determine how to display data points in panel. It can be "time_series", "table", "heatmap" ### fn withHide ```jsonnet @@ -105,9 +102,7 @@ PARAMETERS: * **value** (`boolean`) - default value: `true` -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) +If hide is set to true, Grafana will filter out the response(s) associated with this query before returning it to the panel. ### fn withInstant ```jsonnet @@ -120,6 +115,18 @@ PARAMETERS: - default value: `true` Returns only the latest value that Prometheus has scraped for the requested time series +### fn withInterval + +```jsonnet +withInterval(value) +``` + +PARAMETERS: + +* **value** (`string`) + +An additional lower limit for the step parameter of the Prometheus query and for the +`$__interval` and `$__rate_interval` variables. ### fn withIntervalFactor ```jsonnet @@ -178,39 +185,4 @@ PARAMETERS: 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. -### fn withScope - -```jsonnet -withScope(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -### fn withScopeMixin - -```jsonnet -withScopeMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - - -### obj scope - - -#### fn scope.withMatchers - -```jsonnet -scope.withMatchers(value) -``` - -PARAMETERS: - -* **value** (`string`) - +By default, the UI will assign A->Z; however setting meaningful names may be useful. \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/tempo/filters.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/tempo/filters.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/tempo/filters.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/tempo/filters.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/tempo/groupBy.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/tempo/groupBy.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/tempo/groupBy.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/tempo/groupBy.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/tempo/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/tempo/index.md similarity index 94% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/tempo/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/tempo/index.md index acb5c74..c3d9877 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/tempo/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/tempo/index.md @@ -112,9 +112,7 @@ PARAMETERS: * **value** (`boolean`) - default value: `true` -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) +If hide is set to true, Grafana will filter out the response(s) associated with this query before returning it to the panel. ### fn withLimit ```jsonnet @@ -271,6 +269,6 @@ withTableType(value) PARAMETERS: * **value** (`string`) - - valid values: `"traces"`, `"spans"` + - valid values: `"traces"`, `"spans"`, `"raw"` The type of the table that is used to display the search results \ No newline at end of file diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/testData/csvWave.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/testData/csvWave.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/testData/csvWave.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/testData/csvWave.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/testData/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/testData/index.md similarity index 55% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/testData/index.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/testData/index.md index e1def17..913802f 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/query/testData/index.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/query/testData/index.md @@ -19,11 +19,16 @@ grafonnet.query.testData * [`fn withErrorType(value)`](#fn-witherrortype) * [`fn withFlamegraphDiff(value=true)`](#fn-withflamegraphdiff) * [`fn withHide(value=true)`](#fn-withhide) +* [`fn withIntervalMs(value)`](#fn-withintervalms) * [`fn withLabels(value)`](#fn-withlabels) * [`fn withLevelColumn(value=true)`](#fn-withlevelcolumn) * [`fn withLines(value)`](#fn-withlines) +* [`fn withMax(value)`](#fn-withmax) +* [`fn withMaxDataPoints(value)`](#fn-withmaxdatapoints) +* [`fn withMin(value)`](#fn-withmin) * [`fn withNodes(value)`](#fn-withnodes) * [`fn withNodesMixin(value)`](#fn-withnodesmixin) +* [`fn withNoise(value)`](#fn-withnoise) * [`fn withPoints(value)`](#fn-withpoints) * [`fn withPointsMixin(value)`](#fn-withpointsmixin) * [`fn withPulseWave(value)`](#fn-withpulsewave) @@ -31,16 +36,27 @@ grafonnet.query.testData * [`fn withQueryType(value)`](#fn-withquerytype) * [`fn withRawFrameContent(value)`](#fn-withrawframecontent) * [`fn withRefId(value)`](#fn-withrefid) +* [`fn withResultAssertions(value)`](#fn-withresultassertions) +* [`fn withResultAssertionsMixin(value)`](#fn-withresultassertionsmixin) * [`fn withScenarioId(value)`](#fn-withscenarioid) * [`fn withSeriesCount(value)`](#fn-withseriescount) * [`fn withSim(value)`](#fn-withsim) * [`fn withSimMixin(value)`](#fn-withsimmixin) * [`fn withSpanCount(value)`](#fn-withspancount) +* [`fn withSpread(value)`](#fn-withspread) +* [`fn withStartValue(value)`](#fn-withstartvalue) * [`fn withStream(value)`](#fn-withstream) * [`fn withStreamMixin(value)`](#fn-withstreammixin) * [`fn withStringInput(value)`](#fn-withstringinput) +* [`fn withTimeRange(value)`](#fn-withtimerange) +* [`fn withTimeRangeMixin(value)`](#fn-withtimerangemixin) * [`fn withUsa(value)`](#fn-withusa) * [`fn withUsaMixin(value)`](#fn-withusamixin) +* [`fn withWithNil(value=true)`](#fn-withwithnil) +* [`obj datasource`](#obj-datasource) + * [`fn withApiVersion(value)`](#fn-datasourcewithapiversion) + * [`fn withType(value)`](#fn-datasourcewithtype) + * [`fn withUid(value)`](#fn-datasourcewithuid) * [`obj nodes`](#obj-nodes) * [`fn withCount(value)`](#fn-nodeswithcount) * [`fn withSeed(value)`](#fn-nodeswithseed) @@ -51,6 +67,11 @@ grafonnet.query.testData * [`fn withOnCount(value)`](#fn-pulsewavewithoncount) * [`fn withOnValue(value)`](#fn-pulsewavewithonvalue) * [`fn withTimeStep(value)`](#fn-pulsewavewithtimestep) +* [`obj resultAssertions`](#obj-resultassertions) + * [`fn withMaxFrames(value)`](#fn-resultassertionswithmaxframes) + * [`fn withType(value)`](#fn-resultassertionswithtype) + * [`fn withTypeVersion(value)`](#fn-resultassertionswithtypeversion) + * [`fn withTypeVersionMixin(value)`](#fn-resultassertionswithtypeversionmixin) * [`obj sim`](#obj-sim) * [`fn withConfig(value)`](#fn-simwithconfig) * [`fn withConfigMixin(value)`](#fn-simwithconfigmixin) @@ -69,6 +90,9 @@ grafonnet.query.testData * [`fn withSpread(value)`](#fn-streamwithspread) * [`fn withType(value)`](#fn-streamwithtype) * [`fn withUrl(value)`](#fn-streamwithurl) +* [`obj timeRange`](#obj-timerange) + * [`fn withFrom(value="now-6h")`](#fn-timerangewithfrom) + * [`fn withTo(value="now")`](#fn-timerangewithto) * [`obj usa`](#obj-usa) * [`fn withFields(value)`](#fn-usawithfields) * [`fn withFieldsMixin(value)`](#fn-usawithfieldsmixin) @@ -100,7 +124,7 @@ PARAMETERS: * **value** (`string`) - +Used for live query ### fn withCsvContent ```jsonnet @@ -155,10 +179,7 @@ PARAMETERS: * **value** (`string`) -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 +Set the datasource for this query. ### fn withDropPercent ```jsonnet @@ -179,9 +200,12 @@ withErrorType(value) PARAMETERS: * **value** (`string`) - - valid values: `"server_panic"`, `"frontend_exception"`, `"frontend_observable"` - + - valid values: `"frontend_exception"`, `"frontend_observable"`, `"server_panic"` +Possible enum values: + - `"frontend_exception"` + - `"frontend_observable"` + - `"server_panic"` ### fn withFlamegraphDiff ```jsonnet @@ -206,8 +230,21 @@ PARAMETERS: - default value: `true` 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 +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) +### fn withIntervalMs + +```jsonnet +withIntervalMs(value) +``` + +PARAMETERS: + +* **value** (`number`) + +Interval is the suggested duration between time points in a time series query. +NOTE: the values for intervalMs is not saved in the query model. It is typically calculated +from the interval required to fill a pixels in the visualization ### fn withLabels ```jsonnet @@ -242,6 +279,41 @@ PARAMETERS: * **value** (`integer`) +### fn withMax + +```jsonnet +withMax(value) +``` + +PARAMETERS: + +* **value** (`number`) + + +### fn withMaxDataPoints + +```jsonnet +withMaxDataPoints(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +MaxDataPoints is the maximum number of data points that should be returned from a time series query. +NOTE: the values for maxDataPoints is not saved in the query model. It is typically calculated +from the number of pixels visible in a visualization +### fn withMin + +```jsonnet +withMin(value) +``` + +PARAMETERS: + +* **value** (`number`) + + ### fn withNodes ```jsonnet @@ -264,6 +336,17 @@ PARAMETERS: * **value** (`object`) +### fn withNoise + +```jsonnet +withNoise(value) +``` + +PARAMETERS: + +* **value** (`number`) + + ### fn withPoints ```jsonnet @@ -318,8 +401,8 @@ PARAMETERS: * **value** (`string`) -Specify the query flavor -TODO make this required and give it a default +QueryType is an optional identifier for the type of query. +It can be used to distinguish different types of queries. ### fn withRawFrameContent ```jsonnet @@ -341,9 +424,29 @@ PARAMETERS: * **value** (`string`) -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. +RefID is the unique identifier of the query, set by the frontend call. +### fn withResultAssertions + +```jsonnet +withResultAssertions(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Optionally define expected query result behavior +### fn withResultAssertionsMixin + +```jsonnet +withResultAssertionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Optionally define expected query result behavior ### fn withScenarioId ```jsonnet @@ -353,9 +456,38 @@ withScenarioId(value) PARAMETERS: * **value** (`string`) - - valid values: `"random_walk"`, `"slow_query"`, `"random_walk_with_error"`, `"random_walk_table"`, `"exponential_heatmap_bucket_data"`, `"linear_heatmap_bucket_data"`, `"no_data_points"`, `"datapoints_outside_range"`, `"csv_metric_values"`, `"predictable_pulse"`, `"predictable_csv_wave"`, `"streaming_client"`, `"simulation"`, `"usa"`, `"live"`, `"grafana_api"`, `"arrow"`, `"annotations"`, `"table_static"`, `"server_error_500"`, `"logs"`, `"node_graph"`, `"flame_graph"`, `"raw_frame"`, `"csv_file"`, `"csv_content"`, `"trace"`, `"manual_entry"`, `"variables-query"` - - + - valid values: `"annotations"`, `"arrow"`, `"csv_content"`, `"csv_file"`, `"csv_metric_values"`, `"datapoints_outside_range"`, `"exponential_heatmap_bucket_data"`, `"flame_graph"`, `"grafana_api"`, `"linear_heatmap_bucket_data"`, `"live"`, `"logs"`, `"manual_entry"`, `"no_data_points"`, `"node_graph"`, `"predictable_csv_wave"`, `"predictable_pulse"`, `"random_walk"`, `"random_walk_table"`, `"random_walk_with_error"`, `"raw_frame"`, `"server_error_500"`, `"simulation"`, `"slow_query"`, `"streaming_client"`, `"table_static"`, `"trace"`, `"usa"`, `"variables-query"` + +Possible enum values: + - `"annotations"` + - `"arrow"` + - `"csv_content"` + - `"csv_file"` + - `"csv_metric_values"` + - `"datapoints_outside_range"` + - `"exponential_heatmap_bucket_data"` + - `"flame_graph"` + - `"grafana_api"` + - `"linear_heatmap_bucket_data"` + - `"live"` + - `"logs"` + - `"manual_entry"` + - `"no_data_points"` + - `"node_graph"` + - `"predictable_csv_wave"` + - `"predictable_pulse"` + - `"random_walk"` + - `"random_walk_table"` + - `"random_walk_with_error"` + - `"raw_frame"` + - `"server_error_500"` + - `"simulation"` + - `"slow_query"` + - `"streaming_client"` + - `"table_static"` + - `"trace"` + - `"usa"` + - `"variables-query"` ### fn withSeriesCount ```jsonnet @@ -400,6 +532,28 @@ PARAMETERS: * **value** (`integer`) +### fn withSpread + +```jsonnet +withSpread(value) +``` + +PARAMETERS: + +* **value** (`number`) + + +### fn withStartValue + +```jsonnet +withStartValue(value) +``` + +PARAMETERS: + +* **value** (`number`) + + ### fn withStream ```jsonnet @@ -432,7 +586,33 @@ PARAMETERS: * **value** (`string`) +common parameter used by many query types +### fn withTimeRange + +```jsonnet +withTimeRange(value) +``` + +PARAMETERS: + +* **value** (`object`) + +TimeRange represents the query range +NOTE: unlike generic /ds/query, we can now send explicit time values in each query +NOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly +### fn withTimeRangeMixin + +```jsonnet +withTimeRangeMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) +TimeRange represents the query range +NOTE: unlike generic /ds/query, we can now send explicit time values in each query +NOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly ### fn withUsa ```jsonnet @@ -455,6 +635,54 @@ PARAMETERS: * **value** (`object`) +### fn withWithNil + +```jsonnet +withWithNil(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + + +### obj datasource + + +#### fn datasource.withApiVersion + +```jsonnet +datasource.withApiVersion(value) +``` + +PARAMETERS: + +* **value** (`string`) + +The apiserver version +#### fn datasource.withType + +```jsonnet +datasource.withType(value) +``` + +PARAMETERS: + +* **value** (`string`) + +The datasource plugin type +#### fn datasource.withUid + +```jsonnet +datasource.withUid(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Datasource UID (NOTE: name in k8s) ### obj nodes @@ -489,9 +717,14 @@ nodes.withType(value) PARAMETERS: * **value** (`string`) - - valid values: `"random"`, `"response_small"`, `"response_medium"`, `"random edges"` - - + - valid values: `"random"`, `"random edges"`, `"response_medium"`, `"response_small"`, `"feature_showcase"` + +Possible enum values: + - `"random"` + - `"random edges"` + - `"response_medium"` + - `"response_small"` + - `"feature_showcase"` ### obj pulseWave @@ -550,6 +783,68 @@ PARAMETERS: * **value** (`integer`) +### obj resultAssertions + + +#### fn resultAssertions.withMaxFrames + +```jsonnet +resultAssertions.withMaxFrames(value) +``` + +PARAMETERS: + +* **value** (`integer`) + +Maximum frame count +#### fn resultAssertions.withType + +```jsonnet +resultAssertions.withType(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `""`, `"timeseries-wide"`, `"timeseries-long"`, `"timeseries-many"`, `"timeseries-multi"`, `"directory-listing"`, `"table"`, `"numeric-wide"`, `"numeric-multi"`, `"numeric-long"`, `"log-lines"` + +Type asserts that the frame matches a known type structure. +Possible enum values: + - `""` + - `"timeseries-wide"` + - `"timeseries-long"` + - `"timeseries-many"` + - `"timeseries-multi"` + - `"directory-listing"` + - `"table"` + - `"numeric-wide"` + - `"numeric-multi"` + - `"numeric-long"` + - `"log-lines"` +#### fn resultAssertions.withTypeVersion + +```jsonnet +resultAssertions.withTypeVersion(value) +``` + +PARAMETERS: + +* **value** (`array`) + +TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane +contract documentation https://grafana.github.io/dataplane/contract/. +#### fn resultAssertions.withTypeVersionMixin + +```jsonnet +resultAssertions.withTypeVersionMixin(value) +``` + +PARAMETERS: + +* **value** (`array`) + +TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane +contract documentation https://grafana.github.io/dataplane/contract/. ### obj sim @@ -679,7 +974,7 @@ stream.withNoise(value) PARAMETERS: -* **value** (`integer`) +* **value** (`number`) #### fn stream.withSpeed @@ -690,7 +985,7 @@ stream.withSpeed(value) PARAMETERS: -* **value** (`integer`) +* **value** (`number`) #### fn stream.withSpread @@ -701,7 +996,7 @@ stream.withSpread(value) PARAMETERS: -* **value** (`integer`) +* **value** (`number`) #### fn stream.withType @@ -713,9 +1008,13 @@ stream.withType(value) PARAMETERS: * **value** (`string`) - - valid values: `"signal"`, `"logs"`, `"fetch"`, `"traces"` - + - valid values: `"fetch"`, `"logs"`, `"signal"`, `"traces"` +Possible enum values: + - `"fetch"` + - `"logs"` + - `"signal"` + - `"traces"` #### fn stream.withUrl ```jsonnet @@ -727,6 +1026,33 @@ PARAMETERS: * **value** (`string`) +### obj timeRange + + +#### fn timeRange.withFrom + +```jsonnet +timeRange.withFrom(value="now-6h") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `"now-6h"` + +From is the start time of the query. +#### fn timeRange.withTo + +```jsonnet +timeRange.withTo(value="now") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `"now"` + +To is the end time of the query. ### obj usa diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/role.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/role.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/role.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/role.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/rolebinding.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/rolebinding.md similarity index 88% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/rolebinding.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/rolebinding.md index 62357f5..fb8c746 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/rolebinding.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/rolebinding.md @@ -14,10 +14,10 @@ grafonnet.rolebinding * [`fn withCustomRoleRef(value)`](#fn-rolewithcustomroleref) * [`fn withCustomRoleRefMixin(value)`](#fn-rolewithcustomrolerefmixin) * [`obj BuiltinRoleRef`](#obj-rolebuiltinroleref) - * [`fn withKind(value)`](#fn-rolebuiltinrolerefwithkind) + * [`fn withKind()`](#fn-rolebuiltinrolerefwithkind) * [`fn withName(value)`](#fn-rolebuiltinrolerefwithname) * [`obj CustomRoleRef`](#obj-rolecustomroleref) - * [`fn withKind(value)`](#fn-rolecustomrolerefwithkind) + * [`fn withKind()`](#fn-rolecustomrolerefwithkind) * [`fn withName(value)`](#fn-rolecustomrolerefwithname) * [`obj subject`](#obj-subject) * [`fn withKind(value)`](#fn-subjectwithkind) @@ -57,7 +57,7 @@ PARAMETERS: * **value** (`object`) - +The team or user that has the specified role ### fn withSubjectMixin ```jsonnet @@ -68,7 +68,7 @@ PARAMETERS: * **value** (`object`) - +The team or user that has the specified role ### obj role @@ -122,13 +122,9 @@ PARAMETERS: ##### fn role.BuiltinRoleRef.withKind ```jsonnet -role.BuiltinRoleRef.withKind(value) +role.BuiltinRoleRef.withKind() ``` -PARAMETERS: - -* **value** (`string`) - - valid values: `"BuiltinRole"` ##### fn role.BuiltinRoleRef.withName @@ -149,13 +145,9 @@ PARAMETERS: ##### fn role.CustomRoleRef.withKind ```jsonnet -role.CustomRoleRef.withKind(value) +role.CustomRoleRef.withKind() ``` -PARAMETERS: - -* **value** (`string`) - - valid values: `"Role"` ##### fn role.CustomRoleRef.withName diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/team.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/team.md similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/team.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/team.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/util.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/util.md similarity index 86% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/util.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/util.md index 286e93c..af88a40 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/util.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/docs/util.md @@ -11,6 +11,7 @@ Helper functions that work well with Grafonnet. * [`fn wrapPanels(panels, panelWidth, panelHeight, startY)`](#fn-gridwrappanels) * [`obj panel`](#obj-panel) * [`fn calculateLowestYforPanel(panel, panels)`](#fn-panelcalculatelowestyforpanel) + * [`fn dedupeQueryTargets(panels)`](#fn-paneldedupequerytargets) * [`fn getPanelIDs(panels)`](#fn-panelgetpanelids) * [`fn getPanelsBeforeNextRow(panels)`](#fn-panelgetpanelsbeforenextrow) * [`fn groupPanelsInRows(panels)`](#fn-panelgrouppanelsinrows) @@ -20,6 +21,8 @@ Helper functions that work well with Grafonnet. * [`fn resolveCollapsedFlagOnRows(panels)`](#fn-panelresolvecollapsedflagonrows) * [`fn sanitizePanel(panel, defaultX=0, defaultY=0, defaultHeight=8, defaultWidth=8)`](#fn-panelsanitizepanel) * [`fn setPanelIDs(panels, overrideExistingIDs=true)`](#fn-panelsetpanelids) + * [`fn setRefIDs(panel, overrideExistingIDs=true)`](#fn-panelsetrefids) + * [`fn setRefIDsOnPanels(panels)`](#fn-panelsetrefidsonpanels) * [`fn sortPanelsByXY(panels)`](#fn-panelsortpanelsbyxy) * [`fn sortPanelsInRow(rowPanel)`](#fn-panelsortpanelsinrow) * [`fn validatePanelIDs(panels)`](#fn-panelvalidatepanelids) @@ -107,6 +110,20 @@ PARAMETERS: `calculateLowestYforPanel` calculates Y for a given `panel` from the `gridPos` of an array of `panels`. This function is used in `normalizeY`. +#### fn panel.dedupeQueryTargets + +```jsonnet +panel.dedupeQueryTargets(panels) +``` + +PARAMETERS: + +* **panels** (`array`) + +`dedupeQueryTargets` dedupes the query targets in a set of panels and replaces the duplicates with a ['shared query'](https://grafana.com/docs/grafana/latest/panels-visualizations/query-transform-data/share-query/). Sharing query results across panels reduces the number of queries made to your data source, which can improve the performance of your dashboard. + +This function requires that the query targets have `refId` set, `setRefIDs` and `setRefIDsOnPanels` can help with that. + #### fn panel.getPanelIDs ```jsonnet @@ -232,6 +249,32 @@ PARAMETERS: `overrideExistingIDs` can be set to not replace existing IDs, consider validating the IDs with `validatePanelIDs()` to ensure there are no duplicate IDs. +#### fn panel.setRefIDs + +```jsonnet +panel.setRefIDs(panel, overrideExistingIDs=true) +``` + +PARAMETERS: + +* **panel** (`object`) +* **overrideExistingIDs** (`bool`) + - default value: `true` + +`setRefIDs` calculates the `refId` field for each target on a panel. + +#### fn panel.setRefIDsOnPanels + +```jsonnet +panel.setRefIDsOnPanels(panels) +``` + +PARAMETERS: + +* **panels** (`array`) + +`setRefIDsOnPanels` applies `setRefIDs on all `panels`. + #### fn panel.sortPanelsByXY ```jsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/folder.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/folder.libsonnet similarity index 79% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/folder.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/folder.libsonnet index 32a959f..e462d48 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/folder.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/folder.libsonnet @@ -2,9 +2,15 @@ { '#': { help: 'grafonnet.folder', name: 'folder' }, '#withParentUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'only used if nested folders are enabled' } }, - withParentUid(value): { parentUid: value }, + withParentUid(value): { + parentUid: value, + }, '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Folder title' } }, - withTitle(value): { title: value }, + withTitle(value): { + title: value, + }, '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Unique folder id' } }, - withUid(value): { uid: value }, + withUid(value): { + uid: value, + }, } diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/jsonnetfile.json b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/jsonnetfile.json similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/jsonnetfile.json rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/jsonnetfile.json diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/librarypanel.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/librarypanel.libsonnet new file mode 100644 index 0000000..c40b452 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/librarypanel.libsonnet @@ -0,0 +1,1130 @@ +// This file is generated, do not manually edit. +{ + '#': { help: 'grafonnet.librarypanel', name: 'librarypanel' }, + '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Panel description' } }, + withDescription(value): { + description: value, + }, + '#withFolderUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Folder UID' } }, + withFolderUid(value): { + folderUid: value, + }, + '#withMeta': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Object storage metadata' } }, + withMeta(value): { + meta: value, + }, + '#withMetaMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Object storage metadata' } }, + withMetaMixin(value): { + meta+: value, + }, + meta+: + { + '#withConnectedDashboards': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withConnectedDashboards(value): { + meta+: { + connectedDashboards: value, + }, + }, + '#withCreated': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withCreated(value): { + meta+: { + created: value, + }, + }, + '#withCreatedBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCreatedBy(value): { + meta+: { + createdBy: value, + }, + }, + '#withCreatedByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCreatedByMixin(value): { + meta+: { + createdBy+: value, + }, + }, + createdBy+: + { + '#withAvatarUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withAvatarUrl(value): { + meta+: { + createdBy+: { + avatarUrl: value, + }, + }, + }, + '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withId(value): { + meta+: { + createdBy+: { + id: value, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + meta+: { + createdBy+: { + name: value, + }, + }, + }, + }, + '#withFolderName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withFolderName(value): { + meta+: { + folderName: value, + }, + }, + '#withFolderUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withFolderUid(value): { + meta+: { + folderUid: value, + }, + }, + '#withUpdated': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withUpdated(value): { + meta+: { + updated: value, + }, + }, + '#withUpdatedBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withUpdatedBy(value): { + meta+: { + updatedBy: value, + }, + }, + '#withUpdatedByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withUpdatedByMixin(value): { + meta+: { + updatedBy+: value, + }, + }, + updatedBy+: + { + '#withAvatarUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withAvatarUrl(value): { + meta+: { + updatedBy+: { + avatarUrl: value, + }, + }, + }, + '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withId(value): { + meta+: { + updatedBy+: { + id: value, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + meta+: { + updatedBy+: { + name: value, + }, + }, + }, + }, + }, + '#withModel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: "TODO: should be the same panel schema defined in dashboard\nTypescript: Omit;" } }, + withModel(value): { + model: value, + }, + '#withModelMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: "TODO: should be the same panel schema defined in dashboard\nTypescript: Omit;" } }, + withModelMixin(value): { + model+: value, + }, + model+: + { + '#withCacheTimeout': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Sets panel queries cache timeout.' } }, + withCacheTimeout(value): { + model+: { + cacheTimeout: value, + }, + }, + '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Ref to a DataSource instance' } }, + withDatasource(value): { + model+: { + datasource: value, + }, + }, + '#withDatasourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Ref to a DataSource instance' } }, + withDatasourceMixin(value): { + model+: { + datasource+: value, + }, + }, + datasource+: + { + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The plugin type-id' } }, + withType(value): { + model+: { + datasource+: { + type: value, + }, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specific datasource instance' } }, + withUid(value): { + model+: { + datasource+: { + uid: value, + }, + }, + }, + }, + '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Panel description.' } }, + withDescription(value): { + model+: { + description: value, + }, + }, + '#withFieldConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The data model used in Grafana, namely the data frame, is a columnar-oriented table structure that unifies both time series and table query results.\nEach column within this structure is called a field. A field can represent a single time series or table column.\nField options allow you to change how the data is displayed in your visualizations.' } }, + withFieldConfig(value): { + model+: { + fieldConfig: value, + }, + }, + '#withFieldConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The data model used in Grafana, namely the data frame, is a columnar-oriented table structure that unifies both time series and table query results.\nEach column within this structure is called a field. A field can represent a single time series or table column.\nField options allow you to change how the data is displayed in your visualizations.' } }, + withFieldConfigMixin(value): { + model+: { + fieldConfig+: value, + }, + }, + fieldConfig+: + { + '#withDefaults': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The data model used in Grafana, namely the data frame, is a columnar-oriented table structure that unifies both time series and table query results.\nEach column within this structure is called a field. A field can represent a single time series or table column.\nField options allow you to change how the data is displayed in your visualizations.' } }, + withDefaults(value): { + model+: { + fieldConfig+: { + defaults: value, + }, + }, + }, + '#withDefaultsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The data model used in Grafana, namely the data frame, is a columnar-oriented table structure that unifies both time series and table query results.\nEach column within this structure is called a field. A field can represent a single time series or table column.\nField options allow you to change how the data is displayed in your visualizations.' } }, + withDefaultsMixin(value): { + model+: { + fieldConfig+: { + defaults+: value, + }, + }, + }, + defaults+: + { + '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map a field to a color.' } }, + withColor(value): { + model+: { + fieldConfig+: { + defaults+: { + color: value, + }, + }, + }, + }, + '#withColorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map a field to a color.' } }, + withColorMixin(value): { + model+: { + fieldConfig+: { + defaults+: { + color+: value, + }, + }, + }, + }, + color+: + { + '#withFixedColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The fixed color value for fixed or shades color modes.' } }, + withFixedColor(value): { + model+: { + fieldConfig+: { + defaults+: { + color+: { + fixedColor: value, + }, + }, + }, + }, + }, + '#withMode': { 'function': { args: [{ default: null, enums: ['thresholds', 'palette-classic', 'palette-classic-by-name', 'continuous-GrYlRd', 'continuous-RdYlGr', 'continuous-BlYlRd', 'continuous-YlRd', 'continuous-BlPu', 'continuous-YlBl', 'continuous-blues', 'continuous-reds', 'continuous-greens', 'continuous-purples', 'fixed', 'shades'], name: 'value', type: ['string'] }], help: 'Color mode for a field. You can specify a single color, or select a continuous (gradient) color schemes, based on a value.\nContinuous color interpolates a color using the percentage of a value relative to min and max.\nAccepted values are:\n`thresholds`: From thresholds. Informs Grafana to take the color from the matching threshold\n`palette-classic`: Classic palette. Grafana will assign color by looking up a color in a palette by series index. Useful for Graphs and pie charts and other categorical data visualizations\n`palette-classic-by-name`: Classic palette (by name). Grafana will assign color by looking up a color in a palette by series name. Useful for Graphs and pie charts and other categorical data visualizations\n`continuous-GrYlRd`: ontinuous Green-Yellow-Red palette mode\n`continuous-RdYlGr`: Continuous Red-Yellow-Green palette mode\n`continuous-BlYlRd`: Continuous Blue-Yellow-Red palette mode\n`continuous-YlRd`: Continuous Yellow-Red palette mode\n`continuous-BlPu`: Continuous Blue-Purple palette mode\n`continuous-YlBl`: Continuous Yellow-Blue palette mode\n`continuous-blues`: Continuous Blue palette mode\n`continuous-reds`: Continuous Red palette mode\n`continuous-greens`: Continuous Green palette mode\n`continuous-purples`: Continuous Purple palette mode\n`shades`: Shades of a single color. Specify a single color, useful in an override rule.\n`fixed`: Fixed color mode. Specify a single color, useful in an override rule.' } }, + withMode(value): { + model+: { + fieldConfig+: { + defaults+: { + color+: { + mode: value, + }, + }, + }, + }, + }, + '#withSeriesBy': { 'function': { args: [{ default: null, enums: ['min', 'max', 'last'], name: 'value', type: ['string'] }], help: 'Defines how to assign a series color from "by value" color schemes. For example for an aggregated data points like a timeseries, the color can be assigned by the min, max or last value.' } }, + withSeriesBy(value): { + model+: { + fieldConfig+: { + defaults+: { + color+: { + seriesBy: value, + }, + }, + }, + }, + }, + }, + '#withCustom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'custom is specified by the FieldConfig field\nin panel plugin schemas.' } }, + withCustom(value): { + model+: { + fieldConfig+: { + defaults+: { + custom: value, + }, + }, + }, + }, + '#withCustomMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'custom is specified by the FieldConfig field\nin panel plugin schemas.' } }, + withCustomMixin(value): { + model+: { + fieldConfig+: { + defaults+: { + custom+: value, + }, + }, + }, + }, + '#withDecimals': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Specify the number of decimals Grafana includes in the rendered value.\nIf you leave this field blank, Grafana automatically truncates the number of decimals based on the value.\nFor example 1.1234 will display as 1.12 and 100.456 will display as 100.\nTo display all decimals, set the unit to `String`.' } }, + withDecimals(value): { + model+: { + fieldConfig+: { + defaults+: { + decimals: value, + }, + }, + }, + }, + '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Human readable field metadata' } }, + withDescription(value): { + model+: { + fieldConfig+: { + defaults+: { + description: value, + }, + }, + }, + }, + '#withDisplayName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The display value for this field. This supports template variables blank is auto' } }, + withDisplayName(value): { + model+: { + fieldConfig+: { + defaults+: { + displayName: value, + }, + }, + }, + }, + '#withDisplayNameFromDS': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'This can be used by data sources that return and explicit naming structure for values and labels\nWhen this property is configured, this value is used rather than the default naming strategy.' } }, + withDisplayNameFromDS(value): { + model+: { + fieldConfig+: { + defaults+: { + displayNameFromDS: value, + }, + }, + }, + }, + '#withFilterable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'True if data source field supports ad-hoc filters' } }, + withFilterable(value=true): { + model+: { + fieldConfig+: { + defaults+: { + filterable: value, + }, + }, + }, + }, + '#withLinks': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'The behavior when clicking on a result' } }, + withLinks(value): { + model+: { + fieldConfig+: { + defaults+: { + links: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withLinksMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'The behavior when clicking on a result' } }, + withLinksMixin(value): { + model+: { + fieldConfig+: { + defaults+: { + links+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withMappings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Convert input values into a display string' } }, + withMappings(value): { + model+: { + fieldConfig+: { + defaults+: { + mappings: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + '#withMappingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Convert input values into a display string' } }, + withMappingsMixin(value): { + model+: { + fieldConfig+: { + defaults+: { + mappings+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + mappings+: + { + ValueMap+: + { + '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } }' } }, + withOptions(value): { + options: value, + }, + '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } }' } }, + withOptionsMixin(value): { + options+: value, + }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'value', + }, + }, + RangeMap+: + { + '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Range to match against and the result to apply when the value is within the range' } }, + withOptions(value): { + options: value, + }, + '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Range to match against and the result to apply when the value is within the range' } }, + withOptionsMixin(value): { + options+: value, + }, + options+: + { + '#withFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Min value of the range. It can be null which means -Infinity' } }, + withFrom(value): { + options+: { + from: value, + }, + }, + '#withResult': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Result used as replacement with text and color when the value matches' } }, + withResult(value): { + options+: { + result: value, + }, + }, + '#withResultMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Result used as replacement with text and color when the value matches' } }, + withResultMixin(value): { + options+: { + result+: value, + }, + }, + result+: + { + '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Text to use when the value matches' } }, + withColor(value): { + options+: { + result+: { + color: value, + }, + }, + }, + '#withIcon': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Icon to display when the value matches. Only specific visualizations.' } }, + withIcon(value): { + options+: { + result+: { + icon: value, + }, + }, + }, + '#withIndex': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Position in the mapping array. Only used internally.' } }, + withIndex(value): { + options+: { + result+: { + index: value, + }, + }, + }, + '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Text to display when the value matches' } }, + withText(value): { + options+: { + result+: { + text: value, + }, + }, + }, + }, + '#withTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Max value of the range. It can be null which means +Infinity' } }, + withTo(value): { + options+: { + to: value, + }, + }, + }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'range', + }, + }, + RegexMap+: + { + '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Regular expression to match against and the result to apply when the value matches the regex' } }, + withOptions(value): { + options: value, + }, + '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Regular expression to match against and the result to apply when the value matches the regex' } }, + withOptionsMixin(value): { + options+: value, + }, + options+: + { + '#withPattern': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Regular expression to match against' } }, + withPattern(value): { + options+: { + pattern: value, + }, + }, + '#withResult': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Result used as replacement with text and color when the value matches' } }, + withResult(value): { + options+: { + result: value, + }, + }, + '#withResultMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Result used as replacement with text and color when the value matches' } }, + withResultMixin(value): { + options+: { + result+: value, + }, + }, + result+: + { + '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Text to use when the value matches' } }, + withColor(value): { + options+: { + result+: { + color: value, + }, + }, + }, + '#withIcon': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Icon to display when the value matches. Only specific visualizations.' } }, + withIcon(value): { + options+: { + result+: { + icon: value, + }, + }, + }, + '#withIndex': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Position in the mapping array. Only used internally.' } }, + withIndex(value): { + options+: { + result+: { + index: value, + }, + }, + }, + '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Text to display when the value matches' } }, + withText(value): { + options+: { + result+: { + text: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'regex', + }, + }, + SpecialValueMap+: + { + '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withOptions(value): { + options: value, + }, + '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withOptionsMixin(value): { + options+: value, + }, + options+: + { + '#withMatch': { 'function': { args: [{ default: null, enums: ['true', 'false', 'null', 'nan', 'null+nan', 'empty'], name: 'value', type: ['string'] }], help: 'Special value types supported by the `SpecialValueMap`' } }, + withMatch(value): { + options+: { + match: value, + }, + }, + '#withResult': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Result used as replacement with text and color when the value matches' } }, + withResult(value): { + options+: { + result: value, + }, + }, + '#withResultMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Result used as replacement with text and color when the value matches' } }, + withResultMixin(value): { + options+: { + result+: value, + }, + }, + result+: + { + '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Text to use when the value matches' } }, + withColor(value): { + options+: { + result+: { + color: value, + }, + }, + }, + '#withIcon': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Icon to display when the value matches. Only specific visualizations.' } }, + withIcon(value): { + options+: { + result+: { + icon: value, + }, + }, + }, + '#withIndex': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Position in the mapping array. Only used internally.' } }, + withIndex(value): { + options+: { + result+: { + index: value, + }, + }, + }, + '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Text to display when the value matches' } }, + withText(value): { + options+: { + result+: { + text: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'special', + }, + }, + }, + '#withMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'The maximum value used in percentage threshold calculations. Leave blank for auto calculation based on all series and fields.' } }, + withMax(value): { + model+: { + fieldConfig+: { + defaults+: { + max: value, + }, + }, + }, + }, + '#withMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'The minimum value used in percentage threshold calculations. Leave blank for auto calculation based on all series and fields.' } }, + withMin(value): { + model+: { + fieldConfig+: { + defaults+: { + min: value, + }, + }, + }, + }, + '#withNoValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Alternative to empty string' } }, + withNoValue(value): { + model+: { + fieldConfig+: { + defaults+: { + noValue: value, + }, + }, + }, + }, + '#withPath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An explicit path to the field in the datasource. When the frame meta includes a path,\nThis will default to `${frame.meta.path}/${field.name}\n\nWhen defined, this value can be used as an identifier within the datasource scope, and\nmay be used to update the results' } }, + withPath(value): { + model+: { + fieldConfig+: { + defaults+: { + path: value, + }, + }, + }, + }, + '#withThresholds': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Thresholds configuration for the panel' } }, + withThresholds(value): { + model+: { + fieldConfig+: { + defaults+: { + thresholds: value, + }, + }, + }, + }, + '#withThresholdsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Thresholds configuration for the panel' } }, + withThresholdsMixin(value): { + model+: { + fieldConfig+: { + defaults+: { + thresholds+: value, + }, + }, + }, + }, + thresholds+: + { + '#withMode': { 'function': { args: [{ default: null, enums: ['absolute', 'percentage'], name: 'value', type: ['string'] }], help: 'Thresholds can either be `absolute` (specific number) or `percentage` (relative to min or max, it will be values between 0 and 1).' } }, + withMode(value): { + model+: { + fieldConfig+: { + defaults+: { + thresholds+: { + mode: value, + }, + }, + }, + }, + }, + '#withSteps': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "Must be sorted by 'value', first value is always -Infinity" } }, + withSteps(value): { + model+: { + fieldConfig+: { + defaults+: { + thresholds+: { + steps: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + }, + '#withStepsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "Must be sorted by 'value', first value is always -Infinity" } }, + withStepsMixin(value): { + model+: { + fieldConfig+: { + defaults+: { + thresholds+: { + steps+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + }, + steps+: + { + '#': { help: '', name: 'steps' }, + '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded.' } }, + withColor(value): { + color: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded.\nNulls currently appear here when serializing -Infinity to JSON.' } }, + withValue(value): { + value: value, + }, + }, + }, + '#withUnit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Unit a field should use. The unit you select is applied to all fields except time.\nYou can use the units ID availables in Grafana or a custom unit.\nAvailable units in Grafana: https://github.com/grafana/grafana/blob/main/packages/grafana-data/src/valueFormats/categories.ts\nAs custom unit, you can use the following formats:\n`suffix:` for custom unit that should go after value.\n`prefix:` for custom unit that should go before value.\n`time:` For custom date time formats type for example `time:YYYY-MM-DD`.\n`si:` for custom SI units. For example: `si: mF`. This one is a bit more advanced as you can specify both a unit and the source data scale. So if your source data is represented as milli (thousands of) something prefix the unit with that SI scale character.\n`count:` for a custom count unit.\n`currency:` for custom a currency unit.' } }, + withUnit(value): { + model+: { + fieldConfig+: { + defaults+: { + unit: value, + }, + }, + }, + }, + '#withWriteable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'True if data source can write a value to the path. Auth/authz are supported separately' } }, + withWriteable(value=true): { + model+: { + fieldConfig+: { + defaults+: { + writeable: value, + }, + }, + }, + }, + }, + '#withOverrides': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Overrides are the options applied to specific fields overriding the defaults.' } }, + withOverrides(value): { + model+: { + fieldConfig+: { + overrides: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withOverridesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Overrides are the options applied to specific fields overriding the defaults.' } }, + withOverridesMixin(value): { + model+: { + fieldConfig+: { + overrides+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + overrides+: + { + '#': { help: '', name: 'overrides' }, + '#withMatcher': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation.\nIt comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type.' } }, + withMatcher(value): { + matcher: value, + }, + '#withMatcherMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation.\nIt comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type.' } }, + withMatcherMixin(value): { + matcher+: value, + }, + matcher+: + { + '#withId': { 'function': { args: [{ default: '', enums: null, name: 'value', type: ['string'] }], help: 'The matcher id. This is used to find the matcher implementation from registry.' } }, + withId(value=''): { + matcher+: { + id: value, + }, + }, + '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The matcher options. This is specific to the matcher implementation.' } }, + withOptions(value): { + matcher+: { + options: value, + }, + }, + '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The matcher options. This is specific to the matcher implementation.' } }, + withOptionsMixin(value): { + matcher+: { + options+: value, + }, + }, + }, + '#withProperties': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withProperties(value): { + properties: + (if std.isArray(value) + then value + else [value]), + }, + '#withPropertiesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withPropertiesMixin(value): { + properties+: + (if std.isArray(value) + then value + else [value]), + }, + properties+: + { + '#': { help: '', name: 'properties' }, + '#withId': { 'function': { args: [{ default: '', enums: null, name: 'value', type: ['string'] }], help: '' } }, + withId(value=''): { + id: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withValue(value): { + value: value, + }, + '#withValueMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withValueMixin(value): { + value+: value, + }, + }, + }, + }, + '#withHideTimeOverride': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Controls if the timeFrom or timeShift overrides are shown in the panel header' } }, + withHideTimeOverride(value=true): { + model+: { + hideTimeOverride: value, + }, + }, + '#withInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The min time interval setting defines a lower limit for the $__interval and $__interval_ms variables.\nThis value must be formatted as a number followed by a valid time\nidentifier like: "40s", "3d", etc.\nSee: https://grafana.com/docs/grafana/latest/panels-visualizations/query-transform-data/#query-options' } }, + withInterval(value): { + model+: { + interval: value, + }, + }, + '#withLinks': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Panel links.' } }, + withLinks(value): { + model+: { + links: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withLinksMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Panel links.' } }, + withLinksMixin(value): { + model+: { + links+: + (if std.isArray(value) + then value + else [value]), + }, + }, + links+: + { + '#': { help: '', name: 'links' }, + '#withAsDropdown': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true, all dashboards links will be displayed in a dropdown. If false, all dashboards links will be displayed side by side. Only valid if the type is dashboards' } }, + withAsDropdown(value=true): { + asDropdown: value, + }, + '#withIcon': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Icon name to be displayed with the link' } }, + withIcon(value): { + icon: value, + }, + '#withIncludeVars': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true, includes current template variables values in the link as query params' } }, + withIncludeVars(value=true): { + includeVars: value, + }, + '#withKeepTime': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true, includes current time range in the link as query params' } }, + withKeepTime(value=true): { + keepTime: value, + }, + '#withTags': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of tags to limit the linked dashboards. If empty, all dashboards will be displayed. Only valid if the type is dashboards' } }, + withTags(value): { + tags: + (if std.isArray(value) + then value + else [value]), + }, + '#withTagsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of tags to limit the linked dashboards. If empty, all dashboards will be displayed. Only valid if the type is dashboards' } }, + withTagsMixin(value): { + tags+: + (if std.isArray(value) + then value + else [value]), + }, + '#withTargetBlank': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true, the link will be opened in a new tab' } }, + withTargetBlank(value=true): { + targetBlank: value, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Title to display with the link' } }, + withTitle(value): { + title: value, + }, + '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Tooltip to display when the user hovers their mouse over it' } }, + withTooltip(value): { + tooltip: value, + }, + '#withType': { 'function': { args: [{ default: null, enums: ['link', 'dashboards'], name: 'value', type: ['string'] }], help: 'Dashboard Link type. Accepted values are dashboards (to refer to another dashboard) and link (to refer to an external resource)' } }, + withType(value): { + type: value, + }, + '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Link URL. Only required/valid if the type is link' } }, + withUrl(value): { + url: value, + }, + }, + '#withMaxDataPoints': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'The maximum number of data points that the panel queries are retrieving.' } }, + withMaxDataPoints(value): { + model+: { + maxDataPoints: value, + }, + }, + '#withMaxPerRow': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Option for repeated panels that controls max items per row\nOnly relevant for horizontally repeated panels' } }, + withMaxPerRow(value): { + model+: { + maxPerRow: value, + }, + }, + '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'It depends on the panel plugin. They are specified by the Options field in panel plugin schemas.' } }, + withOptions(value): { + model+: { + options: value, + }, + }, + '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'It depends on the panel plugin. They are specified by the Options field in panel plugin schemas.' } }, + withOptionsMixin(value): { + model+: { + options+: value, + }, + }, + '#withPluginVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The version of the plugin that is used for this panel. This is used to find the plugin to display the panel and to migrate old panel configs.' } }, + withPluginVersion(value): { + model+: { + pluginVersion: value, + }, + }, + '#withQueryCachingTTL': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Overrides the data source configured time-to-live for a query cache item in milliseconds' } }, + withQueryCachingTTL(value): { + model+: { + queryCachingTTL: value, + }, + }, + '#withRepeat': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of template variable to repeat for.' } }, + withRepeat(value): { + model+: { + repeat: value, + }, + }, + '#withRepeatDirection': { 'function': { args: [{ default: 'h', enums: ['h', 'v'], name: 'value', type: ['string'] }], help: "Direction to repeat in if 'repeat' is set.\n`h` for horizontal, `v` for vertical." } }, + withRepeatDirection(value='h'): { + model+: { + repeatDirection: value, + }, + }, + '#withTargets': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Depends on the panel plugin. See the plugin documentation for details.' } }, + withTargets(value): { + model+: { + targets: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withTargetsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Depends on the panel plugin. See the plugin documentation for details.' } }, + withTargetsMixin(value): { + model+: { + targets+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withTimeFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Overrides the relative time range for individual panels,\nwhich causes them to be different than what is selected in\nthe dashboard time picker in the top-right corner of the dashboard. You can use this to show metrics from different\ntime periods or days on the same dashboard.\nThe value is formatted as time operation like: `now-5m` (Last 5 minutes), `now/d` (the day so far),\n`now-5d/d`(Last 5 days), `now/w` (This week so far), `now-2y/y` (Last 2 years).\nNote: Panel time overrides have no effect when the dashboard’s time range is absolute.\nSee: https://grafana.com/docs/grafana/latest/panels-visualizations/query-transform-data/#query-options' } }, + withTimeFrom(value): { + model+: { + timeFrom: value, + }, + }, + '#withTimeShift': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Overrides the time range for individual panels by shifting its start and end relative to the time picker.\nFor example, you can shift the time range for the panel to be two hours earlier than the dashboard time picker setting `2h`.\nNote: Panel time overrides have no effect when the dashboard’s time range is absolute.\nSee: https://grafana.com/docs/grafana/latest/panels-visualizations/query-transform-data/#query-options' } }, + withTimeShift(value): { + model+: { + timeShift: value, + }, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Panel title.' } }, + withTitle(value): { + model+: { + title: value, + }, + }, + '#withTransformations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of transformations that are applied to the panel data before rendering.\nWhen there are multiple transformations, Grafana applies them in the order they are listed.\nEach transformation creates a result set that then passes on to the next transformation in the processing pipeline.' } }, + withTransformations(value): { + model+: { + transformations: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withTransformationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of transformations that are applied to the panel data before rendering.\nWhen there are multiple transformations, Grafana applies them in the order they are listed.\nEach transformation creates a result set that then passes on to the next transformation in the processing pipeline.' } }, + withTransformationsMixin(value): { + model+: { + transformations+: + (if std.isArray(value) + then value + else [value]), + }, + }, + transformations+: + { + '#': { help: '', name: 'transformations' }, + '#withDisabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Disabled transformations are skipped' } }, + withDisabled(value=true): { + disabled: value, + }, + '#withFilter': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation.\nIt comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type.' } }, + withFilter(value): { + filter: value, + }, + '#withFilterMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation.\nIt comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type.' } }, + withFilterMixin(value): { + filter+: value, + }, + filter+: + { + '#withId': { 'function': { args: [{ default: '', enums: null, name: 'value', type: ['string'] }], help: 'The matcher id. This is used to find the matcher implementation from registry.' } }, + withId(value=''): { + filter+: { + id: value, + }, + }, + '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The matcher options. This is specific to the matcher implementation.' } }, + withOptions(value): { + filter+: { + options: value, + }, + }, + '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The matcher options. This is specific to the matcher implementation.' } }, + withOptionsMixin(value): { + filter+: { + options+: value, + }, + }, + }, + '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Unique identifier of transformer' } }, + withId(value): { + id: value, + }, + '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Options to be passed to the transformer\nValid options depend on the transformer id' } }, + withOptions(value): { + options: value, + }, + '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Options to be passed to the transformer\nValid options depend on the transformer id' } }, + withOptionsMixin(value): { + options+: value, + }, + '#withTopic': { 'function': { args: [{ default: null, enums: ['series', 'annotations', 'alertStates'], name: 'value', type: ['string'] }], help: 'Where to pull DataFrames from as input to transformation' } }, + withTopic(value): { + topic: value, + }, + }, + '#withTransparent': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Whether to display the panel without a background.' } }, + withTransparent(value=true): { + model+: { + transparent: value, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The panel plugin type id. This is used to find the plugin to display the panel.' } }, + withType(value): { + model+: { + type: value, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Panel name (also saved in the model)' } }, + withName(value): { + name: value, + }, + '#withSchemaVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Dashboard version when this was saved (zero if unknown)' } }, + withSchemaVersion(value): { + schemaVersion: value, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The panel type (from inside the model)' } }, + withType(value): { + type: value, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Library element UID' } }, + withUid(value): { + uid: value, + }, + '#withVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'panel version, incremented each time the dashboard is updated.' } }, + withVersion(value): { + version: value, + }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/main.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/main.libsonnet new file mode 100644 index 0000000..a875794 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/main.libsonnet @@ -0,0 +1,26 @@ +// This file is generated, do not manually edit. +{ + '#': { + filename: 'main.libsonnet', + help: 'Jsonnet library for rendering Grafana resources\n## Install\n\n```\njb install github.com/grafana/grafonnet/gen/grafonnet-v11.1.0@main\n```\n\n## Usage\n\n```jsonnet\nlocal grafonnet = import "github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/main.libsonnet"\n```\n', + 'import': 'github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/main.libsonnet', + installTemplate: '\n## Install\n\n```\njb install %(url)s@%(version)s\n```\n', + name: 'grafonnet', + url: 'github.com/grafana/grafonnet/gen/grafonnet-v11.1.0', + usageTemplate: '\n## Usage\n\n```jsonnet\nlocal %(name)s = import "%(import)s"\n```\n', + version: 'main', + }, + accesspolicy: import 'accesspolicy.libsonnet', + dashboard: import 'dashboard.libsonnet', + librarypanel: import 'librarypanel.libsonnet', + preferences: import 'preferences.libsonnet', + publicdashboard: import 'publicdashboard.libsonnet', + role: import 'role.libsonnet', + rolebinding: import 'rolebinding.libsonnet', + team: import 'team.libsonnet', + folder: import 'folder.libsonnet', + panel: import 'panelindex.libsonnet', + query: import 'query.libsonnet', + util: import 'custom/util/main.libsonnet', + alerting: import 'alerting.libsonnet', +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel.libsonnet similarity index 59% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel.libsonnet index 9bcbb89..345b35f 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel.libsonnet @@ -4,175 +4,421 @@ panelOptions+: { '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Panel title.' } }, - withTitle(value): { title: value }, + withTitle(value): { + title: value, + }, '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Panel description.' } }, - withDescription(value): { description: value }, + withDescription(value): { + description: value, + }, '#withTransparent': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Whether to display the panel without a background.' } }, - withTransparent(value=true): { transparent: value }, + withTransparent(value=true): { + transparent: value, + }, '#withLinks': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Panel links.' } }, - withLinks(value): { links: (if std.isArray(value) - then value - else [value]) }, + withLinks(value): { + links: + (if std.isArray(value) + then value + else [value]), + }, '#withLinksMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Panel links.' } }, - withLinksMixin(value): { links+: (if std.isArray(value) - then value - else [value]) }, + withLinksMixin(value): { + links+: + (if std.isArray(value) + then value + else [value]), + }, + '#withMaxPerRow': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Option for repeated panels that controls max items per row\nOnly relevant for horizontally repeated panels' } }, + withMaxPerRow(value): { + maxPerRow: value, + }, '#withRepeat': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of template variable to repeat for.' } }, - withRepeat(value): { repeat: value }, + withRepeat(value): { + repeat: value, + }, '#withRepeatDirection': { 'function': { args: [{ default: 'h', enums: ['h', 'v'], name: 'value', type: ['string'] }], help: "Direction to repeat in if 'repeat' is set.\n`h` for horizontal, `v` for vertical." } }, - withRepeatDirection(value='h'): { repeatDirection: value }, + withRepeatDirection(value='h'): { + repeatDirection: value, + }, '#withPluginVersion': { 'function': { args: [], help: '' } }, - withPluginVersion(): { pluginVersion: 'v10.4.0' }, + withPluginVersion(): { + pluginVersion: 'v11.1.0', + }, '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The panel plugin type id. This is used to find the plugin to display the panel.' } }, - withType(value): { type: value }, + withType(value): { + type: value, + }, link+: { '#': { help: '', name: 'link' }, '#withAsDropdown': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true, all dashboards links will be displayed in a dropdown. If false, all dashboards links will be displayed side by side. Only valid if the type is dashboards' } }, - withAsDropdown(value=true): { asDropdown: value }, + withAsDropdown(value=true): { + asDropdown: value, + }, '#withIcon': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Icon name to be displayed with the link' } }, - withIcon(value): { icon: value }, + withIcon(value): { + icon: value, + }, '#withIncludeVars': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true, includes current template variables values in the link as query params' } }, - withIncludeVars(value=true): { includeVars: value }, + withIncludeVars(value=true): { + includeVars: value, + }, '#withKeepTime': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true, includes current time range in the link as query params' } }, - withKeepTime(value=true): { keepTime: value }, + withKeepTime(value=true): { + keepTime: value, + }, '#withTags': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of tags to limit the linked dashboards. If empty, all dashboards will be displayed. Only valid if the type is dashboards' } }, - withTags(value): { tags: (if std.isArray(value) - then value - else [value]) }, + withTags(value): { + tags: + (if std.isArray(value) + then value + else [value]), + }, '#withTagsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of tags to limit the linked dashboards. If empty, all dashboards will be displayed. Only valid if the type is dashboards' } }, - withTagsMixin(value): { tags+: (if std.isArray(value) - then value - else [value]) }, + withTagsMixin(value): { + tags+: + (if std.isArray(value) + then value + else [value]), + }, '#withTargetBlank': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true, the link will be opened in a new tab' } }, - withTargetBlank(value=true): { targetBlank: value }, + withTargetBlank(value=true): { + targetBlank: value, + }, '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Title to display with the link' } }, - withTitle(value): { title: value }, + withTitle(value): { + title: value, + }, '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Tooltip to display when the user hovers their mouse over it' } }, - withTooltip(value): { tooltip: value }, + withTooltip(value): { + tooltip: value, + }, '#withType': { 'function': { args: [{ default: null, enums: ['link', 'dashboards'], name: 'value', type: ['string'] }], help: 'Dashboard Link type. Accepted values are dashboards (to refer to another dashboard) and link (to refer to an external resource)' } }, - withType(value): { type: value }, + withType(value): { + type: value, + }, '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Link URL. Only required/valid if the type is link' } }, - withUrl(value): { url: value }, + withUrl(value): { + url: value, + }, }, }, queryOptions+: { '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Ref to a DataSource instance' } }, - withDatasource(value): { datasource: value }, + withDatasource(value): { + datasource: value, + }, '#withDatasourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Ref to a DataSource instance' } }, - withDatasourceMixin(value): { datasource+: value }, + withDatasourceMixin(value): { + datasource+: value, + }, '#withMaxDataPoints': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'The maximum number of data points that the panel queries are retrieving.' } }, - withMaxDataPoints(value): { maxDataPoints: value }, + withMaxDataPoints(value): { + maxDataPoints: value, + }, '#withInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The min time interval setting defines a lower limit for the $__interval and $__interval_ms variables.\nThis value must be formatted as a number followed by a valid time\nidentifier like: "40s", "3d", etc.\nSee: https://grafana.com/docs/grafana/latest/panels-visualizations/query-transform-data/#query-options' } }, - withInterval(value): { interval: value }, + withInterval(value): { + interval: value, + }, + '#withQueryCachingTTL': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Overrides the data source configured time-to-live for a query cache item in milliseconds' } }, + withQueryCachingTTL(value): { + queryCachingTTL: value, + }, '#withTimeFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Overrides the relative time range for individual panels,\nwhich causes them to be different than what is selected in\nthe dashboard time picker in the top-right corner of the dashboard. You can use this to show metrics from different\ntime periods or days on the same dashboard.\nThe value is formatted as time operation like: `now-5m` (Last 5 minutes), `now/d` (the day so far),\n`now-5d/d`(Last 5 days), `now/w` (This week so far), `now-2y/y` (Last 2 years).\nNote: Panel time overrides have no effect when the dashboard’s time range is absolute.\nSee: https://grafana.com/docs/grafana/latest/panels-visualizations/query-transform-data/#query-options' } }, - withTimeFrom(value): { timeFrom: value }, + withTimeFrom(value): { + timeFrom: value, + }, '#withTimeShift': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Overrides the time range for individual panels by shifting its start and end relative to the time picker.\nFor example, you can shift the time range for the panel to be two hours earlier than the dashboard time picker setting `2h`.\nNote: Panel time overrides have no effect when the dashboard’s time range is absolute.\nSee: https://grafana.com/docs/grafana/latest/panels-visualizations/query-transform-data/#query-options' } }, - withTimeShift(value): { timeShift: value }, + withTimeShift(value): { + timeShift: value, + }, + '#withHideTimeOverride': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Controls if the timeFrom or timeShift overrides are shown in the panel header' } }, + withHideTimeOverride(value=true): { + hideTimeOverride: value, + }, '#withTargets': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Depends on the panel plugin. See the plugin documentation for details.' } }, - withTargets(value): { targets: (if std.isArray(value) - then value - else [value]) }, + withTargets(value): { + targets: + (if std.isArray(value) + then value + else [value]), + }, '#withTargetsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Depends on the panel plugin. See the plugin documentation for details.' } }, - withTargetsMixin(value): { targets+: (if std.isArray(value) - then value - else [value]) }, + withTargetsMixin(value): { + targets+: + (if std.isArray(value) + then value + else [value]), + }, '#withTransformations': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of transformations that are applied to the panel data before rendering.\nWhen there are multiple transformations, Grafana applies them in the order they are listed.\nEach transformation creates a result set that then passes on to the next transformation in the processing pipeline.' } }, - withTransformations(value): { transformations: (if std.isArray(value) - then value - else [value]) }, + withTransformations(value): { + transformations: + (if std.isArray(value) + then value + else [value]), + }, '#withTransformationsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of transformations that are applied to the panel data before rendering.\nWhen there are multiple transformations, Grafana applies them in the order they are listed.\nEach transformation creates a result set that then passes on to the next transformation in the processing pipeline.' } }, - withTransformationsMixin(value): { transformations+: (if std.isArray(value) - then value - else [value]) }, + withTransformationsMixin(value): { + transformations+: + (if std.isArray(value) + then value + else [value]), + }, transformation+: { '#': { help: '', name: 'transformation' }, '#withDisabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Disabled transformations are skipped' } }, - withDisabled(value=true): { disabled: value }, + withDisabled(value=true): { + disabled: value, + }, '#withFilter': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation.\nIt comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type.' } }, - withFilter(value): { filter: value }, + withFilter(value): { + filter: value, + }, '#withFilterMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation.\nIt comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type.' } }, - withFilterMixin(value): { filter+: value }, + withFilterMixin(value): { + filter+: value, + }, filter+: { '#withId': { 'function': { args: [{ default: '', enums: null, name: 'value', type: ['string'] }], help: 'The matcher id. This is used to find the matcher implementation from registry.' } }, - withId(value=''): { filter+: { id: value } }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The matcher options. This is specific to the matcher implementation.' } }, - withOptions(value): { filter+: { options: value } }, + withId(value=''): { + filter+: { + id: value, + }, + }, + '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The matcher options. This is specific to the matcher implementation.' } }, + withOptions(value): { + filter+: { + options: value, + }, + }, + '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The matcher options. This is specific to the matcher implementation.' } }, + withOptionsMixin(value): { + filter+: { + options+: value, + }, + }, }, '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Unique identifier of transformer' } }, - withId(value): { id: value }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Options to be passed to the transformer\nValid options depend on the transformer id' } }, - withOptions(value): { options: value }, + withId(value): { + id: value, + }, + '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Options to be passed to the transformer\nValid options depend on the transformer id' } }, + withOptions(value): { + options: value, + }, + '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Options to be passed to the transformer\nValid options depend on the transformer id' } }, + withOptionsMixin(value): { + options+: value, + }, '#withTopic': { 'function': { args: [{ default: null, enums: ['series', 'annotations', 'alertStates'], name: 'value', type: ['string'] }], help: 'Where to pull DataFrames from as input to transformation' } }, - withTopic(value): { topic: value }, + withTopic(value): { + topic: value, + }, }, }, standardOptions+: { '#withUnit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Unit a field should use. The unit you select is applied to all fields except time.\nYou can use the units ID availables in Grafana or a custom unit.\nAvailable units in Grafana: https://github.com/grafana/grafana/blob/main/packages/grafana-data/src/valueFormats/categories.ts\nAs custom unit, you can use the following formats:\n`suffix:` for custom unit that should go after value.\n`prefix:` for custom unit that should go before value.\n`time:` For custom date time formats type for example `time:YYYY-MM-DD`.\n`si:` for custom SI units. For example: `si: mF`. This one is a bit more advanced as you can specify both a unit and the source data scale. So if your source data is represented as milli (thousands of) something prefix the unit with that SI scale character.\n`count:` for a custom count unit.\n`currency:` for custom a currency unit.' } }, - withUnit(value): { fieldConfig+: { defaults+: { unit: value } } }, + withUnit(value): { + fieldConfig+: { + defaults+: { + unit: value, + }, + }, + }, '#withMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'The minimum value used in percentage threshold calculations. Leave blank for auto calculation based on all series and fields.' } }, - withMin(value): { fieldConfig+: { defaults+: { min: value } } }, + withMin(value): { + fieldConfig+: { + defaults+: { + min: value, + }, + }, + }, '#withMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'The maximum value used in percentage threshold calculations. Leave blank for auto calculation based on all series and fields.' } }, - withMax(value): { fieldConfig+: { defaults+: { max: value } } }, + withMax(value): { + fieldConfig+: { + defaults+: { + max: value, + }, + }, + }, '#withDecimals': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Specify the number of decimals Grafana includes in the rendered value.\nIf you leave this field blank, Grafana automatically truncates the number of decimals based on the value.\nFor example 1.1234 will display as 1.12 and 100.456 will display as 100.\nTo display all decimals, set the unit to `String`.' } }, - withDecimals(value): { fieldConfig+: { defaults+: { decimals: value } } }, + withDecimals(value): { + fieldConfig+: { + defaults+: { + decimals: value, + }, + }, + }, '#withDisplayName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The display value for this field. This supports template variables blank is auto' } }, - withDisplayName(value): { fieldConfig+: { defaults+: { displayName: value } } }, + withDisplayName(value): { + fieldConfig+: { + defaults+: { + displayName: value, + }, + }, + }, color+: { '#withFixedColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The fixed color value for fixed or shades color modes.' } }, - withFixedColor(value): { fieldConfig+: { defaults+: { color+: { fixedColor: value } } } }, + withFixedColor(value): { + fieldConfig+: { + defaults+: { + color+: { + fixedColor: value, + }, + }, + }, + }, '#withMode': { 'function': { args: [{ default: null, enums: ['thresholds', 'palette-classic', 'palette-classic-by-name', 'continuous-GrYlRd', 'continuous-RdYlGr', 'continuous-BlYlRd', 'continuous-YlRd', 'continuous-BlPu', 'continuous-YlBl', 'continuous-blues', 'continuous-reds', 'continuous-greens', 'continuous-purples', 'fixed', 'shades'], name: 'value', type: ['string'] }], help: 'Color mode for a field. You can specify a single color, or select a continuous (gradient) color schemes, based on a value.\nContinuous color interpolates a color using the percentage of a value relative to min and max.\nAccepted values are:\n`thresholds`: From thresholds. Informs Grafana to take the color from the matching threshold\n`palette-classic`: Classic palette. Grafana will assign color by looking up a color in a palette by series index. Useful for Graphs and pie charts and other categorical data visualizations\n`palette-classic-by-name`: Classic palette (by name). Grafana will assign color by looking up a color in a palette by series name. Useful for Graphs and pie charts and other categorical data visualizations\n`continuous-GrYlRd`: ontinuous Green-Yellow-Red palette mode\n`continuous-RdYlGr`: Continuous Red-Yellow-Green palette mode\n`continuous-BlYlRd`: Continuous Blue-Yellow-Red palette mode\n`continuous-YlRd`: Continuous Yellow-Red palette mode\n`continuous-BlPu`: Continuous Blue-Purple palette mode\n`continuous-YlBl`: Continuous Yellow-Blue palette mode\n`continuous-blues`: Continuous Blue palette mode\n`continuous-reds`: Continuous Red palette mode\n`continuous-greens`: Continuous Green palette mode\n`continuous-purples`: Continuous Purple palette mode\n`shades`: Shades of a single color. Specify a single color, useful in an override rule.\n`fixed`: Fixed color mode. Specify a single color, useful in an override rule.' } }, - withMode(value): { fieldConfig+: { defaults+: { color+: { mode: value } } } }, + withMode(value): { + fieldConfig+: { + defaults+: { + color+: { + mode: value, + }, + }, + }, + }, '#withSeriesBy': { 'function': { args: [{ default: null, enums: ['min', 'max', 'last'], name: 'value', type: ['string'] }], help: 'Defines how to assign a series color from "by value" color schemes. For example for an aggregated data points like a timeseries, the color can be assigned by the min, max or last value.' } }, - withSeriesBy(value): { fieldConfig+: { defaults+: { color+: { seriesBy: value } } } }, + withSeriesBy(value): { + fieldConfig+: { + defaults+: { + color+: { + seriesBy: value, + }, + }, + }, + }, }, '#withNoValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Alternative to empty string' } }, - withNoValue(value): { fieldConfig+: { defaults+: { noValue: value } } }, + withNoValue(value): { + fieldConfig+: { + defaults+: { + noValue: value, + }, + }, + }, '#withLinks': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'The behavior when clicking on a result' } }, - withLinks(value): { fieldConfig+: { defaults+: { links: (if std.isArray(value) - then value - else [value]) } } }, + withLinks(value): { + fieldConfig+: { + defaults+: { + links: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, '#withLinksMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'The behavior when clicking on a result' } }, - withLinksMixin(value): { fieldConfig+: { defaults+: { links+: (if std.isArray(value) - then value - else [value]) } } }, + withLinksMixin(value): { + fieldConfig+: { + defaults+: { + links+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, '#withMappings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Convert input values into a display string' } }, - withMappings(value): { fieldConfig+: { defaults+: { mappings: (if std.isArray(value) - then value - else [value]) } } }, + withMappings(value): { + fieldConfig+: { + defaults+: { + mappings: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, '#withMappingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Convert input values into a display string' } }, - withMappingsMixin(value): { fieldConfig+: { defaults+: { mappings+: (if std.isArray(value) - then value - else [value]) } } }, + withMappingsMixin(value): { + fieldConfig+: { + defaults+: { + mappings+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, '#withOverrides': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Overrides are the options applied to specific fields overriding the defaults.' } }, - withOverrides(value): { fieldConfig+: { overrides: (if std.isArray(value) - then value - else [value]) } }, + withOverrides(value): { + fieldConfig+: { + overrides: + (if std.isArray(value) + then value + else [value]), + }, + }, '#withOverridesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Overrides are the options applied to specific fields overriding the defaults.' } }, - withOverridesMixin(value): { fieldConfig+: { overrides+: (if std.isArray(value) - then value - else [value]) } }, + withOverridesMixin(value): { + fieldConfig+: { + overrides+: + (if std.isArray(value) + then value + else [value]), + }, + }, '#withFilterable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'True if data source field supports ad-hoc filters' } }, - withFilterable(value=true): { fieldConfig+: { defaults+: { filterable: value } } }, + withFilterable(value=true): { + fieldConfig+: { + defaults+: { + filterable: value, + }, + }, + }, '#withPath': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An explicit path to the field in the datasource. When the frame meta includes a path,\nThis will default to `${frame.meta.path}/${field.name}\n\nWhen defined, this value can be used as an identifier within the datasource scope, and\nmay be used to update the results' } }, - withPath(value): { fieldConfig+: { defaults+: { path: value } } }, + withPath(value): { + fieldConfig+: { + defaults+: { + path: value, + }, + }, + }, thresholds+: { '#withMode': { 'function': { args: [{ default: null, enums: ['absolute', 'percentage'], name: 'value', type: ['string'] }], help: 'Thresholds can either be `absolute` (specific number) or `percentage` (relative to min or max, it will be values between 0 and 1).' } }, - withMode(value): { fieldConfig+: { defaults+: { thresholds+: { mode: value } } } }, + withMode(value): { + fieldConfig+: { + defaults+: { + thresholds+: { + mode: value, + }, + }, + }, + }, '#withSteps': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "Must be sorted by 'value', first value is always -Infinity" } }, - withSteps(value): { fieldConfig+: { defaults+: { thresholds+: { steps: (if std.isArray(value) - then value - else [value]) } } } }, + withSteps(value): { + fieldConfig+: { + defaults+: { + thresholds+: { + steps: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, '#withStepsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "Must be sorted by 'value', first value is always -Infinity" } }, - withStepsMixin(value): { fieldConfig+: { defaults+: { thresholds+: { steps+: (if std.isArray(value) - then value - else [value]) } } } }, + withStepsMixin(value): { + fieldConfig+: { + defaults+: { + thresholds+: { + steps+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, }, mapping+: { @@ -180,171 +426,378 @@ ValueMap+: { '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } }' } }, - withOptions(value): { options: value }, + withOptions(value): { + options: value, + }, '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map with : ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } }' } }, - withOptionsMixin(value): { options+: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, + withOptionsMixin(value): { + options+: value, + }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'value', + }, }, RangeMap+: { '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Range to match against and the result to apply when the value is within the range' } }, - withOptions(value): { options: value }, + withOptions(value): { + options: value, + }, '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Range to match against and the result to apply when the value is within the range' } }, - withOptionsMixin(value): { options+: value }, + withOptionsMixin(value): { + options+: value, + }, options+: { - '#withFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number', 'null'] }], help: 'Min value of the range. It can be null which means -Infinity' } }, - withFrom(value): { options+: { from: value } }, + '#withFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Min value of the range. It can be null which means -Infinity' } }, + withFrom(value): { + options+: { + from: value, + }, + }, '#withResult': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Result used as replacement with text and color when the value matches' } }, - withResult(value): { options+: { result: value } }, + withResult(value): { + options+: { + result: value, + }, + }, '#withResultMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Result used as replacement with text and color when the value matches' } }, - withResultMixin(value): { options+: { result+: value } }, + withResultMixin(value): { + options+: { + result+: value, + }, + }, result+: { '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Text to use when the value matches' } }, - withColor(value): { options+: { result+: { color: value } } }, + withColor(value): { + options+: { + result+: { + color: value, + }, + }, + }, '#withIcon': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Icon to display when the value matches. Only specific visualizations.' } }, - withIcon(value): { options+: { result+: { icon: value } } }, + withIcon(value): { + options+: { + result+: { + icon: value, + }, + }, + }, '#withIndex': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Position in the mapping array. Only used internally.' } }, - withIndex(value): { options+: { result+: { index: value } } }, + withIndex(value): { + options+: { + result+: { + index: value, + }, + }, + }, '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Text to display when the value matches' } }, - withText(value): { options+: { result+: { text: value } } }, + withText(value): { + options+: { + result+: { + text: value, + }, + }, + }, }, - '#withTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number', 'null'] }], help: 'Max value of the range. It can be null which means +Infinity' } }, - withTo(value): { options+: { to: value } }, + '#withTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Max value of the range. It can be null which means +Infinity' } }, + withTo(value): { + options+: { + to: value, + }, + }, }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'range', + }, }, RegexMap+: { '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Regular expression to match against and the result to apply when the value matches the regex' } }, - withOptions(value): { options: value }, + withOptions(value): { + options: value, + }, '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Regular expression to match against and the result to apply when the value matches the regex' } }, - withOptionsMixin(value): { options+: value }, + withOptionsMixin(value): { + options+: value, + }, options+: { '#withPattern': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Regular expression to match against' } }, - withPattern(value): { options+: { pattern: value } }, + withPattern(value): { + options+: { + pattern: value, + }, + }, '#withResult': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Result used as replacement with text and color when the value matches' } }, - withResult(value): { options+: { result: value } }, + withResult(value): { + options+: { + result: value, + }, + }, '#withResultMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Result used as replacement with text and color when the value matches' } }, - withResultMixin(value): { options+: { result+: value } }, + withResultMixin(value): { + options+: { + result+: value, + }, + }, result+: { '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Text to use when the value matches' } }, - withColor(value): { options+: { result+: { color: value } } }, + withColor(value): { + options+: { + result+: { + color: value, + }, + }, + }, '#withIcon': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Icon to display when the value matches. Only specific visualizations.' } }, - withIcon(value): { options+: { result+: { icon: value } } }, + withIcon(value): { + options+: { + result+: { + icon: value, + }, + }, + }, '#withIndex': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Position in the mapping array. Only used internally.' } }, - withIndex(value): { options+: { result+: { index: value } } }, + withIndex(value): { + options+: { + result+: { + index: value, + }, + }, + }, '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Text to display when the value matches' } }, - withText(value): { options+: { result+: { text: value } } }, + withText(value): { + options+: { + result+: { + text: value, + }, + }, + }, }, }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'regex', + }, }, SpecialValueMap+: { '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptions(value): { options: value }, + withOptions(value): { + options: value, + }, '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOptionsMixin(value): { options+: value }, + withOptionsMixin(value): { + options+: value, + }, options+: { '#withMatch': { 'function': { args: [{ default: null, enums: ['true', 'false', 'null', 'nan', 'null+nan', 'empty'], name: 'value', type: ['string'] }], help: 'Special value types supported by the `SpecialValueMap`' } }, - withMatch(value): { options+: { match: value } }, + withMatch(value): { + options+: { + match: value, + }, + }, '#withResult': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Result used as replacement with text and color when the value matches' } }, - withResult(value): { options+: { result: value } }, + withResult(value): { + options+: { + result: value, + }, + }, '#withResultMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Result used as replacement with text and color when the value matches' } }, - withResultMixin(value): { options+: { result+: value } }, + withResultMixin(value): { + options+: { + result+: value, + }, + }, result+: { '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Text to use when the value matches' } }, - withColor(value): { options+: { result+: { color: value } } }, + withColor(value): { + options+: { + result+: { + color: value, + }, + }, + }, '#withIcon': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Icon to display when the value matches. Only specific visualizations.' } }, - withIcon(value): { options+: { result+: { icon: value } } }, + withIcon(value): { + options+: { + result+: { + icon: value, + }, + }, + }, '#withIndex': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Position in the mapping array. Only used internally.' } }, - withIndex(value): { options+: { result+: { index: value } } }, + withIndex(value): { + options+: { + result+: { + index: value, + }, + }, + }, '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Text to display when the value matches' } }, - withText(value): { options+: { result+: { text: value } } }, + withText(value): { + options+: { + result+: { + text: value, + }, + }, + }, }, }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'special', + }, }, }, - threshold+: - { - step+: - { - '#': { help: '', name: 'step' }, - '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded.' } }, - withColor(value): { color: value }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number', 'null'] }], help: 'Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded.\nNulls currently appear here when serializing -Infinity to JSON.' } }, - withValue(value): { value: value }, + threshold+: { + step+: + { + '#': { help: '', name: 'step' }, + '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded.' } }, + withColor(value): { + color: value, }, - }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded.\nNulls currently appear here when serializing -Infinity to JSON.' } }, + withValue(value): { + value: value, + }, + }, + }, override+: { '#': { help: '', name: 'override' }, '#withMatcher': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation.\nIt comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type.' } }, - withMatcher(value): { matcher: value }, + withMatcher(value): { + matcher: value, + }, '#withMatcherMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation.\nIt comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type.' } }, - withMatcherMixin(value): { matcher+: value }, + withMatcherMixin(value): { + matcher+: value, + }, matcher+: { '#withId': { 'function': { args: [{ default: '', enums: null, name: 'value', type: ['string'] }], help: 'The matcher id. This is used to find the matcher implementation from registry.' } }, - withId(value=''): { matcher+: { id: value } }, - '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The matcher options. This is specific to the matcher implementation.' } }, - withOptions(value): { matcher+: { options: value } }, + withId(value=''): { + matcher+: { + id: value, + }, + }, + '#withOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The matcher options. This is specific to the matcher implementation.' } }, + withOptions(value): { + matcher+: { + options: value, + }, + }, + '#withOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The matcher options. This is specific to the matcher implementation.' } }, + withOptionsMixin(value): { + matcher+: { + options+: value, + }, + }, }, '#withProperties': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withProperties(value): { properties: (if std.isArray(value) - then value - else [value]) }, + withProperties(value): { + properties: + (if std.isArray(value) + then value + else [value]), + }, '#withPropertiesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withPropertiesMixin(value): { properties+: (if std.isArray(value) - then value - else [value]) }, + withPropertiesMixin(value): { + properties+: + (if std.isArray(value) + then value + else [value]), + }, properties+: { '#': { help: '', name: 'properties' }, '#withId': { 'function': { args: [{ default: '', enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value=''): { id: value }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withValue(value): { value: value }, + withId(value=''): { + id: value, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withValue(value): { + value: value, + }, + '#withValueMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withValueMixin(value): { + value+: value, + }, }, }, }, datasource+: { '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The plugin type-id' } }, - withType(value): { datasource+: { type: value } }, + withType(value): { + datasource+: { + type: value, + }, + }, '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specific datasource instance' } }, - withUid(value): { datasource+: { uid: value } }, + withUid(value): { + datasource+: { + uid: value, + }, + }, }, libraryPanel+: { '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Library panel name' } }, - withName(value): { libraryPanel+: { name: value } }, + withName(value): { + libraryPanel+: { + name: value, + }, + }, '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Library panel uid' } }, - withUid(value): { libraryPanel+: { uid: value } }, + withUid(value): { + libraryPanel+: { + uid: value, + }, + }, }, gridPos+: { '#withH': { 'function': { args: [{ default: 9, enums: null, name: 'value', type: ['integer'] }], help: 'Panel height. The height is the number of rows from the top edge of the panel.' } }, - withH(value=9): { gridPos+: { h: value } }, + withH(value=9): { + gridPos+: { + h: value, + }, + }, '#withStatic': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "Whether the panel is fixed within the grid. If true, the panel will not be affected by other panels' interactions" } }, - withStatic(value=true): { gridPos+: { static: value } }, + withStatic(value=true): { + gridPos+: { + static: value, + }, + }, '#withW': { 'function': { args: [{ default: 12, enums: null, name: 'value', type: ['integer'] }], help: 'Panel width. The width is the number of columns from the left edge of the panel.' } }, - withW(value=12): { gridPos+: { w: value } }, + withW(value=12): { + gridPos+: { + w: value, + }, + }, '#withX': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['integer'] }], help: 'Panel x. The x coordinate is the number of columns from the left edge of the grid' } }, - withX(value=0): { gridPos+: { x: value } }, + withX(value=0): { + gridPos+: { + x: value, + }, + }, '#withY': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['integer'] }], help: 'Panel y. The y coordinate is the number of rows from the top edge of the grid' } }, - withY(value=0): { gridPos+: { y: value } }, + withY(value=0): { + gridPos+: { + y: value, + }, + }, }, } -+ (import '../custom/panel.libsonnet') ++ (import 'custom/panel.libsonnet') diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/alertList.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/alertList.libsonnet new file mode 100644 index 0000000..0865829 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/alertList.libsonnet @@ -0,0 +1,341 @@ +// This file is generated, do not manually edit. +(import '../panel.libsonnet') ++ { + '#': { help: 'grafonnet.panel.alertList', name: 'alertList' }, + panelOptions+: + { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'alertlist', + }, + }, + options+: + { + '#withAlertListOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withAlertListOptions(value): { + options+: { + AlertListOptions: value, + }, + }, + '#withAlertListOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withAlertListOptionsMixin(value): { + options+: { + AlertListOptions+: value, + }, + }, + AlertListOptions+: + { + '#withAlertName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withAlertName(value): { + options+: { + alertName: value, + }, + }, + '#withDashboardAlerts': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withDashboardAlerts(value=true): { + options+: { + dashboardAlerts: value, + }, + }, + '#withDashboardTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withDashboardTitle(value): { + options+: { + dashboardTitle: value, + }, + }, + '#withFolderId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withFolderId(value): { + options+: { + folderId: value, + }, + }, + '#withMaxItems': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withMaxItems(value): { + options+: { + maxItems: value, + }, + }, + '#withShowOptions': { 'function': { args: [{ default: null, enums: ['current', 'changes'], name: 'value', type: ['string'] }], help: '' } }, + withShowOptions(value): { + options+: { + showOptions: value, + }, + }, + '#withSortOrder': { 'function': { args: [{ default: null, enums: [1, 2, 3, 4, 5], name: 'value', type: ['number'] }], help: '' } }, + withSortOrder(value): { + options+: { + sortOrder: value, + }, + }, + '#withStateFilter': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withStateFilter(value): { + options+: { + stateFilter: value, + }, + }, + '#withStateFilterMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withStateFilterMixin(value): { + options+: { + stateFilter+: value, + }, + }, + stateFilter+: + { + '#withAlerting': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAlerting(value=true): { + options+: { + stateFilter+: { + alerting: value, + }, + }, + }, + '#withExecutionError': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withExecutionError(value=true): { + options+: { + stateFilter+: { + execution_error: value, + }, + }, + }, + '#withNoData': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withNoData(value=true): { + options+: { + stateFilter+: { + no_data: value, + }, + }, + }, + '#withOk': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withOk(value=true): { + options+: { + stateFilter+: { + ok: value, + }, + }, + }, + '#withPaused': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withPaused(value=true): { + options+: { + stateFilter+: { + paused: value, + }, + }, + }, + '#withPending': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withPending(value=true): { + options+: { + stateFilter+: { + pending: value, + }, + }, + }, + }, + '#withTags': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withTags(value): { + options+: { + tags: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withTagsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withTagsMixin(value): { + options+: { + tags+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withUnifiedAlertListOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withUnifiedAlertListOptions(value): { + options+: { + UnifiedAlertListOptions: value, + }, + }, + '#withUnifiedAlertListOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withUnifiedAlertListOptionsMixin(value): { + options+: { + UnifiedAlertListOptions+: value, + }, + }, + UnifiedAlertListOptions+: + { + '#withAlertInstanceLabelFilter': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withAlertInstanceLabelFilter(value): { + options+: { + alertInstanceLabelFilter: value, + }, + }, + '#withAlertName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withAlertName(value): { + options+: { + alertName: value, + }, + }, + '#withDashboardAlerts': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withDashboardAlerts(value=true): { + options+: { + dashboardAlerts: value, + }, + }, + '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withDatasource(value): { + options+: { + datasource: value, + }, + }, + '#withFolder': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withFolder(value): { + options+: { + folder: value, + }, + }, + '#withFolderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withFolderMixin(value): { + options+: { + folder+: value, + }, + }, + folder+: + { + '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withId(value): { + options+: { + folder+: { + id: value, + }, + }, + }, + '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withTitle(value): { + options+: { + folder+: { + title: value, + }, + }, + }, + }, + '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withGroupBy(value): { + options+: { + groupBy: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withGroupByMixin(value): { + options+: { + groupBy+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGroupMode': { 'function': { args: [{ default: null, enums: ['default', 'custom'], name: 'value', type: ['string'] }], help: '' } }, + withGroupMode(value): { + options+: { + groupMode: value, + }, + }, + '#withMaxItems': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withMaxItems(value): { + options+: { + maxItems: value, + }, + }, + '#withShowInstances': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withShowInstances(value=true): { + options+: { + showInstances: value, + }, + }, + '#withSortOrder': { 'function': { args: [{ default: null, enums: [1, 2, 3, 4, 5], name: 'value', type: ['number'] }], help: '' } }, + withSortOrder(value): { + options+: { + sortOrder: value, + }, + }, + '#withStateFilter': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withStateFilter(value): { + options+: { + stateFilter: value, + }, + }, + '#withStateFilterMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withStateFilterMixin(value): { + options+: { + stateFilter+: value, + }, + }, + stateFilter+: + { + '#withError': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withError(value=true): { + options+: { + stateFilter+: { + 'error': value, + }, + }, + }, + '#withFiring': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withFiring(value=true): { + options+: { + stateFilter+: { + firing: value, + }, + }, + }, + '#withInactive': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withInactive(value=true): { + options+: { + stateFilter+: { + inactive: value, + }, + }, + }, + '#withNoData': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withNoData(value=true): { + options+: { + stateFilter+: { + noData: value, + }, + }, + }, + '#withNormal': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withNormal(value=true): { + options+: { + stateFilter+: { + normal: value, + }, + }, + }, + '#withPending': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withPending(value=true): { + options+: { + stateFilter+: { + pending: value, + }, + }, + }, + }, + '#withViewMode': { 'function': { args: [{ default: null, enums: ['list', 'stat'], name: 'value', type: ['string'] }], help: '' } }, + withViewMode(value): { + options+: { + viewMode: value, + }, + }, + }, + }, +} ++ { + panelOptions+: { + '#withType':: { + ignore: true, + }, + }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/annotationsList.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/annotationsList.libsonnet similarity index 52% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/annotationsList.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/annotationsList.libsonnet index de40766..ccf1c12 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/annotationsList.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/annotationsList.libsonnet @@ -1,40 +1,94 @@ // This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') +(import '../panel.libsonnet') + { '#': { help: 'grafonnet.panel.annotationsList', name: 'annotationsList' }, panelOptions+: { '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'annolist' }, + withType(): { + type: 'annolist', + }, }, options+: { '#withLimit': { 'function': { args: [{ default: 10, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withLimit(value=10): { options+: { limit: value } }, + withLimit(value=10): { + options+: { + limit: value, + }, + }, '#withNavigateAfter': { 'function': { args: [{ default: '10m', enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNavigateAfter(value='10m'): { options+: { navigateAfter: value } }, + withNavigateAfter(value='10m'): { + options+: { + navigateAfter: value, + }, + }, '#withNavigateBefore': { 'function': { args: [{ default: '10m', enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNavigateBefore(value='10m'): { options+: { navigateBefore: value } }, + withNavigateBefore(value='10m'): { + options+: { + navigateBefore: value, + }, + }, '#withNavigateToPanel': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withNavigateToPanel(value=true): { options+: { navigateToPanel: value } }, + withNavigateToPanel(value=true): { + options+: { + navigateToPanel: value, + }, + }, '#withOnlyFromThisDashboard': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withOnlyFromThisDashboard(value=true): { options+: { onlyFromThisDashboard: value } }, + withOnlyFromThisDashboard(value=true): { + options+: { + onlyFromThisDashboard: value, + }, + }, '#withOnlyInTimeRange': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withOnlyInTimeRange(value=true): { options+: { onlyInTimeRange: value } }, + withOnlyInTimeRange(value=true): { + options+: { + onlyInTimeRange: value, + }, + }, '#withShowTags': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowTags(value=true): { options+: { showTags: value } }, + withShowTags(value=true): { + options+: { + showTags: value, + }, + }, '#withShowTime': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowTime(value=true): { options+: { showTime: value } }, + withShowTime(value=true): { + options+: { + showTime: value, + }, + }, '#withShowUser': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowUser(value=true): { options+: { showUser: value } }, + withShowUser(value=true): { + options+: { + showUser: value, + }, + }, '#withTags': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withTags(value): { options+: { tags: (if std.isArray(value) - then value - else [value]) } }, + withTags(value): { + options+: { + tags: + (if std.isArray(value) + then value + else [value]), + }, + }, '#withTagsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withTagsMixin(value): { options+: { tags+: (if std.isArray(value) - then value - else [value]) } }, + withTagsMixin(value): { + options+: { + tags+: + (if std.isArray(value) + then value + else [value]), + }, + }, }, } -+ { panelOptions+: { '#withType':: {} } } ++ { + panelOptions+: { + '#withType':: { + ignore: true, + }, + }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/barChart.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/barChart.libsonnet new file mode 100644 index 0000000..ccba369 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/barChart.libsonnet @@ -0,0 +1,553 @@ +// This file is generated, do not manually edit. +(import '../panel.libsonnet') ++ { + '#': { help: 'grafonnet.panel.barChart', name: 'barChart' }, + panelOptions+: + { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'barchart', + }, + }, + fieldConfig+: { + defaults+: { + custom+: + { + '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisBorderShow(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + axisBorderShow: value, + }, + }, + }, + }, + '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisCenteredZero(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + axisCenteredZero: value, + }, + }, + }, + }, + '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withAxisColorMode(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisColorMode: value, + }, + }, + }, + }, + '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisGridShow(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + axisGridShow: value, + }, + }, + }, + }, + '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withAxisLabel(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisLabel: value, + }, + }, + }, + }, + '#withAxisPlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'right', 'bottom', 'left', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withAxisPlacement(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisPlacement: value, + }, + }, + }, + }, + '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisSoftMax(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisSoftMax: value, + }, + }, + }, + }, + '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisSoftMin(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisSoftMin: value, + }, + }, + }, + }, + '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisWidth(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisWidth: value, + }, + }, + }, + }, + '#withFillOpacity': { 'function': { args: [{ default: 80, enums: null, name: 'value', type: ['integer'] }], help: 'Controls the fill opacity of the bars.' } }, + withFillOpacity(value=80): { + fieldConfig+: { + defaults+: { + custom+: { + fillOpacity: value, + }, + }, + }, + }, + '#withGradientMode': { 'function': { args: [{ default: 'none', enums: ['none', 'opacity', 'hue', 'scheme'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withGradientMode(value='none'): { + fieldConfig+: { + defaults+: { + custom+: { + gradientMode: value, + }, + }, + }, + }, + '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFrom(value): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom: value, + }, + }, + }, + }, + '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFromMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: value, + }, + }, + }, + }, + hideFrom+: + { + '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withLegend(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: { + legend: value, + }, + }, + }, + }, + }, + '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withTooltip(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: { + tooltip: value, + }, + }, + }, + }, + }, + '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withViz(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: { + viz: value, + }, + }, + }, + }, + }, + }, + '#withLineWidth': { 'function': { args: [{ default: 1, enums: null, name: 'value', type: ['integer'] }], help: 'Controls line width of the bars.' } }, + withLineWidth(value=1): { + fieldConfig+: { + defaults+: { + custom+: { + lineWidth: value, + }, + }, + }, + }, + '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withScaleDistribution(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution: value, + }, + }, + }, + }, + '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withScaleDistributionMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution+: value, + }, + }, + }, + }, + scaleDistribution+: + { + '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withLinearThreshold(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution+: { + linearThreshold: value, + }, + }, + }, + }, + }, + '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withLog(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution+: { + log: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withType(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withThresholdsStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withThresholdsStyle(value): { + fieldConfig+: { + defaults+: { + custom+: { + thresholdsStyle: value, + }, + }, + }, + }, + '#withThresholdsStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withThresholdsStyleMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + thresholdsStyle+: value, + }, + }, + }, + }, + thresholdsStyle+: + { + '#withMode': { 'function': { args: [{ default: null, enums: ['off', 'line', 'dashed', 'area', 'line+area', 'dashed+area', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withMode(value): { + fieldConfig+: { + defaults+: { + custom+: { + thresholdsStyle+: { + mode: value, + }, + }, + }, + }, + }, + }, + }, + }, + }, + options+: + { + '#withBarRadius': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['number'] }], help: 'Controls the radius of each bar.' } }, + withBarRadius(value=0): { + options+: { + barRadius: value, + }, + }, + '#withBarWidth': { 'function': { args: [{ default: 0.97, enums: null, name: 'value', type: ['number'] }], help: 'Controls the width of bars. 1 = Max width, 0 = Min width.' } }, + withBarWidth(value=0.97): { + options+: { + barWidth: value, + }, + }, + '#withColorByField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Use the color value for a sibling field to color each bar value.' } }, + withColorByField(value): { + options+: { + colorByField: value, + }, + }, + '#withFullHighlight': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Enables mode which highlights the entire bar area and shows tooltip when cursor\nhovers over highlighted area' } }, + withFullHighlight(value=true): { + options+: { + fullHighlight: value, + }, + }, + '#withGroupWidth': { 'function': { args: [{ default: 0.7, enums: null, name: 'value', type: ['number'] }], help: 'Controls the width of groups. 1 = max with, 0 = min width.' } }, + withGroupWidth(value=0.7): { + options+: { + groupWidth: value, + }, + }, + '#withLegend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLegend(value): { + options+: { + legend: value, + }, + }, + '#withLegendMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLegendMixin(value): { + options+: { + legend+: value, + }, + }, + legend+: + { + '#withAsTable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAsTable(value=true): { + options+: { + legend+: { + asTable: value, + }, + }, + }, + '#withCalcs': { 'function': { args: [{ default: [], enums: null, name: 'value', type: ['array'] }], help: '' } }, + withCalcs(value): { + options+: { + legend+: { + calcs: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withCalcsMixin': { 'function': { args: [{ default: [], enums: null, name: 'value', type: ['array'] }], help: '' } }, + withCalcsMixin(value): { + options+: { + legend+: { + calcs+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withDisplayMode': { 'function': { args: [{ default: 'list', enums: ['list', 'table', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs\nNote: "hidden" needs to remain as an option for plugins compatibility' } }, + withDisplayMode(value='list'): { + options+: { + legend+: { + displayMode: value, + }, + }, + }, + '#withIsVisible': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withIsVisible(value=true): { + options+: { + legend+: { + isVisible: value, + }, + }, + }, + '#withPlacement': { 'function': { args: [{ default: 'bottom', enums: ['bottom', 'right'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withPlacement(value='bottom'): { + options+: { + legend+: { + placement: value, + }, + }, + }, + '#withShowLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withShowLegend(value=true): { + options+: { + legend+: { + showLegend: value, + }, + }, + }, + '#withSortBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withSortBy(value): { + options+: { + legend+: { + sortBy: value, + }, + }, + }, + '#withSortDesc': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withSortDesc(value=true): { + options+: { + legend+: { + sortDesc: value, + }, + }, + }, + '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withWidth(value): { + options+: { + legend+: { + width: value, + }, + }, + }, + }, + '#withOrientation': { 'function': { args: [{ default: 'auto', enums: ['auto', 'vertical', 'horizontal'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withOrientation(value='auto'): { + options+: { + orientation: value, + }, + }, + '#withShowValue': { 'function': { args: [{ default: 'auto', enums: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withShowValue(value='auto'): { + options+: { + showValue: value, + }, + }, + '#withStacking': { 'function': { args: [{ default: 'none', enums: ['none', 'normal', 'percent'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withStacking(value='none'): { + options+: { + stacking: value, + }, + }, + '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withText(value): { + options+: { + text: value, + }, + }, + '#withTextMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withTextMixin(value): { + options+: { + text+: value, + }, + }, + text+: + { + '#withTitleSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Explicit title text size' } }, + withTitleSize(value): { + options+: { + text+: { + titleSize: value, + }, + }, + }, + '#withValueSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Explicit value text size' } }, + withValueSize(value): { + options+: { + text+: { + valueSize: value, + }, + }, + }, + }, + '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withTooltip(value): { + options+: { + tooltip: value, + }, + }, + '#withTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withTooltipMixin(value): { + options+: { + tooltip+: value, + }, + }, + tooltip+: + { + '#withMaxHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withMaxHeight(value): { + options+: { + tooltip+: { + maxHeight: value, + }, + }, + }, + '#withMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withMaxWidth(value): { + options+: { + tooltip+: { + maxWidth: value, + }, + }, + }, + '#withMode': { 'function': { args: [{ default: null, enums: ['single', 'multi', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withMode(value): { + options+: { + tooltip+: { + mode: value, + }, + }, + }, + '#withSort': { 'function': { args: [{ default: null, enums: ['asc', 'desc', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withSort(value): { + options+: { + tooltip+: { + sort: value, + }, + }, + }, + }, + '#withXField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Manually select which field from the dataset to represent the x field.' } }, + withXField(value): { + options+: { + xField: value, + }, + }, + '#withXTickLabelMaxLength': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Sets the max length that a label can have before it is truncated.' } }, + withXTickLabelMaxLength(value): { + options+: { + xTickLabelMaxLength: value, + }, + }, + '#withXTickLabelRotation': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['integer'] }], help: 'Controls the rotation of the x axis labels.' } }, + withXTickLabelRotation(value=0): { + options+: { + xTickLabelRotation: value, + }, + }, + '#withXTickLabelSpacing': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['integer'] }], help: 'Controls the spacing between x axis labels.\nnegative values indicate backwards skipping behavior' } }, + withXTickLabelSpacing(value=0): { + options+: { + xTickLabelSpacing: value, + }, + }, + }, +} ++ { + panelOptions+: { + '#withType':: { + ignore: true, + }, + }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/barGauge.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/barGauge.libsonnet new file mode 100644 index 0000000..9c07e9a --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/barGauge.libsonnet @@ -0,0 +1,168 @@ +// This file is generated, do not manually edit. +(import '../panel.libsonnet') ++ { + '#': { help: 'grafonnet.panel.barGauge', name: 'barGauge' }, + panelOptions+: + { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'bargauge', + }, + }, + options+: + { + '#withDisplayMode': { 'function': { args: [{ default: 'gradient', enums: ['basic', 'lcd', 'gradient'], name: 'value', type: ['string'] }], help: 'Enum expressing the possible display modes\nfor the bar gauge component of Grafana UI' } }, + withDisplayMode(value='gradient'): { + options+: { + displayMode: value, + }, + }, + '#withMaxVizHeight': { 'function': { args: [{ default: 300, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withMaxVizHeight(value=300): { + options+: { + maxVizHeight: value, + }, + }, + '#withMinVizHeight': { 'function': { args: [{ default: 16, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withMinVizHeight(value=16): { + options+: { + minVizHeight: value, + }, + }, + '#withMinVizWidth': { 'function': { args: [{ default: 8, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withMinVizWidth(value=8): { + options+: { + minVizWidth: value, + }, + }, + '#withNamePlacement': { 'function': { args: [{ default: 'auto', enums: ['auto', 'top', 'left'], name: 'value', type: ['string'] }], help: 'Allows for the bar gauge name to be placed explicitly' } }, + withNamePlacement(value='auto'): { + options+: { + namePlacement: value, + }, + }, + '#withOrientation': { 'function': { args: [{ default: null, enums: ['auto', 'vertical', 'horizontal'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withOrientation(value): { + options+: { + orientation: value, + }, + }, + '#withReduceOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withReduceOptions(value): { + options+: { + reduceOptions: value, + }, + }, + '#withReduceOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withReduceOptionsMixin(value): { + options+: { + reduceOptions+: value, + }, + }, + reduceOptions+: + { + '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'When !values, pick one value for the whole field' } }, + withCalcs(value): { + options+: { + reduceOptions+: { + calcs: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'When !values, pick one value for the whole field' } }, + withCalcsMixin(value): { + options+: { + reduceOptions+: { + calcs+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Which fields to show. By default this is only numeric fields' } }, + withFields(value): { + options+: { + reduceOptions+: { + fields: value, + }, + }, + }, + '#withLimit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'if showing all values limit' } }, + withLimit(value): { + options+: { + reduceOptions+: { + limit: value, + }, + }, + }, + '#withValues': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true show each row value' } }, + withValues(value=true): { + options+: { + reduceOptions+: { + values: value, + }, + }, + }, + }, + '#withShowUnfilled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withShowUnfilled(value=true): { + options+: { + showUnfilled: value, + }, + }, + '#withSizing': { 'function': { args: [{ default: 'auto', enums: ['auto', 'manual'], name: 'value', type: ['string'] }], help: 'Allows for the bar gauge size to be set explicitly' } }, + withSizing(value='auto'): { + options+: { + sizing: value, + }, + }, + '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withText(value): { + options+: { + text: value, + }, + }, + '#withTextMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withTextMixin(value): { + options+: { + text+: value, + }, + }, + text+: + { + '#withTitleSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Explicit title text size' } }, + withTitleSize(value): { + options+: { + text+: { + titleSize: value, + }, + }, + }, + '#withValueSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Explicit value text size' } }, + withValueSize(value): { + options+: { + text+: { + valueSize: value, + }, + }, + }, + }, + '#withValueMode': { 'function': { args: [{ default: 'color', enums: ['color', 'text', 'hidden'], name: 'value', type: ['string'] }], help: 'Allows for the table cell gauge display type to set the gauge mode.' } }, + withValueMode(value='color'): { + options+: { + valueMode: value, + }, + }, + }, +} ++ { + panelOptions+: { + '#withType':: { + ignore: true, + }, + }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/candlestick.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/candlestick.libsonnet new file mode 100644 index 0000000..2baf833 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/candlestick.libsonnet @@ -0,0 +1,850 @@ +// This file is generated, do not manually edit. +(import '../panel.libsonnet') ++ { + '#': { help: 'grafonnet.panel.candlestick', name: 'candlestick' }, + panelOptions+: + { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'candlestick', + }, + }, + fieldConfig+: { + defaults+: { + custom+: + { + '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisBorderShow(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + axisBorderShow: value, + }, + }, + }, + }, + '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisCenteredZero(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + axisCenteredZero: value, + }, + }, + }, + }, + '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withAxisColorMode(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisColorMode: value, + }, + }, + }, + }, + '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisGridShow(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + axisGridShow: value, + }, + }, + }, + }, + '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withAxisLabel(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisLabel: value, + }, + }, + }, + }, + '#withAxisPlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'right', 'bottom', 'left', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withAxisPlacement(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisPlacement: value, + }, + }, + }, + }, + '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisSoftMax(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisSoftMax: value, + }, + }, + }, + }, + '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisSoftMin(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisSoftMin: value, + }, + }, + }, + }, + '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisWidth(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisWidth: value, + }, + }, + }, + }, + '#withBarAlignment': { 'function': { args: [{ default: null, enums: [-1, 0, 1], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withBarAlignment(value): { + fieldConfig+: { + defaults+: { + custom+: { + barAlignment: value, + }, + }, + }, + }, + '#withBarMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withBarMaxWidth(value): { + fieldConfig+: { + defaults+: { + custom+: { + barMaxWidth: value, + }, + }, + }, + }, + '#withBarWidthFactor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withBarWidthFactor(value): { + fieldConfig+: { + defaults+: { + custom+: { + barWidthFactor: value, + }, + }, + }, + }, + '#withDrawStyle': { 'function': { args: [{ default: null, enums: ['line', 'bars', 'points'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withDrawStyle(value): { + fieldConfig+: { + defaults+: { + custom+: { + drawStyle: value, + }, + }, + }, + }, + '#withFillBelowTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withFillBelowTo(value): { + fieldConfig+: { + defaults+: { + custom+: { + fillBelowTo: value, + }, + }, + }, + }, + '#withFillColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withFillColor(value): { + fieldConfig+: { + defaults+: { + custom+: { + fillColor: value, + }, + }, + }, + }, + '#withFillOpacity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withFillOpacity(value): { + fieldConfig+: { + defaults+: { + custom+: { + fillOpacity: value, + }, + }, + }, + }, + '#withGradientMode': { 'function': { args: [{ default: null, enums: ['none', 'opacity', 'hue', 'scheme'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withGradientMode(value): { + fieldConfig+: { + defaults+: { + custom+: { + gradientMode: value, + }, + }, + }, + }, + '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFrom(value): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom: value, + }, + }, + }, + }, + '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFromMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: value, + }, + }, + }, + }, + hideFrom+: + { + '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withLegend(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: { + legend: value, + }, + }, + }, + }, + }, + '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withTooltip(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: { + tooltip: value, + }, + }, + }, + }, + }, + '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withViz(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: { + viz: value, + }, + }, + }, + }, + }, + }, + '#withInsertNulls': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'number'] }], help: '' } }, + withInsertNulls(value): { + fieldConfig+: { + defaults+: { + custom+: { + insertNulls: value, + }, + }, + }, + }, + '#withInsertNullsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'number'] }], help: '' } }, + withInsertNullsMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + insertNulls+: value, + }, + }, + }, + }, + '#withLineColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withLineColor(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineColor: value, + }, + }, + }, + }, + '#withLineInterpolation': { 'function': { args: [{ default: null, enums: ['linear', 'smooth', 'stepBefore', 'stepAfter'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withLineInterpolation(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineInterpolation: value, + }, + }, + }, + }, + '#withLineStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLineStyle(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineStyle: value, + }, + }, + }, + }, + '#withLineStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLineStyleMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineStyle+: value, + }, + }, + }, + }, + lineStyle+: + { + '#withDash': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withDash(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineStyle+: { + dash: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + }, + '#withDashMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withDashMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineStyle+: { + dash+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + }, + '#withFill': { 'function': { args: [{ default: null, enums: ['solid', 'dash', 'dot', 'square'], name: 'value', type: ['string'] }], help: '' } }, + withFill(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineStyle+: { + fill: value, + }, + }, + }, + }, + }, + }, + '#withLineWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withLineWidth(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineWidth: value, + }, + }, + }, + }, + '#withPointColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withPointColor(value): { + fieldConfig+: { + defaults+: { + custom+: { + pointColor: value, + }, + }, + }, + }, + '#withPointSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withPointSize(value): { + fieldConfig+: { + defaults+: { + custom+: { + pointSize: value, + }, + }, + }, + }, + '#withPointSymbol': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withPointSymbol(value): { + fieldConfig+: { + defaults+: { + custom+: { + pointSymbol: value, + }, + }, + }, + }, + '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withScaleDistribution(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution: value, + }, + }, + }, + }, + '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withScaleDistributionMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution+: value, + }, + }, + }, + }, + scaleDistribution+: + { + '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withLinearThreshold(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution+: { + linearThreshold: value, + }, + }, + }, + }, + }, + '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withLog(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution+: { + log: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withType(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withShowPoints': { 'function': { args: [{ default: null, enums: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withShowPoints(value): { + fieldConfig+: { + defaults+: { + custom+: { + showPoints: value, + }, + }, + }, + }, + '#withSpanNulls': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'number'] }], help: 'Indicate if null values should be treated as gaps or connected.\nWhen the value is a number, it represents the maximum delta in the\nX axis that should be considered connected. For timeseries, this is milliseconds' } }, + withSpanNulls(value): { + fieldConfig+: { + defaults+: { + custom+: { + spanNulls: value, + }, + }, + }, + }, + '#withSpanNullsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'number'] }], help: 'Indicate if null values should be treated as gaps or connected.\nWhen the value is a number, it represents the maximum delta in the\nX axis that should be considered connected. For timeseries, this is milliseconds' } }, + withSpanNullsMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + spanNulls+: value, + }, + }, + }, + }, + '#withStacking': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withStacking(value): { + fieldConfig+: { + defaults+: { + custom+: { + stacking: value, + }, + }, + }, + }, + '#withStackingMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withStackingMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + stacking+: value, + }, + }, + }, + }, + stacking+: + { + '#withGroup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withGroup(value): { + fieldConfig+: { + defaults+: { + custom+: { + stacking+: { + group: value, + }, + }, + }, + }, + }, + '#withMode': { 'function': { args: [{ default: null, enums: ['none', 'normal', 'percent'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withMode(value): { + fieldConfig+: { + defaults+: { + custom+: { + stacking+: { + mode: value, + }, + }, + }, + }, + }, + }, + '#withThresholdsStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withThresholdsStyle(value): { + fieldConfig+: { + defaults+: { + custom+: { + thresholdsStyle: value, + }, + }, + }, + }, + '#withThresholdsStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withThresholdsStyleMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + thresholdsStyle+: value, + }, + }, + }, + }, + thresholdsStyle+: + { + '#withMode': { 'function': { args: [{ default: null, enums: ['off', 'line', 'dashed', 'area', 'line+area', 'dashed+area', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withMode(value): { + fieldConfig+: { + defaults+: { + custom+: { + thresholdsStyle+: { + mode: value, + }, + }, + }, + }, + }, + }, + '#withTransform': { 'function': { args: [{ default: null, enums: ['constant', 'negative-Y'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withTransform(value): { + fieldConfig+: { + defaults+: { + custom+: { + transform: value, + }, + }, + }, + }, + }, + }, + }, + options+: + { + '#withCandleStyle': { 'function': { args: [{ default: 'candles', enums: ['candles', 'ohlcbars'], name: 'value', type: ['string'] }], help: 'Sets the style of the candlesticks' } }, + withCandleStyle(value='candles'): { + options+: { + candleStyle: value, + }, + }, + '#withColorStrategy': { 'function': { args: [{ default: 'open-close', enums: ['open-close', 'close-close'], name: 'value', type: ['string'] }], help: 'Sets the color strategy for the candlesticks' } }, + withColorStrategy(value='open-close'): { + options+: { + colorStrategy: value, + }, + }, + '#withColors': { 'function': { args: [{ default: { down: 'red', flat: 'gray', up: 'green' }, enums: null, name: 'value', type: ['object'] }], help: 'Set which colors are used when the price movement is up or down' } }, + withColors(value={ down: 'red', flat: 'gray', up: 'green' }): { + options+: { + colors: value, + }, + }, + '#withColorsMixin': { 'function': { args: [{ default: { down: 'red', flat: 'gray', up: 'green' }, enums: null, name: 'value', type: ['object'] }], help: 'Set which colors are used when the price movement is up or down' } }, + withColorsMixin(value): { + options+: { + colors+: value, + }, + }, + colors+: + { + '#withDown': { 'function': { args: [{ default: 'red', enums: null, name: 'value', type: ['string'] }], help: '' } }, + withDown(value='red'): { + options+: { + colors+: { + down: value, + }, + }, + }, + '#withFlat': { 'function': { args: [{ default: 'gray', enums: null, name: 'value', type: ['string'] }], help: '' } }, + withFlat(value='gray'): { + options+: { + colors+: { + flat: value, + }, + }, + }, + '#withUp': { 'function': { args: [{ default: 'green', enums: null, name: 'value', type: ['string'] }], help: '' } }, + withUp(value='green'): { + options+: { + colors+: { + up: value, + }, + }, + }, + }, + '#withFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map fields to appropriate dimension' } }, + withFields(value): { + options+: { + fields: value, + }, + }, + '#withFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Map fields to appropriate dimension' } }, + withFieldsMixin(value): { + options+: { + fields+: value, + }, + }, + fields+: + { + '#withClose': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Corresponds to the final (end) value of the given period' } }, + withClose(value): { + options+: { + fields+: { + close: value, + }, + }, + }, + '#withHigh': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Corresponds to the highest value of the given period' } }, + withHigh(value): { + options+: { + fields+: { + high: value, + }, + }, + }, + '#withLow': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Corresponds to the lowest value of the given period' } }, + withLow(value): { + options+: { + fields+: { + low: value, + }, + }, + }, + '#withOpen': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Corresponds to the starting value of the given period' } }, + withOpen(value): { + options+: { + fields+: { + open: value, + }, + }, + }, + '#withVolume': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Corresponds to the sample count in the given period. (e.g. number of trades)' } }, + withVolume(value): { + options+: { + fields+: { + volume: value, + }, + }, + }, + }, + '#withIncludeAllFields': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'When enabled, all fields will be sent to the graph' } }, + withIncludeAllFields(value=true): { + options+: { + includeAllFields: value, + }, + }, + '#withLegend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLegend(value): { + options+: { + legend: value, + }, + }, + '#withLegendMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLegendMixin(value): { + options+: { + legend+: value, + }, + }, + legend+: + { + '#withAsTable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAsTable(value=true): { + options+: { + legend+: { + asTable: value, + }, + }, + }, + '#withCalcs': { 'function': { args: [{ default: [], enums: null, name: 'value', type: ['array'] }], help: '' } }, + withCalcs(value): { + options+: { + legend+: { + calcs: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withCalcsMixin': { 'function': { args: [{ default: [], enums: null, name: 'value', type: ['array'] }], help: '' } }, + withCalcsMixin(value): { + options+: { + legend+: { + calcs+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withDisplayMode': { 'function': { args: [{ default: 'list', enums: ['list', 'table', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs\nNote: "hidden" needs to remain as an option for plugins compatibility' } }, + withDisplayMode(value='list'): { + options+: { + legend+: { + displayMode: value, + }, + }, + }, + '#withIsVisible': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withIsVisible(value=true): { + options+: { + legend+: { + isVisible: value, + }, + }, + }, + '#withPlacement': { 'function': { args: [{ default: 'bottom', enums: ['bottom', 'right'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withPlacement(value='bottom'): { + options+: { + legend+: { + placement: value, + }, + }, + }, + '#withShowLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withShowLegend(value=true): { + options+: { + legend+: { + showLegend: value, + }, + }, + }, + '#withSortBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withSortBy(value): { + options+: { + legend+: { + sortBy: value, + }, + }, + }, + '#withSortDesc': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withSortDesc(value=true): { + options+: { + legend+: { + sortDesc: value, + }, + }, + }, + '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withWidth(value): { + options+: { + legend+: { + width: value, + }, + }, + }, + }, + '#withMode': { 'function': { args: [{ default: 'candles+volume', enums: ['candles+volume', 'candles', 'volume'], name: 'value', type: ['string'] }], help: 'Sets which dimensions are used for the visualization' } }, + withMode(value='candles+volume'): { + options+: { + mode: value, + }, + }, + '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withTooltip(value): { + options+: { + tooltip: value, + }, + }, + '#withTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withTooltipMixin(value): { + options+: { + tooltip+: value, + }, + }, + tooltip+: + { + '#withMaxHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withMaxHeight(value): { + options+: { + tooltip+: { + maxHeight: value, + }, + }, + }, + '#withMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withMaxWidth(value): { + options+: { + tooltip+: { + maxWidth: value, + }, + }, + }, + '#withMode': { 'function': { args: [{ default: null, enums: ['single', 'multi', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withMode(value): { + options+: { + tooltip+: { + mode: value, + }, + }, + }, + '#withSort': { 'function': { args: [{ default: null, enums: ['asc', 'desc', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withSort(value): { + options+: { + tooltip+: { + sort: value, + }, + }, + }, + }, + }, +} ++ { + panelOptions+: { + '#withType':: { + ignore: true, + }, + }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/canvas.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/canvas.libsonnet new file mode 100644 index 0000000..2cf777f --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/canvas.libsonnet @@ -0,0 +1,544 @@ +// This file is generated, do not manually edit. +(import '../panel.libsonnet') ++ { + '#': { help: 'grafonnet.panel.canvas', name: 'canvas' }, + panelOptions+: + { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'canvas', + }, + }, + options+: + { + '#withInfinitePan': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Enable infinite pan' } }, + withInfinitePan(value=true): { + options+: { + infinitePan: value, + }, + }, + '#withInlineEditing': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Enable inline editing' } }, + withInlineEditing(value=true): { + options+: { + inlineEditing: value, + }, + }, + '#withPanZoom': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Enable pan and zoom' } }, + withPanZoom(value=true): { + options+: { + panZoom: value, + }, + }, + '#withRoot': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The root element of canvas (frame), where all canvas elements are nested\nTODO: Figure out how to define a default value for this' } }, + withRoot(value): { + options+: { + root: value, + }, + }, + '#withRootMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The root element of canvas (frame), where all canvas elements are nested\nTODO: Figure out how to define a default value for this' } }, + withRootMixin(value): { + options+: { + root+: value, + }, + }, + root+: + { + '#withElements': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'The list of canvas elements attached to the root element' } }, + withElements(value): { + options+: { + root+: { + elements: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withElementsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'The list of canvas elements attached to the root element' } }, + withElementsMixin(value): { + options+: { + root+: { + elements+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + elements+: + { + '#': { help: '', name: 'elements' }, + '#withBackground': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withBackground(value): { + background: value, + }, + '#withBackgroundMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withBackgroundMixin(value): { + background+: value, + }, + background+: + { + '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withColor(value): { + background+: { + color: value, + }, + }, + '#withColorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withColorMixin(value): { + background+: { + color+: value, + }, + }, + color+: + { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, + withField(value): { + background+: { + color+: { + field: value, + }, + }, + }, + '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'color value' } }, + withFixed(value): { + background+: { + color+: { + fixed: value, + }, + }, + }, + }, + '#withImage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Links to a resource (image/svg path)' } }, + withImage(value): { + background+: { + image: value, + }, + }, + '#withImageMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Links to a resource (image/svg path)' } }, + withImageMixin(value): { + background+: { + image+: value, + }, + }, + image+: + { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, + withField(value): { + background+: { + image+: { + field: value, + }, + }, + }, + '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withFixed(value): { + background+: { + image+: { + fixed: value, + }, + }, + }, + '#withMode': { 'function': { args: [{ default: null, enums: ['fixed', 'field', 'mapping'], name: 'value', type: ['string'] }], help: '' } }, + withMode(value): { + background+: { + image+: { + mode: value, + }, + }, + }, + }, + '#withSize': { 'function': { args: [{ default: null, enums: ['original', 'contain', 'cover', 'fill', 'tile'], name: 'value', type: ['string'] }], help: '' } }, + withSize(value): { + background+: { + size: value, + }, + }, + }, + '#withBorder': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withBorder(value): { + border: value, + }, + '#withBorderMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withBorderMixin(value): { + border+: value, + }, + border+: + { + '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withColor(value): { + border+: { + color: value, + }, + }, + '#withColorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withColorMixin(value): { + border+: { + color+: value, + }, + }, + color+: + { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, + withField(value): { + border+: { + color+: { + field: value, + }, + }, + }, + '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'color value' } }, + withFixed(value): { + border+: { + color+: { + fixed: value, + }, + }, + }, + }, + '#withRadius': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withRadius(value): { + border+: { + radius: value, + }, + }, + '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withWidth(value): { + border+: { + width: value, + }, + }, + }, + '#withConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO: figure out how to define this (element config(s))' } }, + withConfig(value): { + config: value, + }, + '#withConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO: figure out how to define this (element config(s))' } }, + withConfigMixin(value): { + config+: value, + }, + '#withConnections': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withConnections(value): { + connections: + (if std.isArray(value) + then value + else [value]), + }, + '#withConnectionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withConnectionsMixin(value): { + connections+: + (if std.isArray(value) + then value + else [value]), + }, + connections+: + { + '#': { help: '', name: 'connections' }, + '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withColor(value): { + color: value, + }, + '#withColorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withColorMixin(value): { + color+: value, + }, + color+: + { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, + withField(value): { + color+: { + field: value, + }, + }, + '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'color value' } }, + withFixed(value): { + color+: { + fixed: value, + }, + }, + }, + '#withPath': { 'function': { args: [{ default: null, enums: ['straight'], name: 'value', type: ['string'] }], help: '' } }, + withPath(value): { + path: value, + }, + '#withSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSize(value): { + size: value, + }, + '#withSizeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSizeMixin(value): { + size+: value, + }, + size+: + { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, + withField(value): { + size+: { + field: value, + }, + }, + '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withFixed(value): { + size+: { + fixed: value, + }, + }, + '#withMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withMax(value): { + size+: { + max: value, + }, + }, + '#withMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withMin(value): { + size+: { + min: value, + }, + }, + '#withMode': { 'function': { args: [{ default: null, enums: ['linear', 'quad'], name: 'value', type: ['string'] }], help: '| *"linear"' } }, + withMode(value): { + size+: { + mode: value, + }, + }, + }, + '#withSource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSource(value): { + source: value, + }, + '#withSourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSourceMixin(value): { + source+: value, + }, + source+: + { + '#withX': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withX(value): { + source+: { + x: value, + }, + }, + '#withY': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withY(value): { + source+: { + y: value, + }, + }, + }, + '#withSourceOriginal': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSourceOriginal(value): { + sourceOriginal: value, + }, + '#withSourceOriginalMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSourceOriginalMixin(value): { + sourceOriginal+: value, + }, + sourceOriginal+: + { + '#withX': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withX(value): { + sourceOriginal+: { + x: value, + }, + }, + '#withY': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withY(value): { + sourceOriginal+: { + y: value, + }, + }, + }, + '#withTarget': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withTarget(value): { + target: value, + }, + '#withTargetMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withTargetMixin(value): { + target+: value, + }, + target+: + { + '#withX': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withX(value): { + target+: { + x: value, + }, + }, + '#withY': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withY(value): { + target+: { + y: value, + }, + }, + }, + '#withTargetName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withTargetName(value): { + targetName: value, + }, + '#withTargetOriginal': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withTargetOriginal(value): { + targetOriginal: value, + }, + '#withTargetOriginalMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withTargetOriginalMixin(value): { + targetOriginal+: value, + }, + targetOriginal+: + { + '#withX': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withX(value): { + targetOriginal+: { + x: value, + }, + }, + '#withY': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withY(value): { + targetOriginal+: { + y: value, + }, + }, + }, + '#withVertices': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withVertices(value): { + vertices: + (if std.isArray(value) + then value + else [value]), + }, + '#withVerticesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withVerticesMixin(value): { + vertices+: + (if std.isArray(value) + then value + else [value]), + }, + vertices+: + { + '#': { help: '', name: 'vertices' }, + '#withX': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withX(value): { + x: value, + }, + '#withY': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withY(value): { + y: value, + }, + }, + }, + '#withConstraint': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withConstraint(value): { + constraint: value, + }, + '#withConstraintMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withConstraintMixin(value): { + constraint+: value, + }, + constraint+: + { + '#withHorizontal': { 'function': { args: [{ default: null, enums: ['left', 'right', 'leftright', 'center', 'scale'], name: 'value', type: ['string'] }], help: '' } }, + withHorizontal(value): { + constraint+: { + horizontal: value, + }, + }, + '#withVertical': { 'function': { args: [{ default: null, enums: ['top', 'bottom', 'topbottom', 'center', 'scale'], name: 'value', type: ['string'] }], help: '' } }, + withVertical(value): { + constraint+: { + vertical: value, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + name: value, + }, + '#withPlacement': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withPlacement(value): { + placement: value, + }, + '#withPlacementMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withPlacementMixin(value): { + placement+: value, + }, + placement+: + { + '#withBottom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withBottom(value): { + placement+: { + bottom: value, + }, + }, + '#withHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withHeight(value): { + placement+: { + height: value, + }, + }, + '#withLeft': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withLeft(value): { + placement+: { + left: value, + }, + }, + '#withRight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withRight(value): { + placement+: { + right: value, + }, + }, + '#withRotation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withRotation(value): { + placement+: { + rotation: value, + }, + }, + '#withTop': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withTop(value): { + placement+: { + top: value, + }, + }, + '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withWidth(value): { + placement+: { + width: value, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withType(value): { + type: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the root element' } }, + withName(value): { + options+: { + root+: { + name: value, + }, + }, + }, + '#withType': { 'function': { args: [], help: 'Type of root element (frame)' } }, + withType(): { + options+: { + root+: { + type: 'frame', + }, + }, + }, + }, + '#withShowAdvancedTypes': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Show all available element types' } }, + withShowAdvancedTypes(value=true): { + options+: { + showAdvancedTypes: value, + }, + }, + }, +} ++ { + panelOptions+: { + '#withType':: { + ignore: true, + }, + }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/dashboardList.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/dashboardList.libsonnet similarity index 50% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/dashboardList.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/dashboardList.libsonnet index bf02b01..48d9cdd 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/dashboardList.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/dashboardList.libsonnet @@ -1,42 +1,106 @@ // This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') +(import '../panel.libsonnet') + { '#': { help: 'grafonnet.panel.dashboardList', name: 'dashboardList' }, panelOptions+: { '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'dashlist' }, + withType(): { + type: 'dashlist', + }, }, options+: { '#withFolderId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'folderId is deprecated, and migrated to folderUid on panel init' } }, - withFolderId(value): { options+: { folderId: value } }, + withFolderId(value): { + options+: { + folderId: value, + }, + }, '#withFolderUID': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFolderUID(value): { options+: { folderUID: value } }, + withFolderUID(value): { + options+: { + folderUID: value, + }, + }, '#withIncludeVars': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withIncludeVars(value=true): { options+: { includeVars: value } }, + withIncludeVars(value=true): { + options+: { + includeVars: value, + }, + }, '#withKeepTime': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withKeepTime(value=true): { options+: { keepTime: value } }, + withKeepTime(value=true): { + options+: { + keepTime: value, + }, + }, '#withMaxItems': { 'function': { args: [{ default: 10, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withMaxItems(value=10): { options+: { maxItems: value } }, + withMaxItems(value=10): { + options+: { + maxItems: value, + }, + }, '#withQuery': { 'function': { args: [{ default: '', enums: null, name: 'value', type: ['string'] }], help: '' } }, - withQuery(value=''): { options+: { query: value } }, + withQuery(value=''): { + options+: { + query: value, + }, + }, + '#withShowFolderNames': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withShowFolderNames(value=true): { + options+: { + showFolderNames: value, + }, + }, '#withShowHeadings': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowHeadings(value=true): { options+: { showHeadings: value } }, + withShowHeadings(value=true): { + options+: { + showHeadings: value, + }, + }, '#withShowRecentlyViewed': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowRecentlyViewed(value=true): { options+: { showRecentlyViewed: value } }, + withShowRecentlyViewed(value=true): { + options+: { + showRecentlyViewed: value, + }, + }, '#withShowSearch': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowSearch(value=true): { options+: { showSearch: value } }, + withShowSearch(value=true): { + options+: { + showSearch: value, + }, + }, '#withShowStarred': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowStarred(value=true): { options+: { showStarred: value } }, + withShowStarred(value=true): { + options+: { + showStarred: value, + }, + }, '#withTags': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withTags(value): { options+: { tags: (if std.isArray(value) - then value - else [value]) } }, + withTags(value): { + options+: { + tags: + (if std.isArray(value) + then value + else [value]), + }, + }, '#withTagsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withTagsMixin(value): { options+: { tags+: (if std.isArray(value) - then value - else [value]) } }, + withTagsMixin(value): { + options+: { + tags+: + (if std.isArray(value) + then value + else [value]), + }, + }, }, } -+ { panelOptions+: { '#withType':: {} } } ++ { + panelOptions+: { + '#withType':: { + ignore: true, + }, + }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/datagrid.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/datagrid.libsonnet similarity index 57% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/datagrid.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/datagrid.libsonnet index 7f30ddb..c93f787 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/datagrid.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/datagrid.libsonnet @@ -1,16 +1,28 @@ // This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') +(import '../panel.libsonnet') + { '#': { help: 'grafonnet.panel.datagrid', name: 'datagrid' }, panelOptions+: { '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'datagrid' }, + withType(): { + type: 'datagrid', + }, }, options+: { '#withSelectedSeries': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withSelectedSeries(value=0): { options+: { selectedSeries: value } }, + withSelectedSeries(value=0): { + options+: { + selectedSeries: value, + }, + }, }, } -+ { panelOptions+: { '#withType':: {} } } ++ { + panelOptions+: { + '#withType':: { + ignore: true, + }, + }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/debug.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/debug.libsonnet similarity index 53% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/debug.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/debug.libsonnet index 82c8cfb..3cc3f99 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/debug.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/debug.libsonnet @@ -1,29 +1,67 @@ // This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') +(import '../panel.libsonnet') + { '#': { help: 'grafonnet.panel.debug', name: 'debug' }, panelOptions+: { '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'debug' }, + withType(): { + type: 'debug', + }, }, options+: { '#withCounters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCounters(value): { options+: { counters: value } }, + withCounters(value): { + options+: { + counters: value, + }, + }, '#withCountersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCountersMixin(value): { options+: { counters+: value } }, + withCountersMixin(value): { + options+: { + counters+: value, + }, + }, counters+: { '#withDataChanged': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withDataChanged(value=true): { options+: { counters+: { dataChanged: value } } }, + withDataChanged(value=true): { + options+: { + counters+: { + dataChanged: value, + }, + }, + }, '#withRender': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withRender(value=true): { options+: { counters+: { render: value } } }, + withRender(value=true): { + options+: { + counters+: { + render: value, + }, + }, + }, '#withSchemaChanged': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withSchemaChanged(value=true): { options+: { counters+: { schemaChanged: value } } }, + withSchemaChanged(value=true): { + options+: { + counters+: { + schemaChanged: value, + }, + }, + }, }, '#withMode': { 'function': { args: [{ default: null, enums: ['render', 'events', 'cursor', 'State', 'ThrowError'], name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { options+: { mode: value } }, + withMode(value): { + options+: { + mode: value, + }, + }, + }, +} ++ { + panelOptions+: { + '#withType':: { + ignore: true, }, + }, } -+ { panelOptions+: { '#withType':: {} } } diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/gauge.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/gauge.libsonnet new file mode 100644 index 0000000..f627a73 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/gauge.libsonnet @@ -0,0 +1,150 @@ +// This file is generated, do not manually edit. +(import '../panel.libsonnet') ++ { + '#': { help: 'grafonnet.panel.gauge', name: 'gauge' }, + panelOptions+: + { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'gauge', + }, + }, + options+: + { + '#withMinVizHeight': { 'function': { args: [{ default: 75, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withMinVizHeight(value=75): { + options+: { + minVizHeight: value, + }, + }, + '#withMinVizWidth': { 'function': { args: [{ default: 75, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withMinVizWidth(value=75): { + options+: { + minVizWidth: value, + }, + }, + '#withOrientation': { 'function': { args: [{ default: null, enums: ['auto', 'vertical', 'horizontal'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withOrientation(value): { + options+: { + orientation: value, + }, + }, + '#withReduceOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withReduceOptions(value): { + options+: { + reduceOptions: value, + }, + }, + '#withReduceOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withReduceOptionsMixin(value): { + options+: { + reduceOptions+: value, + }, + }, + reduceOptions+: + { + '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'When !values, pick one value for the whole field' } }, + withCalcs(value): { + options+: { + reduceOptions+: { + calcs: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'When !values, pick one value for the whole field' } }, + withCalcsMixin(value): { + options+: { + reduceOptions+: { + calcs+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Which fields to show. By default this is only numeric fields' } }, + withFields(value): { + options+: { + reduceOptions+: { + fields: value, + }, + }, + }, + '#withLimit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'if showing all values limit' } }, + withLimit(value): { + options+: { + reduceOptions+: { + limit: value, + }, + }, + }, + '#withValues': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true show each row value' } }, + withValues(value=true): { + options+: { + reduceOptions+: { + values: value, + }, + }, + }, + }, + '#withShowThresholdLabels': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withShowThresholdLabels(value=true): { + options+: { + showThresholdLabels: value, + }, + }, + '#withShowThresholdMarkers': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withShowThresholdMarkers(value=true): { + options+: { + showThresholdMarkers: value, + }, + }, + '#withSizing': { 'function': { args: [{ default: 'auto', enums: ['auto', 'manual'], name: 'value', type: ['string'] }], help: 'Allows for the bar gauge size to be set explicitly' } }, + withSizing(value='auto'): { + options+: { + sizing: value, + }, + }, + '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withText(value): { + options+: { + text: value, + }, + }, + '#withTextMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withTextMixin(value): { + options+: { + text+: value, + }, + }, + text+: + { + '#withTitleSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Explicit title text size' } }, + withTitleSize(value): { + options+: { + text+: { + titleSize: value, + }, + }, + }, + '#withValueSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Explicit value text size' } }, + withValueSize(value): { + options+: { + text+: { + valueSize: value, + }, + }, + }, + }, + }, +} ++ { + panelOptions+: { + '#withType':: { + ignore: true, + }, + }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/geomap.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/geomap.libsonnet new file mode 100644 index 0000000..61dcd96 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/geomap.libsonnet @@ -0,0 +1,486 @@ +// This file is generated, do not manually edit. +(import '../panel.libsonnet') ++ { + '#': { help: 'grafonnet.panel.geomap', name: 'geomap' }, + panelOptions+: + { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'geomap', + }, + }, + options+: + { + '#withBasemap': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withBasemap(value): { + options+: { + basemap: value, + }, + }, + '#withBasemapMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withBasemapMixin(value): { + options+: { + basemap+: value, + }, + }, + basemap+: + { + '#withConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Custom options depending on the type' } }, + withConfig(value): { + options+: { + basemap+: { + config: value, + }, + }, + }, + '#withConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Custom options depending on the type' } }, + withConfigMixin(value): { + options+: { + basemap+: { + config+: value, + }, + }, + }, + '#withFilterData': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Defines a frame MatcherConfig that may filter data for the given layer' } }, + withFilterData(value): { + options+: { + basemap+: { + filterData: value, + }, + }, + }, + '#withFilterDataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Defines a frame MatcherConfig that may filter data for the given layer' } }, + withFilterDataMixin(value): { + options+: { + basemap+: { + filterData+: value, + }, + }, + }, + '#withLocation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Common method to define geometry fields' } }, + withLocation(value): { + options+: { + basemap+: { + location: value, + }, + }, + }, + '#withLocationMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Common method to define geometry fields' } }, + withLocationMixin(value): { + options+: { + basemap+: { + location+: value, + }, + }, + }, + location+: + { + '#withGazetteer': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Path to Gazetteer' } }, + withGazetteer(value): { + options+: { + basemap+: { + location+: { + gazetteer: value, + }, + }, + }, + }, + '#withGeohash': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Field mappings' } }, + withGeohash(value): { + options+: { + basemap+: { + location+: { + geohash: value, + }, + }, + }, + }, + '#withLatitude': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withLatitude(value): { + options+: { + basemap+: { + location+: { + latitude: value, + }, + }, + }, + }, + '#withLongitude': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withLongitude(value): { + options+: { + basemap+: { + location+: { + longitude: value, + }, + }, + }, + }, + '#withLookup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withLookup(value): { + options+: { + basemap+: { + location+: { + lookup: value, + }, + }, + }, + }, + '#withMode': { 'function': { args: [{ default: null, enums: ['auto', 'geohash', 'coords', 'lookup'], name: 'value', type: ['string'] }], help: '' } }, + withMode(value): { + options+: { + basemap+: { + location+: { + mode: value, + }, + }, + }, + }, + '#withWkt': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withWkt(value): { + options+: { + basemap+: { + location+: { + wkt: value, + }, + }, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'configured unique display name' } }, + withName(value): { + options+: { + basemap+: { + name: value, + }, + }, + }, + '#withOpacity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Common properties:\nhttps://openlayers.org/en/latest/apidoc/module-ol_layer_Base-BaseLayer.html\nLayer opacity (0-1)' } }, + withOpacity(value): { + options+: { + basemap+: { + opacity: value, + }, + }, + }, + '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Check tooltip (defaults to true)' } }, + withTooltip(value=true): { + options+: { + basemap+: { + tooltip: value, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withType(value): { + options+: { + basemap+: { + type: value, + }, + }, + }, + }, + '#withControls': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withControls(value): { + options+: { + controls: value, + }, + }, + '#withControlsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withControlsMixin(value): { + options+: { + controls+: value, + }, + }, + controls+: + { + '#withMouseWheelZoom': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'let the mouse wheel zoom' } }, + withMouseWheelZoom(value=true): { + options+: { + controls+: { + mouseWheelZoom: value, + }, + }, + }, + '#withShowAttribution': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Lower right' } }, + withShowAttribution(value=true): { + options+: { + controls+: { + showAttribution: value, + }, + }, + }, + '#withShowDebug': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Show debug' } }, + withShowDebug(value=true): { + options+: { + controls+: { + showDebug: value, + }, + }, + }, + '#withShowMeasure': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Show measure' } }, + withShowMeasure(value=true): { + options+: { + controls+: { + showMeasure: value, + }, + }, + }, + '#withShowScale': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Scale options' } }, + withShowScale(value=true): { + options+: { + controls+: { + showScale: value, + }, + }, + }, + '#withShowZoom': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Zoom (upper left)' } }, + withShowZoom(value=true): { + options+: { + controls+: { + showZoom: value, + }, + }, + }, + }, + '#withLayers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withLayers(value): { + options+: { + layers: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withLayersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withLayersMixin(value): { + options+: { + layers+: + (if std.isArray(value) + then value + else [value]), + }, + }, + layers+: + { + '#': { help: '', name: 'layers' }, + '#withConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Custom options depending on the type' } }, + withConfig(value): { + config: value, + }, + '#withConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Custom options depending on the type' } }, + withConfigMixin(value): { + config+: value, + }, + '#withFilterData': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Defines a frame MatcherConfig that may filter data for the given layer' } }, + withFilterData(value): { + filterData: value, + }, + '#withFilterDataMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Defines a frame MatcherConfig that may filter data for the given layer' } }, + withFilterDataMixin(value): { + filterData+: value, + }, + '#withLocation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Common method to define geometry fields' } }, + withLocation(value): { + location: value, + }, + '#withLocationMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Common method to define geometry fields' } }, + withLocationMixin(value): { + location+: value, + }, + location+: + { + '#withGazetteer': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Path to Gazetteer' } }, + withGazetteer(value): { + location+: { + gazetteer: value, + }, + }, + '#withGeohash': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Field mappings' } }, + withGeohash(value): { + location+: { + geohash: value, + }, + }, + '#withLatitude': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withLatitude(value): { + location+: { + latitude: value, + }, + }, + '#withLongitude': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withLongitude(value): { + location+: { + longitude: value, + }, + }, + '#withLookup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withLookup(value): { + location+: { + lookup: value, + }, + }, + '#withMode': { 'function': { args: [{ default: null, enums: ['auto', 'geohash', 'coords', 'lookup'], name: 'value', type: ['string'] }], help: '' } }, + withMode(value): { + location+: { + mode: value, + }, + }, + '#withWkt': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withWkt(value): { + location+: { + wkt: value, + }, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'configured unique display name' } }, + withName(value): { + name: value, + }, + '#withOpacity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Common properties:\nhttps://openlayers.org/en/latest/apidoc/module-ol_layer_Base-BaseLayer.html\nLayer opacity (0-1)' } }, + withOpacity(value): { + opacity: value, + }, + '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Check tooltip (defaults to true)' } }, + withTooltip(value=true): { + tooltip: value, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withType(value): { + type: value, + }, + }, + '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withTooltip(value): { + options+: { + tooltip: value, + }, + }, + '#withTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withTooltipMixin(value): { + options+: { + tooltip+: value, + }, + }, + tooltip+: + { + '#withMode': { 'function': { args: [{ default: null, enums: ['none', 'details'], name: 'value', type: ['string'] }], help: '' } }, + withMode(value): { + options+: { + tooltip+: { + mode: value, + }, + }, + }, + }, + '#withView': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withView(value): { + options+: { + view: value, + }, + }, + '#withViewMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withViewMixin(value): { + options+: { + view+: value, + }, + }, + view+: + { + '#withAllLayers': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAllLayers(value=true): { + options+: { + view+: { + allLayers: value, + }, + }, + }, + '#withId': { 'function': { args: [{ default: 'zero', enums: null, name: 'value', type: ['string'] }], help: '' } }, + withId(value='zero'): { + options+: { + view+: { + id: value, + }, + }, + }, + '#withLastOnly': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withLastOnly(value=true): { + options+: { + view+: { + lastOnly: value, + }, + }, + }, + '#withLat': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withLat(value=0): { + options+: { + view+: { + lat: value, + }, + }, + }, + '#withLayer': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withLayer(value): { + options+: { + view+: { + layer: value, + }, + }, + }, + '#withLon': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withLon(value=0): { + options+: { + view+: { + lon: value, + }, + }, + }, + '#withMaxZoom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withMaxZoom(value): { + options+: { + view+: { + maxZoom: value, + }, + }, + }, + '#withMinZoom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withMinZoom(value): { + options+: { + view+: { + minZoom: value, + }, + }, + }, + '#withPadding': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withPadding(value): { + options+: { + view+: { + padding: value, + }, + }, + }, + '#withShared': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withShared(value=true): { + options+: { + view+: { + shared: value, + }, + }, + }, + '#withZoom': { 'function': { args: [{ default: 1, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withZoom(value=1): { + options+: { + view+: { + zoom: value, + }, + }, + }, + }, + }, +} ++ { + panelOptions+: { + '#withType':: { + ignore: true, + }, + }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/heatmap.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/heatmap.libsonnet new file mode 100644 index 0000000..0f7a870 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/heatmap.libsonnet @@ -0,0 +1,845 @@ +// This file is generated, do not manually edit. +(import '../panel.libsonnet') ++ { + '#': { help: 'grafonnet.panel.heatmap', name: 'heatmap' }, + panelOptions+: + { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'heatmap', + }, + }, + fieldConfig+: { + defaults+: { + custom+: + { + '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFrom(value): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom: value, + }, + }, + }, + }, + '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFromMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: value, + }, + }, + }, + }, + hideFrom+: + { + '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withLegend(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: { + legend: value, + }, + }, + }, + }, + }, + '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withTooltip(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: { + tooltip: value, + }, + }, + }, + }, + }, + '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withViz(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: { + viz: value, + }, + }, + }, + }, + }, + }, + '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withScaleDistribution(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution: value, + }, + }, + }, + }, + '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withScaleDistributionMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution+: value, + }, + }, + }, + }, + scaleDistribution+: + { + '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withLinearThreshold(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution+: { + linearThreshold: value, + }, + }, + }, + }, + }, + '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withLog(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution+: { + log: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withType(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution+: { + type: value, + }, + }, + }, + }, + }, + }, + }, + }, + }, + options+: + { + '#withCalculate': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Controls if the heatmap should be calculated from data' } }, + withCalculate(value=true): { + options+: { + calculate: value, + }, + }, + '#withCalculation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Calculation options for the heatmap' } }, + withCalculation(value): { + options+: { + calculation: value, + }, + }, + '#withCalculationMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Calculation options for the heatmap' } }, + withCalculationMixin(value): { + options+: { + calculation+: value, + }, + }, + calculation+: + { + '#withXBuckets': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The number of buckets to use for the xAxis in the heatmap' } }, + withXBuckets(value): { + options+: { + calculation+: { + xBuckets: value, + }, + }, + }, + '#withXBucketsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The number of buckets to use for the xAxis in the heatmap' } }, + withXBucketsMixin(value): { + options+: { + calculation+: { + xBuckets+: value, + }, + }, + }, + xBuckets+: + { + '#withMode': { 'function': { args: [{ default: null, enums: ['size', 'count'], name: 'value', type: ['string'] }], help: 'Sets the bucket calculation mode' } }, + withMode(value): { + options+: { + calculation+: { + xBuckets+: { + mode: value, + }, + }, + }, + }, + '#withScale': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withScale(value): { + options+: { + calculation+: { + xBuckets+: { + scale: value, + }, + }, + }, + }, + '#withScaleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withScaleMixin(value): { + options+: { + calculation+: { + xBuckets+: { + scale+: value, + }, + }, + }, + }, + scale+: + { + '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withLinearThreshold(value): { + options+: { + calculation+: { + xBuckets+: { + scale+: { + linearThreshold: value, + }, + }, + }, + }, + }, + '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withLog(value): { + options+: { + calculation+: { + xBuckets+: { + scale+: { + log: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withType(value): { + options+: { + calculation+: { + xBuckets+: { + scale+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The number of buckets to use for the axis in the heatmap' } }, + withValue(value): { + options+: { + calculation+: { + xBuckets+: { + value: value, + }, + }, + }, + }, + }, + '#withYBuckets': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The number of buckets to use for the yAxis in the heatmap' } }, + withYBuckets(value): { + options+: { + calculation+: { + yBuckets: value, + }, + }, + }, + '#withYBucketsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The number of buckets to use for the yAxis in the heatmap' } }, + withYBucketsMixin(value): { + options+: { + calculation+: { + yBuckets+: value, + }, + }, + }, + yBuckets+: + { + '#withMode': { 'function': { args: [{ default: null, enums: ['size', 'count'], name: 'value', type: ['string'] }], help: 'Sets the bucket calculation mode' } }, + withMode(value): { + options+: { + calculation+: { + yBuckets+: { + mode: value, + }, + }, + }, + }, + '#withScale': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withScale(value): { + options+: { + calculation+: { + yBuckets+: { + scale: value, + }, + }, + }, + }, + '#withScaleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withScaleMixin(value): { + options+: { + calculation+: { + yBuckets+: { + scale+: value, + }, + }, + }, + }, + scale+: + { + '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withLinearThreshold(value): { + options+: { + calculation+: { + yBuckets+: { + scale+: { + linearThreshold: value, + }, + }, + }, + }, + }, + '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withLog(value): { + options+: { + calculation+: { + yBuckets+: { + scale+: { + log: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withType(value): { + options+: { + calculation+: { + yBuckets+: { + scale+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The number of buckets to use for the axis in the heatmap' } }, + withValue(value): { + options+: { + calculation+: { + yBuckets+: { + value: value, + }, + }, + }, + }, + }, + }, + '#withCellGap': { 'function': { args: [{ default: 1, enums: null, name: 'value', type: ['integer'] }], help: 'Controls gap between cells' } }, + withCellGap(value=1): { + options+: { + cellGap: value, + }, + }, + '#withCellRadius': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Controls cell radius' } }, + withCellRadius(value): { + options+: { + cellRadius: value, + }, + }, + '#withCellValues': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls cell value options' } }, + withCellValues(value): { + options+: { + cellValues: value, + }, + }, + '#withCellValuesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls cell value options' } }, + withCellValuesMixin(value): { + options+: { + cellValues+: value, + }, + }, + cellValues+: + { + '#withDecimals': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Controls the number of decimals for cell values' } }, + withDecimals(value): { + options+: { + cellValues+: { + decimals: value, + }, + }, + }, + '#withUnit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Controls the cell value unit' } }, + withUnit(value): { + options+: { + cellValues+: { + unit: value, + }, + }, + }, + }, + '#withColor': { 'function': { args: [{ default: { exponent: 0.5, fill: 'dark-orange', reverse: false, scheme: 'Oranges', steps: 64 }, enums: null, name: 'value', type: ['object'] }], help: 'Controls various color options' } }, + withColor(value={ exponent: 0.5, fill: 'dark-orange', reverse: false, scheme: 'Oranges', steps: 64 }): { + options+: { + color: value, + }, + }, + '#withColorMixin': { 'function': { args: [{ default: { exponent: 0.5, fill: 'dark-orange', reverse: false, scheme: 'Oranges', steps: 64 }, enums: null, name: 'value', type: ['object'] }], help: 'Controls various color options' } }, + withColorMixin(value): { + options+: { + color+: value, + }, + }, + color+: + { + '#withExponent': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Controls the exponent when scale is set to exponential' } }, + withExponent(value): { + options+: { + color+: { + exponent: value, + }, + }, + }, + '#withFill': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Controls the color fill when in opacity mode' } }, + withFill(value): { + options+: { + color+: { + fill: value, + }, + }, + }, + '#withMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Sets the maximum value for the color scale' } }, + withMax(value): { + options+: { + color+: { + max: value, + }, + }, + }, + '#withMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Sets the minimum value for the color scale' } }, + withMin(value): { + options+: { + color+: { + min: value, + }, + }, + }, + '#withMode': { 'function': { args: [{ default: null, enums: ['opacity', 'scheme'], name: 'value', type: ['string'] }], help: 'Controls the color mode of the heatmap' } }, + withMode(value): { + options+: { + color+: { + mode: value, + }, + }, + }, + '#withReverse': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Reverses the color scheme' } }, + withReverse(value=true): { + options+: { + color+: { + reverse: value, + }, + }, + }, + '#withScale': { 'function': { args: [{ default: null, enums: ['linear', 'exponential'], name: 'value', type: ['string'] }], help: 'Controls the color scale of the heatmap' } }, + withScale(value): { + options+: { + color+: { + scale: value, + }, + }, + }, + '#withScheme': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Controls the color scheme used' } }, + withScheme(value): { + options+: { + color+: { + scheme: value, + }, + }, + }, + '#withSteps': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Controls the number of color steps' } }, + withSteps(value): { + options+: { + color+: { + steps: value, + }, + }, + }, + }, + '#withExemplars': { 'function': { args: [{ default: { color: 'rgba(255,0,255,0.7)' }, enums: null, name: 'value', type: ['object'] }], help: 'Controls exemplar options' } }, + withExemplars(value={ color: 'rgba(255,0,255,0.7)' }): { + options+: { + exemplars: value, + }, + }, + '#withExemplarsMixin': { 'function': { args: [{ default: { color: 'rgba(255,0,255,0.7)' }, enums: null, name: 'value', type: ['object'] }], help: 'Controls exemplar options' } }, + withExemplarsMixin(value): { + options+: { + exemplars+: value, + }, + }, + exemplars+: + { + '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Sets the color of the exemplar markers' } }, + withColor(value): { + options+: { + exemplars+: { + color: value, + }, + }, + }, + }, + '#withFilterValues': { 'function': { args: [{ default: { le: 0.000000001 }, enums: null, name: 'value', type: ['object'] }], help: 'Controls the value filter range' } }, + withFilterValues(value={ le: 0.000000001 }): { + options+: { + filterValues: value, + }, + }, + '#withFilterValuesMixin': { 'function': { args: [{ default: { le: 0.000000001 }, enums: null, name: 'value', type: ['object'] }], help: 'Controls the value filter range' } }, + withFilterValuesMixin(value): { + options+: { + filterValues+: value, + }, + }, + filterValues+: + { + '#withGe': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Sets the filter range to values greater than or equal to the given value' } }, + withGe(value): { + options+: { + filterValues+: { + ge: value, + }, + }, + }, + '#withLe': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Sets the filter range to values less than or equal to the given value' } }, + withLe(value): { + options+: { + filterValues+: { + le: value, + }, + }, + }, + }, + '#withLegend': { 'function': { args: [{ default: { show: true }, enums: null, name: 'value', type: ['object'] }], help: 'Controls legend options' } }, + withLegend(value={ show: true }): { + options+: { + legend: value, + }, + }, + '#withLegendMixin': { 'function': { args: [{ default: { show: true }, enums: null, name: 'value', type: ['object'] }], help: 'Controls legend options' } }, + withLegendMixin(value): { + options+: { + legend+: value, + }, + }, + legend+: + { + '#withShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Controls if the legend is shown' } }, + withShow(value=true): { + options+: { + legend+: { + show: value, + }, + }, + }, + }, + '#withRowsFrame': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls frame rows options' } }, + withRowsFrame(value): { + options+: { + rowsFrame: value, + }, + }, + '#withRowsFrameMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls frame rows options' } }, + withRowsFrameMixin(value): { + options+: { + rowsFrame+: value, + }, + }, + rowsFrame+: + { + '#withLayout': { 'function': { args: [{ default: null, enums: ['le', 'ge', 'unknown', 'auto'], name: 'value', type: ['string'] }], help: 'Controls tick alignment when not calculating from data' } }, + withLayout(value): { + options+: { + rowsFrame+: { + layout: value, + }, + }, + }, + '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Sets the name of the cell when not calculating from data' } }, + withValue(value): { + options+: { + rowsFrame+: { + value: value, + }, + }, + }, + }, + '#withSelectionMode': { 'function': { args: [{ default: 'x', enums: ['x', 'y', 'xy'], name: 'value', type: ['string'] }], help: 'Controls which axis to allow selection on' } }, + withSelectionMode(value='x'): { + options+: { + selectionMode: value, + }, + }, + '#withShowValue': { 'function': { args: [{ default: 'auto', enums: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withShowValue(value='auto'): { + options+: { + showValue: value, + }, + }, + '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls tooltip options' } }, + withTooltip(value): { + options+: { + tooltip: value, + }, + }, + '#withTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls tooltip options' } }, + withTooltipMixin(value): { + options+: { + tooltip+: value, + }, + }, + tooltip+: + { + '#withMaxHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withMaxHeight(value): { + options+: { + tooltip+: { + maxHeight: value, + }, + }, + }, + '#withMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withMaxWidth(value): { + options+: { + tooltip+: { + maxWidth: value, + }, + }, + }, + '#withMode': { 'function': { args: [{ default: null, enums: ['single', 'multi', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withMode(value): { + options+: { + tooltip+: { + mode: value, + }, + }, + }, + '#withShowColorScale': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Controls if the tooltip shows a color scale in header' } }, + withShowColorScale(value=true): { + options+: { + tooltip+: { + showColorScale: value, + }, + }, + }, + '#withYHistogram': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Controls if the tooltip shows a histogram of the y-axis values' } }, + withYHistogram(value=true): { + options+: { + tooltip+: { + yHistogram: value, + }, + }, + }, + }, + '#withYAxis': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Configuration options for the yAxis' } }, + withYAxis(value): { + options+: { + yAxis: value, + }, + }, + '#withYAxisMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Configuration options for the yAxis' } }, + withYAxisMixin(value): { + options+: { + yAxis+: value, + }, + }, + yAxis+: + { + '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisBorderShow(value=true): { + options+: { + yAxis+: { + axisBorderShow: value, + }, + }, + }, + '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisCenteredZero(value=true): { + options+: { + yAxis+: { + axisCenteredZero: value, + }, + }, + }, + '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withAxisColorMode(value): { + options+: { + yAxis+: { + axisColorMode: value, + }, + }, + }, + '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisGridShow(value=true): { + options+: { + yAxis+: { + axisGridShow: value, + }, + }, + }, + '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withAxisLabel(value): { + options+: { + yAxis+: { + axisLabel: value, + }, + }, + }, + '#withAxisPlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'right', 'bottom', 'left', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withAxisPlacement(value): { + options+: { + yAxis+: { + axisPlacement: value, + }, + }, + }, + '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisSoftMax(value): { + options+: { + yAxis+: { + axisSoftMax: value, + }, + }, + }, + '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisSoftMin(value): { + options+: { + yAxis+: { + axisSoftMin: value, + }, + }, + }, + '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisWidth(value): { + options+: { + yAxis+: { + axisWidth: value, + }, + }, + }, + '#withDecimals': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Controls the number of decimals for yAxis values' } }, + withDecimals(value): { + options+: { + yAxis+: { + decimals: value, + }, + }, + }, + '#withMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Sets the maximum value for the yAxis' } }, + withMax(value): { + options+: { + yAxis+: { + max: value, + }, + }, + }, + '#withMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Sets the minimum value for the yAxis' } }, + withMin(value): { + options+: { + yAxis+: { + min: value, + }, + }, + }, + '#withReverse': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Reverses the yAxis' } }, + withReverse(value=true): { + options+: { + yAxis+: { + reverse: value, + }, + }, + }, + '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withScaleDistribution(value): { + options+: { + yAxis+: { + scaleDistribution: value, + }, + }, + }, + '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withScaleDistributionMixin(value): { + options+: { + yAxis+: { + scaleDistribution+: value, + }, + }, + }, + scaleDistribution+: + { + '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withLinearThreshold(value): { + options+: { + yAxis+: { + scaleDistribution+: { + linearThreshold: value, + }, + }, + }, + }, + '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withLog(value): { + options+: { + yAxis+: { + scaleDistribution+: { + log: value, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withType(value): { + options+: { + yAxis+: { + scaleDistribution+: { + type: value, + }, + }, + }, + }, + }, + '#withUnit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Sets the yAxis unit' } }, + withUnit(value): { + options+: { + yAxis+: { + unit: value, + }, + }, + }, + }, + }, +} ++ { + panelOptions+: { + '#withType':: { + ignore: true, + }, + }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/histogram.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/histogram.libsonnet new file mode 100644 index 0000000..d95f1e7 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/histogram.libsonnet @@ -0,0 +1,486 @@ +// This file is generated, do not manually edit. +(import '../panel.libsonnet') ++ { + '#': { help: 'grafonnet.panel.histogram', name: 'histogram' }, + panelOptions+: + { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'histogram', + }, + }, + fieldConfig+: { + defaults+: { + custom+: + { + '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisBorderShow(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + axisBorderShow: value, + }, + }, + }, + }, + '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisCenteredZero(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + axisCenteredZero: value, + }, + }, + }, + }, + '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withAxisColorMode(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisColorMode: value, + }, + }, + }, + }, + '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisGridShow(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + axisGridShow: value, + }, + }, + }, + }, + '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withAxisLabel(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisLabel: value, + }, + }, + }, + }, + '#withAxisPlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'right', 'bottom', 'left', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withAxisPlacement(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisPlacement: value, + }, + }, + }, + }, + '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisSoftMax(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisSoftMax: value, + }, + }, + }, + }, + '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisSoftMin(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisSoftMin: value, + }, + }, + }, + }, + '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisWidth(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisWidth: value, + }, + }, + }, + }, + '#withFillOpacity': { 'function': { args: [{ default: 80, enums: null, name: 'value', type: ['integer'] }], help: 'Controls the fill opacity of the bars.' } }, + withFillOpacity(value=80): { + fieldConfig+: { + defaults+: { + custom+: { + fillOpacity: value, + }, + }, + }, + }, + '#withGradientMode': { 'function': { args: [{ default: 'none', enums: ['none', 'opacity', 'hue', 'scheme'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withGradientMode(value='none'): { + fieldConfig+: { + defaults+: { + custom+: { + gradientMode: value, + }, + }, + }, + }, + '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFrom(value): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom: value, + }, + }, + }, + }, + '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFromMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: value, + }, + }, + }, + }, + hideFrom+: + { + '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withLegend(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: { + legend: value, + }, + }, + }, + }, + }, + '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withTooltip(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: { + tooltip: value, + }, + }, + }, + }, + }, + '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withViz(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: { + viz: value, + }, + }, + }, + }, + }, + }, + '#withLineWidth': { 'function': { args: [{ default: 1, enums: null, name: 'value', type: ['integer'] }], help: 'Controls line width of the bars.' } }, + withLineWidth(value=1): { + fieldConfig+: { + defaults+: { + custom+: { + lineWidth: value, + }, + }, + }, + }, + '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withScaleDistribution(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution: value, + }, + }, + }, + }, + '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withScaleDistributionMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution+: value, + }, + }, + }, + }, + scaleDistribution+: + { + '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withLinearThreshold(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution+: { + linearThreshold: value, + }, + }, + }, + }, + }, + '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withLog(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution+: { + log: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withType(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withStacking': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withStacking(value): { + fieldConfig+: { + defaults+: { + custom+: { + stacking: value, + }, + }, + }, + }, + '#withStackingMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withStackingMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + stacking+: value, + }, + }, + }, + }, + stacking+: + { + '#withGroup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withGroup(value): { + fieldConfig+: { + defaults+: { + custom+: { + stacking+: { + group: value, + }, + }, + }, + }, + }, + '#withMode': { 'function': { args: [{ default: null, enums: ['none', 'normal', 'percent'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withMode(value): { + fieldConfig+: { + defaults+: { + custom+: { + stacking+: { + mode: value, + }, + }, + }, + }, + }, + }, + }, + }, + }, + options+: + { + '#withBucketCount': { 'function': { args: [{ default: 30, enums: null, name: 'value', type: ['integer'] }], help: 'Bucket count (approx)' } }, + withBucketCount(value=30): { + options+: { + bucketCount: value, + }, + }, + '#withBucketOffset': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['number'] }], help: 'Offset buckets by this amount' } }, + withBucketOffset(value=0): { + options+: { + bucketOffset: value, + }, + }, + '#withBucketSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Size of each bucket' } }, + withBucketSize(value): { + options+: { + bucketSize: value, + }, + }, + '#withCombine': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Combines multiple series into a single histogram' } }, + withCombine(value=true): { + options+: { + combine: value, + }, + }, + '#withLegend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLegend(value): { + options+: { + legend: value, + }, + }, + '#withLegendMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLegendMixin(value): { + options+: { + legend+: value, + }, + }, + legend+: + { + '#withAsTable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAsTable(value=true): { + options+: { + legend+: { + asTable: value, + }, + }, + }, + '#withCalcs': { 'function': { args: [{ default: [], enums: null, name: 'value', type: ['array'] }], help: '' } }, + withCalcs(value): { + options+: { + legend+: { + calcs: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withCalcsMixin': { 'function': { args: [{ default: [], enums: null, name: 'value', type: ['array'] }], help: '' } }, + withCalcsMixin(value): { + options+: { + legend+: { + calcs+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withDisplayMode': { 'function': { args: [{ default: 'list', enums: ['list', 'table', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs\nNote: "hidden" needs to remain as an option for plugins compatibility' } }, + withDisplayMode(value='list'): { + options+: { + legend+: { + displayMode: value, + }, + }, + }, + '#withIsVisible': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withIsVisible(value=true): { + options+: { + legend+: { + isVisible: value, + }, + }, + }, + '#withPlacement': { 'function': { args: [{ default: 'bottom', enums: ['bottom', 'right'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withPlacement(value='bottom'): { + options+: { + legend+: { + placement: value, + }, + }, + }, + '#withShowLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withShowLegend(value=true): { + options+: { + legend+: { + showLegend: value, + }, + }, + }, + '#withSortBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withSortBy(value): { + options+: { + legend+: { + sortBy: value, + }, + }, + }, + '#withSortDesc': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withSortDesc(value=true): { + options+: { + legend+: { + sortDesc: value, + }, + }, + }, + '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withWidth(value): { + options+: { + legend+: { + width: value, + }, + }, + }, + }, + '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withTooltip(value): { + options+: { + tooltip: value, + }, + }, + '#withTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withTooltipMixin(value): { + options+: { + tooltip+: value, + }, + }, + tooltip+: + { + '#withMaxHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withMaxHeight(value): { + options+: { + tooltip+: { + maxHeight: value, + }, + }, + }, + '#withMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withMaxWidth(value): { + options+: { + tooltip+: { + maxWidth: value, + }, + }, + }, + '#withMode': { 'function': { args: [{ default: null, enums: ['single', 'multi', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withMode(value): { + options+: { + tooltip+: { + mode: value, + }, + }, + }, + '#withSort': { 'function': { args: [{ default: null, enums: ['asc', 'desc', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withSort(value): { + options+: { + tooltip+: { + sort: value, + }, + }, + }, + }, + }, +} ++ { + panelOptions+: { + '#withType':: { + ignore: true, + }, + }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/logs.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/logs.libsonnet similarity index 55% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/logs.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/logs.libsonnet index ea2f630..a21ed84 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/logs.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/logs.libsonnet @@ -1,32 +1,76 @@ // This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') +(import '../panel.libsonnet') + { '#': { help: 'grafonnet.panel.logs', name: 'logs' }, panelOptions+: { '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'logs' }, + withType(): { + type: 'logs', + }, }, options+: { '#withDedupStrategy': { 'function': { args: [{ default: null, enums: ['none', 'exact', 'numbers', 'signature'], name: 'value', type: ['string'] }], help: '' } }, - withDedupStrategy(value): { options+: { dedupStrategy: value } }, + withDedupStrategy(value): { + options+: { + dedupStrategy: value, + }, + }, '#withEnableLogDetails': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withEnableLogDetails(value=true): { options+: { enableLogDetails: value } }, + withEnableLogDetails(value=true): { + options+: { + enableLogDetails: value, + }, + }, '#withPrettifyLogMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withPrettifyLogMessage(value=true): { options+: { prettifyLogMessage: value } }, + withPrettifyLogMessage(value=true): { + options+: { + prettifyLogMessage: value, + }, + }, '#withShowCommonLabels': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowCommonLabels(value=true): { options+: { showCommonLabels: value } }, + withShowCommonLabels(value=true): { + options+: { + showCommonLabels: value, + }, + }, '#withShowLabels': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowLabels(value=true): { options+: { showLabels: value } }, + withShowLabels(value=true): { + options+: { + showLabels: value, + }, + }, '#withShowLogContextToggle': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowLogContextToggle(value=true): { options+: { showLogContextToggle: value } }, + withShowLogContextToggle(value=true): { + options+: { + showLogContextToggle: value, + }, + }, '#withShowTime': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowTime(value=true): { options+: { showTime: value } }, + withShowTime(value=true): { + options+: { + showTime: value, + }, + }, '#withSortOrder': { 'function': { args: [{ default: null, enums: ['Descending', 'Ascending'], name: 'value', type: ['string'] }], help: '' } }, - withSortOrder(value): { options+: { sortOrder: value } }, + withSortOrder(value): { + options+: { + sortOrder: value, + }, + }, '#withWrapLogMessage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withWrapLogMessage(value=true): { options+: { wrapLogMessage: value } }, + withWrapLogMessage(value=true): { + options+: { + wrapLogMessage: value, + }, + }, }, } -+ { panelOptions+: { '#withType':: {} } } ++ { + panelOptions+: { + '#withType':: { + ignore: true, + }, + }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/news.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/news.libsonnet similarity index 59% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/news.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/news.libsonnet index 03112ba..eede487 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/news.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/news.libsonnet @@ -1,18 +1,34 @@ // This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') +(import '../panel.libsonnet') + { '#': { help: 'grafonnet.panel.news', name: 'news' }, panelOptions+: { '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'news' }, + withType(): { + type: 'news', + }, }, options+: { '#withFeedUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'empty/missing will default to grafana blog' } }, - withFeedUrl(value): { options+: { feedUrl: value } }, + withFeedUrl(value): { + options+: { + feedUrl: value, + }, + }, '#withShowImage': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowImage(value=true): { options+: { showImage: value } }, + withShowImage(value=true): { + options+: { + showImage: value, + }, + }, }, } -+ { panelOptions+: { '#withType':: {} } } ++ { + panelOptions+: { + '#withType':: { + ignore: true, + }, + }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/nodeGraph.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/nodeGraph.libsonnet similarity index 57% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/nodeGraph.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/nodeGraph.libsonnet index 4d74ff1..75e183a 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/nodeGraph.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/nodeGraph.libsonnet @@ -1,52 +1,118 @@ // This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') +(import '../panel.libsonnet') + { '#': { help: 'grafonnet.panel.nodeGraph', name: 'nodeGraph' }, panelOptions+: { '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'nodeGraph' }, + withType(): { + type: 'nodeGraph', + }, }, options+: { '#withEdges': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withEdges(value): { options+: { edges: value } }, + withEdges(value): { + options+: { + edges: value, + }, + }, '#withEdgesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withEdgesMixin(value): { options+: { edges+: value } }, + withEdgesMixin(value): { + options+: { + edges+: value, + }, + }, edges+: { '#withMainStatUnit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Unit for the main stat to override what ever is set in the data frame.' } }, - withMainStatUnit(value): { options+: { edges+: { mainStatUnit: value } } }, + withMainStatUnit(value): { + options+: { + edges+: { + mainStatUnit: value, + }, + }, + }, '#withSecondaryStatUnit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Unit for the secondary stat to override what ever is set in the data frame.' } }, - withSecondaryStatUnit(value): { options+: { edges+: { secondaryStatUnit: value } } }, + withSecondaryStatUnit(value): { + options+: { + edges+: { + secondaryStatUnit: value, + }, + }, + }, }, '#withNodes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withNodes(value): { options+: { nodes: value } }, + withNodes(value): { + options+: { + nodes: value, + }, + }, '#withNodesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withNodesMixin(value): { options+: { nodes+: value } }, + withNodesMixin(value): { + options+: { + nodes+: value, + }, + }, nodes+: { '#withArcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Define which fields are shown as part of the node arc (colored circle around the node).' } }, - withArcs(value): { options+: { nodes+: { arcs: (if std.isArray(value) - then value - else [value]) } } }, + withArcs(value): { + options+: { + nodes+: { + arcs: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, '#withArcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Define which fields are shown as part of the node arc (colored circle around the node).' } }, - withArcsMixin(value): { options+: { nodes+: { arcs+: (if std.isArray(value) - then value - else [value]) } } }, + withArcsMixin(value): { + options+: { + nodes+: { + arcs+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, arcs+: { '#': { help: '', name: 'arcs' }, '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The color of the arc.' } }, - withColor(value): { color: value }, + withColor(value): { + color: value, + }, '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Field from which to get the value. Values should be less than 1, representing fraction of a circle.' } }, - withField(value): { field: value }, + withField(value): { + field: value, + }, }, '#withMainStatUnit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Unit for the main stat to override what ever is set in the data frame.' } }, - withMainStatUnit(value): { options+: { nodes+: { mainStatUnit: value } } }, + withMainStatUnit(value): { + options+: { + nodes+: { + mainStatUnit: value, + }, + }, + }, '#withSecondaryStatUnit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Unit for the secondary stat to override what ever is set in the data frame.' } }, - withSecondaryStatUnit(value): { options+: { nodes+: { secondaryStatUnit: value } } }, + withSecondaryStatUnit(value): { + options+: { + nodes+: { + secondaryStatUnit: value, + }, + }, + }, }, }, } -+ { panelOptions+: { '#withType':: {} } } ++ { + panelOptions+: { + '#withType':: { + ignore: true, + }, + }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/pieChart.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/pieChart.libsonnet new file mode 100644 index 0000000..9ec5edc --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/pieChart.libsonnet @@ -0,0 +1,380 @@ +// This file is generated, do not manually edit. +(import '../panel.libsonnet') ++ { + '#': { help: 'grafonnet.panel.pieChart', name: 'pieChart' }, + panelOptions+: + { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'piechart', + }, + }, + fieldConfig+: { + defaults+: { + custom+: + { + '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFrom(value): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom: value, + }, + }, + }, + }, + '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFromMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: value, + }, + }, + }, + }, + hideFrom+: + { + '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withLegend(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: { + legend: value, + }, + }, + }, + }, + }, + '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withTooltip(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: { + tooltip: value, + }, + }, + }, + }, + }, + '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withViz(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: { + viz: value, + }, + }, + }, + }, + }, + }, + }, + }, + }, + options+: + { + '#withDisplayLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withDisplayLabels(value): { + options+: { + displayLabels: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withDisplayLabelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withDisplayLabelsMixin(value): { + options+: { + displayLabels+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withLegend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withLegend(value): { + options+: { + legend: value, + }, + }, + '#withLegendMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withLegendMixin(value): { + options+: { + legend+: value, + }, + }, + legend+: + { + '#withAsTable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAsTable(value=true): { + options+: { + legend+: { + asTable: value, + }, + }, + }, + '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withCalcs(value): { + options+: { + legend+: { + calcs: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withCalcsMixin(value): { + options+: { + legend+: { + calcs+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withDisplayMode': { 'function': { args: [{ default: null, enums: ['list', 'table', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs\nNote: "hidden" needs to remain as an option for plugins compatibility' } }, + withDisplayMode(value): { + options+: { + legend+: { + displayMode: value, + }, + }, + }, + '#withIsVisible': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withIsVisible(value=true): { + options+: { + legend+: { + isVisible: value, + }, + }, + }, + '#withPlacement': { 'function': { args: [{ default: null, enums: ['bottom', 'right'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withPlacement(value): { + options+: { + legend+: { + placement: value, + }, + }, + }, + '#withShowLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withShowLegend(value=true): { + options+: { + legend+: { + showLegend: value, + }, + }, + }, + '#withSortBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withSortBy(value): { + options+: { + legend+: { + sortBy: value, + }, + }, + }, + '#withSortDesc': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withSortDesc(value=true): { + options+: { + legend+: { + sortDesc: value, + }, + }, + }, + '#withValues': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withValues(value): { + options+: { + legend+: { + values: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withValuesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withValuesMixin(value): { + options+: { + legend+: { + values+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withWidth(value): { + options+: { + legend+: { + width: value, + }, + }, + }, + }, + '#withOrientation': { 'function': { args: [{ default: null, enums: ['auto', 'vertical', 'horizontal'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withOrientation(value): { + options+: { + orientation: value, + }, + }, + '#withPieType': { 'function': { args: [{ default: null, enums: ['pie', 'donut'], name: 'value', type: ['string'] }], help: 'Select the pie chart display style.' } }, + withPieType(value): { + options+: { + pieType: value, + }, + }, + '#withReduceOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withReduceOptions(value): { + options+: { + reduceOptions: value, + }, + }, + '#withReduceOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withReduceOptionsMixin(value): { + options+: { + reduceOptions+: value, + }, + }, + reduceOptions+: + { + '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'When !values, pick one value for the whole field' } }, + withCalcs(value): { + options+: { + reduceOptions+: { + calcs: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'When !values, pick one value for the whole field' } }, + withCalcsMixin(value): { + options+: { + reduceOptions+: { + calcs+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Which fields to show. By default this is only numeric fields' } }, + withFields(value): { + options+: { + reduceOptions+: { + fields: value, + }, + }, + }, + '#withLimit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'if showing all values limit' } }, + withLimit(value): { + options+: { + reduceOptions+: { + limit: value, + }, + }, + }, + '#withValues': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true show each row value' } }, + withValues(value=true): { + options+: { + reduceOptions+: { + values: value, + }, + }, + }, + }, + '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withText(value): { + options+: { + text: value, + }, + }, + '#withTextMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withTextMixin(value): { + options+: { + text+: value, + }, + }, + text+: + { + '#withTitleSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Explicit title text size' } }, + withTitleSize(value): { + options+: { + text+: { + titleSize: value, + }, + }, + }, + '#withValueSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Explicit value text size' } }, + withValueSize(value): { + options+: { + text+: { + valueSize: value, + }, + }, + }, + }, + '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withTooltip(value): { + options+: { + tooltip: value, + }, + }, + '#withTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withTooltipMixin(value): { + options+: { + tooltip+: value, + }, + }, + tooltip+: + { + '#withMaxHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withMaxHeight(value): { + options+: { + tooltip+: { + maxHeight: value, + }, + }, + }, + '#withMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withMaxWidth(value): { + options+: { + tooltip+: { + maxWidth: value, + }, + }, + }, + '#withMode': { 'function': { args: [{ default: null, enums: ['single', 'multi', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withMode(value): { + options+: { + tooltip+: { + mode: value, + }, + }, + }, + '#withSort': { 'function': { args: [{ default: null, enums: ['asc', 'desc', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withSort(value): { + options+: { + tooltip+: { + sort: value, + }, + }, + }, + }, + }, +} ++ { + panelOptions+: { + '#withType':: { + ignore: true, + }, + }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/row.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/row.libsonnet similarity index 70% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/row.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/row.libsonnet index 5c4a5b4..1548d38 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/row.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/row.libsonnet @@ -2,50 +2,102 @@ { '#': { help: 'grafonnet.panel.row', name: 'row' }, '#withCollapsed': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Whether this row should be collapsed or not.' } }, - withCollapsed(value=true): { collapsed: value }, + withCollapsed(value=true): { + collapsed: value, + }, '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Ref to a DataSource instance' } }, - withDatasource(value): { datasource: value }, + withDatasource(value): { + datasource: value, + }, '#withDatasourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Ref to a DataSource instance' } }, - withDatasourceMixin(value): { datasource+: value }, + withDatasourceMixin(value): { + datasource+: value, + }, datasource+: { '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The plugin type-id' } }, - withType(value): { datasource+: { type: value } }, + withType(value): { + datasource+: { + type: value, + }, + }, '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specific datasource instance' } }, - withUid(value): { datasource+: { uid: value } }, + withUid(value): { + datasource+: { + uid: value, + }, + }, }, '#withGridPos': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Position and dimensions of a panel in the grid' } }, - withGridPos(value): { gridPos: value }, + withGridPos(value): { + gridPos: value, + }, '#withGridPosMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Position and dimensions of a panel in the grid' } }, - withGridPosMixin(value): { gridPos+: value }, + withGridPosMixin(value): { + gridPos+: value, + }, gridPos+: { '#withH': { 'function': { args: [{ default: 9, enums: null, name: 'value', type: ['integer'] }], help: 'Panel height. The height is the number of rows from the top edge of the panel.' } }, - withH(value=9): { gridPos+: { h: value } }, + withH(value=9): { + gridPos+: { + h: value, + }, + }, '#withStatic': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: "Whether the panel is fixed within the grid. If true, the panel will not be affected by other panels' interactions" } }, - withStatic(value=true): { gridPos+: { static: value } }, + withStatic(value=true): { + gridPos+: { + static: value, + }, + }, '#withW': { 'function': { args: [{ default: 12, enums: null, name: 'value', type: ['integer'] }], help: 'Panel width. The width is the number of columns from the left edge of the panel.' } }, - withW(value=12): { gridPos+: { w: value } }, + withW(value=12): { + gridPos+: { + w: value, + }, + }, '#withX': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['integer'] }], help: 'Panel x. The x coordinate is the number of columns from the left edge of the grid' } }, - withX(value=0): { gridPos+: { x: value } }, + withX(value=0): { + gridPos+: { + x: value, + }, + }, '#withY': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['integer'] }], help: 'Panel y. The y coordinate is the number of rows from the top edge of the grid' } }, - withY(value=0): { gridPos+: { y: value } }, + withY(value=0): { + gridPos+: { + y: value, + }, + }, }, '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Unique identifier of the panel. Generated by Grafana when creating a new panel. It must be unique within a dashboard, but not globally.' } }, - withId(value): { id: value }, + withId(value): { + id: value, + }, '#withPanels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withPanels(value): { panels: (if std.isArray(value) - then value - else [value]) }, + withPanels(value): { + panels: + (if std.isArray(value) + then value + else [value]), + }, '#withPanelsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withPanelsMixin(value): { panels+: (if std.isArray(value) - then value - else [value]) }, + withPanelsMixin(value): { + panels+: + (if std.isArray(value) + then value + else [value]), + }, '#withRepeat': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of template variable to repeat for.' } }, - withRepeat(value): { repeat: value }, + withRepeat(value): { + repeat: value, + }, '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Row title' } }, - withTitle(value): { title: value }, + withTitle(value): { + title: value, + }, '#withType': { 'function': { args: [], help: '' } }, - withType(): { type: 'row' }, + withType(): { + type: 'row', + }, } -+ (import '../../custom/row.libsonnet') ++ (import '../custom/row.libsonnet') diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/stat.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/stat.libsonnet new file mode 100644 index 0000000..e7266c0 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/stat.libsonnet @@ -0,0 +1,162 @@ +// This file is generated, do not manually edit. +(import '../panel.libsonnet') ++ { + '#': { help: 'grafonnet.panel.stat', name: 'stat' }, + panelOptions+: + { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'stat', + }, + }, + options+: + { + '#withColorMode': { 'function': { args: [{ default: 'value', enums: ['value', 'background', 'background_solid', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withColorMode(value='value'): { + options+: { + colorMode: value, + }, + }, + '#withGraphMode': { 'function': { args: [{ default: 'area', enums: ['none', 'line', 'area'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withGraphMode(value='area'): { + options+: { + graphMode: value, + }, + }, + '#withJustifyMode': { 'function': { args: [{ default: 'auto', enums: ['auto', 'center'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withJustifyMode(value='auto'): { + options+: { + justifyMode: value, + }, + }, + '#withOrientation': { 'function': { args: [{ default: null, enums: ['auto', 'vertical', 'horizontal'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withOrientation(value): { + options+: { + orientation: value, + }, + }, + '#withPercentChangeColorMode': { 'function': { args: [{ default: 'standard', enums: ['standard', 'inverted', 'same_as_value'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withPercentChangeColorMode(value='standard'): { + options+: { + percentChangeColorMode: value, + }, + }, + '#withReduceOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withReduceOptions(value): { + options+: { + reduceOptions: value, + }, + }, + '#withReduceOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withReduceOptionsMixin(value): { + options+: { + reduceOptions+: value, + }, + }, + reduceOptions+: + { + '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'When !values, pick one value for the whole field' } }, + withCalcs(value): { + options+: { + reduceOptions+: { + calcs: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'When !values, pick one value for the whole field' } }, + withCalcsMixin(value): { + options+: { + reduceOptions+: { + calcs+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Which fields to show. By default this is only numeric fields' } }, + withFields(value): { + options+: { + reduceOptions+: { + fields: value, + }, + }, + }, + '#withLimit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'if showing all values limit' } }, + withLimit(value): { + options+: { + reduceOptions+: { + limit: value, + }, + }, + }, + '#withValues': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If true show each row value' } }, + withValues(value=true): { + options+: { + reduceOptions+: { + values: value, + }, + }, + }, + }, + '#withShowPercentChange': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withShowPercentChange(value=true): { + options+: { + showPercentChange: value, + }, + }, + '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withText(value): { + options+: { + text: value, + }, + }, + '#withTextMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withTextMixin(value): { + options+: { + text+: value, + }, + }, + text+: + { + '#withTitleSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Explicit title text size' } }, + withTitleSize(value): { + options+: { + text+: { + titleSize: value, + }, + }, + }, + '#withValueSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Explicit value text size' } }, + withValueSize(value): { + options+: { + text+: { + valueSize: value, + }, + }, + }, + }, + '#withTextMode': { 'function': { args: [{ default: 'auto', enums: ['auto', 'value', 'value_and_name', 'name', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withTextMode(value='auto'): { + options+: { + textMode: value, + }, + }, + '#withWideLayout': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withWideLayout(value=true): { + options+: { + wideLayout: value, + }, + }, + }, +} ++ { + panelOptions+: { + '#withType':: { + ignore: true, + }, + }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/stateTimeline.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/stateTimeline.libsonnet new file mode 100644 index 0000000..a4d5d38 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/stateTimeline.libsonnet @@ -0,0 +1,298 @@ +// This file is generated, do not manually edit. +(import '../panel.libsonnet') ++ { + '#': { help: 'grafonnet.panel.stateTimeline', name: 'stateTimeline' }, + panelOptions+: + { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'state-timeline', + }, + }, + fieldConfig+: { + defaults+: { + custom+: + { + '#withFillOpacity': { 'function': { args: [{ default: 70, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withFillOpacity(value=70): { + fieldConfig+: { + defaults+: { + custom+: { + fillOpacity: value, + }, + }, + }, + }, + '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFrom(value): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom: value, + }, + }, + }, + }, + '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFromMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: value, + }, + }, + }, + }, + hideFrom+: + { + '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withLegend(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: { + legend: value, + }, + }, + }, + }, + }, + '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withTooltip(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: { + tooltip: value, + }, + }, + }, + }, + }, + '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withViz(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: { + viz: value, + }, + }, + }, + }, + }, + }, + '#withLineWidth': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withLineWidth(value=0): { + fieldConfig+: { + defaults+: { + custom+: { + lineWidth: value, + }, + }, + }, + }, + }, + }, + }, + options+: + { + '#withAlignValue': { 'function': { args: [{ default: 'left', enums: ['center', 'left', 'right'], name: 'value', type: ['string'] }], help: 'Controls the value alignment in the TimelineChart component' } }, + withAlignValue(value='left'): { + options+: { + alignValue: value, + }, + }, + '#withLegend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLegend(value): { + options+: { + legend: value, + }, + }, + '#withLegendMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLegendMixin(value): { + options+: { + legend+: value, + }, + }, + legend+: + { + '#withAsTable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAsTable(value=true): { + options+: { + legend+: { + asTable: value, + }, + }, + }, + '#withCalcs': { 'function': { args: [{ default: [], enums: null, name: 'value', type: ['array'] }], help: '' } }, + withCalcs(value): { + options+: { + legend+: { + calcs: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withCalcsMixin': { 'function': { args: [{ default: [], enums: null, name: 'value', type: ['array'] }], help: '' } }, + withCalcsMixin(value): { + options+: { + legend+: { + calcs+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withDisplayMode': { 'function': { args: [{ default: 'list', enums: ['list', 'table', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs\nNote: "hidden" needs to remain as an option for plugins compatibility' } }, + withDisplayMode(value='list'): { + options+: { + legend+: { + displayMode: value, + }, + }, + }, + '#withIsVisible': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withIsVisible(value=true): { + options+: { + legend+: { + isVisible: value, + }, + }, + }, + '#withPlacement': { 'function': { args: [{ default: 'bottom', enums: ['bottom', 'right'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withPlacement(value='bottom'): { + options+: { + legend+: { + placement: value, + }, + }, + }, + '#withShowLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withShowLegend(value=true): { + options+: { + legend+: { + showLegend: value, + }, + }, + }, + '#withSortBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withSortBy(value): { + options+: { + legend+: { + sortBy: value, + }, + }, + }, + '#withSortDesc': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withSortDesc(value=true): { + options+: { + legend+: { + sortDesc: value, + }, + }, + }, + '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withWidth(value): { + options+: { + legend+: { + width: value, + }, + }, + }, + }, + '#withMergeValues': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Merge equal consecutive values' } }, + withMergeValues(value=true): { + options+: { + mergeValues: value, + }, + }, + '#withRowHeight': { 'function': { args: [{ default: 0.9, enums: null, name: 'value', type: ['number'] }], help: 'Controls the row height' } }, + withRowHeight(value=0.9): { + options+: { + rowHeight: value, + }, + }, + '#withShowValue': { 'function': { args: [{ default: 'auto', enums: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withShowValue(value='auto'): { + options+: { + showValue: value, + }, + }, + '#withTimezone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withTimezone(value): { + options+: { + timezone: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withTimezoneMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withTimezoneMixin(value): { + options+: { + timezone+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withTooltip(value): { + options+: { + tooltip: value, + }, + }, + '#withTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withTooltipMixin(value): { + options+: { + tooltip+: value, + }, + }, + tooltip+: + { + '#withMaxHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withMaxHeight(value): { + options+: { + tooltip+: { + maxHeight: value, + }, + }, + }, + '#withMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withMaxWidth(value): { + options+: { + tooltip+: { + maxWidth: value, + }, + }, + }, + '#withMode': { 'function': { args: [{ default: null, enums: ['single', 'multi', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withMode(value): { + options+: { + tooltip+: { + mode: value, + }, + }, + }, + '#withSort': { 'function': { args: [{ default: null, enums: ['asc', 'desc', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withSort(value): { + options+: { + tooltip+: { + sort: value, + }, + }, + }, + }, + }, +} ++ { + panelOptions+: { + '#withType':: { + ignore: true, + }, + }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/statusHistory.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/statusHistory.libsonnet new file mode 100644 index 0000000..7d6b8f4 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/statusHistory.libsonnet @@ -0,0 +1,292 @@ +// This file is generated, do not manually edit. +(import '../panel.libsonnet') ++ { + '#': { help: 'grafonnet.panel.statusHistory', name: 'statusHistory' }, + panelOptions+: + { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'status-history', + }, + }, + fieldConfig+: { + defaults+: { + custom+: + { + '#withFillOpacity': { 'function': { args: [{ default: 70, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withFillOpacity(value=70): { + fieldConfig+: { + defaults+: { + custom+: { + fillOpacity: value, + }, + }, + }, + }, + '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFrom(value): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom: value, + }, + }, + }, + }, + '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFromMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: value, + }, + }, + }, + }, + hideFrom+: + { + '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withLegend(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: { + legend: value, + }, + }, + }, + }, + }, + '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withTooltip(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: { + tooltip: value, + }, + }, + }, + }, + }, + '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withViz(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: { + viz: value, + }, + }, + }, + }, + }, + }, + '#withLineWidth': { 'function': { args: [{ default: 1, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withLineWidth(value=1): { + fieldConfig+: { + defaults+: { + custom+: { + lineWidth: value, + }, + }, + }, + }, + }, + }, + }, + options+: + { + '#withColWidth': { 'function': { args: [{ default: 0.9, enums: null, name: 'value', type: ['number'] }], help: 'Controls the column width' } }, + withColWidth(value=0.9): { + options+: { + colWidth: value, + }, + }, + '#withLegend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLegend(value): { + options+: { + legend: value, + }, + }, + '#withLegendMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLegendMixin(value): { + options+: { + legend+: value, + }, + }, + legend+: + { + '#withAsTable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAsTable(value=true): { + options+: { + legend+: { + asTable: value, + }, + }, + }, + '#withCalcs': { 'function': { args: [{ default: [], enums: null, name: 'value', type: ['array'] }], help: '' } }, + withCalcs(value): { + options+: { + legend+: { + calcs: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withCalcsMixin': { 'function': { args: [{ default: [], enums: null, name: 'value', type: ['array'] }], help: '' } }, + withCalcsMixin(value): { + options+: { + legend+: { + calcs+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withDisplayMode': { 'function': { args: [{ default: 'list', enums: ['list', 'table', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs\nNote: "hidden" needs to remain as an option for plugins compatibility' } }, + withDisplayMode(value='list'): { + options+: { + legend+: { + displayMode: value, + }, + }, + }, + '#withIsVisible': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withIsVisible(value=true): { + options+: { + legend+: { + isVisible: value, + }, + }, + }, + '#withPlacement': { 'function': { args: [{ default: 'bottom', enums: ['bottom', 'right'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withPlacement(value='bottom'): { + options+: { + legend+: { + placement: value, + }, + }, + }, + '#withShowLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withShowLegend(value=true): { + options+: { + legend+: { + showLegend: value, + }, + }, + }, + '#withSortBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withSortBy(value): { + options+: { + legend+: { + sortBy: value, + }, + }, + }, + '#withSortDesc': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withSortDesc(value=true): { + options+: { + legend+: { + sortDesc: value, + }, + }, + }, + '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withWidth(value): { + options+: { + legend+: { + width: value, + }, + }, + }, + }, + '#withRowHeight': { 'function': { args: [{ default: 0.9, enums: null, name: 'value', type: ['number'] }], help: 'Set the height of the rows' } }, + withRowHeight(value=0.9): { + options+: { + rowHeight: value, + }, + }, + '#withShowValue': { 'function': { args: [{ default: 'auto', enums: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withShowValue(value='auto'): { + options+: { + showValue: value, + }, + }, + '#withTimezone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withTimezone(value): { + options+: { + timezone: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withTimezoneMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withTimezoneMixin(value): { + options+: { + timezone+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withTooltip(value): { + options+: { + tooltip: value, + }, + }, + '#withTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withTooltipMixin(value): { + options+: { + tooltip+: value, + }, + }, + tooltip+: + { + '#withMaxHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withMaxHeight(value): { + options+: { + tooltip+: { + maxHeight: value, + }, + }, + }, + '#withMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withMaxWidth(value): { + options+: { + tooltip+: { + maxWidth: value, + }, + }, + }, + '#withMode': { 'function': { args: [{ default: null, enums: ['single', 'multi', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withMode(value): { + options+: { + tooltip+: { + mode: value, + }, + }, + }, + '#withSort': { 'function': { args: [{ default: null, enums: ['asc', 'desc', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withSort(value): { + options+: { + tooltip+: { + sort: value, + }, + }, + }, + }, + }, +} ++ { + panelOptions+: { + '#withType':: { + ignore: true, + }, + }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/table.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/table.libsonnet new file mode 100644 index 0000000..0605fd3 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/table.libsonnet @@ -0,0 +1,1334 @@ +// This file is generated, do not manually edit. +(import '../panel.libsonnet') ++ { + '#': { help: 'grafonnet.panel.table', name: 'table' }, + panelOptions+: + { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'table', + }, + }, + fieldConfig+: { + defaults+: { + custom+: + { + '#withAlign': { 'function': { args: [{ default: 'auto', enums: ['auto', 'left', 'right', 'center'], name: 'value', type: ['string'] }], help: 'TODO -- should not be table specific!\nTODO docs' } }, + withAlign(value='auto'): { + fieldConfig+: { + defaults+: { + custom+: { + align: value, + }, + }, + }, + }, + '#withCellOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object', 'object', 'object', 'object', 'object', 'object', 'object', 'object'] }], help: 'Table cell options. Each cell has a display mode\nand other potential options for that display.' } }, + withCellOptions(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions: value, + }, + }, + }, + }, + '#withCellOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object', 'object', 'object', 'object', 'object', 'object', 'object', 'object'] }], help: 'Table cell options. Each cell has a display mode\nand other potential options for that display.' } }, + withCellOptionsMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: value, + }, + }, + }, + }, + cellOptions+: + { + '#withTableAutoCellOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Auto mode table cell options' } }, + withTableAutoCellOptions(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + TableAutoCellOptions: value, + }, + }, + }, + }, + }, + '#withTableAutoCellOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Auto mode table cell options' } }, + withTableAutoCellOptionsMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + TableAutoCellOptions+: value, + }, + }, + }, + }, + }, + TableAutoCellOptions+: + { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + type: 'auto', + }, + }, + }, + }, + }, + '#withWrapText': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withWrapText(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + wrapText: value, + }, + }, + }, + }, + }, + }, + '#withTableSparklineCellOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Sparkline cell options' } }, + withTableSparklineCellOptions(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + TableSparklineCellOptions: value, + }, + }, + }, + }, + }, + '#withTableSparklineCellOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Sparkline cell options' } }, + withTableSparklineCellOptionsMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + TableSparklineCellOptions+: value, + }, + }, + }, + }, + }, + TableSparklineCellOptions+: + { + '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisBorderShow(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + axisBorderShow: value, + }, + }, + }, + }, + }, + '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisCenteredZero(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + axisCenteredZero: value, + }, + }, + }, + }, + }, + '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withAxisColorMode(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + axisColorMode: value, + }, + }, + }, + }, + }, + '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisGridShow(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + axisGridShow: value, + }, + }, + }, + }, + }, + '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withAxisLabel(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + axisLabel: value, + }, + }, + }, + }, + }, + '#withAxisPlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'right', 'bottom', 'left', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withAxisPlacement(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + axisPlacement: value, + }, + }, + }, + }, + }, + '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisSoftMax(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + axisSoftMax: value, + }, + }, + }, + }, + }, + '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisSoftMin(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + axisSoftMin: value, + }, + }, + }, + }, + }, + '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisWidth(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + axisWidth: value, + }, + }, + }, + }, + }, + '#withBarAlignment': { 'function': { args: [{ default: null, enums: [-1, 0, 1], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withBarAlignment(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + barAlignment: value, + }, + }, + }, + }, + }, + '#withBarMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withBarMaxWidth(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + barMaxWidth: value, + }, + }, + }, + }, + }, + '#withBarWidthFactor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withBarWidthFactor(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + barWidthFactor: value, + }, + }, + }, + }, + }, + '#withDrawStyle': { 'function': { args: [{ default: null, enums: ['line', 'bars', 'points'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withDrawStyle(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + drawStyle: value, + }, + }, + }, + }, + }, + '#withFillBelowTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withFillBelowTo(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + fillBelowTo: value, + }, + }, + }, + }, + }, + '#withFillColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withFillColor(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + fillColor: value, + }, + }, + }, + }, + }, + '#withFillOpacity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withFillOpacity(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + fillOpacity: value, + }, + }, + }, + }, + }, + '#withGradientMode': { 'function': { args: [{ default: null, enums: ['none', 'opacity', 'hue', 'scheme'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withGradientMode(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + gradientMode: value, + }, + }, + }, + }, + }, + '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFrom(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + hideFrom: value, + }, + }, + }, + }, + }, + '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFromMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + hideFrom+: value, + }, + }, + }, + }, + }, + hideFrom+: + { + '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withLegend(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + hideFrom+: { + legend: value, + }, + }, + }, + }, + }, + }, + '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withTooltip(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + hideFrom+: { + tooltip: value, + }, + }, + }, + }, + }, + }, + '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withViz(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + hideFrom+: { + viz: value, + }, + }, + }, + }, + }, + }, + }, + '#withHideValue': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withHideValue(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + hideValue: value, + }, + }, + }, + }, + }, + '#withInsertNulls': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'number'] }], help: '' } }, + withInsertNulls(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + insertNulls: value, + }, + }, + }, + }, + }, + '#withInsertNullsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'number'] }], help: '' } }, + withInsertNullsMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + insertNulls+: value, + }, + }, + }, + }, + }, + '#withLineColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withLineColor(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + lineColor: value, + }, + }, + }, + }, + }, + '#withLineInterpolation': { 'function': { args: [{ default: null, enums: ['linear', 'smooth', 'stepBefore', 'stepAfter'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withLineInterpolation(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + lineInterpolation: value, + }, + }, + }, + }, + }, + '#withLineStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLineStyle(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + lineStyle: value, + }, + }, + }, + }, + }, + '#withLineStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLineStyleMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + lineStyle+: value, + }, + }, + }, + }, + }, + lineStyle+: + { + '#withDash': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withDash(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + lineStyle+: { + dash: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + }, + }, + '#withDashMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withDashMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + lineStyle+: { + dash+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + }, + }, + '#withFill': { 'function': { args: [{ default: null, enums: ['solid', 'dash', 'dot', 'square'], name: 'value', type: ['string'] }], help: '' } }, + withFill(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + lineStyle+: { + fill: value, + }, + }, + }, + }, + }, + }, + }, + '#withLineWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withLineWidth(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + lineWidth: value, + }, + }, + }, + }, + }, + '#withPointColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withPointColor(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + pointColor: value, + }, + }, + }, + }, + }, + '#withPointSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withPointSize(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + pointSize: value, + }, + }, + }, + }, + }, + '#withPointSymbol': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withPointSymbol(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + pointSymbol: value, + }, + }, + }, + }, + }, + '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withScaleDistribution(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + scaleDistribution: value, + }, + }, + }, + }, + }, + '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withScaleDistributionMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + scaleDistribution+: value, + }, + }, + }, + }, + }, + scaleDistribution+: + { + '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withLinearThreshold(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + scaleDistribution+: { + linearThreshold: value, + }, + }, + }, + }, + }, + }, + '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withLog(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + scaleDistribution+: { + log: value, + }, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withType(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + scaleDistribution+: { + type: value, + }, + }, + }, + }, + }, + }, + }, + '#withShowPoints': { 'function': { args: [{ default: null, enums: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withShowPoints(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + showPoints: value, + }, + }, + }, + }, + }, + '#withSpanNulls': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'number'] }], help: 'Indicate if null values should be treated as gaps or connected.\nWhen the value is a number, it represents the maximum delta in the\nX axis that should be considered connected. For timeseries, this is milliseconds' } }, + withSpanNulls(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + spanNulls: value, + }, + }, + }, + }, + }, + '#withSpanNullsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'number'] }], help: 'Indicate if null values should be treated as gaps or connected.\nWhen the value is a number, it represents the maximum delta in the\nX axis that should be considered connected. For timeseries, this is milliseconds' } }, + withSpanNullsMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + spanNulls+: value, + }, + }, + }, + }, + }, + '#withStacking': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withStacking(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + stacking: value, + }, + }, + }, + }, + }, + '#withStackingMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withStackingMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + stacking+: value, + }, + }, + }, + }, + }, + stacking+: + { + '#withGroup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withGroup(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + stacking+: { + group: value, + }, + }, + }, + }, + }, + }, + '#withMode': { 'function': { args: [{ default: null, enums: ['none', 'normal', 'percent'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withMode(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + stacking+: { + mode: value, + }, + }, + }, + }, + }, + }, + }, + '#withThresholdsStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withThresholdsStyle(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + thresholdsStyle: value, + }, + }, + }, + }, + }, + '#withThresholdsStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withThresholdsStyleMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + thresholdsStyle+: value, + }, + }, + }, + }, + }, + thresholdsStyle+: + { + '#withMode': { 'function': { args: [{ default: null, enums: ['off', 'line', 'dashed', 'area', 'line+area', 'dashed+area', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withMode(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + thresholdsStyle+: { + mode: value, + }, + }, + }, + }, + }, + }, + }, + '#withTransform': { 'function': { args: [{ default: null, enums: ['constant', 'negative-Y'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withTransform(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + transform: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + type: 'sparkline', + }, + }, + }, + }, + }, + }, + '#withTableBarGaugeCellOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Gauge cell options' } }, + withTableBarGaugeCellOptions(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + TableBarGaugeCellOptions: value, + }, + }, + }, + }, + }, + '#withTableBarGaugeCellOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Gauge cell options' } }, + withTableBarGaugeCellOptionsMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + TableBarGaugeCellOptions+: value, + }, + }, + }, + }, + }, + TableBarGaugeCellOptions+: + { + '#withMode': { 'function': { args: [{ default: null, enums: ['basic', 'lcd', 'gradient'], name: 'value', type: ['string'] }], help: 'Enum expressing the possible display modes\nfor the bar gauge component of Grafana UI' } }, + withMode(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + mode: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + type: 'gauge', + }, + }, + }, + }, + }, + '#withValueDisplayMode': { 'function': { args: [{ default: null, enums: ['color', 'text', 'hidden'], name: 'value', type: ['string'] }], help: 'Allows for the table cell gauge display type to set the gauge mode.' } }, + withValueDisplayMode(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + valueDisplayMode: value, + }, + }, + }, + }, + }, + }, + '#withTableColoredBackgroundCellOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Colored background cell options' } }, + withTableColoredBackgroundCellOptions(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + TableColoredBackgroundCellOptions: value, + }, + }, + }, + }, + }, + '#withTableColoredBackgroundCellOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Colored background cell options' } }, + withTableColoredBackgroundCellOptionsMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + TableColoredBackgroundCellOptions+: value, + }, + }, + }, + }, + }, + TableColoredBackgroundCellOptions+: + { + '#withApplyToRow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withApplyToRow(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + applyToRow: value, + }, + }, + }, + }, + }, + '#withMode': { 'function': { args: [{ default: null, enums: ['basic', 'gradient'], name: 'value', type: ['string'] }], help: 'Display mode to the "Colored Background" display\nmode for table cells. Either displays a solid color (basic mode)\nor a gradient.' } }, + withMode(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + mode: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + type: 'color-background', + }, + }, + }, + }, + }, + '#withWrapText': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withWrapText(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + wrapText: value, + }, + }, + }, + }, + }, + }, + '#withTableColorTextCellOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Colored text cell options' } }, + withTableColorTextCellOptions(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + TableColorTextCellOptions: value, + }, + }, + }, + }, + }, + '#withTableColorTextCellOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Colored text cell options' } }, + withTableColorTextCellOptionsMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + TableColorTextCellOptions+: value, + }, + }, + }, + }, + }, + TableColorTextCellOptions+: + { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + type: 'color-text', + }, + }, + }, + }, + }, + '#withWrapText': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withWrapText(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + wrapText: value, + }, + }, + }, + }, + }, + }, + '#withTableImageCellOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Json view cell options' } }, + withTableImageCellOptions(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + TableImageCellOptions: value, + }, + }, + }, + }, + }, + '#withTableImageCellOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Json view cell options' } }, + withTableImageCellOptionsMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + TableImageCellOptions+: value, + }, + }, + }, + }, + }, + TableImageCellOptions+: + { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + type: 'image', + }, + }, + }, + }, + }, + }, + '#withTableDataLinksCellOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Show data links in the cell' } }, + withTableDataLinksCellOptions(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + TableDataLinksCellOptions: value, + }, + }, + }, + }, + }, + '#withTableDataLinksCellOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Show data links in the cell' } }, + withTableDataLinksCellOptionsMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + TableDataLinksCellOptions+: value, + }, + }, + }, + }, + }, + TableDataLinksCellOptions+: + { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + type: 'data-links', + }, + }, + }, + }, + }, + }, + '#withTableJsonViewCellOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Json view cell options' } }, + withTableJsonViewCellOptions(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + TableJsonViewCellOptions: value, + }, + }, + }, + }, + }, + '#withTableJsonViewCellOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Json view cell options' } }, + withTableJsonViewCellOptionsMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + TableJsonViewCellOptions+: value, + }, + }, + }, + }, + }, + TableJsonViewCellOptions+: + { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + type: 'json-view', + }, + }, + }, + }, + }, + }, + }, + '#withDisplayMode': { 'function': { args: [{ default: null, enums: ['auto', 'color-text', 'color-background', 'color-background-solid', 'gradient-gauge', 'lcd-gauge', 'json-view', 'basic', 'image', 'gauge', 'sparkline', 'data-links', 'custom'], name: 'value', type: ['string'] }], help: "Internally, this is the \"type\" of cell that's being displayed\nin the table such as colored text, JSON, gauge, etc.\nThe color-background-solid, gradient-gauge, and lcd-gauge\nmodes are deprecated in favor of new cell subOptions" } }, + withDisplayMode(value): { + fieldConfig+: { + defaults+: { + custom+: { + displayMode: value, + }, + }, + }, + }, + '#withFilterable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withFilterable(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + filterable: value, + }, + }, + }, + }, + '#withHidden': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '?? default is missing or false ??' } }, + withHidden(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + hidden: value, + }, + }, + }, + }, + '#withHideHeader': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Hides any header for a column, useful for columns that show some static content or buttons.' } }, + withHideHeader(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + hideHeader: value, + }, + }, + }, + }, + '#withInspect': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withInspect(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + inspect: value, + }, + }, + }, + }, + '#withMinWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withMinWidth(value): { + fieldConfig+: { + defaults+: { + custom+: { + minWidth: value, + }, + }, + }, + }, + '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withWidth(value): { + fieldConfig+: { + defaults+: { + custom+: { + width: value, + }, + }, + }, + }, + }, + }, + }, + options+: + { + '#withCellHeight': { 'function': { args: [{ default: 'sm', enums: ['sm', 'md', 'lg', 'auto'], name: 'value', type: ['string'] }], help: 'Height of a table cell' } }, + withCellHeight(value='sm'): { + options+: { + cellHeight: value, + }, + }, + '#withFooter': { 'function': { args: [{ default: { countRows: false, reducer: null, show: false }, enums: null, name: 'value', type: ['object'] }], help: 'Footer options' } }, + withFooter(value={ countRows: false, reducer: null, show: false }): { + options+: { + footer: value, + }, + }, + '#withFooterMixin': { 'function': { args: [{ default: { countRows: false, reducer: null, show: false }, enums: null, name: 'value', type: ['object'] }], help: 'Footer options' } }, + withFooterMixin(value): { + options+: { + footer+: value, + }, + }, + footer+: + { + '#withCountRows': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withCountRows(value=true): { + options+: { + footer+: { + countRows: value, + }, + }, + }, + '#withEnablePagination': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withEnablePagination(value=true): { + options+: { + footer+: { + enablePagination: value, + }, + }, + }, + '#withFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withFields(value): { + options+: { + footer+: { + fields: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withFieldsMixin(value): { + options+: { + footer+: { + fields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withReducer': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'actually 1 value' } }, + withReducer(value): { + options+: { + footer+: { + reducer: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withReducerMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'actually 1 value' } }, + withReducerMixin(value): { + options+: { + footer+: { + reducer+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withShow(value=true): { + options+: { + footer+: { + show: value, + }, + }, + }, + }, + '#withFrameIndex': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['number'] }], help: 'Represents the index of the selected frame' } }, + withFrameIndex(value=0): { + options+: { + frameIndex: value, + }, + }, + '#withShowHeader': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Controls whether the panel should show the header' } }, + withShowHeader(value=true): { + options+: { + showHeader: value, + }, + }, + '#withShowTypeIcons': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Controls whether the header should show icons for the column types' } }, + withShowTypeIcons(value=true): { + options+: { + showTypeIcons: value, + }, + }, + '#withSortBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Used to control row sorting' } }, + withSortBy(value): { + options+: { + sortBy: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withSortByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Used to control row sorting' } }, + withSortByMixin(value): { + options+: { + sortBy+: + (if std.isArray(value) + then value + else [value]), + }, + }, + sortBy+: + { + '#': { help: '', name: 'sortBy' }, + '#withDesc': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Flag used to indicate descending sort order' } }, + withDesc(value=true): { + desc: value, + }, + '#withDisplayName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Sets the display name of the field to sort by' } }, + withDisplayName(value): { + displayName: value, + }, + }, + }, +} ++ { + panelOptions+: { + '#withType':: { + ignore: true, + }, + }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/text.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/text.libsonnet new file mode 100644 index 0000000..4fbad9f --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/text.libsonnet @@ -0,0 +1,73 @@ +// This file is generated, do not manually edit. +(import '../panel.libsonnet') ++ { + '#': { help: 'grafonnet.panel.text', name: 'text' }, + panelOptions+: + { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'text', + }, + }, + options+: + { + '#withCode': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCode(value): { + options+: { + code: value, + }, + }, + '#withCodeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCodeMixin(value): { + options+: { + code+: value, + }, + }, + code+: + { + '#withLanguage': { 'function': { args: [{ default: 'plaintext', enums: ['json', 'yaml', 'xml', 'typescript', 'sql', 'go', 'markdown', 'html', 'plaintext'], name: 'value', type: ['string'] }], help: 'The language passed to monaco code editor' } }, + withLanguage(value='plaintext'): { + options+: { + code+: { + language: value, + }, + }, + }, + '#withShowLineNumbers': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withShowLineNumbers(value=true): { + options+: { + code+: { + showLineNumbers: value, + }, + }, + }, + '#withShowMiniMap': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withShowMiniMap(value=true): { + options+: { + code+: { + showMiniMap: value, + }, + }, + }, + }, + '#withContent': { 'function': { args: [{ default: '# Title\n\nFor markdown syntax help: [commonmark.org/help](https://commonmark.org/help/)', enums: null, name: 'value', type: ['string'] }], help: '' } }, + withContent(value='# Title\n\nFor markdown syntax help: [commonmark.org/help](https://commonmark.org/help/)'): { + options+: { + content: value, + }, + }, + '#withMode': { 'function': { args: [{ default: 'markdown', enums: ['html', 'markdown', 'code'], name: 'value', type: ['string'] }], help: '' } }, + withMode(value='markdown'): { + options+: { + mode: value, + }, + }, + }, +} ++ { + panelOptions+: { + '#withType':: { + ignore: true, + }, + }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/timeSeries.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/timeSeries.libsonnet new file mode 100644 index 0000000..95f529c --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/timeSeries.libsonnet @@ -0,0 +1,756 @@ +// This file is generated, do not manually edit. +(import '../panel.libsonnet') ++ { + '#': { help: 'grafonnet.panel.timeSeries', name: 'timeSeries' }, + panelOptions+: + { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'timeseries', + }, + }, + fieldConfig+: { + defaults+: { + custom+: + { + '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisBorderShow(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + axisBorderShow: value, + }, + }, + }, + }, + '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisCenteredZero(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + axisCenteredZero: value, + }, + }, + }, + }, + '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withAxisColorMode(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisColorMode: value, + }, + }, + }, + }, + '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisGridShow(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + axisGridShow: value, + }, + }, + }, + }, + '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withAxisLabel(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisLabel: value, + }, + }, + }, + }, + '#withAxisPlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'right', 'bottom', 'left', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withAxisPlacement(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisPlacement: value, + }, + }, + }, + }, + '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisSoftMax(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisSoftMax: value, + }, + }, + }, + }, + '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisSoftMin(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisSoftMin: value, + }, + }, + }, + }, + '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisWidth(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisWidth: value, + }, + }, + }, + }, + '#withBarAlignment': { 'function': { args: [{ default: null, enums: [-1, 0, 1], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withBarAlignment(value): { + fieldConfig+: { + defaults+: { + custom+: { + barAlignment: value, + }, + }, + }, + }, + '#withBarMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withBarMaxWidth(value): { + fieldConfig+: { + defaults+: { + custom+: { + barMaxWidth: value, + }, + }, + }, + }, + '#withBarWidthFactor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withBarWidthFactor(value): { + fieldConfig+: { + defaults+: { + custom+: { + barWidthFactor: value, + }, + }, + }, + }, + '#withDrawStyle': { 'function': { args: [{ default: null, enums: ['line', 'bars', 'points'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withDrawStyle(value): { + fieldConfig+: { + defaults+: { + custom+: { + drawStyle: value, + }, + }, + }, + }, + '#withFillBelowTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withFillBelowTo(value): { + fieldConfig+: { + defaults+: { + custom+: { + fillBelowTo: value, + }, + }, + }, + }, + '#withFillColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withFillColor(value): { + fieldConfig+: { + defaults+: { + custom+: { + fillColor: value, + }, + }, + }, + }, + '#withFillOpacity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withFillOpacity(value): { + fieldConfig+: { + defaults+: { + custom+: { + fillOpacity: value, + }, + }, + }, + }, + '#withGradientMode': { 'function': { args: [{ default: null, enums: ['none', 'opacity', 'hue', 'scheme'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withGradientMode(value): { + fieldConfig+: { + defaults+: { + custom+: { + gradientMode: value, + }, + }, + }, + }, + '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFrom(value): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom: value, + }, + }, + }, + }, + '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFromMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: value, + }, + }, + }, + }, + hideFrom+: + { + '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withLegend(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: { + legend: value, + }, + }, + }, + }, + }, + '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withTooltip(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: { + tooltip: value, + }, + }, + }, + }, + }, + '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withViz(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: { + viz: value, + }, + }, + }, + }, + }, + }, + '#withInsertNulls': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'number'] }], help: '' } }, + withInsertNulls(value): { + fieldConfig+: { + defaults+: { + custom+: { + insertNulls: value, + }, + }, + }, + }, + '#withInsertNullsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'number'] }], help: '' } }, + withInsertNullsMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + insertNulls+: value, + }, + }, + }, + }, + '#withLineColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withLineColor(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineColor: value, + }, + }, + }, + }, + '#withLineInterpolation': { 'function': { args: [{ default: null, enums: ['linear', 'smooth', 'stepBefore', 'stepAfter'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withLineInterpolation(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineInterpolation: value, + }, + }, + }, + }, + '#withLineStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLineStyle(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineStyle: value, + }, + }, + }, + }, + '#withLineStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLineStyleMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineStyle+: value, + }, + }, + }, + }, + lineStyle+: + { + '#withDash': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withDash(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineStyle+: { + dash: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + }, + '#withDashMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withDashMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineStyle+: { + dash+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + }, + '#withFill': { 'function': { args: [{ default: null, enums: ['solid', 'dash', 'dot', 'square'], name: 'value', type: ['string'] }], help: '' } }, + withFill(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineStyle+: { + fill: value, + }, + }, + }, + }, + }, + }, + '#withLineWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withLineWidth(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineWidth: value, + }, + }, + }, + }, + '#withPointColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withPointColor(value): { + fieldConfig+: { + defaults+: { + custom+: { + pointColor: value, + }, + }, + }, + }, + '#withPointSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withPointSize(value): { + fieldConfig+: { + defaults+: { + custom+: { + pointSize: value, + }, + }, + }, + }, + '#withPointSymbol': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withPointSymbol(value): { + fieldConfig+: { + defaults+: { + custom+: { + pointSymbol: value, + }, + }, + }, + }, + '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withScaleDistribution(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution: value, + }, + }, + }, + }, + '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withScaleDistributionMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution+: value, + }, + }, + }, + }, + scaleDistribution+: + { + '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withLinearThreshold(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution+: { + linearThreshold: value, + }, + }, + }, + }, + }, + '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withLog(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution+: { + log: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withType(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withShowPoints': { 'function': { args: [{ default: null, enums: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withShowPoints(value): { + fieldConfig+: { + defaults+: { + custom+: { + showPoints: value, + }, + }, + }, + }, + '#withSpanNulls': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'number'] }], help: 'Indicate if null values should be treated as gaps or connected.\nWhen the value is a number, it represents the maximum delta in the\nX axis that should be considered connected. For timeseries, this is milliseconds' } }, + withSpanNulls(value): { + fieldConfig+: { + defaults+: { + custom+: { + spanNulls: value, + }, + }, + }, + }, + '#withSpanNullsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'number'] }], help: 'Indicate if null values should be treated as gaps or connected.\nWhen the value is a number, it represents the maximum delta in the\nX axis that should be considered connected. For timeseries, this is milliseconds' } }, + withSpanNullsMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + spanNulls+: value, + }, + }, + }, + }, + '#withStacking': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withStacking(value): { + fieldConfig+: { + defaults+: { + custom+: { + stacking: value, + }, + }, + }, + }, + '#withStackingMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withStackingMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + stacking+: value, + }, + }, + }, + }, + stacking+: + { + '#withGroup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withGroup(value): { + fieldConfig+: { + defaults+: { + custom+: { + stacking+: { + group: value, + }, + }, + }, + }, + }, + '#withMode': { 'function': { args: [{ default: null, enums: ['none', 'normal', 'percent'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withMode(value): { + fieldConfig+: { + defaults+: { + custom+: { + stacking+: { + mode: value, + }, + }, + }, + }, + }, + }, + '#withThresholdsStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withThresholdsStyle(value): { + fieldConfig+: { + defaults+: { + custom+: { + thresholdsStyle: value, + }, + }, + }, + }, + '#withThresholdsStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withThresholdsStyleMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + thresholdsStyle+: value, + }, + }, + }, + }, + thresholdsStyle+: + { + '#withMode': { 'function': { args: [{ default: null, enums: ['off', 'line', 'dashed', 'area', 'line+area', 'dashed+area', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withMode(value): { + fieldConfig+: { + defaults+: { + custom+: { + thresholdsStyle+: { + mode: value, + }, + }, + }, + }, + }, + }, + '#withTransform': { 'function': { args: [{ default: null, enums: ['constant', 'negative-Y'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withTransform(value): { + fieldConfig+: { + defaults+: { + custom+: { + transform: value, + }, + }, + }, + }, + }, + }, + }, + options+: + { + '#withLegend': { 'function': { args: [{ default: { calcs: [], displayMode: 'list', placement: 'bottom' }, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLegend(value={ calcs: [], displayMode: 'list', placement: 'bottom' }): { + options+: { + legend: value, + }, + }, + '#withLegendMixin': { 'function': { args: [{ default: { calcs: [], displayMode: 'list', placement: 'bottom' }, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLegendMixin(value): { + options+: { + legend+: value, + }, + }, + legend+: + { + '#withAsTable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAsTable(value=true): { + options+: { + legend+: { + asTable: value, + }, + }, + }, + '#withCalcs': { 'function': { args: [{ default: [], enums: null, name: 'value', type: ['array'] }], help: '' } }, + withCalcs(value): { + options+: { + legend+: { + calcs: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withCalcsMixin': { 'function': { args: [{ default: [], enums: null, name: 'value', type: ['array'] }], help: '' } }, + withCalcsMixin(value): { + options+: { + legend+: { + calcs+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withDisplayMode': { 'function': { args: [{ default: 'list', enums: ['list', 'table', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs\nNote: "hidden" needs to remain as an option for plugins compatibility' } }, + withDisplayMode(value='list'): { + options+: { + legend+: { + displayMode: value, + }, + }, + }, + '#withIsVisible': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withIsVisible(value=true): { + options+: { + legend+: { + isVisible: value, + }, + }, + }, + '#withPlacement': { 'function': { args: [{ default: 'bottom', enums: ['bottom', 'right'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withPlacement(value='bottom'): { + options+: { + legend+: { + placement: value, + }, + }, + }, + '#withShowLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withShowLegend(value=true): { + options+: { + legend+: { + showLegend: value, + }, + }, + }, + '#withSortBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withSortBy(value): { + options+: { + legend+: { + sortBy: value, + }, + }, + }, + '#withSortDesc': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withSortDesc(value=true): { + options+: { + legend+: { + sortDesc: value, + }, + }, + }, + '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withWidth(value): { + options+: { + legend+: { + width: value, + }, + }, + }, + }, + '#withOrientation': { 'function': { args: [{ default: null, enums: ['auto', 'vertical', 'horizontal'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withOrientation(value): { + options+: { + orientation: value, + }, + }, + '#withTimezone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withTimezone(value): { + options+: { + timezone: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withTimezoneMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withTimezoneMixin(value): { + options+: { + timezone+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withTooltip(value): { + options+: { + tooltip: value, + }, + }, + '#withTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withTooltipMixin(value): { + options+: { + tooltip+: value, + }, + }, + tooltip+: + { + '#withMaxHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withMaxHeight(value): { + options+: { + tooltip+: { + maxHeight: value, + }, + }, + }, + '#withMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withMaxWidth(value): { + options+: { + tooltip+: { + maxWidth: value, + }, + }, + }, + '#withMode': { 'function': { args: [{ default: null, enums: ['single', 'multi', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withMode(value): { + options+: { + tooltip+: { + mode: value, + }, + }, + }, + '#withSort': { 'function': { args: [{ default: null, enums: ['asc', 'desc', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withSort(value): { + options+: { + tooltip+: { + sort: value, + }, + }, + }, + }, + }, +} ++ { + panelOptions+: { + '#withType':: { + ignore: true, + }, + }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/trend.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/trend.libsonnet new file mode 100644 index 0000000..815aa0e --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/trend.libsonnet @@ -0,0 +1,738 @@ +// This file is generated, do not manually edit. +(import '../panel.libsonnet') ++ { + '#': { help: 'grafonnet.panel.trend', name: 'trend' }, + panelOptions+: + { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'trend', + }, + }, + fieldConfig+: { + defaults+: { + custom+: + { + '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisBorderShow(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + axisBorderShow: value, + }, + }, + }, + }, + '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisCenteredZero(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + axisCenteredZero: value, + }, + }, + }, + }, + '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withAxisColorMode(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisColorMode: value, + }, + }, + }, + }, + '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisGridShow(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + axisGridShow: value, + }, + }, + }, + }, + '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withAxisLabel(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisLabel: value, + }, + }, + }, + }, + '#withAxisPlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'right', 'bottom', 'left', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withAxisPlacement(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisPlacement: value, + }, + }, + }, + }, + '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisSoftMax(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisSoftMax: value, + }, + }, + }, + }, + '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisSoftMin(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisSoftMin: value, + }, + }, + }, + }, + '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisWidth(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisWidth: value, + }, + }, + }, + }, + '#withBarAlignment': { 'function': { args: [{ default: null, enums: [-1, 0, 1], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withBarAlignment(value): { + fieldConfig+: { + defaults+: { + custom+: { + barAlignment: value, + }, + }, + }, + }, + '#withBarMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withBarMaxWidth(value): { + fieldConfig+: { + defaults+: { + custom+: { + barMaxWidth: value, + }, + }, + }, + }, + '#withBarWidthFactor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withBarWidthFactor(value): { + fieldConfig+: { + defaults+: { + custom+: { + barWidthFactor: value, + }, + }, + }, + }, + '#withDrawStyle': { 'function': { args: [{ default: null, enums: ['line', 'bars', 'points'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withDrawStyle(value): { + fieldConfig+: { + defaults+: { + custom+: { + drawStyle: value, + }, + }, + }, + }, + '#withFillBelowTo': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withFillBelowTo(value): { + fieldConfig+: { + defaults+: { + custom+: { + fillBelowTo: value, + }, + }, + }, + }, + '#withFillColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withFillColor(value): { + fieldConfig+: { + defaults+: { + custom+: { + fillColor: value, + }, + }, + }, + }, + '#withFillOpacity': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withFillOpacity(value): { + fieldConfig+: { + defaults+: { + custom+: { + fillOpacity: value, + }, + }, + }, + }, + '#withGradientMode': { 'function': { args: [{ default: null, enums: ['none', 'opacity', 'hue', 'scheme'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withGradientMode(value): { + fieldConfig+: { + defaults+: { + custom+: { + gradientMode: value, + }, + }, + }, + }, + '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFrom(value): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom: value, + }, + }, + }, + }, + '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFromMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: value, + }, + }, + }, + }, + hideFrom+: + { + '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withLegend(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: { + legend: value, + }, + }, + }, + }, + }, + '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withTooltip(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: { + tooltip: value, + }, + }, + }, + }, + }, + '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withViz(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: { + viz: value, + }, + }, + }, + }, + }, + }, + '#withInsertNulls': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'number'] }], help: '' } }, + withInsertNulls(value): { + fieldConfig+: { + defaults+: { + custom+: { + insertNulls: value, + }, + }, + }, + }, + '#withInsertNullsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'number'] }], help: '' } }, + withInsertNullsMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + insertNulls+: value, + }, + }, + }, + }, + '#withLineColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withLineColor(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineColor: value, + }, + }, + }, + }, + '#withLineInterpolation': { 'function': { args: [{ default: null, enums: ['linear', 'smooth', 'stepBefore', 'stepAfter'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withLineInterpolation(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineInterpolation: value, + }, + }, + }, + }, + '#withLineStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLineStyle(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineStyle: value, + }, + }, + }, + }, + '#withLineStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLineStyleMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineStyle+: value, + }, + }, + }, + }, + lineStyle+: + { + '#withDash': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withDash(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineStyle+: { + dash: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + }, + '#withDashMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withDashMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineStyle+: { + dash+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + }, + '#withFill': { 'function': { args: [{ default: null, enums: ['solid', 'dash', 'dot', 'square'], name: 'value', type: ['string'] }], help: '' } }, + withFill(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineStyle+: { + fill: value, + }, + }, + }, + }, + }, + }, + '#withLineWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withLineWidth(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineWidth: value, + }, + }, + }, + }, + '#withPointColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withPointColor(value): { + fieldConfig+: { + defaults+: { + custom+: { + pointColor: value, + }, + }, + }, + }, + '#withPointSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withPointSize(value): { + fieldConfig+: { + defaults+: { + custom+: { + pointSize: value, + }, + }, + }, + }, + '#withPointSymbol': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withPointSymbol(value): { + fieldConfig+: { + defaults+: { + custom+: { + pointSymbol: value, + }, + }, + }, + }, + '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withScaleDistribution(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution: value, + }, + }, + }, + }, + '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withScaleDistributionMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution+: value, + }, + }, + }, + }, + scaleDistribution+: + { + '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withLinearThreshold(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution+: { + linearThreshold: value, + }, + }, + }, + }, + }, + '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withLog(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution+: { + log: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withType(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withShowPoints': { 'function': { args: [{ default: null, enums: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withShowPoints(value): { + fieldConfig+: { + defaults+: { + custom+: { + showPoints: value, + }, + }, + }, + }, + '#withSpanNulls': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'number'] }], help: 'Indicate if null values should be treated as gaps or connected.\nWhen the value is a number, it represents the maximum delta in the\nX axis that should be considered connected. For timeseries, this is milliseconds' } }, + withSpanNulls(value): { + fieldConfig+: { + defaults+: { + custom+: { + spanNulls: value, + }, + }, + }, + }, + '#withSpanNullsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'number'] }], help: 'Indicate if null values should be treated as gaps or connected.\nWhen the value is a number, it represents the maximum delta in the\nX axis that should be considered connected. For timeseries, this is milliseconds' } }, + withSpanNullsMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + spanNulls+: value, + }, + }, + }, + }, + '#withStacking': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withStacking(value): { + fieldConfig+: { + defaults+: { + custom+: { + stacking: value, + }, + }, + }, + }, + '#withStackingMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withStackingMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + stacking+: value, + }, + }, + }, + }, + stacking+: + { + '#withGroup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withGroup(value): { + fieldConfig+: { + defaults+: { + custom+: { + stacking+: { + group: value, + }, + }, + }, + }, + }, + '#withMode': { 'function': { args: [{ default: null, enums: ['none', 'normal', 'percent'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withMode(value): { + fieldConfig+: { + defaults+: { + custom+: { + stacking+: { + mode: value, + }, + }, + }, + }, + }, + }, + '#withThresholdsStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withThresholdsStyle(value): { + fieldConfig+: { + defaults+: { + custom+: { + thresholdsStyle: value, + }, + }, + }, + }, + '#withThresholdsStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withThresholdsStyleMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + thresholdsStyle+: value, + }, + }, + }, + }, + thresholdsStyle+: + { + '#withMode': { 'function': { args: [{ default: null, enums: ['off', 'line', 'dashed', 'area', 'line+area', 'dashed+area', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withMode(value): { + fieldConfig+: { + defaults+: { + custom+: { + thresholdsStyle+: { + mode: value, + }, + }, + }, + }, + }, + }, + '#withTransform': { 'function': { args: [{ default: null, enums: ['constant', 'negative-Y'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withTransform(value): { + fieldConfig+: { + defaults+: { + custom+: { + transform: value, + }, + }, + }, + }, + }, + }, + }, + options+: + { + '#withLegend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLegend(value): { + options+: { + legend: value, + }, + }, + '#withLegendMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLegendMixin(value): { + options+: { + legend+: value, + }, + }, + legend+: + { + '#withAsTable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAsTable(value=true): { + options+: { + legend+: { + asTable: value, + }, + }, + }, + '#withCalcs': { 'function': { args: [{ default: [], enums: null, name: 'value', type: ['array'] }], help: '' } }, + withCalcs(value): { + options+: { + legend+: { + calcs: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withCalcsMixin': { 'function': { args: [{ default: [], enums: null, name: 'value', type: ['array'] }], help: '' } }, + withCalcsMixin(value): { + options+: { + legend+: { + calcs+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withDisplayMode': { 'function': { args: [{ default: 'list', enums: ['list', 'table', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs\nNote: "hidden" needs to remain as an option for plugins compatibility' } }, + withDisplayMode(value='list'): { + options+: { + legend+: { + displayMode: value, + }, + }, + }, + '#withIsVisible': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withIsVisible(value=true): { + options+: { + legend+: { + isVisible: value, + }, + }, + }, + '#withPlacement': { 'function': { args: [{ default: 'bottom', enums: ['bottom', 'right'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withPlacement(value='bottom'): { + options+: { + legend+: { + placement: value, + }, + }, + }, + '#withShowLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withShowLegend(value=true): { + options+: { + legend+: { + showLegend: value, + }, + }, + }, + '#withSortBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withSortBy(value): { + options+: { + legend+: { + sortBy: value, + }, + }, + }, + '#withSortDesc': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withSortDesc(value=true): { + options+: { + legend+: { + sortDesc: value, + }, + }, + }, + '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withWidth(value): { + options+: { + legend+: { + width: value, + }, + }, + }, + }, + '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withTooltip(value): { + options+: { + tooltip: value, + }, + }, + '#withTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withTooltipMixin(value): { + options+: { + tooltip+: value, + }, + }, + tooltip+: + { + '#withMaxHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withMaxHeight(value): { + options+: { + tooltip+: { + maxHeight: value, + }, + }, + }, + '#withMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withMaxWidth(value): { + options+: { + tooltip+: { + maxWidth: value, + }, + }, + }, + '#withMode': { 'function': { args: [{ default: null, enums: ['single', 'multi', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withMode(value): { + options+: { + tooltip+: { + mode: value, + }, + }, + }, + '#withSort': { 'function': { args: [{ default: null, enums: ['asc', 'desc', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withSort(value): { + options+: { + tooltip+: { + sort: value, + }, + }, + }, + }, + '#withXField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the x field to use (defaults to first number)' } }, + withXField(value): { + options+: { + xField: value, + }, + }, + }, +} ++ { + panelOptions+: { + '#withType':: { + ignore: true, + }, + }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/xyChart.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/xyChart.libsonnet new file mode 100644 index 0000000..7a1065d --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panel/xyChart.libsonnet @@ -0,0 +1,1070 @@ +// This file is generated, do not manually edit. +(import '../panel.libsonnet') ++ { + '#': { help: 'grafonnet.panel.xyChart', name: 'xyChart' }, + panelOptions+: + { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'xychart', + }, + }, + fieldConfig+: { + defaults+: { + custom+: + { + '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisBorderShow(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + axisBorderShow: value, + }, + }, + }, + }, + '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisCenteredZero(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + axisCenteredZero: value, + }, + }, + }, + }, + '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withAxisColorMode(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisColorMode: value, + }, + }, + }, + }, + '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisGridShow(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + axisGridShow: value, + }, + }, + }, + }, + '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withAxisLabel(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisLabel: value, + }, + }, + }, + }, + '#withAxisPlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'right', 'bottom', 'left', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withAxisPlacement(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisPlacement: value, + }, + }, + }, + }, + '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisSoftMax(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisSoftMax: value, + }, + }, + }, + }, + '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisSoftMin(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisSoftMin: value, + }, + }, + }, + }, + '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisWidth(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisWidth: value, + }, + }, + }, + }, + '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFrom(value): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom: value, + }, + }, + }, + }, + '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFromMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: value, + }, + }, + }, + }, + hideFrom+: + { + '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withLegend(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: { + legend: value, + }, + }, + }, + }, + }, + '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withTooltip(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: { + tooltip: value, + }, + }, + }, + }, + }, + '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withViz(value=true): { + fieldConfig+: { + defaults+: { + custom+: { + hideFrom+: { + viz: value, + }, + }, + }, + }, + }, + }, + '#withLabel': { 'function': { args: [{ default: 'auto', enums: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withLabel(value='auto'): { + fieldConfig+: { + defaults+: { + custom+: { + label: value, + }, + }, + }, + }, + '#withLabelValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withLabelValue(value): { + fieldConfig+: { + defaults+: { + custom+: { + labelValue: value, + }, + }, + }, + }, + '#withLabelValueMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withLabelValueMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + labelValue+: value, + }, + }, + }, + }, + labelValue+: + { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, + withField(value): { + fieldConfig+: { + defaults+: { + custom+: { + labelValue+: { + field: value, + }, + }, + }, + }, + }, + '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withFixed(value): { + fieldConfig+: { + defaults+: { + custom+: { + labelValue+: { + fixed: value, + }, + }, + }, + }, + }, + '#withMode': { 'function': { args: [{ default: null, enums: ['fixed', 'field', 'template'], name: 'value', type: ['string'] }], help: '' } }, + withMode(value): { + fieldConfig+: { + defaults+: { + custom+: { + labelValue+: { + mode: value, + }, + }, + }, + }, + }, + }, + '#withLineColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withLineColor(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineColor: value, + }, + }, + }, + }, + '#withLineColorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withLineColorMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineColor+: value, + }, + }, + }, + }, + lineColor+: + { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, + withField(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineColor+: { + field: value, + }, + }, + }, + }, + }, + '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'color value' } }, + withFixed(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineColor+: { + fixed: value, + }, + }, + }, + }, + }, + }, + '#withLineStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLineStyle(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineStyle: value, + }, + }, + }, + }, + '#withLineStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLineStyleMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineStyle+: value, + }, + }, + }, + }, + lineStyle+: + { + '#withDash': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withDash(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineStyle+: { + dash: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + }, + '#withDashMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withDashMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineStyle+: { + dash+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + }, + }, + '#withFill': { 'function': { args: [{ default: null, enums: ['solid', 'dash', 'dot', 'square'], name: 'value', type: ['string'] }], help: '' } }, + withFill(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineStyle+: { + fill: value, + }, + }, + }, + }, + }, + }, + '#withLineWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withLineWidth(value): { + fieldConfig+: { + defaults+: { + custom+: { + lineWidth: value, + }, + }, + }, + }, + '#withPointColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withPointColor(value): { + fieldConfig+: { + defaults+: { + custom+: { + pointColor: value, + }, + }, + }, + }, + '#withPointColorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withPointColorMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + pointColor+: value, + }, + }, + }, + }, + pointColor+: + { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, + withField(value): { + fieldConfig+: { + defaults+: { + custom+: { + pointColor+: { + field: value, + }, + }, + }, + }, + }, + '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'color value' } }, + withFixed(value): { + fieldConfig+: { + defaults+: { + custom+: { + pointColor+: { + fixed: value, + }, + }, + }, + }, + }, + }, + '#withPointSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withPointSize(value): { + fieldConfig+: { + defaults+: { + custom+: { + pointSize: value, + }, + }, + }, + }, + '#withPointSizeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withPointSizeMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + pointSize+: value, + }, + }, + }, + }, + pointSize+: + { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, + withField(value): { + fieldConfig+: { + defaults+: { + custom+: { + pointSize+: { + field: value, + }, + }, + }, + }, + }, + '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withFixed(value): { + fieldConfig+: { + defaults+: { + custom+: { + pointSize+: { + fixed: value, + }, + }, + }, + }, + }, + '#withMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withMax(value): { + fieldConfig+: { + defaults+: { + custom+: { + pointSize+: { + max: value, + }, + }, + }, + }, + }, + '#withMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withMin(value): { + fieldConfig+: { + defaults+: { + custom+: { + pointSize+: { + min: value, + }, + }, + }, + }, + }, + '#withMode': { 'function': { args: [{ default: null, enums: ['linear', 'quad'], name: 'value', type: ['string'] }], help: '| *"linear"' } }, + withMode(value): { + fieldConfig+: { + defaults+: { + custom+: { + pointSize+: { + mode: value, + }, + }, + }, + }, + }, + }, + '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withScaleDistribution(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution: value, + }, + }, + }, + }, + '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withScaleDistributionMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution+: value, + }, + }, + }, + }, + scaleDistribution+: + { + '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withLinearThreshold(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution+: { + linearThreshold: value, + }, + }, + }, + }, + }, + '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withLog(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution+: { + log: value, + }, + }, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withType(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution+: { + type: value, + }, + }, + }, + }, + }, + }, + '#withShow': { 'function': { args: [{ default: 'points', enums: ['points', 'lines', 'points+lines'], name: 'value', type: ['string'] }], help: '' } }, + withShow(value='points'): { + fieldConfig+: { + defaults+: { + custom+: { + show: value, + }, + }, + }, + }, + }, + }, + }, + options+: + { + '#withDims': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Configuration for the Table/Auto mode' } }, + withDims(value): { + options+: { + dims: value, + }, + }, + '#withDimsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Configuration for the Table/Auto mode' } }, + withDimsMixin(value): { + options+: { + dims+: value, + }, + }, + dims+: + { + '#withExclude': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withExclude(value): { + options+: { + dims+: { + exclude: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withExcludeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withExcludeMixin(value): { + options+: { + dims+: { + exclude+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withFrame': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withFrame(value): { + options+: { + dims+: { + frame: value, + }, + }, + }, + '#withX': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withX(value): { + options+: { + dims+: { + x: value, + }, + }, + }, + }, + '#withLegend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLegend(value): { + options+: { + legend: value, + }, + }, + '#withLegendMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLegendMixin(value): { + options+: { + legend+: value, + }, + }, + legend+: + { + '#withAsTable': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAsTable(value=true): { + options+: { + legend+: { + asTable: value, + }, + }, + }, + '#withCalcs': { 'function': { args: [{ default: [], enums: null, name: 'value', type: ['array'] }], help: '' } }, + withCalcs(value): { + options+: { + legend+: { + calcs: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withCalcsMixin': { 'function': { args: [{ default: [], enums: null, name: 'value', type: ['array'] }], help: '' } }, + withCalcsMixin(value): { + options+: { + legend+: { + calcs+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withDisplayMode': { 'function': { args: [{ default: 'list', enums: ['list', 'table', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs\nNote: "hidden" needs to remain as an option for plugins compatibility' } }, + withDisplayMode(value='list'): { + options+: { + legend+: { + displayMode: value, + }, + }, + }, + '#withIsVisible': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withIsVisible(value=true): { + options+: { + legend+: { + isVisible: value, + }, + }, + }, + '#withPlacement': { 'function': { args: [{ default: 'bottom', enums: ['bottom', 'right'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withPlacement(value='bottom'): { + options+: { + legend+: { + placement: value, + }, + }, + }, + '#withShowLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withShowLegend(value=true): { + options+: { + legend+: { + showLegend: value, + }, + }, + }, + '#withSortBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withSortBy(value): { + options+: { + legend+: { + sortBy: value, + }, + }, + }, + '#withSortDesc': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withSortDesc(value=true): { + options+: { + legend+: { + sortDesc: value, + }, + }, + }, + '#withWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withWidth(value): { + options+: { + legend+: { + width: value, + }, + }, + }, + }, + '#withSeries': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Manual Mode' } }, + withSeries(value): { + options+: { + series: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withSeriesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Manual Mode' } }, + withSeriesMixin(value): { + options+: { + series+: + (if std.isArray(value) + then value + else [value]), + }, + }, + series+: + { + '#': { help: '', name: 'series' }, + '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisBorderShow(value=true): { + axisBorderShow: value, + }, + '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisCenteredZero(value=true): { + axisCenteredZero: value, + }, + '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withAxisColorMode(value): { + axisColorMode: value, + }, + '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisGridShow(value=true): { + axisGridShow: value, + }, + '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withAxisLabel(value): { + axisLabel: value, + }, + '#withAxisPlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'right', 'bottom', 'left', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withAxisPlacement(value): { + axisPlacement: value, + }, + '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisSoftMax(value): { + axisSoftMax: value, + }, + '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisSoftMin(value): { + axisSoftMin: value, + }, + '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisWidth(value): { + axisWidth: value, + }, + '#withFrame': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withFrame(value): { + frame: value, + }, + '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFrom(value): { + hideFrom: value, + }, + '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFromMixin(value): { + hideFrom+: value, + }, + hideFrom+: + { + '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withLegend(value=true): { + hideFrom+: { + legend: value, + }, + }, + '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withTooltip(value=true): { + hideFrom+: { + tooltip: value, + }, + }, + '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withViz(value=true): { + hideFrom+: { + viz: value, + }, + }, + }, + '#withLabel': { 'function': { args: [{ default: 'auto', enums: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withLabel(value='auto'): { + label: value, + }, + '#withLabelValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withLabelValue(value): { + labelValue: value, + }, + '#withLabelValueMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withLabelValueMixin(value): { + labelValue+: value, + }, + labelValue+: + { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, + withField(value): { + labelValue+: { + field: value, + }, + }, + '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withFixed(value): { + labelValue+: { + fixed: value, + }, + }, + '#withMode': { 'function': { args: [{ default: null, enums: ['fixed', 'field', 'template'], name: 'value', type: ['string'] }], help: '' } }, + withMode(value): { + labelValue+: { + mode: value, + }, + }, + }, + '#withLineColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withLineColor(value): { + lineColor: value, + }, + '#withLineColorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withLineColorMixin(value): { + lineColor+: value, + }, + lineColor+: + { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, + withField(value): { + lineColor+: { + field: value, + }, + }, + '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'color value' } }, + withFixed(value): { + lineColor+: { + fixed: value, + }, + }, + }, + '#withLineStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLineStyle(value): { + lineStyle: value, + }, + '#withLineStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLineStyleMixin(value): { + lineStyle+: value, + }, + lineStyle+: + { + '#withDash': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withDash(value): { + lineStyle+: { + dash: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withDashMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withDashMixin(value): { + lineStyle+: { + dash+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFill': { 'function': { args: [{ default: null, enums: ['solid', 'dash', 'dot', 'square'], name: 'value', type: ['string'] }], help: '' } }, + withFill(value): { + lineStyle+: { + fill: value, + }, + }, + }, + '#withLineWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withLineWidth(value): { + lineWidth: value, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + name: value, + }, + '#withPointColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withPointColor(value): { + pointColor: value, + }, + '#withPointColorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withPointColorMixin(value): { + pointColor+: value, + }, + pointColor+: + { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, + withField(value): { + pointColor+: { + field: value, + }, + }, + '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'color value' } }, + withFixed(value): { + pointColor+: { + fixed: value, + }, + }, + }, + '#withPointSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withPointSize(value): { + pointSize: value, + }, + '#withPointSizeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withPointSizeMixin(value): { + pointSize+: value, + }, + pointSize+: + { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'fixed: T -- will be added by each element' } }, + withField(value): { + pointSize+: { + field: value, + }, + }, + '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withFixed(value): { + pointSize+: { + fixed: value, + }, + }, + '#withMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withMax(value): { + pointSize+: { + max: value, + }, + }, + '#withMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withMin(value): { + pointSize+: { + min: value, + }, + }, + '#withMode': { 'function': { args: [{ default: null, enums: ['linear', 'quad'], name: 'value', type: ['string'] }], help: '| *"linear"' } }, + withMode(value): { + pointSize+: { + mode: value, + }, + }, + }, + '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withScaleDistribution(value): { + scaleDistribution: value, + }, + '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withScaleDistributionMixin(value): { + scaleDistribution+: value, + }, + scaleDistribution+: + { + '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withLinearThreshold(value): { + scaleDistribution+: { + linearThreshold: value, + }, + }, + '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withLog(value): { + scaleDistribution+: { + log: value, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withType(value): { + scaleDistribution+: { + type: value, + }, + }, + }, + '#withShow': { 'function': { args: [{ default: 'points', enums: ['points', 'lines', 'points+lines'], name: 'value', type: ['string'] }], help: '' } }, + withShow(value='points'): { + show: value, + }, + '#withX': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withX(value): { + x: value, + }, + '#withY': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withY(value): { + y: value, + }, + }, + '#withSeriesMapping': { 'function': { args: [{ default: null, enums: ['auto', 'manual'], name: 'value', type: ['string'] }], help: 'Auto is "table" in the UI' } }, + withSeriesMapping(value): { + options+: { + seriesMapping: value, + }, + }, + '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withTooltip(value): { + options+: { + tooltip: value, + }, + }, + '#withTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withTooltipMixin(value): { + options+: { + tooltip+: value, + }, + }, + tooltip+: + { + '#withMaxHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withMaxHeight(value): { + options+: { + tooltip+: { + maxHeight: value, + }, + }, + }, + '#withMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withMaxWidth(value): { + options+: { + tooltip+: { + maxWidth: value, + }, + }, + }, + '#withMode': { 'function': { args: [{ default: null, enums: ['single', 'multi', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withMode(value): { + options+: { + tooltip+: { + mode: value, + }, + }, + }, + '#withSort': { 'function': { args: [{ default: null, enums: ['asc', 'desc', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withSort(value): { + options+: { + tooltip+: { + sort: value, + }, + }, + }, + }, + }, +} ++ { + panelOptions+: { + '#withType':: { + ignore: true, + }, + }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panelindex.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panelindex.libsonnet new file mode 100644 index 0000000..cffcdad --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/panelindex.libsonnet @@ -0,0 +1,30 @@ +// This file is generated, do not manually edit. +{ + '#': { help: 'grafonnet.panel', name: 'panel' }, + alertList: import 'panel/alertList.libsonnet', + annotationsList: import 'panel/annotationsList.libsonnet', + barChart: import 'panel/barChart.libsonnet', + barGauge: import 'panel/barGauge.libsonnet', + candlestick: import 'panel/candlestick.libsonnet', + canvas: import 'panel/canvas.libsonnet', + dashboardList: import 'panel/dashboardList.libsonnet', + datagrid: import 'panel/datagrid.libsonnet', + debug: import 'panel/debug.libsonnet', + gauge: import 'panel/gauge.libsonnet', + geomap: import 'panel/geomap.libsonnet', + heatmap: import 'panel/heatmap.libsonnet', + histogram: import 'panel/histogram.libsonnet', + logs: import 'panel/logs.libsonnet', + news: import 'panel/news.libsonnet', + nodeGraph: import 'panel/nodeGraph.libsonnet', + pieChart: import 'panel/pieChart.libsonnet', + stat: import 'panel/stat.libsonnet', + stateTimeline: import 'panel/stateTimeline.libsonnet', + statusHistory: import 'panel/statusHistory.libsonnet', + table: import 'panel/table.libsonnet', + text: import 'panel/text.libsonnet', + timeSeries: import 'panel/timeSeries.libsonnet', + trend: import 'panel/trend.libsonnet', + xyChart: import 'panel/xyChart.libsonnet', + row: import 'panel/row.libsonnet', +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/preferences.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/preferences.libsonnet similarity index 58% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/preferences.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/preferences.libsonnet index 9289dea..42d8deb 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/preferences.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/preferences.libsonnet @@ -1,42 +1,88 @@ // This file is generated, do not manually edit. { '#': { help: 'grafonnet.preferences', name: 'preferences' }, - '#withCookiePreferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCookiePreferences(value): { cookiePreferences: value }, - '#withCookiePreferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withCookiePreferencesMixin(value): { cookiePreferences+: value }, + '#withCookiePreferences': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Cookie preferences' } }, + withCookiePreferences(value): { + cookiePreferences: value, + }, + '#withCookiePreferencesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Cookie preferences' } }, + withCookiePreferencesMixin(value): { + cookiePreferences+: value, + }, cookiePreferences+: { '#withAnalytics': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withAnalytics(value): { cookiePreferences+: { analytics: value } }, + withAnalytics(value): { + cookiePreferences+: { + analytics: value, + }, + }, '#withAnalyticsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withAnalyticsMixin(value): { cookiePreferences+: { analytics+: value } }, + withAnalyticsMixin(value): { + cookiePreferences+: { + analytics+: value, + }, + }, '#withFunctional': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withFunctional(value): { cookiePreferences+: { functional: value } }, + withFunctional(value): { + cookiePreferences+: { + functional: value, + }, + }, '#withFunctionalMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withFunctionalMixin(value): { cookiePreferences+: { functional+: value } }, + withFunctionalMixin(value): { + cookiePreferences+: { + functional+: value, + }, + }, '#withPerformance': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPerformance(value): { cookiePreferences+: { performance: value } }, + withPerformance(value): { + cookiePreferences+: { + performance: value, + }, + }, '#withPerformanceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPerformanceMixin(value): { cookiePreferences+: { performance+: value } }, + withPerformanceMixin(value): { + cookiePreferences+: { + performance+: value, + }, + }, }, '#withHomeDashboardUID': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'UID for the home dashboard' } }, - withHomeDashboardUID(value): { homeDashboardUID: value }, + withHomeDashboardUID(value): { + homeDashboardUID: value, + }, '#withLanguage': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Selected language (beta)' } }, - withLanguage(value): { language: value }, - '#withQueryHistory': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withQueryHistory(value): { queryHistory: value }, - '#withQueryHistoryMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withQueryHistoryMixin(value): { queryHistory+: value }, + withLanguage(value): { + language: value, + }, + '#withQueryHistory': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Explore query history preferences' } }, + withQueryHistory(value): { + queryHistory: value, + }, + '#withQueryHistoryMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Explore query history preferences' } }, + withQueryHistoryMixin(value): { + queryHistory+: value, + }, queryHistory+: { '#withHomeTab': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "one of: '' | 'query' | 'starred';" } }, - withHomeTab(value): { queryHistory+: { homeTab: value } }, + withHomeTab(value): { + queryHistory+: { + homeTab: value, + }, + }, }, '#withTheme': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'light, dark, empty is default' } }, - withTheme(value): { theme: value }, + withTheme(value): { + theme: value, + }, '#withTimezone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The timezone selection\nTODO: this should use the timezone defined in common' } }, - withTimezone(value): { timezone: value }, + withTimezone(value): { + timezone: value, + }, '#withWeekStart': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'day of the week (sunday, monday, etc)' } }, - withWeekStart(value): { weekStart: value }, + withWeekStart(value): { + weekStart: value, + }, } diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/publicdashboard.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/publicdashboard.libsonnet similarity index 75% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/publicdashboard.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/publicdashboard.libsonnet index 3aefb7d..200e638 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/publicdashboard.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/publicdashboard.libsonnet @@ -2,15 +2,27 @@ { '#': { help: 'grafonnet.publicdashboard', name: 'publicdashboard' }, '#withAccessToken': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Unique public access token' } }, - withAccessToken(value): { accessToken: value }, + withAccessToken(value): { + accessToken: value, + }, '#withAnnotationsEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Flag that indicates if annotations are enabled' } }, - withAnnotationsEnabled(value=true): { annotationsEnabled: value }, + withAnnotationsEnabled(value=true): { + annotationsEnabled: value, + }, '#withDashboardUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Dashboard unique identifier referenced by this public dashboard' } }, - withDashboardUid(value): { dashboardUid: value }, + withDashboardUid(value): { + dashboardUid: value, + }, '#withIsEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Flag that indicates if the public dashboard is enabled' } }, - withIsEnabled(value=true): { isEnabled: value }, + withIsEnabled(value=true): { + isEnabled: value, + }, '#withTimeSelectionEnabled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Flag that indicates if the time range picker is enabled' } }, - withTimeSelectionEnabled(value=true): { timeSelectionEnabled: value }, + withTimeSelectionEnabled(value=true): { + timeSelectionEnabled: value, + }, '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Unique public dashboard identifier' } }, - withUid(value): { uid: value }, + withUid(value): { + uid: value, + }, } diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query.libsonnet new file mode 100644 index 0000000..129a0ea --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query.libsonnet @@ -0,0 +1,15 @@ +// This file is generated, do not manually edit. +{ + '#': { help: 'grafonnet.query', name: 'query' }, + azureMonitor: import 'query/azureMonitor.libsonnet', + cloudWatch: import 'query/cloudWatch.libsonnet', + elasticsearch: import 'query/elasticsearch.libsonnet', + expr: import 'query/expr.libsonnet', + googleCloudMonitoring: import 'query/googleCloudMonitoring.libsonnet', + grafanaPyroscope: import 'query/grafanaPyroscope.libsonnet', + loki: import 'query/loki.libsonnet', + parca: import 'query/parca.libsonnet', + prometheus: import 'query/prometheus.libsonnet', + tempo: import 'query/tempo.libsonnet', + testData: import 'query/testData.libsonnet', +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/azureMonitor.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/azureMonitor.libsonnet similarity index 51% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/azureMonitor.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/azureMonitor.libsonnet index c87efdc..4b8e72e 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/azureMonitor.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/azureMonitor.libsonnet @@ -1,369 +1,870 @@ // This file is generated, do not manually edit. { '#': { help: 'grafonnet.query.azureMonitor', name: 'azureMonitor' }, - '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, - withDatasource(value): { datasource: value }, - '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'true if query is disabled (ie should not be returned to the dashboard)\nNote this does not always imply that the query should not be executed since\nthe results from a hidden query may be used as the input to other queries (SSE etc)' } }, - withHide(value=true): { hide: value }, - '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specify the query flavor\nTODO make this required and give it a default' } }, - withQueryType(value): { queryType: value }, - '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A unique identifier for the query within the list of targets.\nIn server side expressions, the refId is used as a variable name to identify results.\nBy default, the UI will assign A->Z; however setting meaningful names may be useful.' } }, - withRefId(value): { refId: value }, '#withAzureLogAnalytics': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Azure Monitor Logs sub-query properties' } }, - withAzureLogAnalytics(value): { azureLogAnalytics: value }, + withAzureLogAnalytics(value): { + azureLogAnalytics: value, + }, '#withAzureLogAnalyticsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Azure Monitor Logs sub-query properties' } }, - withAzureLogAnalyticsMixin(value): { azureLogAnalytics+: value }, + withAzureLogAnalyticsMixin(value): { + azureLogAnalytics+: value, + }, azureLogAnalytics+: { + '#withBasicLogsQuery': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If set to true the query will be run as a basic logs query' } }, + withBasicLogsQuery(value=true): { + azureLogAnalytics+: { + basicLogsQuery: value, + }, + }, '#withDashboardTime': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If set to true the dashboard time range will be used as a filter for the query. Otherwise the query time ranges will be used. Defaults to false.' } }, - withDashboardTime(value=true): { azureLogAnalytics+: { dashboardTime: value } }, + withDashboardTime(value=true): { + azureLogAnalytics+: { + dashboardTime: value, + }, + }, '#withIntersectTime': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '@deprecated Use dashboardTime instead' } }, - withIntersectTime(value=true): { azureLogAnalytics+: { intersectTime: value } }, + withIntersectTime(value=true): { + azureLogAnalytics+: { + intersectTime: value, + }, + }, '#withQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'KQL query to be executed.' } }, - withQuery(value): { azureLogAnalytics+: { query: value } }, + withQuery(value): { + azureLogAnalytics+: { + query: value, + }, + }, '#withResource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '@deprecated Use resources instead' } }, - withResource(value): { azureLogAnalytics+: { resource: value } }, + withResource(value): { + azureLogAnalytics+: { + resource: value, + }, + }, '#withResources': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Array of resource URIs to be queried.' } }, - withResources(value): { azureLogAnalytics+: { resources: (if std.isArray(value) - then value - else [value]) } }, + withResources(value): { + azureLogAnalytics+: { + resources: + (if std.isArray(value) + then value + else [value]), + }, + }, '#withResourcesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Array of resource URIs to be queried.' } }, - withResourcesMixin(value): { azureLogAnalytics+: { resources+: (if std.isArray(value) - then value - else [value]) } }, - '#withResultFormat': { 'function': { args: [{ default: null, enums: ['table', 'time_series', 'trace', 'logs'], name: 'value', type: ['string'] }], help: '' } }, - withResultFormat(value): { azureLogAnalytics+: { resultFormat: value } }, + withResourcesMixin(value): { + azureLogAnalytics+: { + resources+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResultFormat': { 'function': { args: [{ default: null, enums: ['table', 'time_series', 'trace', 'logs'], name: 'value', type: ['string'] }], help: 'Specifies the format results should be returned as.' } }, + withResultFormat(value): { + azureLogAnalytics+: { + resultFormat: value, + }, + }, '#withTimeColumn': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'If dashboardTime is set to true this value dictates which column the time filter will be applied to. Defaults to the first tables timeSpan column, the first datetime column found, or TimeGenerated' } }, - withTimeColumn(value): { azureLogAnalytics+: { timeColumn: value } }, + withTimeColumn(value): { + azureLogAnalytics+: { + timeColumn: value, + }, + }, '#withWorkspace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Workspace ID. This was removed in Grafana 8, but remains for backwards compat.' } }, - withWorkspace(value): { azureLogAnalytics+: { workspace: value } }, + withWorkspace(value): { + azureLogAnalytics+: { + workspace: value, + }, + }, }, - '#withAzureMonitor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withAzureMonitor(value): { azureMonitor: value }, - '#withAzureMonitorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withAzureMonitorMixin(value): { azureMonitor+: value }, + '#withAzureMonitor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Azure Monitor Metrics sub-query properties.' } }, + withAzureMonitor(value): { + azureMonitor: value, + }, + '#withAzureMonitorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Azure Monitor Metrics sub-query properties.' } }, + withAzureMonitorMixin(value): { + azureMonitor+: value, + }, azureMonitor+: { '#withAggregation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The aggregation to be used within the query. Defaults to the primaryAggregationType defined by the metric.' } }, - withAggregation(value): { azureMonitor+: { aggregation: value } }, + withAggregation(value): { + azureMonitor+: { + aggregation: value, + }, + }, '#withAlias': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Aliases can be set to modify the legend labels. e.g. {{ resourceGroup }}. See docs for more detail.' } }, - withAlias(value): { azureMonitor+: { alias: value } }, + withAlias(value): { + azureMonitor+: { + alias: value, + }, + }, '#withAllowedTimeGrainsMs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Time grains that are supported by the metric.' } }, - withAllowedTimeGrainsMs(value): { azureMonitor+: { allowedTimeGrainsMs: (if std.isArray(value) - then value - else [value]) } }, + withAllowedTimeGrainsMs(value): { + azureMonitor+: { + allowedTimeGrainsMs: + (if std.isArray(value) + then value + else [value]), + }, + }, '#withAllowedTimeGrainsMsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Time grains that are supported by the metric.' } }, - withAllowedTimeGrainsMsMixin(value): { azureMonitor+: { allowedTimeGrainsMs+: (if std.isArray(value) - then value - else [value]) } }, + withAllowedTimeGrainsMsMixin(value): { + azureMonitor+: { + allowedTimeGrainsMs+: + (if std.isArray(value) + then value + else [value]), + }, + }, '#withCustomNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "Used as the value for the metricNamespace property when it's different from the resource namespace." } }, - withCustomNamespace(value): { azureMonitor+: { customNamespace: value } }, + withCustomNamespace(value): { + azureMonitor+: { + customNamespace: value, + }, + }, '#withDimension': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '@deprecated This property was migrated to dimensionFilters and should only be accessed in the migration' } }, - withDimension(value): { azureMonitor+: { dimension: value } }, + withDimension(value): { + azureMonitor+: { + dimension: value, + }, + }, '#withDimensionFilter': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '@deprecated This property was migrated to dimensionFilters and should only be accessed in the migration' } }, - withDimensionFilter(value): { azureMonitor+: { dimensionFilter: value } }, + withDimensionFilter(value): { + azureMonitor+: { + dimensionFilter: value, + }, + }, '#withDimensionFilters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Filters to reduce the set of data returned. Dimensions that can be filtered on are defined by the metric.' } }, - withDimensionFilters(value): { azureMonitor+: { dimensionFilters: (if std.isArray(value) - then value - else [value]) } }, + withDimensionFilters(value): { + azureMonitor+: { + dimensionFilters: + (if std.isArray(value) + then value + else [value]), + }, + }, '#withDimensionFiltersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Filters to reduce the set of data returned. Dimensions that can be filtered on are defined by the metric.' } }, - withDimensionFiltersMixin(value): { azureMonitor+: { dimensionFilters+: (if std.isArray(value) - then value - else [value]) } }, + withDimensionFiltersMixin(value): { + azureMonitor+: { + dimensionFilters+: + (if std.isArray(value) + then value + else [value]), + }, + }, dimensionFilters+: { '#': { help: '', name: 'dimensionFilters' }, '#withDimension': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of Dimension to be filtered on.' } }, - withDimension(value): { dimension: value }, + withDimension(value): { + dimension: value, + }, '#withFilter': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '@deprecated filter is deprecated in favour of filters to support multiselect.' } }, - withFilter(value): { filter: value }, + withFilter(value): { + filter: value, + }, '#withFilters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Values to match with the filter.' } }, - withFilters(value): { filters: (if std.isArray(value) - then value - else [value]) }, + withFilters(value): { + filters: + (if std.isArray(value) + then value + else [value]), + }, '#withFiltersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Values to match with the filter.' } }, - withFiltersMixin(value): { filters+: (if std.isArray(value) - then value - else [value]) }, + withFiltersMixin(value): { + filters+: + (if std.isArray(value) + then value + else [value]), + }, '#withOperator': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "String denoting the filter operation. Supports 'eq' - equals,'ne' - not equals, 'sw' - starts with. Note that some dimensions may not support all operators." } }, - withOperator(value): { operator: value }, + withOperator(value): { + operator: value, + }, }, '#withMetricDefinition': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '@deprecated Use metricNamespace instead' } }, - withMetricDefinition(value): { azureMonitor+: { metricDefinition: value } }, + withMetricDefinition(value): { + azureMonitor+: { + metricDefinition: value, + }, + }, '#withMetricName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The metric to query data for within the specified metricNamespace. e.g. UsedCapacity' } }, - withMetricName(value): { azureMonitor+: { metricName: value } }, + withMetricName(value): { + azureMonitor+: { + metricName: value, + }, + }, '#withMetricNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "metricNamespace is used as the resource type (or resource namespace).\nIt's usually equal to the target metric namespace. e.g. microsoft.storage/storageaccounts\nKept the name of the variable as metricNamespace to avoid backward incompatibility issues." } }, - withMetricNamespace(value): { azureMonitor+: { metricNamespace: value } }, + withMetricNamespace(value): { + azureMonitor+: { + metricNamespace: value, + }, + }, '#withRegion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The Azure region containing the resource(s).' } }, - withRegion(value): { azureMonitor+: { region: value } }, + withRegion(value): { + azureMonitor+: { + region: value, + }, + }, '#withResourceGroup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '@deprecated Use resources instead' } }, - withResourceGroup(value): { azureMonitor+: { resourceGroup: value } }, + withResourceGroup(value): { + azureMonitor+: { + resourceGroup: value, + }, + }, '#withResourceName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '@deprecated Use resources instead' } }, - withResourceName(value): { azureMonitor+: { resourceName: value } }, + withResourceName(value): { + azureMonitor+: { + resourceName: value, + }, + }, '#withResourceUri': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '@deprecated Use resourceGroup, resourceName and metricNamespace instead' } }, - withResourceUri(value): { azureMonitor+: { resourceUri: value } }, + withResourceUri(value): { + azureMonitor+: { + resourceUri: value, + }, + }, '#withResources': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Array of resource URIs to be queried.' } }, - withResources(value): { azureMonitor+: { resources: (if std.isArray(value) - then value - else [value]) } }, + withResources(value): { + azureMonitor+: { + resources: + (if std.isArray(value) + then value + else [value]), + }, + }, '#withResourcesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Array of resource URIs to be queried.' } }, - withResourcesMixin(value): { azureMonitor+: { resources+: (if std.isArray(value) - then value - else [value]) } }, + withResourcesMixin(value): { + azureMonitor+: { + resources+: + (if std.isArray(value) + then value + else [value]), + }, + }, resources+: { '#': { help: '', name: 'resources' }, '#withMetricNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withMetricNamespace(value): { metricNamespace: value }, + withMetricNamespace(value): { + metricNamespace: value, + }, '#withRegion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withRegion(value): { region: value }, + withRegion(value): { + region: value, + }, '#withResourceGroup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withResourceGroup(value): { resourceGroup: value }, + withResourceGroup(value): { + resourceGroup: value, + }, '#withResourceName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withResourceName(value): { resourceName: value }, + withResourceName(value): { + resourceName: value, + }, '#withSubscription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withSubscription(value): { subscription: value }, + withSubscription(value): { + subscription: value, + }, }, '#withTimeGrain': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The granularity of data points to be queried. Defaults to auto.' } }, - withTimeGrain(value): { azureMonitor+: { timeGrain: value } }, + withTimeGrain(value): { + azureMonitor+: { + timeGrain: value, + }, + }, '#withTimeGrainUnit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '@deprecated' } }, - withTimeGrainUnit(value): { azureMonitor+: { timeGrainUnit: value } }, + withTimeGrainUnit(value): { + azureMonitor+: { + timeGrainUnit: value, + }, + }, '#withTop': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Maximum number of records to return. Defaults to 10.' } }, - withTop(value): { azureMonitor+: { top: value } }, + withTop(value): { + azureMonitor+: { + top: value, + }, + }, }, - '#withAzureResourceGraph': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withAzureResourceGraph(value): { azureResourceGraph: value }, - '#withAzureResourceGraphMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withAzureResourceGraphMixin(value): { azureResourceGraph+: value }, + '#withAzureResourceGraph': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Azure Resource Graph sub-query properties.' } }, + withAzureResourceGraph(value): { + azureResourceGraph: value, + }, + '#withAzureResourceGraphMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Azure Resource Graph sub-query properties.' } }, + withAzureResourceGraphMixin(value): { + azureResourceGraph+: value, + }, azureResourceGraph+: { '#withQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Azure Resource Graph KQL query to be executed.' } }, - withQuery(value): { azureResourceGraph+: { query: value } }, + withQuery(value): { + azureResourceGraph+: { + query: value, + }, + }, '#withResultFormat': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specifies the format results should be returned as. Defaults to table.' } }, - withResultFormat(value): { azureResourceGraph+: { resultFormat: value } }, + withResultFormat(value): { + azureResourceGraph+: { + resultFormat: value, + }, + }, }, '#withAzureTraces': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Application Insights Traces sub-query properties' } }, - withAzureTraces(value): { azureTraces: value }, + withAzureTraces(value): { + azureTraces: value, + }, '#withAzureTracesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Application Insights Traces sub-query properties' } }, - withAzureTracesMixin(value): { azureTraces+: value }, + withAzureTracesMixin(value): { + azureTraces+: value, + }, azureTraces+: { '#withFilters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Filters for property values.' } }, - withFilters(value): { azureTraces+: { filters: (if std.isArray(value) - then value - else [value]) } }, + withFilters(value): { + azureTraces+: { + filters: + (if std.isArray(value) + then value + else [value]), + }, + }, '#withFiltersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Filters for property values.' } }, - withFiltersMixin(value): { azureTraces+: { filters+: (if std.isArray(value) - then value - else [value]) } }, + withFiltersMixin(value): { + azureTraces+: { + filters+: + (if std.isArray(value) + then value + else [value]), + }, + }, filters+: { '#': { help: '', name: 'filters' }, '#withFilters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Values to filter by.' } }, - withFilters(value): { filters: (if std.isArray(value) - then value - else [value]) }, + withFilters(value): { + filters: + (if std.isArray(value) + then value + else [value]), + }, '#withFiltersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Values to filter by.' } }, - withFiltersMixin(value): { filters+: (if std.isArray(value) - then value - else [value]) }, + withFiltersMixin(value): { + filters+: + (if std.isArray(value) + then value + else [value]), + }, '#withOperation': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Comparison operator to use. Either equals or not equals.' } }, - withOperation(value): { operation: value }, + withOperation(value): { + operation: value, + }, '#withProperty': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Property name, auto-populated based on available traces.' } }, - withProperty(value): { property: value }, + withProperty(value): { + property: value, + }, }, '#withOperationId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Operation ID. Used only for Traces queries.' } }, - withOperationId(value): { azureTraces+: { operationId: value } }, + withOperationId(value): { + azureTraces+: { + operationId: value, + }, + }, '#withQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'KQL query to be executed.' } }, - withQuery(value): { azureTraces+: { query: value } }, + withQuery(value): { + azureTraces+: { + query: value, + }, + }, '#withResources': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Array of resource URIs to be queried.' } }, - withResources(value): { azureTraces+: { resources: (if std.isArray(value) - then value - else [value]) } }, + withResources(value): { + azureTraces+: { + resources: + (if std.isArray(value) + then value + else [value]), + }, + }, '#withResourcesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Array of resource URIs to be queried.' } }, - withResourcesMixin(value): { azureTraces+: { resources+: (if std.isArray(value) - then value - else [value]) } }, - '#withResultFormat': { 'function': { args: [{ default: null, enums: ['table', 'time_series', 'trace', 'logs'], name: 'value', type: ['string'] }], help: '' } }, - withResultFormat(value): { azureTraces+: { resultFormat: value } }, + withResourcesMixin(value): { + azureTraces+: { + resources+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withResultFormat': { 'function': { args: [{ default: null, enums: ['table', 'time_series', 'trace', 'logs'], name: 'value', type: ['string'] }], help: 'Specifies the format results should be returned as.' } }, + withResultFormat(value): { + azureTraces+: { + resultFormat: value, + }, + }, '#withTraceTypes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Types of events to filter by.' } }, - withTraceTypes(value): { azureTraces+: { traceTypes: (if std.isArray(value) - then value - else [value]) } }, + withTraceTypes(value): { + azureTraces+: { + traceTypes: + (if std.isArray(value) + then value + else [value]), + }, + }, '#withTraceTypesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Types of events to filter by.' } }, - withTraceTypesMixin(value): { azureTraces+: { traceTypes+: (if std.isArray(value) - then value - else [value]) } }, + withTraceTypesMixin(value): { + azureTraces+: { + traceTypes+: + (if std.isArray(value) + then value + else [value]), + }, + }, }, - '#withGrafanaTemplateVariableFn': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withGrafanaTemplateVariableFn(value): { grafanaTemplateVariableFn: value }, - '#withGrafanaTemplateVariableFnMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withGrafanaTemplateVariableFnMixin(value): { grafanaTemplateVariableFn+: value }, + '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, + withDatasource(value): { + datasource: value, + }, + '#withDatasourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, + withDatasourceMixin(value): { + datasource+: value, + }, + '#withGrafanaTemplateVariableFn': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object', 'object', 'object', 'object', 'object', 'object', 'object', 'object', 'object', 'object'] }], help: '@deprecated Legacy template variable support.' } }, + withGrafanaTemplateVariableFn(value): { + grafanaTemplateVariableFn: value, + }, + '#withGrafanaTemplateVariableFnMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object', 'object', 'object', 'object', 'object', 'object', 'object', 'object', 'object', 'object'] }], help: '@deprecated Legacy template variable support.' } }, + withGrafanaTemplateVariableFnMixin(value): { + grafanaTemplateVariableFn+: value, + }, grafanaTemplateVariableFn+: { '#withAppInsightsMetricNameQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withAppInsightsMetricNameQuery(value): { grafanaTemplateVariableFn+: { AppInsightsMetricNameQuery: value } }, + withAppInsightsMetricNameQuery(value): { + grafanaTemplateVariableFn+: { + AppInsightsMetricNameQuery: value, + }, + }, '#withAppInsightsMetricNameQueryMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withAppInsightsMetricNameQueryMixin(value): { grafanaTemplateVariableFn+: { AppInsightsMetricNameQuery+: value } }, + withAppInsightsMetricNameQueryMixin(value): { + grafanaTemplateVariableFn+: { + AppInsightsMetricNameQuery+: value, + }, + }, AppInsightsMetricNameQuery+: { + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + grafanaTemplateVariableFn+: { + kind: 'AppInsightsMetricNameQuery', + }, + }, '#withRawQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withRawQuery(value): { grafanaTemplateVariableFn+: { rawQuery: value } }, - '#withKind': { 'function': { args: [{ default: null, enums: ['AppInsightsMetricNameQuery'], name: 'value', type: ['string'] }], help: '' } }, - withKind(value): { grafanaTemplateVariableFn+: { kind: value } }, + withRawQuery(value): { + grafanaTemplateVariableFn+: { + rawQuery: value, + }, + }, }, '#withAppInsightsGroupByQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withAppInsightsGroupByQuery(value): { grafanaTemplateVariableFn+: { AppInsightsGroupByQuery: value } }, + withAppInsightsGroupByQuery(value): { + grafanaTemplateVariableFn+: { + AppInsightsGroupByQuery: value, + }, + }, '#withAppInsightsGroupByQueryMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withAppInsightsGroupByQueryMixin(value): { grafanaTemplateVariableFn+: { AppInsightsGroupByQuery+: value } }, + withAppInsightsGroupByQueryMixin(value): { + grafanaTemplateVariableFn+: { + AppInsightsGroupByQuery+: value, + }, + }, AppInsightsGroupByQuery+: { - '#withRawQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withRawQuery(value): { grafanaTemplateVariableFn+: { rawQuery: value } }, - '#withKind': { 'function': { args: [{ default: null, enums: ['AppInsightsGroupByQuery'], name: 'value', type: ['string'] }], help: '' } }, - withKind(value): { grafanaTemplateVariableFn+: { kind: value } }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + grafanaTemplateVariableFn+: { + kind: 'AppInsightsGroupByQuery', + }, + }, '#withMetricName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withMetricName(value): { grafanaTemplateVariableFn+: { metricName: value } }, + withMetricName(value): { + grafanaTemplateVariableFn+: { + metricName: value, + }, + }, + '#withRawQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withRawQuery(value): { + grafanaTemplateVariableFn+: { + rawQuery: value, + }, + }, }, '#withSubscriptionsQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSubscriptionsQuery(value): { grafanaTemplateVariableFn+: { SubscriptionsQuery: value } }, + withSubscriptionsQuery(value): { + grafanaTemplateVariableFn+: { + SubscriptionsQuery: value, + }, + }, '#withSubscriptionsQueryMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSubscriptionsQueryMixin(value): { grafanaTemplateVariableFn+: { SubscriptionsQuery+: value } }, + withSubscriptionsQueryMixin(value): { + grafanaTemplateVariableFn+: { + SubscriptionsQuery+: value, + }, + }, SubscriptionsQuery+: { + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + grafanaTemplateVariableFn+: { + kind: 'SubscriptionsQuery', + }, + }, '#withRawQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withRawQuery(value): { grafanaTemplateVariableFn+: { rawQuery: value } }, - '#withKind': { 'function': { args: [{ default: null, enums: ['SubscriptionsQuery'], name: 'value', type: ['string'] }], help: '' } }, - withKind(value): { grafanaTemplateVariableFn+: { kind: value } }, + withRawQuery(value): { + grafanaTemplateVariableFn+: { + rawQuery: value, + }, + }, }, '#withResourceGroupsQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withResourceGroupsQuery(value): { grafanaTemplateVariableFn+: { ResourceGroupsQuery: value } }, + withResourceGroupsQuery(value): { + grafanaTemplateVariableFn+: { + ResourceGroupsQuery: value, + }, + }, '#withResourceGroupsQueryMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withResourceGroupsQueryMixin(value): { grafanaTemplateVariableFn+: { ResourceGroupsQuery+: value } }, + withResourceGroupsQueryMixin(value): { + grafanaTemplateVariableFn+: { + ResourceGroupsQuery+: value, + }, + }, ResourceGroupsQuery+: { + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + grafanaTemplateVariableFn+: { + kind: 'ResourceGroupsQuery', + }, + }, '#withRawQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withRawQuery(value): { grafanaTemplateVariableFn+: { rawQuery: value } }, - '#withKind': { 'function': { args: [{ default: null, enums: ['ResourceGroupsQuery'], name: 'value', type: ['string'] }], help: '' } }, - withKind(value): { grafanaTemplateVariableFn+: { kind: value } }, + withRawQuery(value): { + grafanaTemplateVariableFn+: { + rawQuery: value, + }, + }, '#withSubscription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withSubscription(value): { grafanaTemplateVariableFn+: { subscription: value } }, + withSubscription(value): { + grafanaTemplateVariableFn+: { + subscription: value, + }, + }, }, '#withResourceNamesQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withResourceNamesQuery(value): { grafanaTemplateVariableFn+: { ResourceNamesQuery: value } }, + withResourceNamesQuery(value): { + grafanaTemplateVariableFn+: { + ResourceNamesQuery: value, + }, + }, '#withResourceNamesQueryMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withResourceNamesQueryMixin(value): { grafanaTemplateVariableFn+: { ResourceNamesQuery+: value } }, + withResourceNamesQueryMixin(value): { + grafanaTemplateVariableFn+: { + ResourceNamesQuery+: value, + }, + }, ResourceNamesQuery+: { - '#withRawQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withRawQuery(value): { grafanaTemplateVariableFn+: { rawQuery: value } }, - '#withKind': { 'function': { args: [{ default: null, enums: ['ResourceNamesQuery'], name: 'value', type: ['string'] }], help: '' } }, - withKind(value): { grafanaTemplateVariableFn+: { kind: value } }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + grafanaTemplateVariableFn+: { + kind: 'ResourceNamesQuery', + }, + }, '#withMetricNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withMetricNamespace(value): { grafanaTemplateVariableFn+: { metricNamespace: value } }, + withMetricNamespace(value): { + grafanaTemplateVariableFn+: { + metricNamespace: value, + }, + }, + '#withRawQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withRawQuery(value): { + grafanaTemplateVariableFn+: { + rawQuery: value, + }, + }, '#withResourceGroup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withResourceGroup(value): { grafanaTemplateVariableFn+: { resourceGroup: value } }, + withResourceGroup(value): { + grafanaTemplateVariableFn+: { + resourceGroup: value, + }, + }, '#withSubscription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withSubscription(value): { grafanaTemplateVariableFn+: { subscription: value } }, + withSubscription(value): { + grafanaTemplateVariableFn+: { + subscription: value, + }, + }, }, '#withMetricNamespaceQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMetricNamespaceQuery(value): { grafanaTemplateVariableFn+: { MetricNamespaceQuery: value } }, + withMetricNamespaceQuery(value): { + grafanaTemplateVariableFn+: { + MetricNamespaceQuery: value, + }, + }, '#withMetricNamespaceQueryMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMetricNamespaceQueryMixin(value): { grafanaTemplateVariableFn+: { MetricNamespaceQuery+: value } }, + withMetricNamespaceQueryMixin(value): { + grafanaTemplateVariableFn+: { + MetricNamespaceQuery+: value, + }, + }, MetricNamespaceQuery+: { - '#withRawQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withRawQuery(value): { grafanaTemplateVariableFn+: { rawQuery: value } }, - '#withKind': { 'function': { args: [{ default: null, enums: ['MetricNamespaceQuery'], name: 'value', type: ['string'] }], help: '' } }, - withKind(value): { grafanaTemplateVariableFn+: { kind: value } }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + grafanaTemplateVariableFn+: { + kind: 'MetricNamespaceQuery', + }, + }, '#withMetricNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withMetricNamespace(value): { grafanaTemplateVariableFn+: { metricNamespace: value } }, + withMetricNamespace(value): { + grafanaTemplateVariableFn+: { + metricNamespace: value, + }, + }, + '#withRawQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withRawQuery(value): { + grafanaTemplateVariableFn+: { + rawQuery: value, + }, + }, '#withResourceGroup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withResourceGroup(value): { grafanaTemplateVariableFn+: { resourceGroup: value } }, + withResourceGroup(value): { + grafanaTemplateVariableFn+: { + resourceGroup: value, + }, + }, '#withResourceName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withResourceName(value): { grafanaTemplateVariableFn+: { resourceName: value } }, + withResourceName(value): { + grafanaTemplateVariableFn+: { + resourceName: value, + }, + }, '#withSubscription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withSubscription(value): { grafanaTemplateVariableFn+: { subscription: value } }, + withSubscription(value): { + grafanaTemplateVariableFn+: { + subscription: value, + }, + }, }, '#withMetricDefinitionsQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '@deprecated Use MetricNamespaceQuery instead' } }, - withMetricDefinitionsQuery(value): { grafanaTemplateVariableFn+: { MetricDefinitionsQuery: value } }, + withMetricDefinitionsQuery(value): { + grafanaTemplateVariableFn+: { + MetricDefinitionsQuery: value, + }, + }, '#withMetricDefinitionsQueryMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '@deprecated Use MetricNamespaceQuery instead' } }, - withMetricDefinitionsQueryMixin(value): { grafanaTemplateVariableFn+: { MetricDefinitionsQuery+: value } }, + withMetricDefinitionsQueryMixin(value): { + grafanaTemplateVariableFn+: { + MetricDefinitionsQuery+: value, + }, + }, MetricDefinitionsQuery+: { - '#withRawQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withRawQuery(value): { grafanaTemplateVariableFn+: { rawQuery: value } }, - '#withKind': { 'function': { args: [{ default: null, enums: ['MetricDefinitionsQuery'], name: 'value', type: ['string'] }], help: '' } }, - withKind(value): { grafanaTemplateVariableFn+: { kind: value } }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + grafanaTemplateVariableFn+: { + kind: 'MetricDefinitionsQuery', + }, + }, '#withMetricNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withMetricNamespace(value): { grafanaTemplateVariableFn+: { metricNamespace: value } }, + withMetricNamespace(value): { + grafanaTemplateVariableFn+: { + metricNamespace: value, + }, + }, + '#withRawQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withRawQuery(value): { + grafanaTemplateVariableFn+: { + rawQuery: value, + }, + }, '#withResourceGroup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withResourceGroup(value): { grafanaTemplateVariableFn+: { resourceGroup: value } }, + withResourceGroup(value): { + grafanaTemplateVariableFn+: { + resourceGroup: value, + }, + }, '#withResourceName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withResourceName(value): { grafanaTemplateVariableFn+: { resourceName: value } }, + withResourceName(value): { + grafanaTemplateVariableFn+: { + resourceName: value, + }, + }, '#withSubscription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withSubscription(value): { grafanaTemplateVariableFn+: { subscription: value } }, + withSubscription(value): { + grafanaTemplateVariableFn+: { + subscription: value, + }, + }, }, '#withMetricNamesQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMetricNamesQuery(value): { grafanaTemplateVariableFn+: { MetricNamesQuery: value } }, + withMetricNamesQuery(value): { + grafanaTemplateVariableFn+: { + MetricNamesQuery: value, + }, + }, '#withMetricNamesQueryMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMetricNamesQueryMixin(value): { grafanaTemplateVariableFn+: { MetricNamesQuery+: value } }, + withMetricNamesQueryMixin(value): { + grafanaTemplateVariableFn+: { + MetricNamesQuery+: value, + }, + }, MetricNamesQuery+: { - '#withRawQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withRawQuery(value): { grafanaTemplateVariableFn+: { rawQuery: value } }, - '#withKind': { 'function': { args: [{ default: null, enums: ['MetricNamesQuery'], name: 'value', type: ['string'] }], help: '' } }, - withKind(value): { grafanaTemplateVariableFn+: { kind: value } }, + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + grafanaTemplateVariableFn+: { + kind: 'MetricNamesQuery', + }, + }, '#withMetricNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withMetricNamespace(value): { grafanaTemplateVariableFn+: { metricNamespace: value } }, + withMetricNamespace(value): { + grafanaTemplateVariableFn+: { + metricNamespace: value, + }, + }, + '#withRawQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withRawQuery(value): { + grafanaTemplateVariableFn+: { + rawQuery: value, + }, + }, '#withResourceGroup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withResourceGroup(value): { grafanaTemplateVariableFn+: { resourceGroup: value } }, + withResourceGroup(value): { + grafanaTemplateVariableFn+: { + resourceGroup: value, + }, + }, '#withResourceName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withResourceName(value): { grafanaTemplateVariableFn+: { resourceName: value } }, + withResourceName(value): { + grafanaTemplateVariableFn+: { + resourceName: value, + }, + }, '#withSubscription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withSubscription(value): { grafanaTemplateVariableFn+: { subscription: value } }, + withSubscription(value): { + grafanaTemplateVariableFn+: { + subscription: value, + }, + }, }, '#withWorkspacesQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWorkspacesQuery(value): { grafanaTemplateVariableFn+: { WorkspacesQuery: value } }, + withWorkspacesQuery(value): { + grafanaTemplateVariableFn+: { + WorkspacesQuery: value, + }, + }, '#withWorkspacesQueryMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWorkspacesQueryMixin(value): { grafanaTemplateVariableFn+: { WorkspacesQuery+: value } }, + withWorkspacesQueryMixin(value): { + grafanaTemplateVariableFn+: { + WorkspacesQuery+: value, + }, + }, WorkspacesQuery+: { + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + grafanaTemplateVariableFn+: { + kind: 'WorkspacesQuery', + }, + }, '#withRawQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withRawQuery(value): { grafanaTemplateVariableFn+: { rawQuery: value } }, - '#withKind': { 'function': { args: [{ default: null, enums: ['WorkspacesQuery'], name: 'value', type: ['string'] }], help: '' } }, - withKind(value): { grafanaTemplateVariableFn+: { kind: value } }, + withRawQuery(value): { + grafanaTemplateVariableFn+: { + rawQuery: value, + }, + }, '#withSubscription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withSubscription(value): { grafanaTemplateVariableFn+: { subscription: value } }, + withSubscription(value): { + grafanaTemplateVariableFn+: { + subscription: value, + }, + }, }, '#withUnknownQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withUnknownQuery(value): { grafanaTemplateVariableFn+: { UnknownQuery: value } }, + withUnknownQuery(value): { + grafanaTemplateVariableFn+: { + UnknownQuery: value, + }, + }, '#withUnknownQueryMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withUnknownQueryMixin(value): { grafanaTemplateVariableFn+: { UnknownQuery+: value } }, + withUnknownQueryMixin(value): { + grafanaTemplateVariableFn+: { + UnknownQuery+: value, + }, + }, UnknownQuery+: { + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + grafanaTemplateVariableFn+: { + kind: 'UnknownQuery', + }, + }, '#withRawQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withRawQuery(value): { grafanaTemplateVariableFn+: { rawQuery: value } }, - '#withKind': { 'function': { args: [{ default: null, enums: ['UnknownQuery'], name: 'value', type: ['string'] }], help: '' } }, - withKind(value): { grafanaTemplateVariableFn+: { kind: value } }, + withRawQuery(value): { + grafanaTemplateVariableFn+: { + rawQuery: value, + }, + }, }, }, + '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If hide is set to true, Grafana will filter out the response(s) associated with this query before returning it to the panel.' } }, + withHide(value=true): { + hide: value, + }, '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withNamespace(value): { namespace: value }, - '#withRegion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Azure Monitor query type.\nqueryType: #AzureQueryType' } }, - withRegion(value): { region: value }, + withNamespace(value): { + namespace: value, + }, + '#withQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Used only for exemplar queries from Prometheus' } }, + withQuery(value): { + query: value, + }, + '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specify the query flavor\nTODO make this required and give it a default' } }, + withQueryType(value): { + queryType: value, + }, + '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A unique identifier for the query within the list of targets.\nIn server side expressions, the refId is used as a variable name to identify results.\nBy default, the UI will assign A->Z; however setting meaningful names may be useful.' } }, + withRefId(value): { + refId: value, + }, + '#withRegion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withRegion(value): { + region: value, + }, '#withResource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withResource(value): { resource: value }, + withResource(value): { + resource: value, + }, '#withResourceGroup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Template variables params. These exist for backwards compatiblity with legacy template variables.' } }, - withResourceGroup(value): { resourceGroup: value }, + withResourceGroup(value): { + resourceGroup: value, + }, '#withSubscription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Azure subscription containing the resource(s) to be queried.' } }, - withSubscription(value): { subscription: value }, + withSubscription(value): { + subscription: value, + }, '#withSubscriptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Subscriptions to be queried via Azure Resource Graph.' } }, - withSubscriptions(value): { subscriptions: (if std.isArray(value) - then value - else [value]) }, + withSubscriptions(value): { + subscriptions: + (if std.isArray(value) + then value + else [value]), + }, '#withSubscriptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Subscriptions to be queried via Azure Resource Graph.' } }, - withSubscriptionsMixin(value): { subscriptions+: (if std.isArray(value) - then value - else [value]) }, + withSubscriptionsMixin(value): { + subscriptions+: + (if std.isArray(value) + then value + else [value]), + }, } ++ (import '../custom/query/azureMonitor.libsonnet') diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/cloudWatch.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/cloudWatch.libsonnet similarity index 50% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/cloudWatch.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/cloudWatch.libsonnet index 53efbab..17cd7fe 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/cloudWatch.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/cloudWatch.libsonnet @@ -3,308 +3,691 @@ '#': { help: 'grafonnet.query.cloudWatch', name: 'cloudWatch' }, CloudWatchAnnotationQuery+: { - '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, - withDatasource(value): { datasource: value }, - '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'true if query is disabled (ie should not be returned to the dashboard)\nNote this does not always imply that the query should not be executed since\nthe results from a hidden query may be used as the input to other queries (SSE etc)' } }, - withHide(value=true): { hide: value }, - '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specify the query flavor\nTODO make this required and give it a default' } }, - withQueryType(value): { queryType: value }, - '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A unique identifier for the query within the list of targets.\nIn server side expressions, the refId is used as a variable name to identify results.\nBy default, the UI will assign A->Z; however setting meaningful names may be useful.' } }, - withRefId(value): { refId: value }, '#withAccountId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The ID of the AWS account to query for the metric, specifying `all` will query all accounts that the monitoring account is permitted to query.' } }, - withAccountId(value): { accountId: value }, + withAccountId(value): { + accountId: value, + }, + '#withActionPrefix': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Use this parameter to filter the results of the operation to only those alarms\nthat use a certain alarm action. For example, you could specify the ARN of\nan SNS topic to find all alarms that send notifications to that topic.\ne.g. `arn:aws:sns:us-east-1:123456789012:my-app-` would match `arn:aws:sns:us-east-1:123456789012:my-app-action`\nbut not match `arn:aws:sns:us-east-1:123456789012:your-app-action`' } }, + withActionPrefix(value): { + actionPrefix: value, + }, + '#withAlarmNamePrefix': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An alarm name prefix. If you specify this parameter, you receive information\nabout all alarms that have names that start with this prefix.\ne.g. `my-team-service-` would match `my-team-service-high-cpu` but not match `your-team-service-high-cpu`' } }, + withAlarmNamePrefix(value): { + alarmNamePrefix: value, + }, + '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, + withDatasource(value): { + datasource: value, + }, + '#withDatasourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, + withDatasourceMixin(value): { + datasource+: value, + }, '#withDimensions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'A name/value pair that is part of the identity of a metric. For example, you can get statistics for a specific EC2 instance by specifying the InstanceId dimension when you search for metrics.' } }, - withDimensions(value): { dimensions: value }, + withDimensions(value): { + dimensions: value, + }, '#withDimensionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'A name/value pair that is part of the identity of a metric. For example, you can get statistics for a specific EC2 instance by specifying the InstanceId dimension when you search for metrics.' } }, - withDimensionsMixin(value): { dimensions+: value }, + withDimensionsMixin(value): { + dimensions+: value, + }, + '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If hide is set to true, Grafana will filter out the response(s) associated with this query before returning it to the panel.' } }, + withHide(value=true): { + hide: value, + }, '#withMatchExact': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Only show metrics that exactly match all defined dimension names.' } }, - withMatchExact(value=true): { matchExact: value }, + withMatchExact(value=true): { + matchExact: value, + }, '#withMetricName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the metric' } }, - withMetricName(value): { metricName: value }, + withMetricName(value): { + metricName: value, + }, '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A namespace is a container for CloudWatch metrics. Metrics in different namespaces are isolated from each other, so that metrics from different applications are not mistakenly aggregated into the same statistics. For example, Amazon EC2 uses the AWS/EC2 namespace.' } }, - withNamespace(value): { namespace: value }, + withNamespace(value): { + namespace: value, + }, '#withPeriod': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "The length of time associated with a specific Amazon CloudWatch statistic. Can be specified by a number of seconds, 'auto', or as a duration string e.g. '15m' being 15 minutes" } }, - withPeriod(value): { period: value }, + withPeriod(value): { + period: value, + }, + '#withPrefixMatching': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Enable matching on the prefix of the action name or alarm name, specify the prefixes with actionPrefix and/or alarmNamePrefix' } }, + withPrefixMatching(value=true): { + prefixMatching: value, + }, + '#withQueryMode': { 'function': { args: [{ default: 'Annotations', enums: ['Metrics', 'Logs', 'Annotations'], name: 'value', type: ['string'] }], help: 'Whether a query is a Metrics, Logs, or Annotations query' } }, + withQueryMode(value='Annotations'): { + queryMode: value, + }, + '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specify the query flavor\nTODO make this required and give it a default' } }, + withQueryType(value): { + queryType: value, + }, + '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A unique identifier for the query within the list of targets.\nIn server side expressions, the refId is used as a variable name to identify results.\nBy default, the UI will assign A->Z; however setting meaningful names may be useful.' } }, + withRefId(value): { + refId: value, + }, '#withRegion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'AWS region to query for the metric' } }, - withRegion(value): { region: value }, + withRegion(value): { + region: value, + }, '#withStatistic': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Metric data aggregations over specified periods of time. For detailed definitions of the statistics supported by CloudWatch, see https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html.' } }, - withStatistic(value): { statistic: value }, + withStatistic(value): { + statistic: value, + }, '#withStatistics': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '@deprecated use statistic' } }, - withStatistics(value): { statistics: (if std.isArray(value) - then value - else [value]) }, + withStatistics(value): { + statistics: + (if std.isArray(value) + then value + else [value]), + }, '#withStatisticsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '@deprecated use statistic' } }, - withStatisticsMixin(value): { statistics+: (if std.isArray(value) - then value - else [value]) }, - '#withActionPrefix': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Use this parameter to filter the results of the operation to only those alarms\nthat use a certain alarm action. For example, you could specify the ARN of\nan SNS topic to find all alarms that send notifications to that topic.\ne.g. `arn:aws:sns:us-east-1:123456789012:my-app-` would match `arn:aws:sns:us-east-1:123456789012:my-app-action`\nbut not match `arn:aws:sns:us-east-1:123456789012:your-app-action`' } }, - withActionPrefix(value): { actionPrefix: value }, - '#withAlarmNamePrefix': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An alarm name prefix. If you specify this parameter, you receive information\nabout all alarms that have names that start with this prefix.\ne.g. `my-team-service-` would match `my-team-service-high-cpu` but not match `your-team-service-high-cpu`' } }, - withAlarmNamePrefix(value): { alarmNamePrefix: value }, - '#withPrefixMatching': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Enable matching on the prefix of the action name or alarm name, specify the prefixes with actionPrefix and/or alarmNamePrefix' } }, - withPrefixMatching(value=true): { prefixMatching: value }, - '#withQueryMode': { 'function': { args: [{ default: null, enums: ['Metrics', 'Logs', 'Annotations'], name: 'value', type: ['string'] }], help: '' } }, - withQueryMode(value): { queryMode: value }, + withStatisticsMixin(value): { + statistics+: + (if std.isArray(value) + then value + else [value]), + }, }, CloudWatchLogsQuery+: { - '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, - withDatasource(value): { datasource: value }, - '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'true if query is disabled (ie should not be returned to the dashboard)\nNote this does not always imply that the query should not be executed since\nthe results from a hidden query may be used as the input to other queries (SSE etc)' } }, - withHide(value=true): { hide: value }, - '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specify the query flavor\nTODO make this required and give it a default' } }, - withQueryType(value): { queryType: value }, - '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A unique identifier for the query within the list of targets.\nIn server side expressions, the refId is used as a variable name to identify results.\nBy default, the UI will assign A->Z; however setting meaningful names may be useful.' } }, - withRefId(value): { refId: value }, + '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, + withDatasource(value): { + datasource: value, + }, + '#withDatasourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, + withDatasourceMixin(value): { + datasource+: value, + }, '#withExpression': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The CloudWatch Logs Insights query to execute' } }, - withExpression(value): { expression: value }, + withExpression(value): { + expression: value, + }, + '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If hide is set to true, Grafana will filter out the response(s) associated with this query before returning it to the panel.' } }, + withHide(value=true): { + hide: value, + }, '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value): { id: value }, + withId(value): { + id: value, + }, '#withLogGroupNames': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '@deprecated use logGroups' } }, - withLogGroupNames(value): { logGroupNames: (if std.isArray(value) - then value - else [value]) }, + withLogGroupNames(value): { + logGroupNames: + (if std.isArray(value) + then value + else [value]), + }, '#withLogGroupNamesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '@deprecated use logGroups' } }, - withLogGroupNamesMixin(value): { logGroupNames+: (if std.isArray(value) - then value - else [value]) }, + withLogGroupNamesMixin(value): { + logGroupNames+: + (if std.isArray(value) + then value + else [value]), + }, '#withLogGroups': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Log groups to query' } }, - withLogGroups(value): { logGroups: (if std.isArray(value) - then value - else [value]) }, + withLogGroups(value): { + logGroups: + (if std.isArray(value) + then value + else [value]), + }, '#withLogGroupsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Log groups to query' } }, - withLogGroupsMixin(value): { logGroups+: (if std.isArray(value) - then value - else [value]) }, + withLogGroupsMixin(value): { + logGroups+: + (if std.isArray(value) + then value + else [value]), + }, logGroups+: { '#': { help: '', name: 'logGroups' }, '#withAccountId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'AccountId of the log group' } }, - withAccountId(value): { accountId: value }, + withAccountId(value): { + accountId: value, + }, '#withAccountLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Label of the log group' } }, - withAccountLabel(value): { accountLabel: value }, + withAccountLabel(value): { + accountLabel: value, + }, '#withArn': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'ARN of the log group' } }, - withArn(value): { arn: value }, + withArn(value): { + arn: value, + }, '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the log group' } }, - withName(value): { name: value }, + withName(value): { + name: value, + }, }, - '#withQueryMode': { 'function': { args: [{ default: null, enums: ['Metrics', 'Logs', 'Annotations'], name: 'value', type: ['string'] }], help: '' } }, - withQueryMode(value): { queryMode: value }, + '#withQueryMode': { 'function': { args: [{ default: 'Logs', enums: ['Metrics', 'Logs', 'Annotations'], name: 'value', type: ['string'] }], help: 'Whether a query is a Metrics, Logs, or Annotations query' } }, + withQueryMode(value='Logs'): { + queryMode: value, + }, + '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specify the query flavor\nTODO make this required and give it a default' } }, + withQueryType(value): { + queryType: value, + }, + '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A unique identifier for the query within the list of targets.\nIn server side expressions, the refId is used as a variable name to identify results.\nBy default, the UI will assign A->Z; however setting meaningful names may be useful.' } }, + withRefId(value): { + refId: value, + }, '#withRegion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'AWS region to query for the logs' } }, - withRegion(value): { region: value }, + withRegion(value): { + region: value, + }, '#withStatsGroups': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Fields to group the results by, this field is automatically populated whenever the query is updated' } }, - withStatsGroups(value): { statsGroups: (if std.isArray(value) - then value - else [value]) }, + withStatsGroups(value): { + statsGroups: + (if std.isArray(value) + then value + else [value]), + }, '#withStatsGroupsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Fields to group the results by, this field is automatically populated whenever the query is updated' } }, - withStatsGroupsMixin(value): { statsGroups+: (if std.isArray(value) - then value - else [value]) }, + withStatsGroupsMixin(value): { + statsGroups+: + (if std.isArray(value) + then value + else [value]), + }, }, CloudWatchMetricsQuery+: { - '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, - withDatasource(value): { datasource: value }, - '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'true if query is disabled (ie should not be returned to the dashboard)\nNote this does not always imply that the query should not be executed since\nthe results from a hidden query may be used as the input to other queries (SSE etc)' } }, - withHide(value=true): { hide: value }, - '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specify the query flavor\nTODO make this required and give it a default' } }, - withQueryType(value): { queryType: value }, - '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A unique identifier for the query within the list of targets.\nIn server side expressions, the refId is used as a variable name to identify results.\nBy default, the UI will assign A->Z; however setting meaningful names may be useful.' } }, - withRefId(value): { refId: value }, '#withAccountId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The ID of the AWS account to query for the metric, specifying `all` will query all accounts that the monitoring account is permitted to query.' } }, - withAccountId(value): { accountId: value }, + withAccountId(value): { + accountId: value, + }, + '#withAlias': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Deprecated: use label\n@deprecated use label' } }, + withAlias(value): { + alias: value, + }, + '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, + withDatasource(value): { + datasource: value, + }, + '#withDatasourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, + withDatasourceMixin(value): { + datasource+: value, + }, '#withDimensions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'A name/value pair that is part of the identity of a metric. For example, you can get statistics for a specific EC2 instance by specifying the InstanceId dimension when you search for metrics.' } }, - withDimensions(value): { dimensions: value }, + withDimensions(value): { + dimensions: value, + }, '#withDimensionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'A name/value pair that is part of the identity of a metric. For example, you can get statistics for a specific EC2 instance by specifying the InstanceId dimension when you search for metrics.' } }, - withDimensionsMixin(value): { dimensions+: value }, + withDimensionsMixin(value): { + dimensions+: value, + }, + '#withExpression': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Math expression query' } }, + withExpression(value): { + expression: value, + }, + '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If hide is set to true, Grafana will filter out the response(s) associated with this query before returning it to the panel.' } }, + withHide(value=true): { + hide: value, + }, + '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'ID can be used to reference other queries in math expressions. The ID can include numbers, letters, and underscore, and must start with a lowercase letter.' } }, + withId(value): { + id: value, + }, + '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Change the time series legend names using dynamic labels. See https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html for more details.' } }, + withLabel(value): { + label: value, + }, '#withMatchExact': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Only show metrics that exactly match all defined dimension names.' } }, - withMatchExact(value=true): { matchExact: value }, + withMatchExact(value=true): { + matchExact: value, + }, + '#withMetricEditorMode': { 'function': { args: [{ default: null, enums: [0, 1], name: 'value', type: ['string'] }], help: 'Whether to use the query builder or code editor to create the query' } }, + withMetricEditorMode(value): { + metricEditorMode: value, + }, '#withMetricName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the metric' } }, - withMetricName(value): { metricName: value }, + withMetricName(value): { + metricName: value, + }, + '#withMetricQueryType': { 'function': { args: [{ default: null, enums: [0, 1], name: 'value', type: ['string'] }], help: 'Whether to use a metric search or metric query. Metric query is referred to as "Metrics Insights" in the AWS console.' } }, + withMetricQueryType(value): { + metricQueryType: value, + }, '#withNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A namespace is a container for CloudWatch metrics. Metrics in different namespaces are isolated from each other, so that metrics from different applications are not mistakenly aggregated into the same statistics. For example, Amazon EC2 uses the AWS/EC2 namespace.' } }, - withNamespace(value): { namespace: value }, + withNamespace(value): { + namespace: value, + }, '#withPeriod': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "The length of time associated with a specific Amazon CloudWatch statistic. Can be specified by a number of seconds, 'auto', or as a duration string e.g. '15m' being 15 minutes" } }, - withPeriod(value): { period: value }, + withPeriod(value): { + period: value, + }, + '#withQueryMode': { 'function': { args: [{ default: 'Metrics', enums: ['Metrics', 'Logs', 'Annotations'], name: 'value', type: ['string'] }], help: 'Whether a query is a Metrics, Logs, or Annotations query' } }, + withQueryMode(value='Metrics'): { + queryMode: value, + }, + '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specify the query flavor\nTODO make this required and give it a default' } }, + withQueryType(value): { + queryType: value, + }, + '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A unique identifier for the query within the list of targets.\nIn server side expressions, the refId is used as a variable name to identify results.\nBy default, the UI will assign A->Z; however setting meaningful names may be useful.' } }, + withRefId(value): { + refId: value, + }, '#withRegion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'AWS region to query for the metric' } }, - withRegion(value): { region: value }, - '#withStatistic': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Metric data aggregations over specified periods of time. For detailed definitions of the statistics supported by CloudWatch, see https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html.' } }, - withStatistic(value): { statistic: value }, - '#withStatistics': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '@deprecated use statistic' } }, - withStatistics(value): { statistics: (if std.isArray(value) - then value - else [value]) }, - '#withStatisticsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '@deprecated use statistic' } }, - withStatisticsMixin(value): { statistics+: (if std.isArray(value) - then value - else [value]) }, - '#withAlias': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Deprecated: use label\n@deprecated use label' } }, - withAlias(value): { alias: value }, - '#withExpression': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Math expression query' } }, - withExpression(value): { expression: value }, - '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'ID can be used to reference other queries in math expressions. The ID can include numbers, letters, and underscore, and must start with a lowercase letter.' } }, - withId(value): { id: value }, - '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Change the time series legend names using dynamic labels. See https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html for more details.' } }, - withLabel(value): { label: value }, - '#withMetricEditorMode': { 'function': { args: [{ default: null, enums: [0, 1], name: 'value', type: ['integer'] }], help: '' } }, - withMetricEditorMode(value): { metricEditorMode: value }, - '#withMetricQueryType': { 'function': { args: [{ default: null, enums: [0, 1], name: 'value', type: ['integer'] }], help: '' } }, - withMetricQueryType(value): { metricQueryType: value }, - '#withQueryMode': { 'function': { args: [{ default: null, enums: ['Metrics', 'Logs', 'Annotations'], name: 'value', type: ['string'] }], help: '' } }, - withQueryMode(value): { queryMode: value }, - '#withSql': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSql(value): { sql: value }, - '#withSqlMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSqlMixin(value): { sql+: value }, + withRegion(value): { + region: value, + }, + '#withSql': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'When the metric query type is `metricQueryType` is set to `Query` and the `metricEditorMode` is set to `Builder`, this field is used to build up an object representation of a SQL query.' } }, + withSql(value): { + sql: value, + }, + '#withSqlMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'When the metric query type is `metricQueryType` is set to `Query` and the `metricEditorMode` is set to `Builder`, this field is used to build up an object representation of a SQL query.' } }, + withSqlMixin(value): { + sql+: value, + }, sql+: { - '#withFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'FROM part of the SQL expression' } }, - withFrom(value): { sql+: { from: value } }, - '#withFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'FROM part of the SQL expression' } }, - withFromMixin(value): { sql+: { from+: value } }, + '#withFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object', 'object'] }], help: 'FROM part of the SQL expression' } }, + withFrom(value): { + sql+: { + from: value, + }, + }, + '#withFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object', 'object'] }], help: 'FROM part of the SQL expression' } }, + withFromMixin(value): { + sql+: { + from+: value, + }, + }, from+: { '#withQueryEditorPropertyExpression': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withQueryEditorPropertyExpression(value): { sql+: { from+: { QueryEditorPropertyExpression: value } } }, + withQueryEditorPropertyExpression(value): { + sql+: { + from+: { + QueryEditorPropertyExpression: value, + }, + }, + }, '#withQueryEditorPropertyExpressionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withQueryEditorPropertyExpressionMixin(value): { sql+: { from+: { QueryEditorPropertyExpression+: value } } }, + withQueryEditorPropertyExpressionMixin(value): { + sql+: { + from+: { + QueryEditorPropertyExpression+: value, + }, + }, + }, QueryEditorPropertyExpression+: { '#withProperty': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withProperty(value): { sql+: { from+: { property: value } } }, + withProperty(value): { + sql+: { + from+: { + property: value, + }, + }, + }, '#withPropertyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withPropertyMixin(value): { sql+: { from+: { property+: value } } }, + withPropertyMixin(value): { + sql+: { + from+: { + property+: value, + }, + }, + }, property+: { '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { sql+: { from+: { property+: { name: value } } } }, + withName(value): { + sql+: { + from+: { + property+: { + name: value, + }, + }, + }, + }, '#withType': { 'function': { args: [{ default: null, enums: ['string'], name: 'value', type: ['string'] }], help: '' } }, - withType(value): { sql+: { from+: { property+: { type: value } } } }, + withType(value): { + sql+: { + from+: { + property+: { + type: value, + }, + }, + }, + }, }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { sql+: { from+: { type: value } } }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + sql+: { + from+: { + type: 'property', + }, + }, + }, }, '#withQueryEditorFunctionExpression': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withQueryEditorFunctionExpression(value): { sql+: { from+: { QueryEditorFunctionExpression: value } } }, + withQueryEditorFunctionExpression(value): { + sql+: { + from+: { + QueryEditorFunctionExpression: value, + }, + }, + }, '#withQueryEditorFunctionExpressionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withQueryEditorFunctionExpressionMixin(value): { sql+: { from+: { QueryEditorFunctionExpression+: value } } }, + withQueryEditorFunctionExpressionMixin(value): { + sql+: { + from+: { + QueryEditorFunctionExpression+: value, + }, + }, + }, QueryEditorFunctionExpression+: { '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { sql+: { from+: { name: value } } }, + withName(value): { + sql+: { + from+: { + name: value, + }, + }, + }, '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withParameters(value): { sql+: { from+: { parameters: (if std.isArray(value) - then value - else [value]) } } }, + withParameters(value): { + sql+: { + from+: { + parameters: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withParametersMixin(value): { sql+: { from+: { parameters+: (if std.isArray(value) - then value - else [value]) } } }, + withParametersMixin(value): { + sql+: { + from+: { + parameters+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, parameters+: { '#': { help: '', name: 'parameters' }, '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { name: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, + withName(value): { + name: value, + }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'functionParameter', + }, + }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + sql+: { + from+: { + type: 'function', + }, }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { sql+: { from+: { type: value } } }, + }, }, }, - '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withGroupBy(value): { sql+: { groupBy: value } }, - '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withGroupByMixin(value): { sql+: { groupBy+: value } }, + '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'GROUP BY part of the SQL expression' } }, + withGroupBy(value): { + sql+: { + groupBy: value, + }, + }, + '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'GROUP BY part of the SQL expression' } }, + withGroupByMixin(value): { + sql+: { + groupBy+: value, + }, + }, groupBy+: { '#withExpressions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withExpressions(value): { sql+: { groupBy+: { expressions: (if std.isArray(value) - then value - else [value]) } } }, + withExpressions(value): { + sql+: { + groupBy+: { + expressions: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, '#withExpressionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withExpressionsMixin(value): { sql+: { groupBy+: { expressions+: (if std.isArray(value) - then value - else [value]) } } }, + withExpressionsMixin(value): { + sql+: { + groupBy+: { + expressions+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, '#withType': { 'function': { args: [{ default: null, enums: ['and', 'or'], name: 'value', type: ['string'] }], help: '' } }, - withType(value): { sql+: { groupBy+: { type: value } } }, + withType(value): { + sql+: { + groupBy+: { + type: value, + }, + }, + }, }, '#withLimit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'LIMIT part of the SQL expression' } }, - withLimit(value): { sql+: { limit: value } }, - '#withOrderBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOrderBy(value): { sql+: { orderBy: value } }, - '#withOrderByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withOrderByMixin(value): { sql+: { orderBy+: value } }, + withLimit(value): { + sql+: { + limit: value, + }, + }, + '#withOrderBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ORDER BY part of the SQL expression' } }, + withOrderBy(value): { + sql+: { + orderBy: value, + }, + }, + '#withOrderByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'ORDER BY part of the SQL expression' } }, + withOrderByMixin(value): { + sql+: { + orderBy+: value, + }, + }, orderBy+: { '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { sql+: { orderBy+: { name: value } } }, + withName(value): { + sql+: { + orderBy+: { + name: value, + }, + }, + }, '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withParameters(value): { sql+: { orderBy+: { parameters: (if std.isArray(value) - then value - else [value]) } } }, + withParameters(value): { + sql+: { + orderBy+: { + parameters: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withParametersMixin(value): { sql+: { orderBy+: { parameters+: (if std.isArray(value) - then value - else [value]) } } }, + withParametersMixin(value): { + sql+: { + orderBy+: { + parameters+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, parameters+: { '#': { help: '', name: 'parameters' }, '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { name: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, + withName(value): { + name: value, + }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'functionParameter', + }, + }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + sql+: { + orderBy+: { + type: 'function', + }, }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { sql+: { orderBy+: { type: value } } }, + }, }, '#withOrderByDirection': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The sort order of the SQL expression, `ASC` or `DESC`' } }, - withOrderByDirection(value): { sql+: { orderByDirection: value } }, - '#withSelect': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSelect(value): { sql+: { select: value } }, - '#withSelectMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSelectMixin(value): { sql+: { select+: value } }, + withOrderByDirection(value): { + sql+: { + orderByDirection: value, + }, + }, + '#withSelect': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'SELECT part of the SQL expression' } }, + withSelect(value): { + sql+: { + select: value, + }, + }, + '#withSelectMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'SELECT part of the SQL expression' } }, + withSelectMixin(value): { + sql+: { + select+: value, + }, + }, select+: { '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { sql+: { select+: { name: value } } }, + withName(value): { + sql+: { + select+: { + name: value, + }, + }, + }, '#withParameters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withParameters(value): { sql+: { select+: { parameters: (if std.isArray(value) - then value - else [value]) } } }, + withParameters(value): { + sql+: { + select+: { + parameters: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, '#withParametersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withParametersMixin(value): { sql+: { select+: { parameters+: (if std.isArray(value) - then value - else [value]) } } }, + withParametersMixin(value): { + sql+: { + select+: { + parameters+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, parameters+: { '#': { help: '', name: 'parameters' }, '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { name: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, + withName(value): { + name: value, + }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'functionParameter', + }, + }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + sql+: { + select+: { + type: 'function', + }, }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { sql+: { select+: { type: value } } }, + }, }, - '#withWhere': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWhere(value): { sql+: { where: value } }, - '#withWhereMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withWhereMixin(value): { sql+: { where+: value } }, + '#withWhere': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WHERE part of the SQL expression' } }, + withWhere(value): { + sql+: { + where: value, + }, + }, + '#withWhereMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'WHERE part of the SQL expression' } }, + withWhereMixin(value): { + sql+: { + where+: value, + }, + }, where+: { '#withExpressions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withExpressions(value): { sql+: { where+: { expressions: (if std.isArray(value) - then value - else [value]) } } }, + withExpressions(value): { + sql+: { + where+: { + expressions: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, '#withExpressionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withExpressionsMixin(value): { sql+: { where+: { expressions+: (if std.isArray(value) - then value - else [value]) } } }, + withExpressionsMixin(value): { + sql+: { + where+: { + expressions+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, '#withType': { 'function': { args: [{ default: null, enums: ['and', 'or'], name: 'value', type: ['string'] }], help: '' } }, - withType(value): { sql+: { where+: { type: value } } }, + withType(value): { + sql+: { + where+: { + type: value, + }, + }, + }, }, }, '#withSqlExpression': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'When the metric query type is `metricQueryType` is set to `Query`, this field is used to specify the query string.' } }, - withSqlExpression(value): { sqlExpression: value }, + withSqlExpression(value): { + sqlExpression: value, + }, + '#withStatistic': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Metric data aggregations over specified periods of time. For detailed definitions of the statistics supported by CloudWatch, see https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html.' } }, + withStatistic(value): { + statistic: value, + }, + '#withStatistics': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '@deprecated use statistic' } }, + withStatistics(value): { + statistics: + (if std.isArray(value) + then value + else [value]), + }, + '#withStatisticsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '@deprecated use statistic' } }, + withStatisticsMixin(value): { + statistics+: + (if std.isArray(value) + then value + else [value]), + }, }, } ++ (import '../custom/query/cloudWatch.libsonnet') diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/elasticsearch.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/elasticsearch.libsonnet similarity index 53% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/elasticsearch.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/elasticsearch.libsonnet index b8717af..99171aa 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/elasticsearch.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/elasticsearch.libsonnet @@ -2,279 +2,513 @@ { '#': { help: 'grafonnet.query.elasticsearch', name: 'elasticsearch' }, '#withAlias': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Alias pattern' } }, - withAlias(value): { alias: value }, + withAlias(value): { + alias: value, + }, '#withBucketAggs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of bucket aggregations' } }, - withBucketAggs(value): { bucketAggs: (if std.isArray(value) - then value - else [value]) }, + withBucketAggs(value): { + bucketAggs: + (if std.isArray(value) + then value + else [value]), + }, '#withBucketAggsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of bucket aggregations' } }, - withBucketAggsMixin(value): { bucketAggs+: (if std.isArray(value) - then value - else [value]) }, + withBucketAggsMixin(value): { + bucketAggs+: + (if std.isArray(value) + then value + else [value]), + }, bucketAggs+: { - '#': { help: '', name: 'bucketAggs' }, DateHistogram+: { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withField(value): { + field: value, + }, '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value): { id: value }, + withId(value): { + id: value, + }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettings(value): { settings: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withField(value): { field: value }, + withSettings(value): { + settings: value, + }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsMixin(value): { settings+: value }, + withSettingsMixin(value): { + settings+: value, + }, settings+: { '#withInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withInterval(value): { settings+: { interval: value } }, + withInterval(value): { + settings+: { + interval: value, + }, + }, '#withMinDocCount': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withMinDocCount(value): { settings+: { min_doc_count: value } }, + withMinDocCount(value): { + settings+: { + min_doc_count: value, + }, + }, '#withOffset': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withOffset(value): { settings+: { offset: value } }, + withOffset(value): { + settings+: { + offset: value, + }, + }, '#withTimeZone': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withTimeZone(value): { settings+: { timeZone: value } }, + withTimeZone(value): { + settings+: { + timeZone: value, + }, + }, '#withTrimEdges': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withTrimEdges(value): { settings+: { trimEdges: value } }, + withTrimEdges(value): { + settings+: { + trimEdges: value, + }, + }, }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'date_histogram', + }, }, Histogram+: { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withField(value): { + field: value, + }, '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value): { id: value }, + withId(value): { + id: value, + }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettings(value): { settings: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withField(value): { field: value }, + withSettings(value): { + settings: value, + }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsMixin(value): { settings+: value }, + withSettingsMixin(value): { + settings+: value, + }, settings+: { '#withInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withInterval(value): { settings+: { interval: value } }, + withInterval(value): { + settings+: { + interval: value, + }, + }, '#withMinDocCount': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withMinDocCount(value): { settings+: { min_doc_count: value } }, + withMinDocCount(value): { + settings+: { + min_doc_count: value, + }, + }, }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'histogram', + }, }, Terms+: { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withField(value): { + field: value, + }, '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value): { id: value }, + withId(value): { + id: value, + }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettings(value): { settings: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withField(value): { field: value }, + withSettings(value): { + settings: value, + }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsMixin(value): { settings+: value }, + withSettingsMixin(value): { + settings+: value, + }, settings+: { '#withMinDocCount': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withMinDocCount(value): { settings+: { min_doc_count: value } }, + withMinDocCount(value): { + settings+: { + min_doc_count: value, + }, + }, '#withMissing': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withMissing(value): { settings+: { missing: value } }, + withMissing(value): { + settings+: { + missing: value, + }, + }, '#withOrder': { 'function': { args: [{ default: null, enums: ['desc', 'asc'], name: 'value', type: ['string'] }], help: '' } }, - withOrder(value): { settings+: { order: value } }, + withOrder(value): { + settings+: { + order: value, + }, + }, '#withOrderBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withOrderBy(value): { settings+: { orderBy: value } }, + withOrderBy(value): { + settings+: { + orderBy: value, + }, + }, '#withSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withSize(value): { settings+: { size: value } }, + withSize(value): { + settings+: { + size: value, + }, + }, }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'terms', + }, }, Filters+: { '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value): { id: value }, + withId(value): { + id: value, + }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettings(value): { settings: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, + withSettings(value): { + settings: value, + }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsMixin(value): { settings+: value }, + withSettingsMixin(value): { + settings+: value, + }, settings+: { '#withFilters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withFilters(value): { settings+: { filters: (if std.isArray(value) - then value - else [value]) } }, + withFilters(value): { + settings+: { + filters: + (if std.isArray(value) + then value + else [value]), + }, + }, '#withFiltersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withFiltersMixin(value): { settings+: { filters+: (if std.isArray(value) - then value - else [value]) } }, + withFiltersMixin(value): { + settings+: { + filters+: + (if std.isArray(value) + then value + else [value]), + }, + }, filters+: { '#': { help: '', name: 'filters' }, '#withLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLabel(value): { label: value }, + withLabel(value): { + label: value, + }, '#withQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withQuery(value): { query: value }, + withQuery(value): { + query: value, + }, }, }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'filters', + }, }, GeoHashGrid+: { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withField(value): { + field: value, + }, '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value): { id: value }, + withId(value): { + id: value, + }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettings(value): { settings: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withField(value): { field: value }, + withSettings(value): { + settings: value, + }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsMixin(value): { settings+: value }, + withSettingsMixin(value): { + settings+: value, + }, settings+: { '#withPrecision': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPrecision(value): { settings+: { precision: value } }, + withPrecision(value): { + settings+: { + precision: value, + }, + }, }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'geohash_grid', + }, }, Nested+: { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withField(value): { + field: value, + }, '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value): { id: value }, + withId(value): { + id: value, + }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettings(value): { settings: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withField(value): { field: value }, + withSettings(value): { + settings: value, + }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsMixin(value): { settings+: value }, + withSettingsMixin(value): { + settings+: value, + }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'nested', + }, }, }, - '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, - withDatasource(value): { datasource: value }, - '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'true if query is disabled (ie should not be returned to the dashboard)\nNote this does not always imply that the query should not be executed since\nthe results from a hidden query may be used as the input to other queries (SSE etc)' } }, - withHide(value=true): { hide: value }, + '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, + withDatasource(value): { + datasource: value, + }, + '#withDatasourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, + withDatasourceMixin(value): { + datasource+: value, + }, + '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If hide is set to true, Grafana will filter out the response(s) associated with this query before returning it to the panel.' } }, + withHide(value=true): { + hide: value, + }, '#withMetrics': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of metric aggregations' } }, - withMetrics(value): { metrics: (if std.isArray(value) - then value - else [value]) }, + withMetrics(value): { + metrics: + (if std.isArray(value) + then value + else [value]), + }, '#withMetricsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'List of metric aggregations' } }, - withMetricsMixin(value): { metrics+: (if std.isArray(value) - then value - else [value]) }, + withMetricsMixin(value): { + metrics+: + (if std.isArray(value) + then value + else [value]), + }, metrics+: { - '#': { help: '', name: 'metrics' }, Count+: { '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withHide(value=true): { hide: value }, + withHide(value=true): { + hide: value, + }, '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value): { id: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, + withId(value): { + id: value, + }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'count', + }, }, PipelineMetricAggregation+: { MovingAverage+: { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withField(value): { + field: value, + }, '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withHide(value=true): { hide: value }, + withHide(value=true): { + hide: value, + }, '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value): { id: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withField(value): { field: value }, + withId(value): { + id: value, + }, '#withPipelineAgg': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPipelineAgg(value): { pipelineAgg: value }, + withPipelineAgg(value): { + pipelineAgg: value, + }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettings(value): { settings: value }, + withSettings(value): { + settings: value, + }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsMixin(value): { settings+: value }, + withSettingsMixin(value): { + settings+: value, + }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'moving_avg', + }, }, Derivative+: { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withField(value): { + field: value, + }, '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withHide(value=true): { hide: value }, + withHide(value=true): { + hide: value, + }, '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value): { id: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withField(value): { field: value }, + withId(value): { + id: value, + }, '#withPipelineAgg': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPipelineAgg(value): { pipelineAgg: value }, + withPipelineAgg(value): { + pipelineAgg: value, + }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettings(value): { settings: value }, + withSettings(value): { + settings: value, + }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsMixin(value): { settings+: value }, + withSettingsMixin(value): { + settings+: value, + }, settings+: { '#withUnit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withUnit(value): { settings+: { unit: value } }, + withUnit(value): { + settings+: { + unit: value, + }, + }, }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'derivative', + }, }, CumulativeSum+: { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withField(value): { + field: value, + }, '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withHide(value=true): { hide: value }, + withHide(value=true): { + hide: value, + }, '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value): { id: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withField(value): { field: value }, + withId(value): { + id: value, + }, '#withPipelineAgg': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPipelineAgg(value): { pipelineAgg: value }, + withPipelineAgg(value): { + pipelineAgg: value, + }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettings(value): { settings: value }, + withSettings(value): { + settings: value, + }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsMixin(value): { settings+: value }, + withSettingsMixin(value): { + settings+: value, + }, settings+: { '#withFormat': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFormat(value): { settings+: { format: value } }, + withFormat(value): { + settings+: { + format: value, + }, + }, }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'cumulative_sum', + }, }, BucketScript+: { '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withHide(value=true): { hide: value }, + withHide(value=true): { + hide: value, + }, '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value): { id: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, + withId(value): { + id: value, + }, '#withPipelineVariables': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withPipelineVariables(value): { pipelineVariables: (if std.isArray(value) - then value - else [value]) }, + withPipelineVariables(value): { + pipelineVariables: + (if std.isArray(value) + then value + else [value]), + }, '#withPipelineVariablesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withPipelineVariablesMixin(value): { pipelineVariables+: (if std.isArray(value) - then value - else [value]) }, + withPipelineVariablesMixin(value): { + pipelineVariables+: + (if std.isArray(value) + then value + else [value]), + }, pipelineVariables+: { '#': { help: '', name: 'pipelineVariables' }, '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { name: value }, + withName(value): { + name: value, + }, '#withPipelineAgg': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPipelineAgg(value): { pipelineAgg: value }, + withPipelineAgg(value): { + pipelineAgg: value, + }, }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettings(value): { settings: value }, + withSettings(value): { + settings: value, + }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsMixin(value): { settings+: value }, + withSettingsMixin(value): { + settings+: value, + }, settings+: { '#withScript': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'object'] }], help: '' } }, - withScript(value): { settings+: { script: value } }, + withScript(value): { + settings+: { + script: value, + }, + }, '#withScriptMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'object'] }], help: '' } }, - withScriptMixin(value): { settings+: { script+: value } }, + withScriptMixin(value): { + settings+: { + script+: value, + }, + }, script+: { '#withInline': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withInline(value): { settings+: { script+: { inline: value } } }, + withInline(value): { + settings+: { + script+: { + inline: value, + }, + }, + }, }, }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'bucket_script', + }, }, }, MetricAggregationWithSettings+: @@ -282,482 +516,937 @@ BucketScript+: { '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withHide(value=true): { hide: value }, + withHide(value=true): { + hide: value, + }, '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value): { id: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, + withId(value): { + id: value, + }, '#withPipelineVariables': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withPipelineVariables(value): { pipelineVariables: (if std.isArray(value) - then value - else [value]) }, + withPipelineVariables(value): { + pipelineVariables: + (if std.isArray(value) + then value + else [value]), + }, '#withPipelineVariablesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withPipelineVariablesMixin(value): { pipelineVariables+: (if std.isArray(value) - then value - else [value]) }, + withPipelineVariablesMixin(value): { + pipelineVariables+: + (if std.isArray(value) + then value + else [value]), + }, pipelineVariables+: { '#': { help: '', name: 'pipelineVariables' }, '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withName(value): { name: value }, + withName(value): { + name: value, + }, '#withPipelineAgg': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPipelineAgg(value): { pipelineAgg: value }, + withPipelineAgg(value): { + pipelineAgg: value, + }, }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettings(value): { settings: value }, + withSettings(value): { + settings: value, + }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsMixin(value): { settings+: value }, + withSettingsMixin(value): { + settings+: value, + }, settings+: { '#withScript': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'object'] }], help: '' } }, - withScript(value): { settings+: { script: value } }, + withScript(value): { + settings+: { + script: value, + }, + }, '#withScriptMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'object'] }], help: '' } }, - withScriptMixin(value): { settings+: { script+: value } }, + withScriptMixin(value): { + settings+: { + script+: value, + }, + }, script+: { '#withInline': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withInline(value): { settings+: { script+: { inline: value } } }, + withInline(value): { + settings+: { + script+: { + inline: value, + }, + }, + }, }, }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'bucket_script', + }, }, CumulativeSum+: { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withField(value): { + field: value, + }, '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withHide(value=true): { hide: value }, + withHide(value=true): { + hide: value, + }, '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value): { id: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withField(value): { field: value }, + withId(value): { + id: value, + }, '#withPipelineAgg': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPipelineAgg(value): { pipelineAgg: value }, + withPipelineAgg(value): { + pipelineAgg: value, + }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettings(value): { settings: value }, + withSettings(value): { + settings: value, + }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsMixin(value): { settings+: value }, + withSettingsMixin(value): { + settings+: value, + }, settings+: { '#withFormat': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withFormat(value): { settings+: { format: value } }, + withFormat(value): { + settings+: { + format: value, + }, + }, }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'cumulative_sum', + }, }, Derivative+: { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withField(value): { + field: value, + }, '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withHide(value=true): { hide: value }, + withHide(value=true): { + hide: value, + }, '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value): { id: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withField(value): { field: value }, + withId(value): { + id: value, + }, '#withPipelineAgg': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPipelineAgg(value): { pipelineAgg: value }, + withPipelineAgg(value): { + pipelineAgg: value, + }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettings(value): { settings: value }, + withSettings(value): { + settings: value, + }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsMixin(value): { settings+: value }, + withSettingsMixin(value): { + settings+: value, + }, settings+: { '#withUnit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withUnit(value): { settings+: { unit: value } }, + withUnit(value): { + settings+: { + unit: value, + }, + }, }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'derivative', + }, }, SerialDiff+: { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withField(value): { + field: value, + }, '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withHide(value=true): { hide: value }, + withHide(value=true): { + hide: value, + }, '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value): { id: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withField(value): { field: value }, + withId(value): { + id: value, + }, '#withPipelineAgg': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPipelineAgg(value): { pipelineAgg: value }, + withPipelineAgg(value): { + pipelineAgg: value, + }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettings(value): { settings: value }, + withSettings(value): { + settings: value, + }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsMixin(value): { settings+: value }, + withSettingsMixin(value): { + settings+: value, + }, settings+: { '#withLag': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLag(value): { settings+: { lag: value } }, + withLag(value): { + settings+: { + lag: value, + }, + }, }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'serial_diff', + }, }, RawData+: { '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withHide(value=true): { hide: value }, + withHide(value=true): { + hide: value, + }, '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value): { id: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, + withId(value): { + id: value, + }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettings(value): { settings: value }, + withSettings(value): { + settings: value, + }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsMixin(value): { settings+: value }, + withSettingsMixin(value): { + settings+: value, + }, settings+: { '#withSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withSize(value): { settings+: { size: value } }, + withSize(value): { + settings+: { + size: value, + }, + }, }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'raw_data', + }, }, RawDocument+: { '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withHide(value=true): { hide: value }, + withHide(value=true): { + hide: value, + }, '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value): { id: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, + withId(value): { + id: value, + }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettings(value): { settings: value }, + withSettings(value): { + settings: value, + }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsMixin(value): { settings+: value }, + withSettingsMixin(value): { + settings+: value, + }, settings+: { '#withSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withSize(value): { settings+: { size: value } }, + withSize(value): { + settings+: { + size: value, + }, + }, }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'raw_document', + }, }, UniqueCount+: { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withField(value): { + field: value, + }, '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withHide(value=true): { hide: value }, + withHide(value=true): { + hide: value, + }, '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value): { id: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withField(value): { field: value }, + withId(value): { + id: value, + }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettings(value): { settings: value }, + withSettings(value): { + settings: value, + }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsMixin(value): { settings+: value }, + withSettingsMixin(value): { + settings+: value, + }, settings+: { '#withMissing': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withMissing(value): { settings+: { missing: value } }, + withMissing(value): { + settings+: { + missing: value, + }, + }, '#withPrecisionThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPrecisionThreshold(value): { settings+: { precision_threshold: value } }, + withPrecisionThreshold(value): { + settings+: { + precision_threshold: value, + }, + }, }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'cardinality', + }, }, Percentiles+: { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withField(value): { + field: value, + }, '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withHide(value=true): { hide: value }, + withHide(value=true): { + hide: value, + }, '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value): { id: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withField(value): { field: value }, + withId(value): { + id: value, + }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettings(value): { settings: value }, + withSettings(value): { + settings: value, + }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsMixin(value): { settings+: value }, + withSettingsMixin(value): { + settings+: value, + }, settings+: { + '#withMissing': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withMissing(value): { + settings+: { + missing: value, + }, + }, + '#withPercents': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withPercents(value): { + settings+: { + percents: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withPercentsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withPercentsMixin(value): { + settings+: { + percents+: + (if std.isArray(value) + then value + else [value]), + }, + }, '#withScript': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'object'] }], help: '' } }, - withScript(value): { settings+: { script: value } }, + withScript(value): { + settings+: { + script: value, + }, + }, '#withScriptMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'object'] }], help: '' } }, - withScriptMixin(value): { settings+: { script+: value } }, + withScriptMixin(value): { + settings+: { + script+: value, + }, + }, script+: { '#withInline': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withInline(value): { settings+: { script+: { inline: value } } }, + withInline(value): { + settings+: { + script+: { + inline: value, + }, + }, + }, }, - '#withMissing': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withMissing(value): { settings+: { missing: value } }, - '#withPercents': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withPercents(value): { settings+: { percents: (if std.isArray(value) - then value - else [value]) } }, - '#withPercentsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withPercentsMixin(value): { settings+: { percents+: (if std.isArray(value) - then value - else [value]) } }, }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'percentiles', + }, }, ExtendedStats+: { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withField(value): { + field: value, + }, '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withHide(value=true): { hide: value }, + withHide(value=true): { + hide: value, + }, '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value): { id: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withField(value): { field: value }, + withId(value): { + id: value, + }, + '#withMeta': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMeta(value): { + meta: value, + }, + '#withMetaMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMetaMixin(value): { + meta+: value, + }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettings(value): { settings: value }, + withSettings(value): { + settings: value, + }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsMixin(value): { settings+: value }, + withSettingsMixin(value): { + settings+: value, + }, settings+: { + '#withMissing': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withMissing(value): { + settings+: { + missing: value, + }, + }, '#withScript': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'object'] }], help: '' } }, - withScript(value): { settings+: { script: value } }, + withScript(value): { + settings+: { + script: value, + }, + }, '#withScriptMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'object'] }], help: '' } }, - withScriptMixin(value): { settings+: { script+: value } }, + withScriptMixin(value): { + settings+: { + script+: value, + }, + }, script+: { '#withInline': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withInline(value): { settings+: { script+: { inline: value } } }, + withInline(value): { + settings+: { + script+: { + inline: value, + }, + }, + }, }, - '#withMissing': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withMissing(value): { settings+: { missing: value } }, '#withSigma': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withSigma(value): { settings+: { sigma: value } }, + withSigma(value): { + settings+: { + sigma: value, + }, + }, }, - '#withMeta': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMeta(value): { meta: value }, - '#withMetaMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withMetaMixin(value): { meta+: value }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'extended_stats', + }, }, Min+: { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withField(value): { + field: value, + }, '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withHide(value=true): { hide: value }, + withHide(value=true): { + hide: value, + }, '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value): { id: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withField(value): { field: value }, + withId(value): { + id: value, + }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettings(value): { settings: value }, + withSettings(value): { + settings: value, + }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsMixin(value): { settings+: value }, + withSettingsMixin(value): { + settings+: value, + }, settings+: { + '#withMissing': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withMissing(value): { + settings+: { + missing: value, + }, + }, '#withScript': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'object'] }], help: '' } }, - withScript(value): { settings+: { script: value } }, + withScript(value): { + settings+: { + script: value, + }, + }, '#withScriptMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'object'] }], help: '' } }, - withScriptMixin(value): { settings+: { script+: value } }, + withScriptMixin(value): { + settings+: { + script+: value, + }, + }, script+: { '#withInline': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withInline(value): { settings+: { script+: { inline: value } } }, + withInline(value): { + settings+: { + script+: { + inline: value, + }, + }, + }, }, - '#withMissing': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withMissing(value): { settings+: { missing: value } }, }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'min', + }, }, Max+: { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withField(value): { + field: value, + }, '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withHide(value=true): { hide: value }, + withHide(value=true): { + hide: value, + }, '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value): { id: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withField(value): { field: value }, + withId(value): { + id: value, + }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettings(value): { settings: value }, + withSettings(value): { + settings: value, + }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsMixin(value): { settings+: value }, + withSettingsMixin(value): { + settings+: value, + }, settings+: { + '#withMissing': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withMissing(value): { + settings+: { + missing: value, + }, + }, '#withScript': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'object'] }], help: '' } }, - withScript(value): { settings+: { script: value } }, + withScript(value): { + settings+: { + script: value, + }, + }, '#withScriptMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'object'] }], help: '' } }, - withScriptMixin(value): { settings+: { script+: value } }, + withScriptMixin(value): { + settings+: { + script+: value, + }, + }, script+: { '#withInline': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withInline(value): { settings+: { script+: { inline: value } } }, + withInline(value): { + settings+: { + script+: { + inline: value, + }, + }, + }, }, - '#withMissing': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withMissing(value): { settings+: { missing: value } }, }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'max', + }, }, Sum+: { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withField(value): { + field: value, + }, '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withHide(value=true): { hide: value }, + withHide(value=true): { + hide: value, + }, '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value): { id: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withField(value): { field: value }, + withId(value): { + id: value, + }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettings(value): { settings: value }, + withSettings(value): { + settings: value, + }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsMixin(value): { settings+: value }, + withSettingsMixin(value): { + settings+: value, + }, settings+: { + '#withMissing': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withMissing(value): { + settings+: { + missing: value, + }, + }, '#withScript': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'object'] }], help: '' } }, - withScript(value): { settings+: { script: value } }, + withScript(value): { + settings+: { + script: value, + }, + }, '#withScriptMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'object'] }], help: '' } }, - withScriptMixin(value): { settings+: { script+: value } }, + withScriptMixin(value): { + settings+: { + script+: value, + }, + }, script+: { '#withInline': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withInline(value): { settings+: { script+: { inline: value } } }, + withInline(value): { + settings+: { + script+: { + inline: value, + }, + }, + }, }, - '#withMissing': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withMissing(value): { settings+: { missing: value } }, }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'sum', + }, }, Average+: { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withField(value): { + field: value, + }, '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withHide(value=true): { hide: value }, + withHide(value=true): { + hide: value, + }, '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value): { id: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withField(value): { field: value }, + withId(value): { + id: value, + }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettings(value): { settings: value }, + withSettings(value): { + settings: value, + }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsMixin(value): { settings+: value }, + withSettingsMixin(value): { + settings+: value, + }, settings+: { '#withMissing': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withMissing(value): { settings+: { missing: value } }, + withMissing(value): { + settings+: { + missing: value, + }, + }, '#withScript': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'object'] }], help: '' } }, - withScript(value): { settings+: { script: value } }, + withScript(value): { + settings+: { + script: value, + }, + }, '#withScriptMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'object'] }], help: '' } }, - withScriptMixin(value): { settings+: { script+: value } }, + withScriptMixin(value): { + settings+: { + script+: value, + }, + }, script+: { '#withInline': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withInline(value): { settings+: { script+: { inline: value } } }, + withInline(value): { + settings+: { + script+: { + inline: value, + }, + }, + }, }, }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'avg', + }, }, MovingAverage+: { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withField(value): { + field: value, + }, '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withHide(value=true): { hide: value }, + withHide(value=true): { + hide: value, + }, '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value): { id: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withField(value): { field: value }, + withId(value): { + id: value, + }, '#withPipelineAgg': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPipelineAgg(value): { pipelineAgg: value }, + withPipelineAgg(value): { + pipelineAgg: value, + }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettings(value): { settings: value }, + withSettings(value): { + settings: value, + }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsMixin(value): { settings+: value }, + withSettingsMixin(value): { + settings+: value, + }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'moving_avg', + }, }, MovingFunction+: { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withField(value): { + field: value, + }, '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withHide(value=true): { hide: value }, + withHide(value=true): { + hide: value, + }, '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value): { id: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withField(value): { field: value }, + withId(value): { + id: value, + }, '#withPipelineAgg': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPipelineAgg(value): { pipelineAgg: value }, + withPipelineAgg(value): { + pipelineAgg: value, + }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettings(value): { settings: value }, + withSettings(value): { + settings: value, + }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsMixin(value): { settings+: value }, + withSettingsMixin(value): { + settings+: value, + }, settings+: { '#withScript': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'object'] }], help: '' } }, - withScript(value): { settings+: { script: value } }, + withScript(value): { + settings+: { + script: value, + }, + }, '#withScriptMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'object'] }], help: '' } }, - withScriptMixin(value): { settings+: { script+: value } }, + withScriptMixin(value): { + settings+: { + script+: value, + }, + }, script+: { '#withInline': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withInline(value): { settings+: { script+: { inline: value } } }, + withInline(value): { + settings+: { + script+: { + inline: value, + }, + }, + }, }, '#withShift': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withShift(value): { settings+: { shift: value } }, + withShift(value): { + settings+: { + shift: value, + }, + }, '#withWindow': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withWindow(value): { settings+: { window: value } }, + withWindow(value): { + settings+: { + window: value, + }, + }, }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'moving_fn', + }, }, Logs+: { '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withHide(value=true): { hide: value }, + withHide(value=true): { + hide: value, + }, '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value): { id: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, + withId(value): { + id: value, + }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettings(value): { settings: value }, + withSettings(value): { + settings: value, + }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsMixin(value): { settings+: value }, + withSettingsMixin(value): { + settings+: value, + }, settings+: { '#withLimit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLimit(value): { settings+: { limit: value } }, + withLimit(value): { + settings+: { + limit: value, + }, + }, }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'logs', + }, }, Rate+: { + '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withField(value): { + field: value, + }, '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withHide(value=true): { hide: value }, + withHide(value=true): { + hide: value, + }, '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value): { id: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withField(value): { field: value }, + withId(value): { + id: value, + }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettings(value): { settings: value }, + withSettings(value): { + settings: value, + }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsMixin(value): { settings+: value }, + withSettingsMixin(value): { + settings+: value, + }, settings+: { '#withMode': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withMode(value): { settings+: { mode: value } }, + withMode(value): { + settings+: { + mode: value, + }, + }, '#withUnit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withUnit(value): { settings+: { unit: value } }, + withUnit(value): { + settings+: { + unit: value, + }, + }, }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'rate', + }, }, TopMetrics+: { '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withHide(value=true): { hide: value }, + withHide(value=true): { + hide: value, + }, '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withId(value): { id: value }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { type: value }, + withId(value): { + id: value, + }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettings(value): { settings: value }, + withSettings(value): { + settings: value, + }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withSettingsMixin(value): { settings+: value }, + withSettingsMixin(value): { + settings+: value, + }, settings+: { '#withMetrics': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withMetrics(value): { settings+: { metrics: (if std.isArray(value) - then value - else [value]) } }, + withMetrics(value): { + settings+: { + metrics: + (if std.isArray(value) + then value + else [value]), + }, + }, '#withMetricsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withMetricsMixin(value): { settings+: { metrics+: (if std.isArray(value) - then value - else [value]) } }, + withMetricsMixin(value): { + settings+: { + metrics+: + (if std.isArray(value) + then value + else [value]), + }, + }, '#withOrder': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withOrder(value): { settings+: { order: value } }, + withOrder(value): { + settings+: { + order: value, + }, + }, '#withOrderBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withOrderBy(value): { settings+: { orderBy: value } }, + withOrderBy(value): { + settings+: { + orderBy: value, + }, + }, }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'top_metrics', + }, }, }, }, '#withQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Lucene query' } }, - withQuery(value): { query: value }, + withQuery(value): { + query: value, + }, '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specify the query flavor\nTODO make this required and give it a default' } }, - withQueryType(value): { queryType: value }, + withQueryType(value): { + queryType: value, + }, '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A unique identifier for the query within the list of targets.\nIn server side expressions, the refId is used as a variable name to identify results.\nBy default, the UI will assign A->Z; however setting meaningful names may be useful.' } }, - withRefId(value): { refId: value }, + withRefId(value): { + refId: value, + }, '#withTimeField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of time field' } }, - withTimeField(value): { timeField: value }, + withTimeField(value): { + timeField: value, + }, } ++ (import '../custom/query/elasticsearch.libsonnet') diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/expr.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/expr.libsonnet new file mode 100644 index 0000000..57ec5b3 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/expr.libsonnet @@ -0,0 +1,996 @@ +// This file is generated, do not manually edit. +{ + '#': { help: 'grafonnet.query.expr', name: 'expr' }, + TypeMath+: + { + '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The datasource' } }, + withDatasource(value): { + datasource: value, + }, + '#withDatasourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The datasource' } }, + withDatasourceMixin(value): { + datasource+: value, + }, + datasource+: + { + '#withApiVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The apiserver version' } }, + withApiVersion(value): { + datasource+: { + apiVersion: value, + }, + }, + '#withType': { 'function': { args: [], help: 'The datasource plugin type' } }, + withType(): { + datasource+: { + type: '__expr__', + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Datasource UID (NOTE: name in k8s)' } }, + withUid(value): { + datasource+: { + uid: value, + }, + }, + }, + '#withExpression': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'General math expression' } }, + withExpression(value): { + expression: value, + }, + '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'true if query is disabled (ie should not be returned to the dashboard)\nNOTE: this does not always imply that the query should not be executed since\nthe results from a hidden query may be used as the input to other queries (SSE etc)' } }, + withHide(value=true): { + hide: value, + }, + '#withIntervalMs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Interval is the suggested duration between time points in a time series query.\nNOTE: the values for intervalMs is not saved in the query model. It is typically calculated\nfrom the interval required to fill a pixels in the visualization' } }, + withIntervalMs(value): { + intervalMs: value, + }, + '#withMaxDataPoints': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'MaxDataPoints is the maximum number of data points that should be returned from a time series query.\nNOTE: the values for maxDataPoints is not saved in the query model. It is typically calculated\nfrom the number of pixels visible in a visualization' } }, + withMaxDataPoints(value): { + maxDataPoints: value, + }, + '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'QueryType is an optional identifier for the type of query.\nIt can be used to distinguish different types of queries.' } }, + withQueryType(value): { + queryType: value, + }, + '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'RefID is the unique identifier of the query, set by the frontend call.' } }, + withRefId(value): { + refId: value, + }, + '#withResultAssertions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Optionally define expected query result behavior' } }, + withResultAssertions(value): { + resultAssertions: value, + }, + '#withResultAssertionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Optionally define expected query result behavior' } }, + withResultAssertionsMixin(value): { + resultAssertions+: value, + }, + resultAssertions+: + { + '#withMaxFrames': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Maximum frame count' } }, + withMaxFrames(value): { + resultAssertions+: { + maxFrames: value, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: ['', 'timeseries-wide', 'timeseries-long', 'timeseries-many', 'timeseries-multi', 'directory-listing', 'table', 'numeric-wide', 'numeric-multi', 'numeric-long', 'log-lines'], name: 'value', type: ['string'] }], help: 'Type asserts that the frame matches a known type structure.\nPossible enum values:\n - `""` \n - `"timeseries-wide"` \n - `"timeseries-long"` \n - `"timeseries-many"` \n - `"timeseries-multi"` \n - `"directory-listing"` \n - `"table"` \n - `"numeric-wide"` \n - `"numeric-multi"` \n - `"numeric-long"` \n - `"log-lines"` ' } }, + withType(value): { + resultAssertions+: { + type: value, + }, + }, + '#withTypeVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane\ncontract documentation https://grafana.github.io/dataplane/contract/.' } }, + withTypeVersion(value): { + resultAssertions+: { + typeVersion: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withTypeVersionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane\ncontract documentation https://grafana.github.io/dataplane/contract/.' } }, + withTypeVersionMixin(value): { + resultAssertions+: { + typeVersion+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withTimeRange': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TimeRange represents the query range\nNOTE: unlike generic /ds/query, we can now send explicit time values in each query\nNOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly' } }, + withTimeRange(value): { + timeRange: value, + }, + '#withTimeRangeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TimeRange represents the query range\nNOTE: unlike generic /ds/query, we can now send explicit time values in each query\nNOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly' } }, + withTimeRangeMixin(value): { + timeRange+: value, + }, + timeRange+: + { + '#withFrom': { 'function': { args: [{ default: 'now-6h', enums: null, name: 'value', type: ['string'] }], help: 'From is the start time of the query.' } }, + withFrom(value='now-6h'): { + timeRange+: { + from: value, + }, + }, + '#withTo': { 'function': { args: [{ default: 'now', enums: null, name: 'value', type: ['string'] }], help: 'To is the end time of the query.' } }, + withTo(value='now'): { + timeRange+: { + to: value, + }, + }, + }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'math', + }, + }, + TypeReduce+: + { + '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The datasource' } }, + withDatasource(value): { + datasource: value, + }, + '#withDatasourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The datasource' } }, + withDatasourceMixin(value): { + datasource+: value, + }, + datasource+: + { + '#withApiVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The apiserver version' } }, + withApiVersion(value): { + datasource+: { + apiVersion: value, + }, + }, + '#withType': { 'function': { args: [], help: 'The datasource plugin type' } }, + withType(): { + datasource+: { + type: '__expr__', + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Datasource UID (NOTE: name in k8s)' } }, + withUid(value): { + datasource+: { + uid: value, + }, + }, + }, + '#withExpression': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Reference to single query result' } }, + withExpression(value): { + expression: value, + }, + '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'true if query is disabled (ie should not be returned to the dashboard)\nNOTE: this does not always imply that the query should not be executed since\nthe results from a hidden query may be used as the input to other queries (SSE etc)' } }, + withHide(value=true): { + hide: value, + }, + '#withIntervalMs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Interval is the suggested duration between time points in a time series query.\nNOTE: the values for intervalMs is not saved in the query model. It is typically calculated\nfrom the interval required to fill a pixels in the visualization' } }, + withIntervalMs(value): { + intervalMs: value, + }, + '#withMaxDataPoints': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'MaxDataPoints is the maximum number of data points that should be returned from a time series query.\nNOTE: the values for maxDataPoints is not saved in the query model. It is typically calculated\nfrom the number of pixels visible in a visualization' } }, + withMaxDataPoints(value): { + maxDataPoints: value, + }, + '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'QueryType is an optional identifier for the type of query.\nIt can be used to distinguish different types of queries.' } }, + withQueryType(value): { + queryType: value, + }, + '#withReducer': { 'function': { args: [{ default: null, enums: ['sum', 'mean', 'min', 'max', 'count', 'last', 'median'], name: 'value', type: ['string'] }], help: 'The reducer\nPossible enum values:\n - `"sum"` \n - `"mean"` \n - `"min"` \n - `"max"` \n - `"count"` \n - `"last"` \n - `"median"` ' } }, + withReducer(value): { + reducer: value, + }, + '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'RefID is the unique identifier of the query, set by the frontend call.' } }, + withRefId(value): { + refId: value, + }, + '#withResultAssertions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Optionally define expected query result behavior' } }, + withResultAssertions(value): { + resultAssertions: value, + }, + '#withResultAssertionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Optionally define expected query result behavior' } }, + withResultAssertionsMixin(value): { + resultAssertions+: value, + }, + resultAssertions+: + { + '#withMaxFrames': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Maximum frame count' } }, + withMaxFrames(value): { + resultAssertions+: { + maxFrames: value, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: ['', 'timeseries-wide', 'timeseries-long', 'timeseries-many', 'timeseries-multi', 'directory-listing', 'table', 'numeric-wide', 'numeric-multi', 'numeric-long', 'log-lines'], name: 'value', type: ['string'] }], help: 'Type asserts that the frame matches a known type structure.\nPossible enum values:\n - `""` \n - `"timeseries-wide"` \n - `"timeseries-long"` \n - `"timeseries-many"` \n - `"timeseries-multi"` \n - `"directory-listing"` \n - `"table"` \n - `"numeric-wide"` \n - `"numeric-multi"` \n - `"numeric-long"` \n - `"log-lines"` ' } }, + withType(value): { + resultAssertions+: { + type: value, + }, + }, + '#withTypeVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane\ncontract documentation https://grafana.github.io/dataplane/contract/.' } }, + withTypeVersion(value): { + resultAssertions+: { + typeVersion: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withTypeVersionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane\ncontract documentation https://grafana.github.io/dataplane/contract/.' } }, + withTypeVersionMixin(value): { + resultAssertions+: { + typeVersion+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reducer Options' } }, + withSettings(value): { + settings: value, + }, + '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Reducer Options' } }, + withSettingsMixin(value): { + settings+: value, + }, + settings+: + { + '#withMode': { 'function': { args: [{ default: null, enums: ['dropNN', 'replaceNN'], name: 'value', type: ['string'] }], help: 'Non-number reduce behavior\nPossible enum values:\n - `"dropNN"` Drop non-numbers\n - `"replaceNN"` Replace non-numbers' } }, + withMode(value): { + settings+: { + mode: value, + }, + }, + '#withReplaceWithValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Only valid when mode is replace' } }, + withReplaceWithValue(value): { + settings+: { + replaceWithValue: value, + }, + }, + }, + '#withTimeRange': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TimeRange represents the query range\nNOTE: unlike generic /ds/query, we can now send explicit time values in each query\nNOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly' } }, + withTimeRange(value): { + timeRange: value, + }, + '#withTimeRangeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TimeRange represents the query range\nNOTE: unlike generic /ds/query, we can now send explicit time values in each query\nNOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly' } }, + withTimeRangeMixin(value): { + timeRange+: value, + }, + timeRange+: + { + '#withFrom': { 'function': { args: [{ default: 'now-6h', enums: null, name: 'value', type: ['string'] }], help: 'From is the start time of the query.' } }, + withFrom(value='now-6h'): { + timeRange+: { + from: value, + }, + }, + '#withTo': { 'function': { args: [{ default: 'now', enums: null, name: 'value', type: ['string'] }], help: 'To is the end time of the query.' } }, + withTo(value='now'): { + timeRange+: { + to: value, + }, + }, + }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'reduce', + }, + }, + TypeResample+: + { + '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The datasource' } }, + withDatasource(value): { + datasource: value, + }, + '#withDatasourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The datasource' } }, + withDatasourceMixin(value): { + datasource+: value, + }, + datasource+: + { + '#withApiVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The apiserver version' } }, + withApiVersion(value): { + datasource+: { + apiVersion: value, + }, + }, + '#withType': { 'function': { args: [], help: 'The datasource plugin type' } }, + withType(): { + datasource+: { + type: '__expr__', + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Datasource UID (NOTE: name in k8s)' } }, + withUid(value): { + datasource+: { + uid: value, + }, + }, + }, + '#withDownsampler': { 'function': { args: [{ default: null, enums: ['sum', 'mean', 'min', 'max', 'count', 'last', 'median'], name: 'value', type: ['string'] }], help: 'The downsample function\nPossible enum values:\n - `"sum"` \n - `"mean"` \n - `"min"` \n - `"max"` \n - `"count"` \n - `"last"` \n - `"median"` ' } }, + withDownsampler(value): { + downsampler: value, + }, + '#withExpression': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The math expression' } }, + withExpression(value): { + expression: value, + }, + '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'true if query is disabled (ie should not be returned to the dashboard)\nNOTE: this does not always imply that the query should not be executed since\nthe results from a hidden query may be used as the input to other queries (SSE etc)' } }, + withHide(value=true): { + hide: value, + }, + '#withIntervalMs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Interval is the suggested duration between time points in a time series query.\nNOTE: the values for intervalMs is not saved in the query model. It is typically calculated\nfrom the interval required to fill a pixels in the visualization' } }, + withIntervalMs(value): { + intervalMs: value, + }, + '#withMaxDataPoints': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'MaxDataPoints is the maximum number of data points that should be returned from a time series query.\nNOTE: the values for maxDataPoints is not saved in the query model. It is typically calculated\nfrom the number of pixels visible in a visualization' } }, + withMaxDataPoints(value): { + maxDataPoints: value, + }, + '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'QueryType is an optional identifier for the type of query.\nIt can be used to distinguish different types of queries.' } }, + withQueryType(value): { + queryType: value, + }, + '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'RefID is the unique identifier of the query, set by the frontend call.' } }, + withRefId(value): { + refId: value, + }, + '#withResultAssertions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Optionally define expected query result behavior' } }, + withResultAssertions(value): { + resultAssertions: value, + }, + '#withResultAssertionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Optionally define expected query result behavior' } }, + withResultAssertionsMixin(value): { + resultAssertions+: value, + }, + resultAssertions+: + { + '#withMaxFrames': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Maximum frame count' } }, + withMaxFrames(value): { + resultAssertions+: { + maxFrames: value, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: ['', 'timeseries-wide', 'timeseries-long', 'timeseries-many', 'timeseries-multi', 'directory-listing', 'table', 'numeric-wide', 'numeric-multi', 'numeric-long', 'log-lines'], name: 'value', type: ['string'] }], help: 'Type asserts that the frame matches a known type structure.\nPossible enum values:\n - `""` \n - `"timeseries-wide"` \n - `"timeseries-long"` \n - `"timeseries-many"` \n - `"timeseries-multi"` \n - `"directory-listing"` \n - `"table"` \n - `"numeric-wide"` \n - `"numeric-multi"` \n - `"numeric-long"` \n - `"log-lines"` ' } }, + withType(value): { + resultAssertions+: { + type: value, + }, + }, + '#withTypeVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane\ncontract documentation https://grafana.github.io/dataplane/contract/.' } }, + withTypeVersion(value): { + resultAssertions+: { + typeVersion: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withTypeVersionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane\ncontract documentation https://grafana.github.io/dataplane/contract/.' } }, + withTypeVersionMixin(value): { + resultAssertions+: { + typeVersion+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withTimeRange': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TimeRange represents the query range\nNOTE: unlike generic /ds/query, we can now send explicit time values in each query\nNOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly' } }, + withTimeRange(value): { + timeRange: value, + }, + '#withTimeRangeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TimeRange represents the query range\nNOTE: unlike generic /ds/query, we can now send explicit time values in each query\nNOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly' } }, + withTimeRangeMixin(value): { + timeRange+: value, + }, + timeRange+: + { + '#withFrom': { 'function': { args: [{ default: 'now-6h', enums: null, name: 'value', type: ['string'] }], help: 'From is the start time of the query.' } }, + withFrom(value='now-6h'): { + timeRange+: { + from: value, + }, + }, + '#withTo': { 'function': { args: [{ default: 'now', enums: null, name: 'value', type: ['string'] }], help: 'To is the end time of the query.' } }, + withTo(value='now'): { + timeRange+: { + to: value, + }, + }, + }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'resample', + }, + '#withUpsampler': { 'function': { args: [{ default: null, enums: ['pad', 'backfilling', 'fillna'], name: 'value', type: ['string'] }], help: 'The upsample function\nPossible enum values:\n - `"pad"` Use the last seen value\n - `"backfilling"` backfill\n - `"fillna"` Do not fill values (nill)' } }, + withUpsampler(value): { + upsampler: value, + }, + '#withWindow': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The time duration' } }, + withWindow(value): { + window: value, + }, + }, + TypeClassicConditions+: + { + '#withConditions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withConditions(value): { + conditions: + (if std.isArray(value) + then value + else [value]), + }, + '#withConditionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withConditionsMixin(value): { + conditions+: + (if std.isArray(value) + then value + else [value]), + }, + conditions+: + { + '#': { help: '', name: 'conditions' }, + '#withEvaluator': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withEvaluator(value): { + evaluator: value, + }, + '#withEvaluatorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withEvaluatorMixin(value): { + evaluator+: value, + }, + evaluator+: + { + '#withParams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withParams(value): { + evaluator+: { + params: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withParamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withParamsMixin(value): { + evaluator+: { + params+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'e.g. "gt"' } }, + withType(value): { + evaluator+: { + type: value, + }, + }, + }, + '#withOperator': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withOperator(value): { + operator: value, + }, + '#withOperatorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withOperatorMixin(value): { + operator+: value, + }, + operator+: + { + '#withType': { 'function': { args: [{ default: null, enums: ['and', 'or', 'logic-or'], name: 'value', type: ['string'] }], help: '' } }, + withType(value): { + operator+: { + type: value, + }, + }, + }, + '#withQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withQuery(value): { + query: value, + }, + '#withQueryMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withQueryMixin(value): { + query+: value, + }, + query+: + { + '#withParams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withParams(value): { + query+: { + params: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withParamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withParamsMixin(value): { + query+: { + params+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withReducer': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withReducer(value): { + reducer: value, + }, + '#withReducerMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withReducerMixin(value): { + reducer+: value, + }, + reducer+: + { + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withType(value): { + reducer+: { + type: value, + }, + }, + }, + }, + '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The datasource' } }, + withDatasource(value): { + datasource: value, + }, + '#withDatasourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The datasource' } }, + withDatasourceMixin(value): { + datasource+: value, + }, + datasource+: + { + '#withApiVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The apiserver version' } }, + withApiVersion(value): { + datasource+: { + apiVersion: value, + }, + }, + '#withType': { 'function': { args: [], help: 'The datasource plugin type' } }, + withType(): { + datasource+: { + type: '__expr__', + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Datasource UID (NOTE: name in k8s)' } }, + withUid(value): { + datasource+: { + uid: value, + }, + }, + }, + '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'true if query is disabled (ie should not be returned to the dashboard)\nNOTE: this does not always imply that the query should not be executed since\nthe results from a hidden query may be used as the input to other queries (SSE etc)' } }, + withHide(value=true): { + hide: value, + }, + '#withIntervalMs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Interval is the suggested duration between time points in a time series query.\nNOTE: the values for intervalMs is not saved in the query model. It is typically calculated\nfrom the interval required to fill a pixels in the visualization' } }, + withIntervalMs(value): { + intervalMs: value, + }, + '#withMaxDataPoints': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'MaxDataPoints is the maximum number of data points that should be returned from a time series query.\nNOTE: the values for maxDataPoints is not saved in the query model. It is typically calculated\nfrom the number of pixels visible in a visualization' } }, + withMaxDataPoints(value): { + maxDataPoints: value, + }, + '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'QueryType is an optional identifier for the type of query.\nIt can be used to distinguish different types of queries.' } }, + withQueryType(value): { + queryType: value, + }, + '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'RefID is the unique identifier of the query, set by the frontend call.' } }, + withRefId(value): { + refId: value, + }, + '#withResultAssertions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Optionally define expected query result behavior' } }, + withResultAssertions(value): { + resultAssertions: value, + }, + '#withResultAssertionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Optionally define expected query result behavior' } }, + withResultAssertionsMixin(value): { + resultAssertions+: value, + }, + resultAssertions+: + { + '#withMaxFrames': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Maximum frame count' } }, + withMaxFrames(value): { + resultAssertions+: { + maxFrames: value, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: ['', 'timeseries-wide', 'timeseries-long', 'timeseries-many', 'timeseries-multi', 'directory-listing', 'table', 'numeric-wide', 'numeric-multi', 'numeric-long', 'log-lines'], name: 'value', type: ['string'] }], help: 'Type asserts that the frame matches a known type structure.\nPossible enum values:\n - `""` \n - `"timeseries-wide"` \n - `"timeseries-long"` \n - `"timeseries-many"` \n - `"timeseries-multi"` \n - `"directory-listing"` \n - `"table"` \n - `"numeric-wide"` \n - `"numeric-multi"` \n - `"numeric-long"` \n - `"log-lines"` ' } }, + withType(value): { + resultAssertions+: { + type: value, + }, + }, + '#withTypeVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane\ncontract documentation https://grafana.github.io/dataplane/contract/.' } }, + withTypeVersion(value): { + resultAssertions+: { + typeVersion: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withTypeVersionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane\ncontract documentation https://grafana.github.io/dataplane/contract/.' } }, + withTypeVersionMixin(value): { + resultAssertions+: { + typeVersion+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withTimeRange': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TimeRange represents the query range\nNOTE: unlike generic /ds/query, we can now send explicit time values in each query\nNOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly' } }, + withTimeRange(value): { + timeRange: value, + }, + '#withTimeRangeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TimeRange represents the query range\nNOTE: unlike generic /ds/query, we can now send explicit time values in each query\nNOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly' } }, + withTimeRangeMixin(value): { + timeRange+: value, + }, + timeRange+: + { + '#withFrom': { 'function': { args: [{ default: 'now-6h', enums: null, name: 'value', type: ['string'] }], help: 'From is the start time of the query.' } }, + withFrom(value='now-6h'): { + timeRange+: { + from: value, + }, + }, + '#withTo': { 'function': { args: [{ default: 'now', enums: null, name: 'value', type: ['string'] }], help: 'To is the end time of the query.' } }, + withTo(value='now'): { + timeRange+: { + to: value, + }, + }, + }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'classic_conditions', + }, + }, + TypeThreshold+: + { + '#withConditions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Threshold Conditions' } }, + withConditions(value): { + conditions: + (if std.isArray(value) + then value + else [value]), + }, + '#withConditionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Threshold Conditions' } }, + withConditionsMixin(value): { + conditions+: + (if std.isArray(value) + then value + else [value]), + }, + conditions+: + { + '#': { help: '', name: 'conditions' }, + '#withEvaluator': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withEvaluator(value): { + evaluator: value, + }, + '#withEvaluatorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withEvaluatorMixin(value): { + evaluator+: value, + }, + evaluator+: + { + '#withParams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withParams(value): { + evaluator+: { + params: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withParamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withParamsMixin(value): { + evaluator+: { + params+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: ['gt', 'lt', 'within_range', 'outside_range'], name: 'value', type: ['string'] }], help: 'e.g. "gt"' } }, + withType(value): { + evaluator+: { + type: value, + }, + }, + }, + '#withLoadedDimensions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withLoadedDimensions(value): { + loadedDimensions: value, + }, + '#withLoadedDimensionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withLoadedDimensionsMixin(value): { + loadedDimensions+: value, + }, + '#withUnloadEvaluator': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withUnloadEvaluator(value): { + unloadEvaluator: value, + }, + '#withUnloadEvaluatorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withUnloadEvaluatorMixin(value): { + unloadEvaluator+: value, + }, + unloadEvaluator+: + { + '#withParams': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withParams(value): { + unloadEvaluator+: { + params: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withParamsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withParamsMixin(value): { + unloadEvaluator+: { + params+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: ['gt', 'lt', 'within_range', 'outside_range'], name: 'value', type: ['string'] }], help: 'e.g. "gt"' } }, + withType(value): { + unloadEvaluator+: { + type: value, + }, + }, + }, + }, + '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The datasource' } }, + withDatasource(value): { + datasource: value, + }, + '#withDatasourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The datasource' } }, + withDatasourceMixin(value): { + datasource+: value, + }, + datasource+: + { + '#withApiVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The apiserver version' } }, + withApiVersion(value): { + datasource+: { + apiVersion: value, + }, + }, + '#withType': { 'function': { args: [], help: 'The datasource plugin type' } }, + withType(): { + datasource+: { + type: '__expr__', + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Datasource UID (NOTE: name in k8s)' } }, + withUid(value): { + datasource+: { + uid: value, + }, + }, + }, + '#withExpression': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Reference to single query result' } }, + withExpression(value): { + expression: value, + }, + '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'true if query is disabled (ie should not be returned to the dashboard)\nNOTE: this does not always imply that the query should not be executed since\nthe results from a hidden query may be used as the input to other queries (SSE etc)' } }, + withHide(value=true): { + hide: value, + }, + '#withIntervalMs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Interval is the suggested duration between time points in a time series query.\nNOTE: the values for intervalMs is not saved in the query model. It is typically calculated\nfrom the interval required to fill a pixels in the visualization' } }, + withIntervalMs(value): { + intervalMs: value, + }, + '#withMaxDataPoints': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'MaxDataPoints is the maximum number of data points that should be returned from a time series query.\nNOTE: the values for maxDataPoints is not saved in the query model. It is typically calculated\nfrom the number of pixels visible in a visualization' } }, + withMaxDataPoints(value): { + maxDataPoints: value, + }, + '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'QueryType is an optional identifier for the type of query.\nIt can be used to distinguish different types of queries.' } }, + withQueryType(value): { + queryType: value, + }, + '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'RefID is the unique identifier of the query, set by the frontend call.' } }, + withRefId(value): { + refId: value, + }, + '#withResultAssertions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Optionally define expected query result behavior' } }, + withResultAssertions(value): { + resultAssertions: value, + }, + '#withResultAssertionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Optionally define expected query result behavior' } }, + withResultAssertionsMixin(value): { + resultAssertions+: value, + }, + resultAssertions+: + { + '#withMaxFrames': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Maximum frame count' } }, + withMaxFrames(value): { + resultAssertions+: { + maxFrames: value, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: ['', 'timeseries-wide', 'timeseries-long', 'timeseries-many', 'timeseries-multi', 'directory-listing', 'table', 'numeric-wide', 'numeric-multi', 'numeric-long', 'log-lines'], name: 'value', type: ['string'] }], help: 'Type asserts that the frame matches a known type structure.\nPossible enum values:\n - `""` \n - `"timeseries-wide"` \n - `"timeseries-long"` \n - `"timeseries-many"` \n - `"timeseries-multi"` \n - `"directory-listing"` \n - `"table"` \n - `"numeric-wide"` \n - `"numeric-multi"` \n - `"numeric-long"` \n - `"log-lines"` ' } }, + withType(value): { + resultAssertions+: { + type: value, + }, + }, + '#withTypeVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane\ncontract documentation https://grafana.github.io/dataplane/contract/.' } }, + withTypeVersion(value): { + resultAssertions+: { + typeVersion: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withTypeVersionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane\ncontract documentation https://grafana.github.io/dataplane/contract/.' } }, + withTypeVersionMixin(value): { + resultAssertions+: { + typeVersion+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withTimeRange': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TimeRange represents the query range\nNOTE: unlike generic /ds/query, we can now send explicit time values in each query\nNOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly' } }, + withTimeRange(value): { + timeRange: value, + }, + '#withTimeRangeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TimeRange represents the query range\nNOTE: unlike generic /ds/query, we can now send explicit time values in each query\nNOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly' } }, + withTimeRangeMixin(value): { + timeRange+: value, + }, + timeRange+: + { + '#withFrom': { 'function': { args: [{ default: 'now-6h', enums: null, name: 'value', type: ['string'] }], help: 'From is the start time of the query.' } }, + withFrom(value='now-6h'): { + timeRange+: { + from: value, + }, + }, + '#withTo': { 'function': { args: [{ default: 'now', enums: null, name: 'value', type: ['string'] }], help: 'To is the end time of the query.' } }, + withTo(value='now'): { + timeRange+: { + to: value, + }, + }, + }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'threshold', + }, + }, + TypeSql+: + { + '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The datasource' } }, + withDatasource(value): { + datasource: value, + }, + '#withDatasourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The datasource' } }, + withDatasourceMixin(value): { + datasource+: value, + }, + datasource+: + { + '#withApiVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The apiserver version' } }, + withApiVersion(value): { + datasource+: { + apiVersion: value, + }, + }, + '#withType': { 'function': { args: [], help: 'The datasource plugin type' } }, + withType(): { + datasource+: { + type: '__expr__', + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Datasource UID (NOTE: name in k8s)' } }, + withUid(value): { + datasource+: { + uid: value, + }, + }, + }, + '#withExpression': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withExpression(value): { + expression: value, + }, + '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'true if query is disabled (ie should not be returned to the dashboard)\nNOTE: this does not always imply that the query should not be executed since\nthe results from a hidden query may be used as the input to other queries (SSE etc)' } }, + withHide(value=true): { + hide: value, + }, + '#withIntervalMs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Interval is the suggested duration between time points in a time series query.\nNOTE: the values for intervalMs is not saved in the query model. It is typically calculated\nfrom the interval required to fill a pixels in the visualization' } }, + withIntervalMs(value): { + intervalMs: value, + }, + '#withMaxDataPoints': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'MaxDataPoints is the maximum number of data points that should be returned from a time series query.\nNOTE: the values for maxDataPoints is not saved in the query model. It is typically calculated\nfrom the number of pixels visible in a visualization' } }, + withMaxDataPoints(value): { + maxDataPoints: value, + }, + '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'QueryType is an optional identifier for the type of query.\nIt can be used to distinguish different types of queries.' } }, + withQueryType(value): { + queryType: value, + }, + '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'RefID is the unique identifier of the query, set by the frontend call.' } }, + withRefId(value): { + refId: value, + }, + '#withResultAssertions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Optionally define expected query result behavior' } }, + withResultAssertions(value): { + resultAssertions: value, + }, + '#withResultAssertionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Optionally define expected query result behavior' } }, + withResultAssertionsMixin(value): { + resultAssertions+: value, + }, + resultAssertions+: + { + '#withMaxFrames': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Maximum frame count' } }, + withMaxFrames(value): { + resultAssertions+: { + maxFrames: value, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: ['', 'timeseries-wide', 'timeseries-long', 'timeseries-many', 'timeseries-multi', 'directory-listing', 'table', 'numeric-wide', 'numeric-multi', 'numeric-long', 'log-lines'], name: 'value', type: ['string'] }], help: 'Type asserts that the frame matches a known type structure.\nPossible enum values:\n - `""` \n - `"timeseries-wide"` \n - `"timeseries-long"` \n - `"timeseries-many"` \n - `"timeseries-multi"` \n - `"directory-listing"` \n - `"table"` \n - `"numeric-wide"` \n - `"numeric-multi"` \n - `"numeric-long"` \n - `"log-lines"` ' } }, + withType(value): { + resultAssertions+: { + type: value, + }, + }, + '#withTypeVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane\ncontract documentation https://grafana.github.io/dataplane/contract/.' } }, + withTypeVersion(value): { + resultAssertions+: { + typeVersion: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withTypeVersionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane\ncontract documentation https://grafana.github.io/dataplane/contract/.' } }, + withTypeVersionMixin(value): { + resultAssertions+: { + typeVersion+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withTimeRange': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TimeRange represents the query range\nNOTE: unlike generic /ds/query, we can now send explicit time values in each query\nNOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly' } }, + withTimeRange(value): { + timeRange: value, + }, + '#withTimeRangeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TimeRange represents the query range\nNOTE: unlike generic /ds/query, we can now send explicit time values in each query\nNOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly' } }, + withTimeRangeMixin(value): { + timeRange+: value, + }, + timeRange+: + { + '#withFrom': { 'function': { args: [{ default: 'now-6h', enums: null, name: 'value', type: ['string'] }], help: 'From is the start time of the query.' } }, + withFrom(value='now-6h'): { + timeRange+: { + from: value, + }, + }, + '#withTo': { 'function': { args: [{ default: 'now', enums: null, name: 'value', type: ['string'] }], help: 'To is the end time of the query.' } }, + withTo(value='now'): { + timeRange+: { + to: value, + }, + }, + }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'sql', + }, + }, +} ++ (import '../custom/query/expr.libsonnet') diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/googleCloudMonitoring.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/googleCloudMonitoring.libsonnet similarity index 59% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/googleCloudMonitoring.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/googleCloudMonitoring.libsonnet index 765c385..478a49c 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/googleCloudMonitoring.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/googleCloudMonitoring.libsonnet @@ -1,122 +1,293 @@ // This file is generated, do not manually edit. { '#': { help: 'grafonnet.query.googleCloudMonitoring', name: 'googleCloudMonitoring' }, - '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, - withDatasource(value): { datasource: value }, - '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'true if query is disabled (ie should not be returned to the dashboard)\nNote this does not always imply that the query should not be executed since\nthe results from a hidden query may be used as the input to other queries (SSE etc)' } }, - withHide(value=true): { hide: value }, - '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specify the query flavor\nTODO make this required and give it a default' } }, - withQueryType(value): { queryType: value }, - '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A unique identifier for the query within the list of targets.\nIn server side expressions, the refId is used as a variable name to identify results.\nBy default, the UI will assign A->Z; however setting meaningful names may be useful.' } }, - withRefId(value): { refId: value }, '#withAliasBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Aliases can be set to modify the legend labels. e.g. {{metric.label.xxx}}. See docs for more detail.' } }, - withAliasBy(value): { aliasBy: value }, + withAliasBy(value): { + aliasBy: value, + }, + '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, + withDatasource(value): { + datasource: value, + }, + '#withDatasourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, + withDatasourceMixin(value): { + datasource+: value, + }, + '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If hide is set to true, Grafana will filter out the response(s) associated with this query before returning it to the panel.' } }, + withHide(value=true): { + hide: value, + }, '#withIntervalMs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Time interval in milliseconds.' } }, - withIntervalMs(value): { intervalMs: value }, + withIntervalMs(value): { + intervalMs: value, + }, '#withPromQLQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PromQL sub-query properties.' } }, - withPromQLQuery(value): { promQLQuery: value }, + withPromQLQuery(value): { + promQLQuery: value, + }, '#withPromQLQueryMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'PromQL sub-query properties.' } }, - withPromQLQueryMixin(value): { promQLQuery+: value }, + withPromQLQueryMixin(value): { + promQLQuery+: value, + }, promQLQuery+: { '#withExpr': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'PromQL expression/query to be executed.' } }, - withExpr(value): { promQLQuery+: { expr: value } }, + withExpr(value): { + promQLQuery+: { + expr: value, + }, + }, '#withProjectName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GCP project to execute the query against.' } }, - withProjectName(value): { promQLQuery+: { projectName: value } }, + withProjectName(value): { + promQLQuery+: { + projectName: value, + }, + }, '#withStep': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'PromQL min step' } }, - withStep(value): { promQLQuery+: { step: value } }, + withStep(value): { + promQLQuery+: { + step: value, + }, + }, }, + '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specify the query flavor\nTODO make this required and give it a default' } }, + withQueryType(value): { + queryType: value, + }, + '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A unique identifier for the query within the list of targets.\nIn server side expressions, the refId is used as a variable name to identify results.\nBy default, the UI will assign A->Z; however setting meaningful names may be useful.' } }, + withRefId(value): { + refId: value, + }, '#withSloQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'SLO sub-query properties.' } }, - withSloQuery(value): { sloQuery: value }, + withSloQuery(value): { + sloQuery: value, + }, '#withSloQueryMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'SLO sub-query properties.' } }, - withSloQueryMixin(value): { sloQuery+: value }, + withSloQueryMixin(value): { + sloQuery+: value, + }, sloQuery+: { '#withAlignmentPeriod': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Alignment period to use when regularizing data. Defaults to cloud-monitoring-auto.' } }, - withAlignmentPeriod(value): { sloQuery+: { alignmentPeriod: value } }, + withAlignmentPeriod(value): { + sloQuery+: { + alignmentPeriod: value, + }, + }, '#withGoal': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'SLO goal value.' } }, - withGoal(value): { sloQuery+: { goal: value } }, + withGoal(value): { + sloQuery+: { + goal: value, + }, + }, '#withLookbackPeriod': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specific lookback period for the SLO.' } }, - withLookbackPeriod(value): { sloQuery+: { lookbackPeriod: value } }, + withLookbackPeriod(value): { + sloQuery+: { + lookbackPeriod: value, + }, + }, '#withPerSeriesAligner': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Alignment function to be used. Defaults to ALIGN_MEAN.' } }, - withPerSeriesAligner(value): { sloQuery+: { perSeriesAligner: value } }, + withPerSeriesAligner(value): { + sloQuery+: { + perSeriesAligner: value, + }, + }, '#withProjectName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GCP project to execute the query against.' } }, - withProjectName(value): { sloQuery+: { projectName: value } }, + withProjectName(value): { + sloQuery+: { + projectName: value, + }, + }, '#withSelectorName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'SLO selector.' } }, - withSelectorName(value): { sloQuery+: { selectorName: value } }, + withSelectorName(value): { + sloQuery+: { + selectorName: value, + }, + }, '#withServiceId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'ID for the service the SLO is in.' } }, - withServiceId(value): { sloQuery+: { serviceId: value } }, + withServiceId(value): { + sloQuery+: { + serviceId: value, + }, + }, '#withServiceName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name for the service the SLO is in.' } }, - withServiceName(value): { sloQuery+: { serviceName: value } }, + withServiceName(value): { + sloQuery+: { + serviceName: value, + }, + }, '#withSloId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'ID for the SLO.' } }, - withSloId(value): { sloQuery+: { sloId: value } }, + withSloId(value): { + sloQuery+: { + sloId: value, + }, + }, '#withSloName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the SLO.' } }, - withSloName(value): { sloQuery+: { sloName: value } }, + withSloName(value): { + sloQuery+: { + sloName: value, + }, + }, }, '#withTimeSeriesList': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Time Series List sub-query properties.' } }, - withTimeSeriesList(value): { timeSeriesList: value }, + withTimeSeriesList(value): { + timeSeriesList: value, + }, '#withTimeSeriesListMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Time Series List sub-query properties.' } }, - withTimeSeriesListMixin(value): { timeSeriesList+: value }, + withTimeSeriesListMixin(value): { + timeSeriesList+: value, + }, timeSeriesList+: { '#withAlignmentPeriod': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Alignment period to use when regularizing data. Defaults to cloud-monitoring-auto.' } }, - withAlignmentPeriod(value): { timeSeriesList+: { alignmentPeriod: value } }, + withAlignmentPeriod(value): { + timeSeriesList+: { + alignmentPeriod: value, + }, + }, '#withCrossSeriesReducer': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Reducer applied across a set of time-series values. Defaults to REDUCE_NONE.' } }, - withCrossSeriesReducer(value): { timeSeriesList+: { crossSeriesReducer: value } }, + withCrossSeriesReducer(value): { + timeSeriesList+: { + crossSeriesReducer: value, + }, + }, '#withFilters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Array of filters to query data by. Labels that can be filtered on are defined by the metric.' } }, - withFilters(value): { timeSeriesList+: { filters: (if std.isArray(value) - then value - else [value]) } }, + withFilters(value): { + timeSeriesList+: { + filters: + (if std.isArray(value) + then value + else [value]), + }, + }, '#withFiltersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Array of filters to query data by. Labels that can be filtered on are defined by the metric.' } }, - withFiltersMixin(value): { timeSeriesList+: { filters+: (if std.isArray(value) - then value - else [value]) } }, + withFiltersMixin(value): { + timeSeriesList+: { + filters+: + (if std.isArray(value) + then value + else [value]), + }, + }, '#withGroupBys': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Array of labels to group data by.' } }, - withGroupBys(value): { timeSeriesList+: { groupBys: (if std.isArray(value) - then value - else [value]) } }, + withGroupBys(value): { + timeSeriesList+: { + groupBys: + (if std.isArray(value) + then value + else [value]), + }, + }, '#withGroupBysMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Array of labels to group data by.' } }, - withGroupBysMixin(value): { timeSeriesList+: { groupBys+: (if std.isArray(value) - then value - else [value]) } }, + withGroupBysMixin(value): { + timeSeriesList+: { + groupBys+: + (if std.isArray(value) + then value + else [value]), + }, + }, '#withPerSeriesAligner': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Alignment function to be used. Defaults to ALIGN_MEAN.' } }, - withPerSeriesAligner(value): { timeSeriesList+: { perSeriesAligner: value } }, + withPerSeriesAligner(value): { + timeSeriesList+: { + perSeriesAligner: value, + }, + }, '#withPreprocessor': { 'function': { args: [{ default: null, enums: ['none', 'rate', 'delta'], name: 'value', type: ['string'] }], help: 'Types of pre-processor available. Defined by the metric.' } }, - withPreprocessor(value): { timeSeriesList+: { preprocessor: value } }, + withPreprocessor(value): { + timeSeriesList+: { + preprocessor: value, + }, + }, '#withProjectName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GCP project to execute the query against.' } }, - withProjectName(value): { timeSeriesList+: { projectName: value } }, + withProjectName(value): { + timeSeriesList+: { + projectName: value, + }, + }, '#withSecondaryAlignmentPeriod': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Only present if a preprocessor is selected. Alignment period to use when regularizing data. Defaults to cloud-monitoring-auto.' } }, - withSecondaryAlignmentPeriod(value): { timeSeriesList+: { secondaryAlignmentPeriod: value } }, + withSecondaryAlignmentPeriod(value): { + timeSeriesList+: { + secondaryAlignmentPeriod: value, + }, + }, '#withSecondaryCrossSeriesReducer': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Only present if a preprocessor is selected. Reducer applied across a set of time-series values. Defaults to REDUCE_NONE.' } }, - withSecondaryCrossSeriesReducer(value): { timeSeriesList+: { secondaryCrossSeriesReducer: value } }, + withSecondaryCrossSeriesReducer(value): { + timeSeriesList+: { + secondaryCrossSeriesReducer: value, + }, + }, '#withSecondaryGroupBys': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Only present if a preprocessor is selected. Array of labels to group data by.' } }, - withSecondaryGroupBys(value): { timeSeriesList+: { secondaryGroupBys: (if std.isArray(value) - then value - else [value]) } }, + withSecondaryGroupBys(value): { + timeSeriesList+: { + secondaryGroupBys: + (if std.isArray(value) + then value + else [value]), + }, + }, '#withSecondaryGroupBysMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Only present if a preprocessor is selected. Array of labels to group data by.' } }, - withSecondaryGroupBysMixin(value): { timeSeriesList+: { secondaryGroupBys+: (if std.isArray(value) - then value - else [value]) } }, + withSecondaryGroupBysMixin(value): { + timeSeriesList+: { + secondaryGroupBys+: + (if std.isArray(value) + then value + else [value]), + }, + }, '#withSecondaryPerSeriesAligner': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Only present if a preprocessor is selected. Alignment function to be used. Defaults to ALIGN_MEAN.' } }, - withSecondaryPerSeriesAligner(value): { timeSeriesList+: { secondaryPerSeriesAligner: value } }, + withSecondaryPerSeriesAligner(value): { + timeSeriesList+: { + secondaryPerSeriesAligner: value, + }, + }, '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Annotation text.' } }, - withText(value): { timeSeriesList+: { text: value } }, + withText(value): { + timeSeriesList+: { + text: value, + }, + }, '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Annotation title.' } }, - withTitle(value): { timeSeriesList+: { title: value } }, + withTitle(value): { + timeSeriesList+: { + title: value, + }, + }, '#withView': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Data view, defaults to FULL.' } }, - withView(value): { timeSeriesList+: { view: value } }, + withView(value): { + timeSeriesList+: { + view: value, + }, + }, }, '#withTimeSeriesQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Time Series sub-query properties.' } }, - withTimeSeriesQuery(value): { timeSeriesQuery: value }, + withTimeSeriesQuery(value): { + timeSeriesQuery: value, + }, '#withTimeSeriesQueryMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Time Series sub-query properties.' } }, - withTimeSeriesQueryMixin(value): { timeSeriesQuery+: value }, + withTimeSeriesQueryMixin(value): { + timeSeriesQuery+: value, + }, timeSeriesQuery+: { - '#withGraphPeriod': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "To disable the graphPeriod, it should explictly be set to 'disabled'." } }, - withGraphPeriod(value): { timeSeriesQuery+: { graphPeriod: value } }, + '#withGraphPeriod': { 'function': { args: [{ default: 'disabled', enums: null, name: 'value', type: ['string'] }], help: "To disable the graphPeriod, it should explictly be set to 'disabled'." } }, + withGraphPeriod(value='disabled'): { + timeSeriesQuery+: { + graphPeriod: value, + }, + }, '#withProjectName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'GCP project to execute the query against.' } }, - withProjectName(value): { timeSeriesQuery+: { projectName: value } }, + withProjectName(value): { + timeSeriesQuery+: { + projectName: value, + }, + }, '#withQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'MQL query to be executed.' } }, - withQuery(value): { timeSeriesQuery+: { query: value } }, + withQuery(value): { + timeSeriesQuery+: { + query: value, + }, + }, }, } ++ (import '../custom/query/googleCloudMonitoring.libsonnet') diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/grafanaPyroscope.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/grafanaPyroscope.libsonnet similarity index 57% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/grafanaPyroscope.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/grafanaPyroscope.libsonnet index f87bbe0..67a7566 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/grafanaPyroscope.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/grafanaPyroscope.libsonnet @@ -1,34 +1,65 @@ // This file is generated, do not manually edit. { '#': { help: 'grafonnet.query.grafanaPyroscope', name: 'grafanaPyroscope' }, - '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, - withDatasource(value): { datasource: value }, + '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, + withDatasource(value): { + datasource: value, + }, + '#withDatasourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, + withDatasourceMixin(value): { + datasource+: value, + }, '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Allows to group the results.' } }, - withGroupBy(value): { groupBy: (if std.isArray(value) - then value - else [value]) }, + withGroupBy(value): { + groupBy: + (if std.isArray(value) + then value + else [value]), + }, '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Allows to group the results.' } }, - withGroupByMixin(value): { groupBy+: (if std.isArray(value) - then value - else [value]) }, - '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'true if query is disabled (ie should not be returned to the dashboard)\nNote this does not always imply that the query should not be executed since\nthe results from a hidden query may be used as the input to other queries (SSE etc)' } }, - withHide(value=true): { hide: value }, + withGroupByMixin(value): { + groupBy+: + (if std.isArray(value) + then value + else [value]), + }, + '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If hide is set to true, Grafana will filter out the response(s) associated with this query before returning it to the panel.' } }, + withHide(value=true): { + hide: value, + }, '#withLabelSelector': { 'function': { args: [{ default: '{}', enums: null, name: 'value', type: ['string'] }], help: 'Specifies the query label selectors.' } }, - withLabelSelector(value='{}'): { labelSelector: value }, + withLabelSelector(value='{}'): { + labelSelector: value, + }, '#withMaxNodes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Sets the maximum number of nodes in the flamegraph.' } }, - withMaxNodes(value): { maxNodes: value }, + withMaxNodes(value): { + maxNodes: value, + }, '#withProfileTypeId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specifies the type of profile to query.' } }, - withProfileTypeId(value): { profileTypeId: value }, + withProfileTypeId(value): { + profileTypeId: value, + }, '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specify the query flavor\nTODO make this required and give it a default' } }, - withQueryType(value): { queryType: value }, + withQueryType(value): { + queryType: value, + }, '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A unique identifier for the query within the list of targets.\nIn server side expressions, the refId is used as a variable name to identify results.\nBy default, the UI will assign A->Z; however setting meaningful names may be useful.' } }, - withRefId(value): { refId: value }, + withRefId(value): { + refId: value, + }, '#withSpanSelector': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Specifies the query span selectors.' } }, - withSpanSelector(value): { spanSelector: (if std.isArray(value) - then value - else [value]) }, + withSpanSelector(value): { + spanSelector: + (if std.isArray(value) + then value + else [value]), + }, '#withSpanSelectorMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Specifies the query span selectors.' } }, - withSpanSelectorMixin(value): { spanSelector+: (if std.isArray(value) - then value - else [value]) }, + withSpanSelectorMixin(value): { + spanSelector+: + (if std.isArray(value) + then value + else [value]), + }, } ++ (import '../custom/query/grafanaPyroscope.libsonnet') diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/query/loki.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/loki.libsonnet similarity index 62% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/query/loki.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/loki.libsonnet index 510a5d8..2d77f4b 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/query/loki.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/loki.libsonnet @@ -1,29 +1,57 @@ // This file is generated, do not manually edit. { '#': { help: 'grafonnet.query.loki', name: 'loki' }, - '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, - withDatasource(value): { datasource: value }, + '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, + withDatasource(value): { + datasource: value, + }, + '#withDatasourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, + withDatasourceMixin(value): { + datasource+: value, + }, '#withEditorMode': { 'function': { args: [{ default: null, enums: ['code', 'builder'], name: 'value', type: ['string'] }], help: '' } }, - withEditorMode(value): { editorMode: value }, + withEditorMode(value): { + editorMode: value, + }, '#withExpr': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The LogQL query.' } }, - withExpr(value): { expr: value }, - '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'true if query is disabled (ie should not be returned to the dashboard)\nNote this does not always imply that the query should not be executed since\nthe results from a hidden query may be used as the input to other queries (SSE etc)' } }, - withHide(value=true): { hide: value }, + withExpr(value): { + expr: value, + }, + '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If hide is set to true, Grafana will filter out the response(s) associated with this query before returning it to the panel.' } }, + withHide(value=true): { + hide: value, + }, '#withInstant': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '@deprecated, now use queryType.' } }, - withInstant(value=true): { instant: value }, + withInstant(value=true): { + instant: value, + }, '#withLegendFormat': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Used to override the name of the series.' } }, - withLegendFormat(value): { legendFormat: value }, + withLegendFormat(value): { + legendFormat: value, + }, '#withMaxLines': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Used to limit the number of log rows returned.' } }, - withMaxLines(value): { maxLines: value }, + withMaxLines(value): { + maxLines: value, + }, '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specify the query flavor\nTODO make this required and give it a default' } }, - withQueryType(value): { queryType: value }, + withQueryType(value): { + queryType: value, + }, '#withRange': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '@deprecated, now use queryType.' } }, - withRange(value=true): { range: value }, + withRange(value=true): { + range: value, + }, '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A unique identifier for the query within the list of targets.\nIn server side expressions, the refId is used as a variable name to identify results.\nBy default, the UI will assign A->Z; however setting meaningful names may be useful.' } }, - withRefId(value): { refId: value }, + withRefId(value): { + refId: value, + }, '#withResolution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '@deprecated, now use step.' } }, - withResolution(value): { resolution: value }, + withResolution(value): { + resolution: value, + }, '#withStep': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Used to set step value for range queries.' } }, - withStep(value): { step: value }, + withStep(value): { + step: value, + }, } -+ (import '../../custom/query/loki.libsonnet') ++ (import '../custom/query/loki.libsonnet') diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/parca.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/parca.libsonnet similarity index 56% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/parca.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/parca.libsonnet index 6810272..94f6f23 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/parca.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/parca.libsonnet @@ -1,16 +1,33 @@ // This file is generated, do not manually edit. { '#': { help: 'grafonnet.query.parca', name: 'parca' }, - '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, - withDatasource(value): { datasource: value }, - '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'true if query is disabled (ie should not be returned to the dashboard)\nNote this does not always imply that the query should not be executed since\nthe results from a hidden query may be used as the input to other queries (SSE etc)' } }, - withHide(value=true): { hide: value }, + '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, + withDatasource(value): { + datasource: value, + }, + '#withDatasourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, + withDatasourceMixin(value): { + datasource+: value, + }, + '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If hide is set to true, Grafana will filter out the response(s) associated with this query before returning it to the panel.' } }, + withHide(value=true): { + hide: value, + }, '#withLabelSelector': { 'function': { args: [{ default: '{}', enums: null, name: 'value', type: ['string'] }], help: 'Specifies the query label selectors.' } }, - withLabelSelector(value='{}'): { labelSelector: value }, + withLabelSelector(value='{}'): { + labelSelector: value, + }, '#withProfileTypeId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specifies the type of profile to query.' } }, - withProfileTypeId(value): { profileTypeId: value }, + withProfileTypeId(value): { + profileTypeId: value, + }, '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specify the query flavor\nTODO make this required and give it a default' } }, - withQueryType(value): { queryType: value }, + withQueryType(value): { + queryType: value, + }, '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A unique identifier for the query within the list of targets.\nIn server side expressions, the refId is used as a variable name to identify results.\nBy default, the UI will assign A->Z; however setting meaningful names may be useful.' } }, - withRefId(value): { refId: value }, + withRefId(value): { + refId: value, + }, } ++ (import '../custom/query/parca.libsonnet') diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/prometheus.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/prometheus.libsonnet similarity index 58% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/prometheus.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/prometheus.libsonnet index d771b5b..6e2eeaa 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/prometheus.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/prometheus.libsonnet @@ -1,37 +1,61 @@ // This file is generated, do not manually edit. { '#': { help: 'grafonnet.query.prometheus', name: 'prometheus' }, - '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, - withDatasource(value): { datasource: value }, - '#withEditorMode': { 'function': { args: [{ default: null, enums: ['code', 'builder'], name: 'value', type: ['string'] }], help: '' } }, - withEditorMode(value): { editorMode: value }, + '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, + withDatasource(value): { + datasource: value, + }, + '#withDatasourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, + withDatasourceMixin(value): { + datasource+: value, + }, + '#withEditorMode': { 'function': { args: [{ default: null, enums: ['code', 'builder'], name: 'value', type: ['string'] }], help: 'Specifies which editor is being used to prepare the query. It can be "code" or "builder"' } }, + withEditorMode(value): { + editorMode: value, + }, '#withExemplar': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Execute an additional query to identify interesting raw samples relevant for the given expr' } }, - withExemplar(value=true): { exemplar: value }, + withExemplar(value=true): { + exemplar: value, + }, '#withExpr': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The actual expression/query that will be evaluated by Prometheus' } }, - withExpr(value): { expr: value }, - '#withFormat': { 'function': { args: [{ default: null, enums: ['time_series', 'table', 'heatmap'], name: 'value', type: ['string'] }], help: '' } }, - withFormat(value): { format: value }, - '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'true if query is disabled (ie should not be returned to the dashboard)\nNote this does not always imply that the query should not be executed since\nthe results from a hidden query may be used as the input to other queries (SSE etc)' } }, - withHide(value=true): { hide: value }, + withExpr(value): { + expr: value, + }, + '#withFormat': { 'function': { args: [{ default: null, enums: ['time_series', 'table', 'heatmap'], name: 'value', type: ['string'] }], help: 'Query format to determine how to display data points in panel. It can be "time_series", "table", "heatmap"' } }, + withFormat(value): { + format: value, + }, + '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If hide is set to true, Grafana will filter out the response(s) associated with this query before returning it to the panel.' } }, + withHide(value=true): { + hide: value, + }, '#withInstant': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Returns only the latest value that Prometheus has scraped for the requested time series' } }, - withInstant(value=true): { instant: value }, + withInstant(value=true): { + instant: value, + }, + '#withInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'An additional lower limit for the step parameter of the Prometheus query and for the\n`$__interval` and `$__rate_interval` variables.' } }, + withInterval(value): { + interval: value, + }, '#withIntervalFactor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '@deprecated Used to specify how many times to divide max data points by. We use max data points under query options\nSee https://github.com/grafana/grafana/issues/48081' } }, - withIntervalFactor(value): { intervalFactor: value }, + withIntervalFactor(value): { + intervalFactor: value, + }, '#withLegendFormat': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Series name override or template. Ex. {{hostname}} will be replaced with label value for hostname' } }, - withLegendFormat(value): { legendFormat: value }, + withLegendFormat(value): { + legendFormat: value, + }, '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specify the query flavor\nTODO make this required and give it a default' } }, - withQueryType(value): { queryType: value }, + withQueryType(value): { + queryType: value, + }, '#withRange': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Returns a Range vector, comprised of a set of time series containing a range of data points over time for each time series' } }, - withRange(value=true): { range: value }, + withRange(value=true): { + range: value, + }, '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A unique identifier for the query within the list of targets.\nIn server side expressions, the refId is used as a variable name to identify results.\nBy default, the UI will assign A->Z; however setting meaningful names may be useful.' } }, - withRefId(value): { refId: value }, - '#withScope': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withScope(value): { scope: value }, - '#withScopeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, - withScopeMixin(value): { scope+: value }, - scope+: - { - '#withMatchers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withMatchers(value): { scope+: { matchers: value } }, - }, + withRefId(value): { + refId: value, + }, } ++ (import '../custom/query/prometheus.libsonnet') diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/tempo.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/tempo.libsonnet similarity index 70% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/tempo.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/tempo.libsonnet index 9d99d53..1fe9d98 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/tempo.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/tempo.libsonnet @@ -1,88 +1,165 @@ // This file is generated, do not manually edit. { '#': { help: 'grafonnet.query.tempo', name: 'tempo' }, - '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, - withDatasource(value): { datasource: value }, - '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'true if query is disabled (ie should not be returned to the dashboard)\nNote this does not always imply that the query should not be executed since\nthe results from a hidden query may be used as the input to other queries (SSE etc)' } }, - withHide(value=true): { hide: value }, - '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specify the query flavor\nTODO make this required and give it a default' } }, - withQueryType(value): { queryType: value }, - '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A unique identifier for the query within the list of targets.\nIn server side expressions, the refId is used as a variable name to identify results.\nBy default, the UI will assign A->Z; however setting meaningful names may be useful.' } }, - withRefId(value): { refId: value }, + '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, + withDatasource(value): { + datasource: value, + }, + '#withDatasourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: "For mixed data sources the selected datasource is on the query level.\nFor non mixed scenarios this is undefined.\nTODO find a better way to do this ^ that's friendly to schema\nTODO this shouldn't be unknown but DataSourceRef | null" } }, + withDatasourceMixin(value): { + datasource+: value, + }, '#withFilters': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withFilters(value): { filters: (if std.isArray(value) - then value - else [value]) }, + withFilters(value): { + filters: + (if std.isArray(value) + then value + else [value]), + }, '#withFiltersMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, - withFiltersMixin(value): { filters+: (if std.isArray(value) - then value - else [value]) }, + withFiltersMixin(value): { + filters+: + (if std.isArray(value) + then value + else [value]), + }, filters+: { '#': { help: '', name: 'filters' }, '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Uniquely identify the filter, will not be used in the query generation' } }, - withId(value): { id: value }, + withId(value): { + id: value, + }, '#withOperator': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The operator that connects the tag to the value, for example: =, >, !=, =~' } }, - withOperator(value): { operator: value }, + withOperator(value): { + operator: value, + }, '#withScope': { 'function': { args: [{ default: null, enums: ['intrinsic', 'unscoped', 'resource', 'span'], name: 'value', type: ['string'] }], help: 'static fields are pre-set in the UI, dynamic fields are added by the user' } }, - withScope(value): { scope: value }, + withScope(value): { + scope: value, + }, '#withTag': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The tag for the search filter, for example: .http.status_code, .service.name, status' } }, - withTag(value): { tag: value }, + withTag(value): { + tag: value, + }, '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'array'] }], help: 'The value for the search filter' } }, - withValue(value): { value: value }, + withValue(value): { + value: value, + }, '#withValueMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'array'] }], help: 'The value for the search filter' } }, - withValueMixin(value): { value+: value }, + withValueMixin(value): { + value+: value, + }, '#withValueType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The type of the value, used for example to check whether we need to wrap the value in quotes when generating the query' } }, - withValueType(value): { valueType: value }, + withValueType(value): { + valueType: value, + }, }, '#withGroupBy': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Filters that are used to query the metrics summary' } }, - withGroupBy(value): { groupBy: (if std.isArray(value) - then value - else [value]) }, + withGroupBy(value): { + groupBy: + (if std.isArray(value) + then value + else [value]), + }, '#withGroupByMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Filters that are used to query the metrics summary' } }, - withGroupByMixin(value): { groupBy+: (if std.isArray(value) - then value - else [value]) }, + withGroupByMixin(value): { + groupBy+: + (if std.isArray(value) + then value + else [value]), + }, groupBy+: { '#': { help: '', name: 'groupBy' }, '#withId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Uniquely identify the filter, will not be used in the query generation' } }, - withId(value): { id: value }, + withId(value): { + id: value, + }, '#withOperator': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The operator that connects the tag to the value, for example: =, >, !=, =~' } }, - withOperator(value): { operator: value }, + withOperator(value): { + operator: value, + }, '#withScope': { 'function': { args: [{ default: null, enums: ['intrinsic', 'unscoped', 'resource', 'span'], name: 'value', type: ['string'] }], help: 'static fields are pre-set in the UI, dynamic fields are added by the user' } }, - withScope(value): { scope: value }, + withScope(value): { + scope: value, + }, '#withTag': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The tag for the search filter, for example: .http.status_code, .service.name, status' } }, - withTag(value): { tag: value }, + withTag(value): { + tag: value, + }, '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'array'] }], help: 'The value for the search filter' } }, - withValue(value): { value: value }, + withValue(value): { + value: value, + }, '#withValueMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'array'] }], help: 'The value for the search filter' } }, - withValueMixin(value): { value+: value }, + withValueMixin(value): { + value+: value, + }, '#withValueType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The type of the value, used for example to check whether we need to wrap the value in quotes when generating the query' } }, - withValueType(value): { valueType: value }, + withValueType(value): { + valueType: value, + }, }, + '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'If hide is set to true, Grafana will filter out the response(s) associated with this query before returning it to the panel.' } }, + withHide(value=true): { + hide: value, + }, '#withLimit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Defines the maximum number of traces that are returned from Tempo' } }, - withLimit(value): { limit: value }, + withLimit(value): { + limit: value, + }, '#withMaxDuration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '@deprecated Define the maximum duration to select traces. Use duration format, for example: 1.2s, 100ms' } }, - withMaxDuration(value): { maxDuration: value }, + withMaxDuration(value): { + maxDuration: value, + }, '#withMinDuration': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '@deprecated Define the minimum duration to select traces. Use duration format, for example: 1.2s, 100ms' } }, - withMinDuration(value): { minDuration: value }, + withMinDuration(value): { + minDuration: value, + }, '#withQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'TraceQL query or trace ID' } }, - withQuery(value): { query: value }, + withQuery(value): { + query: value, + }, + '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Specify the query flavor\nTODO make this required and give it a default' } }, + withQueryType(value): { + queryType: value, + }, + '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'A unique identifier for the query within the list of targets.\nIn server side expressions, the refId is used as a variable name to identify results.\nBy default, the UI will assign A->Z; however setting meaningful names may be useful.' } }, + withRefId(value): { + refId: value, + }, '#withSearch': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '@deprecated Logfmt query to filter traces by their tags. Example: http.status_code=200 error=true' } }, - withSearch(value): { search: value }, + withSearch(value): { + search: value, + }, '#withServiceMapIncludeNamespace': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Use service.namespace in addition to service.name to uniquely identify a service.' } }, - withServiceMapIncludeNamespace(value=true): { serviceMapIncludeNamespace: value }, + withServiceMapIncludeNamespace(value=true): { + serviceMapIncludeNamespace: value, + }, '#withServiceMapQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'array'] }], help: 'Filters to be included in a PromQL query to select data for the service graph. Example: {client="app",service="app"}. Providing multiple values will produce union of results for each filter, using PromQL OR operator internally.' } }, - withServiceMapQuery(value): { serviceMapQuery: value }, + withServiceMapQuery(value): { + serviceMapQuery: value, + }, '#withServiceMapQueryMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'array'] }], help: 'Filters to be included in a PromQL query to select data for the service graph. Example: {client="app",service="app"}. Providing multiple values will produce union of results for each filter, using PromQL OR operator internally.' } }, - withServiceMapQueryMixin(value): { serviceMapQuery+: value }, + withServiceMapQueryMixin(value): { + serviceMapQuery+: value, + }, '#withServiceName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '@deprecated Query traces by service name' } }, - withServiceName(value): { serviceName: value }, + withServiceName(value): { + serviceName: value, + }, '#withSpanName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '@deprecated Query traces by span name' } }, - withSpanName(value): { spanName: value }, + withSpanName(value): { + spanName: value, + }, '#withSpss': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Defines the maximum number of spans per spanset that are returned from Tempo' } }, - withSpss(value): { spss: value }, - '#withTableType': { 'function': { args: [{ default: null, enums: ['traces', 'spans'], name: 'value', type: ['string'] }], help: 'The type of the table that is used to display the search results' } }, - withTableType(value): { tableType: value }, + withSpss(value): { + spss: value, + }, + '#withTableType': { 'function': { args: [{ default: null, enums: ['traces', 'spans', 'raw'], name: 'value', type: ['string'] }], help: 'The type of the table that is used to display the search results' } }, + withTableType(value): { + tableType: value, + }, } ++ (import '../custom/query/tempo.libsonnet') diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/testData.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/testData.libsonnet new file mode 100644 index 0000000..bbd0139 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/query/testData.libsonnet @@ -0,0 +1,500 @@ +// This file is generated, do not manually edit. +{ + '#': { help: 'grafonnet.query.testData', name: 'testData' }, + '#withAlias': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withAlias(value): { + alias: value, + }, + '#withChannel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Used for live query' } }, + withChannel(value): { + channel: value, + }, + '#withCsvContent': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withCsvContent(value): { + csvContent: value, + }, + '#withCsvFileName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withCsvFileName(value): { + csvFileName: value, + }, + '#withCsvWave': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withCsvWave(value): { + csvWave: + (if std.isArray(value) + then value + else [value]), + }, + '#withCsvWaveMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withCsvWaveMixin(value): { + csvWave+: + (if std.isArray(value) + then value + else [value]), + }, + csvWave+: + { + '#': { help: '', name: 'csvWave' }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withLabels(value): { + labels: value, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + name: value, + }, + '#withTimeStep': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withTimeStep(value): { + timeStep: value, + }, + '#withValuesCSV': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withValuesCSV(value): { + valuesCSV: value, + }, + }, + '#withDatasource': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The datasource' } }, + withDatasource(value): { + datasource: value, + }, + '#withDatasourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The datasource' } }, + withDatasourceMixin(value): { + datasource+: value, + }, + datasource+: + { + '#withApiVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The apiserver version' } }, + withApiVersion(value): { + datasource+: { + apiVersion: value, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The datasource plugin type' } }, + withType(value): { + datasource+: { + type: value, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Datasource UID (NOTE: name in k8s)' } }, + withUid(value): { + datasource+: { + uid: value, + }, + }, + }, + '#withDropPercent': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Drop percentage (the chance we will lose a point 0-100)' } }, + withDropPercent(value): { + dropPercent: value, + }, + '#withErrorType': { 'function': { args: [{ default: null, enums: ['frontend_exception', 'frontend_observable', 'server_panic'], name: 'value', type: ['string'] }], help: 'Possible enum values:\n - `"frontend_exception"` \n - `"frontend_observable"` \n - `"server_panic"` ' } }, + withErrorType(value): { + errorType: value, + }, + '#withFlamegraphDiff': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withFlamegraphDiff(value=true): { + flamegraphDiff: value, + }, + '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'true if query is disabled (ie should not be returned to the dashboard)\nNOTE: this does not always imply that the query should not be executed since\nthe results from a hidden query may be used as the input to other queries (SSE etc)' } }, + withHide(value=true): { + hide: value, + }, + '#withIntervalMs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Interval is the suggested duration between time points in a time series query.\nNOTE: the values for intervalMs is not saved in the query model. It is typically calculated\nfrom the interval required to fill a pixels in the visualization' } }, + withIntervalMs(value): { + intervalMs: value, + }, + '#withLabels': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withLabels(value): { + labels: value, + }, + '#withLevelColumn': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withLevelColumn(value=true): { + levelColumn: value, + }, + '#withLines': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withLines(value): { + lines: value, + }, + '#withMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withMax(value): { + max: value, + }, + '#withMaxDataPoints': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'MaxDataPoints is the maximum number of data points that should be returned from a time series query.\nNOTE: the values for maxDataPoints is not saved in the query model. It is typically calculated\nfrom the number of pixels visible in a visualization' } }, + withMaxDataPoints(value): { + maxDataPoints: value, + }, + '#withMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withMin(value): { + min: value, + }, + '#withNodes': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withNodes(value): { + nodes: value, + }, + '#withNodesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withNodesMixin(value): { + nodes+: value, + }, + nodes+: + { + '#withCount': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withCount(value): { + nodes+: { + count: value, + }, + }, + '#withSeed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withSeed(value): { + nodes+: { + seed: value, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: ['random', 'random edges', 'response_medium', 'response_small', 'feature_showcase'], name: 'value', type: ['string'] }], help: 'Possible enum values:\n - `"random"` \n - `"random edges"` \n - `"response_medium"` \n - `"response_small"` \n - `"feature_showcase"` ' } }, + withType(value): { + nodes+: { + type: value, + }, + }, + }, + '#withNoise': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withNoise(value): { + noise: value, + }, + '#withPoints': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withPoints(value): { + points: + (if std.isArray(value) + then value + else [value]), + }, + '#withPointsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withPointsMixin(value): { + points+: + (if std.isArray(value) + then value + else [value]), + }, + '#withPulseWave': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withPulseWave(value): { + pulseWave: value, + }, + '#withPulseWaveMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withPulseWaveMixin(value): { + pulseWave+: value, + }, + pulseWave+: + { + '#withOffCount': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withOffCount(value): { + pulseWave+: { + offCount: value, + }, + }, + '#withOffValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withOffValue(value): { + pulseWave+: { + offValue: value, + }, + }, + '#withOnCount': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withOnCount(value): { + pulseWave+: { + onCount: value, + }, + }, + '#withOnValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withOnValue(value): { + pulseWave+: { + onValue: value, + }, + }, + '#withTimeStep': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withTimeStep(value): { + pulseWave+: { + timeStep: value, + }, + }, + }, + '#withQueryType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'QueryType is an optional identifier for the type of query.\nIt can be used to distinguish different types of queries.' } }, + withQueryType(value): { + queryType: value, + }, + '#withRawFrameContent': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withRawFrameContent(value): { + rawFrameContent: value, + }, + '#withRefId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'RefID is the unique identifier of the query, set by the frontend call.' } }, + withRefId(value): { + refId: value, + }, + '#withResultAssertions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Optionally define expected query result behavior' } }, + withResultAssertions(value): { + resultAssertions: value, + }, + '#withResultAssertionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Optionally define expected query result behavior' } }, + withResultAssertionsMixin(value): { + resultAssertions+: value, + }, + resultAssertions+: + { + '#withMaxFrames': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: 'Maximum frame count' } }, + withMaxFrames(value): { + resultAssertions+: { + maxFrames: value, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: ['', 'timeseries-wide', 'timeseries-long', 'timeseries-many', 'timeseries-multi', 'directory-listing', 'table', 'numeric-wide', 'numeric-multi', 'numeric-long', 'log-lines'], name: 'value', type: ['string'] }], help: 'Type asserts that the frame matches a known type structure.\nPossible enum values:\n - `""` \n - `"timeseries-wide"` \n - `"timeseries-long"` \n - `"timeseries-many"` \n - `"timeseries-multi"` \n - `"directory-listing"` \n - `"table"` \n - `"numeric-wide"` \n - `"numeric-multi"` \n - `"numeric-long"` \n - `"log-lines"` ' } }, + withType(value): { + resultAssertions+: { + type: value, + }, + }, + '#withTypeVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane\ncontract documentation https://grafana.github.io/dataplane/contract/.' } }, + withTypeVersion(value): { + resultAssertions+: { + typeVersion: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withTypeVersionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane\ncontract documentation https://grafana.github.io/dataplane/contract/.' } }, + withTypeVersionMixin(value): { + resultAssertions+: { + typeVersion+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withScenarioId': { 'function': { args: [{ default: null, enums: ['annotations', 'arrow', 'csv_content', 'csv_file', 'csv_metric_values', 'datapoints_outside_range', 'exponential_heatmap_bucket_data', 'flame_graph', 'grafana_api', 'linear_heatmap_bucket_data', 'live', 'logs', 'manual_entry', 'no_data_points', 'node_graph', 'predictable_csv_wave', 'predictable_pulse', 'random_walk', 'random_walk_table', 'random_walk_with_error', 'raw_frame', 'server_error_500', 'simulation', 'slow_query', 'streaming_client', 'table_static', 'trace', 'usa', 'variables-query'], name: 'value', type: ['string'] }], help: 'Possible enum values:\n - `"annotations"` \n - `"arrow"` \n - `"csv_content"` \n - `"csv_file"` \n - `"csv_metric_values"` \n - `"datapoints_outside_range"` \n - `"exponential_heatmap_bucket_data"` \n - `"flame_graph"` \n - `"grafana_api"` \n - `"linear_heatmap_bucket_data"` \n - `"live"` \n - `"logs"` \n - `"manual_entry"` \n - `"no_data_points"` \n - `"node_graph"` \n - `"predictable_csv_wave"` \n - `"predictable_pulse"` \n - `"random_walk"` \n - `"random_walk_table"` \n - `"random_walk_with_error"` \n - `"raw_frame"` \n - `"server_error_500"` \n - `"simulation"` \n - `"slow_query"` \n - `"streaming_client"` \n - `"table_static"` \n - `"trace"` \n - `"usa"` \n - `"variables-query"` ' } }, + withScenarioId(value): { + scenarioId: value, + }, + '#withSeriesCount': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withSeriesCount(value): { + seriesCount: value, + }, + '#withSim': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSim(value): { + sim: value, + }, + '#withSimMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withSimMixin(value): { + sim+: value, + }, + sim+: + { + '#withConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withConfig(value): { + sim+: { + config: value, + }, + }, + '#withConfigMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withConfigMixin(value): { + sim+: { + config+: value, + }, + }, + '#withKey': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withKey(value): { + sim+: { + key: value, + }, + }, + '#withKeyMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withKeyMixin(value): { + sim+: { + key+: value, + }, + }, + key+: + { + '#withTick': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withTick(value): { + sim+: { + key+: { + tick: value, + }, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withType(value): { + sim+: { + key+: { + type: value, + }, + }, + }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withUid(value): { + sim+: { + key+: { + uid: value, + }, + }, + }, + }, + '#withLast': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withLast(value=true): { + sim+: { + last: value, + }, + }, + '#withStream': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withStream(value=true): { + sim+: { + stream: value, + }, + }, + }, + '#withSpanCount': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withSpanCount(value): { + spanCount: value, + }, + '#withSpread': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withSpread(value): { + spread: value, + }, + '#withStartValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withStartValue(value): { + startValue: value, + }, + '#withStream': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withStream(value): { + stream: value, + }, + '#withStreamMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withStreamMixin(value): { + stream+: value, + }, + stream+: + { + '#withBands': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withBands(value): { + stream+: { + bands: value, + }, + }, + '#withNoise': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withNoise(value): { + stream+: { + noise: value, + }, + }, + '#withSpeed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withSpeed(value): { + stream+: { + speed: value, + }, + }, + '#withSpread': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withSpread(value): { + stream+: { + spread: value, + }, + }, + '#withType': { 'function': { args: [{ default: null, enums: ['fetch', 'logs', 'signal', 'traces'], name: 'value', type: ['string'] }], help: 'Possible enum values:\n - `"fetch"` \n - `"logs"` \n - `"signal"` \n - `"traces"` ' } }, + withType(value): { + stream+: { + type: value, + }, + }, + '#withUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withUrl(value): { + stream+: { + url: value, + }, + }, + }, + '#withStringInput': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'common parameter used by many query types' } }, + withStringInput(value): { + stringInput: value, + }, + '#withTimeRange': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TimeRange represents the query range\nNOTE: unlike generic /ds/query, we can now send explicit time values in each query\nNOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly' } }, + withTimeRange(value): { + timeRange: value, + }, + '#withTimeRangeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TimeRange represents the query range\nNOTE: unlike generic /ds/query, we can now send explicit time values in each query\nNOTE: the values for timeRange are not saved in a dashboard, they are constructed on the fly' } }, + withTimeRangeMixin(value): { + timeRange+: value, + }, + timeRange+: + { + '#withFrom': { 'function': { args: [{ default: 'now-6h', enums: null, name: 'value', type: ['string'] }], help: 'From is the start time of the query.' } }, + withFrom(value='now-6h'): { + timeRange+: { + from: value, + }, + }, + '#withTo': { 'function': { args: [{ default: 'now', enums: null, name: 'value', type: ['string'] }], help: 'To is the end time of the query.' } }, + withTo(value='now'): { + timeRange+: { + to: value, + }, + }, + }, + '#withUsa': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withUsa(value): { + usa: value, + }, + '#withUsaMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withUsaMixin(value): { + usa+: value, + }, + usa+: + { + '#withFields': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withFields(value): { + usa+: { + fields: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withFieldsMixin(value): { + usa+: { + fields+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withMode': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withMode(value): { + usa+: { + mode: value, + }, + }, + '#withPeriod': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withPeriod(value): { + usa+: { + period: value, + }, + }, + '#withStates': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withStates(value): { + usa+: { + states: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withStatesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + withStatesMixin(value): { + usa+: { + states+: + (if std.isArray(value) + then value + else [value]), + }, + }, + }, + '#withWithNil': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withWithNil(value=true): { + withNil: value, + }, +} ++ (import '../custom/query/testData.libsonnet') diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/role.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/role.libsonnet similarity index 76% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/role.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/role.libsonnet index 5909f53..552f5a3 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/role.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/role.libsonnet @@ -2,13 +2,23 @@ { '#': { help: 'grafonnet.role', name: 'role' }, '#withDescription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Role description' } }, - withDescription(value): { description: value }, + withDescription(value): { + description: value, + }, '#withDisplayName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Optional display' } }, - withDisplayName(value): { displayName: value }, + withDisplayName(value): { + displayName: value, + }, '#withGroupName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the team.' } }, - withGroupName(value): { groupName: value }, + withGroupName(value): { + groupName: value, + }, '#withHidden': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'Do not show this role' } }, - withHidden(value=true): { hidden: value }, + withHidden(value=true): { + hidden: value, + }, '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The role identifier `managed:builtins:editor:permissions`' } }, - withName(value): { name: value }, + withName(value): { + name: value, + }, } diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/rolebinding.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/rolebinding.libsonnet new file mode 100644 index 0000000..a0aab6c --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/rolebinding.libsonnet @@ -0,0 +1,92 @@ +// This file is generated, do not manually edit. +{ + '#': { help: 'grafonnet.rolebinding', name: 'rolebinding' }, + '#withRole': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object', 'object'] }], help: 'The role we are discussing' } }, + withRole(value): { + role: value, + }, + '#withRoleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object', 'object'] }], help: 'The role we are discussing' } }, + withRoleMixin(value): { + role+: value, + }, + role+: + { + '#withBuiltinRoleRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withBuiltinRoleRef(value): { + role+: { + BuiltinRoleRef: value, + }, + }, + '#withBuiltinRoleRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withBuiltinRoleRefMixin(value): { + role+: { + BuiltinRoleRef+: value, + }, + }, + BuiltinRoleRef+: + { + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + role+: { + kind: 'BuiltinRole', + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: ['viewer', 'editor', 'admin'], name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + role+: { + name: value, + }, + }, + }, + '#withCustomRoleRef': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCustomRoleRef(value): { + role+: { + CustomRoleRef: value, + }, + }, + '#withCustomRoleRefMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withCustomRoleRefMixin(value): { + role+: { + CustomRoleRef+: value, + }, + }, + CustomRoleRef+: + { + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { + role+: { + kind: 'Role', + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withName(value): { + role+: { + name: value, + }, + }, + }, + }, + '#withSubject': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The team or user that has the specified role' } }, + withSubject(value): { + subject: value, + }, + '#withSubjectMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'The team or user that has the specified role' } }, + withSubjectMixin(value): { + subject+: value, + }, + subject+: + { + '#withKind': { 'function': { args: [{ default: null, enums: ['Team', 'User'], name: 'value', type: ['string'] }], help: '' } }, + withKind(value): { + subject+: { + kind: value, + }, + }, + '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'The team/user identifier name' } }, + withName(value): { + subject+: { + name: value, + }, + }, + }, +} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/team.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/team.libsonnet similarity index 80% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/team.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/team.libsonnet index 1fbda59..429a64f 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/team.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.1.0/team.libsonnet @@ -2,7 +2,11 @@ { '#': { help: 'grafonnet.team', name: 'team' }, '#withEmail': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Email of the team.' } }, - withEmail(value): { email: value }, + withEmail(value): { + email: value, + }, '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the team.' } }, - withName(value): { name: value }, + withName(value): { + name: value, + }, } diff --git a/vendor/grafonnet b/vendor/grafonnet index 727bf4a..143bc24 120000 --- a/vendor/grafonnet +++ b/vendor/grafonnet @@ -1 +1 @@ -github.com/grafana/grafonnet/gen/grafonnet-v10.4.0 \ No newline at end of file +github.com/grafana/grafonnet/gen/grafonnet-v11.1.0 \ No newline at end of file From 800bbcc2ec0ac976ff6411b7f2b4cdb2a254c13d Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Fri, 4 Oct 2024 20:19:27 +0200 Subject: [PATCH 2/5] Adjust definitions for grafonnet v11 changes I found some breaking changes described in https://github.com/grafana/grafonnet/pull/199, and this adjusts for those. Before adjusting we got errors, so the breaking change was loud. --- dashboards/jupyterhub.jsonnet | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dashboards/jupyterhub.jsonnet b/dashboards/jupyterhub.jsonnet index ce437d8..fe75621 100755 --- a/dashboards/jupyterhub.jsonnet +++ b/dashboards/jupyterhub.jsonnet @@ -16,7 +16,7 @@ local userMemoryDistribution = common.heatmapOptions + heatmap.new('User memory usage distribution') + heatmap.options.yAxis.withUnit('bytes') - + heatmap.options.color.HeatmapColorOptions.withScheme('Viridis') + + heatmap.options.color.withScheme('Viridis') + heatmap.options.calculation.xBuckets.withMode('size') + heatmap.options.calculation.xBuckets.withValue('600s') // must align with interval + heatmap.queryOptions.withInterval('600s') // must align with xBuckets value @@ -41,7 +41,7 @@ local userCPUDistribution = common.heatmapOptions + heatmap.new('User CPU usage distribution') + heatmap.options.yAxis.withUnit('percentunit') - + heatmap.options.color.HeatmapColorOptions.withScheme('Viridis') + + heatmap.options.color.withScheme('Viridis') + heatmap.options.calculation.xBuckets.withMode('size') + heatmap.options.calculation.xBuckets.withValue('600s') // must align with interval + heatmap.queryOptions.withInterval('600s') // must align with xBuckets value @@ -66,7 +66,7 @@ local userAgeDistribution = common.heatmapOptions + heatmap.new('User active age distribution') + heatmap.options.yAxis.withUnit('s') - + heatmap.options.color.HeatmapColorOptions.withScheme('Viridis') + + heatmap.options.color.withScheme('Viridis') + heatmap.options.calculation.xBuckets.withMode('size') + heatmap.options.calculation.xBuckets.withValue('600s') // must align with interval + heatmap.queryOptions.withInterval('600s') // must align with xBuckets value From 8a85053453a32e263eaf8e9e540c6e39eb85d1b1 Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Fri, 4 Oct 2024 15:24:17 +0200 Subject: [PATCH 3/5] docs: update notes on how to upgrade grafonnet --- docs/contributing.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/contributing.md b/docs/contributing.md index 6fd7c4c..cb67c14 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -57,9 +57,15 @@ with `jsonnet`, you can deploy dashboards to a Grafana instance like this: ### Upgrading the grafonnet version -The grafonnet jsonnet library is bundled here with [jsonnet-bundler](https://github.com/jsonnet-bundler/jsonnet-bundler). -Just running `jb update` in the git repo root dir after installing jsonnet-bunder should bring -you up to speed. +The grafonnet jsonnet library is bundled here with [jsonnet-bundler]. The +upgrade procedure looks looks like this: + +1. Install jsonnet-bunder +2. Update `jsonnetfile.json` to reference the new version +3. Run `jb update` in the git repo root dir +4. Search and replace remaining old version references with the new version + +[jsonnet-bundler]: https://github.com/jsonnet-bundler/jsonnet-bundler ### Metrics guidelines From f332dc68ca6958d0bf23f9d0d6415046ce394324 Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Mon, 7 Oct 2024 10:21:09 +0200 Subject: [PATCH 4/5] docs: detail grafana version required explicitly --- docs/tutorials/deploy.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/tutorials/deploy.md b/docs/tutorials/deploy.md index 86e2e08..8783261 100644 --- a/docs/tutorials/deploy.md +++ b/docs/tutorials/deploy.md @@ -43,7 +43,8 @@ TO MAKE CHANGES, EDIT THE JSONNET FILE AND DEPLOY AGAIN Make sure this is indented correctly where it should be! ``` -4. A recent version of Grafana, with a prometheus data source already added. +4. A recent version of Grafana (v11.1.0 or higher), with a prometheus data + source already added. 5. An API key with 'admin' permissions. This is per-organization, and you can make a new one by going to the configuration pane for your Grafana (the gear icon on the left bar), and From b8dc179a087f408c0a74c700a89dc2ca79766ac9 Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Mon, 7 Oct 2024 10:22:02 +0200 Subject: [PATCH 5/5] docs: fix outdated reference to deploy.bash --- docs/tutorials/deploy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/deploy.md b/docs/tutorials/deploy.md index 8783261..9fc9125 100644 --- a/docs/tutorials/deploy.md +++ b/docs/tutorials/deploy.md @@ -2,7 +2,7 @@ # Deploying the dashboards ```{warning} -ANY CHANGES YOU MAKE VIA THE GRAFANA UI WILL BE OVERWRITTEN NEXT TIME YOU RUN deploy.bash. +ANY CHANGES YOU MAKE VIA THE GRAFANA UI WILL BE OVERWRITTEN NEXT TIME YOU RUN `deploy.py`. TO MAKE CHANGES, EDIT THE JSONNET FILE AND DEPLOY AGAIN ```