diff --git a/jsonnetfile.lock.json b/jsonnetfile.lock.json index 6be438bf..601a5248 100644 --- a/jsonnetfile.lock.json +++ b/jsonnetfile.lock.json @@ -18,7 +18,7 @@ "subdir": "contrib/mixin" } }, - "version": "52fb28c1a8db4e66c547b7975bf6dc1e0b17f8bf", + "version": "bb701b9265f31d61db5906325e0a7e2abf7d3627", "sum": "IXI3LQIT9NmTPJAk8WLUJd5+qZfcGpeNCyWIK7oEpws=" }, { @@ -28,8 +28,8 @@ "subdir": "operations/observability/mixins" } }, - "version": "5fdedd96443f204b301e5e975a93e031fc478ef6", - "sum": "W/EJz6gxBgggO8qFOpHCjZ4oO754p3OwORr2Rx1LTUQ=", + "version": "504189b123f6d7024a9d5db0607972a2cef1b5fd", + "sum": "99I5DKpjdO4d978XycsznmK41XIjzTHKL2wdx2bXPSU=", "name": "gitpod" }, { @@ -69,8 +69,8 @@ "subdir": "gen/grafonnet-latest" } }, - "version": "1c56af39815c4903e47c27194444456f005f65df", - "sum": "GxEO83uxgsDclLp/fmlUJZDbSGpeUZY6Ap3G2cgdL1g=" + "version": "18eb4e529c60ec20ab243e2da3bcb52b2fd0d223", + "sum": "eyuJ0jOXeA4MrobbNgU4/v5a7ASDHslHZ0eS6hDdWoI=" }, { "source": { @@ -79,18 +79,18 @@ "subdir": "gen/grafonnet-v10.0.0" } }, - "version": "1c56af39815c4903e47c27194444456f005f65df", + "version": "18eb4e529c60ec20ab243e2da3bcb52b2fd0d223", "sum": "xdcrJPJlpkq4+5LpGwN4tPAuheNNLXZjE6tDcyvFjr0=" }, { "source": { "git": { "remote": "https://github.com/grafana/grafonnet.git", - "subdir": "gen/grafonnet-v10.4.0" + "subdir": "gen/grafonnet-v11.0.0" } }, - "version": "1c56af39815c4903e47c27194444456f005f65df", - "sum": "DKj+Sn+rlI48g/aoJpzkfPge46ya0jLk5kcZoiZ2X/I=" + "version": "18eb4e529c60ec20ab243e2da3bcb52b2fd0d223", + "sum": "6ycXhBvq/k7j01vaNiDSZcVsKikh01pfNH+2oauHgJg=" }, { "source": { @@ -129,8 +129,8 @@ "subdir": "" } }, - "version": "033a6fb33be80d381045dc570fc53f0b7750e8b6", - "sum": "mrmfolXgp1MNMX5Svdbro8/L5v6VDh8UIpsQ9KwU39M=" + "version": "de834e9a291b49396125768f041e2078763f48b5", + "sum": "E6z1j4MS6/NnIVZkUuk+gb0m9FvRmZ77H6SSopIZEa8=" }, { "source": { @@ -139,7 +139,7 @@ "subdir": "jsonnet/kube-state-metrics" } }, - "version": "fa083b53d0dbe8ae2f0a93870689ad0f490428ff", + "version": "d8dd6e0704c6008bc40b112bb10cbd3f8be9dd43", "sum": "msMZyUvcebzRILLzNlTIiSOwa1XgQKtP7jbZTkiqwM0=" }, { @@ -149,7 +149,7 @@ "subdir": "jsonnet/kube-state-metrics-mixin" } }, - "version": "fa083b53d0dbe8ae2f0a93870689ad0f490428ff", + "version": "d8dd6e0704c6008bc40b112bb10cbd3f8be9dd43", "sum": "qclI7LwucTjBef3PkGBkKxF0mfZPbHnn4rlNWKGtR4c=" }, { @@ -159,8 +159,8 @@ "subdir": "jsonnet/kube-prometheus" } }, - "version": "cb55161e24eee55d67f3bb7e7f1719feab66da52", - "sum": "9zbJ1/VBNBXA+mU0L59i7ZBXOVF8/v054l7rsStiiag=" + "version": "65922b9fd8c3869c06686b44f5f3aa9f96560666", + "sum": "DtatPRLo28DgT9wMG5PKZWodiMLxx7saV6aKuqXd9gM=" }, { "source": { @@ -169,7 +169,7 @@ "subdir": "jsonnet/mixin" } }, - "version": "cd506c4fb584f40b46163926f01ba24a91f5baf5", + "version": "4c1706c4cf97c9e2db07635b3e517c1e0a949ec7", "sum": "gi+knjdxs2T715iIQIntrimbHRgHnpM8IFBJDD1gYfs=", "name": "prometheus-operator-mixin" }, @@ -180,8 +180,8 @@ "subdir": "jsonnet/prometheus-operator" } }, - "version": "cd506c4fb584f40b46163926f01ba24a91f5baf5", - "sum": "XahuGOJRU3s3I+V9/IT4zo43rlA35XiAN7mdfUF/BoA=" + "version": "4c1706c4cf97c9e2db07635b3e517c1e0a949ec7", + "sum": "53aMSZkXBOvXsbF3nuxrUjmvx5B69lOjkDtM428VsBk=" }, { "source": { @@ -190,7 +190,7 @@ "subdir": "doc/alertmanager-mixin" } }, - "version": "91a94f00f987048fa4f42856165d49370a3af568", + "version": "fd37ce9c95898ca68be1ab4d4529517174b73c33", "sum": "IpF46ZXsm+0wJJAPtAre8+yxTNZA57mBqGpBP/r7/kw=", "name": "alertmanager" }, @@ -201,7 +201,7 @@ "subdir": "docs/node-mixin" } }, - "version": "3afc0a341e3c2c6605b18a882fb045318c18c444", + "version": "0d3400ebc976e14d5b87db276bb2ec32f55b4052", "sum": "R9ROsvpjZLgQJ78WAyD4HzrIq976Bpr4V2P2Fo2Kfns=" }, { @@ -211,7 +211,7 @@ "subdir": "documentation/prometheus-mixin" } }, - "version": "114dc5c393ce54ac663a2466a82571e1e0e0d03d", + "version": "8894d65cd6135635c4ac9cf100464e6aacd29593", "sum": "vGD+MxGadIBvvDC+/71BRKWEA8vHgcuBP5PcuCKZGEs=", "name": "prometheus" }, @@ -233,7 +233,7 @@ "subdir": "mixin" } }, - "version": "9e6cbd9fdd9df17125e20ecf7a084198e4355b9a", + "version": "447cb96ad27378c0470d84f55f363e7fae71d05a", "sum": "HhSSbGGCNHCMy1ee5jElYDm0yS9Vesa7QB2/SHKdjsY=", "name": "thanos-mixin" }, diff --git a/monitoring-satellite/manifests/crds/prometheusOperator-0alertmanagerConfigCustomResourceDefinition.yaml b/monitoring-satellite/manifests/crds/prometheusOperator-0alertmanagerConfigCustomResourceDefinition.yaml index 1110d55c..3753e156 100644 --- a/monitoring-satellite/manifests/crds/prometheusOperator-0alertmanagerConfigCustomResourceDefinition.yaml +++ b/monitoring-satellite/manifests/crds/prometheusOperator-0alertmanagerConfigCustomResourceDefinition.yaml @@ -2024,6 +2024,9 @@ spec: severity: description: Severity of the incident. type: string + source: + description: Unique location of the affected system. + type: string url: description: The URL to send requests to. type: string diff --git a/monitoring-satellite/manifests/crds/prometheusOperator-0prometheusCustomResourceDefinition.yaml b/monitoring-satellite/manifests/crds/prometheusOperator-0prometheusCustomResourceDefinition.yaml index 028b6244..12b937ea 100644 --- a/monitoring-satellite/manifests/crds/prometheusOperator-0prometheusCustomResourceDefinition.yaml +++ b/monitoring-satellite/manifests/crds/prometheusOperator-0prometheusCustomResourceDefinition.yaml @@ -4933,7 +4933,7 @@ spec: podMonitorNamespaceSelector: description: |- Namespaces to match for PodMonitors discovery. An empty label selector - matches all namespaces. A null label selector matches the current + matches all namespaces. A null label selector (default value) matches the current namespace only. properties: matchExpressions: @@ -6533,6 +6533,107 @@ spec: Only one scrape class can be set as the default. type: boolean + metricRelabelings: + description: |- + MetricRelabelings configures the relabeling rules to apply to all samples before ingestion. + + + The Operator adds the scrape class metric relabelings defined here. + Then the Operator adds the target-specific metric relabelings defined in ServiceMonitors, PodMonitors, Probes and ScrapeConfigs. + Then the Operator adds namespace enforcement relabeling rule, specified in '.spec.enforcedNamespaceLabel'. + + + More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs + items: + description: |- + RelabelConfig allows dynamic rewriting of the label set for targets, alerts, + scraped samples and remote write samples. + + + More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config + properties: + action: + default: replace + description: |- + Action to perform based on the regex matching. + + + `Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0. + `DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0. + + + Default: "Replace" + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + description: |- + Modulus to take of the hash of the source label values. + + + Only applicable when the action is `HashMod`. + format: int64 + type: integer + regex: + description: Regular expression against which the extracted value is matched. + type: string + replacement: + description: |- + Replacement value against which a Replace action is performed if the + regular expression matches. + + + Regex capture groups are available. + type: string + separator: + description: Separator is the string between concatenated SourceLabels. + type: string + sourceLabels: + description: |- + The source labels select values from existing labels. Their content is + concatenated using the configured Separator and matched against the + configured regular expression. + items: + description: |- + LabelName is a valid Prometheus label name which may only contain ASCII + letters, numbers, as well as underscores. + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + description: |- + Label to which the resulting string is written in a replacement. + + + It is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`, + `KeepEqual` and `DropEqual` actions. + + + Regex capture groups are available. + type: string + type: object + type: array name: description: Name of the scrape class. minLength: 1 @@ -7106,7 +7207,7 @@ spec: serviceMonitorNamespaceSelector: description: |- Namespaces to match for ServicedMonitors discovery. An empty label selector - matches all namespaces. A null label selector matches the current + matches all namespaces. A null label selector (default value) matches the current namespace only. properties: matchExpressions: diff --git a/monitoring-satellite/manifests/crds/prometheusOperator-0prometheusagentCustomResourceDefinition.yaml b/monitoring-satellite/manifests/crds/prometheusOperator-0prometheusagentCustomResourceDefinition.yaml index 3e9ac6b4..bd816983 100644 --- a/monitoring-satellite/manifests/crds/prometheusOperator-0prometheusagentCustomResourceDefinition.yaml +++ b/monitoring-satellite/manifests/crds/prometheusOperator-0prometheusagentCustomResourceDefinition.yaml @@ -4290,7 +4290,7 @@ spec: podMonitorNamespaceSelector: description: |- Namespaces to match for PodMonitors discovery. An empty label selector - matches all namespaces. A null label selector matches the current + matches all namespaces. A null label selector (default value) matches the current namespace only. properties: matchExpressions: @@ -5307,6 +5307,107 @@ spec: Only one scrape class can be set as the default. type: boolean + metricRelabelings: + description: |- + MetricRelabelings configures the relabeling rules to apply to all samples before ingestion. + + + The Operator adds the scrape class metric relabelings defined here. + Then the Operator adds the target-specific metric relabelings defined in ServiceMonitors, PodMonitors, Probes and ScrapeConfigs. + Then the Operator adds namespace enforcement relabeling rule, specified in '.spec.enforcedNamespaceLabel'. + + + More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs + items: + description: |- + RelabelConfig allows dynamic rewriting of the label set for targets, alerts, + scraped samples and remote write samples. + + + More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config + properties: + action: + default: replace + description: |- + Action to perform based on the regex matching. + + + `Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0. + `DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0. + + + Default: "Replace" + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + description: |- + Modulus to take of the hash of the source label values. + + + Only applicable when the action is `HashMod`. + format: int64 + type: integer + regex: + description: Regular expression against which the extracted value is matched. + type: string + replacement: + description: |- + Replacement value against which a Replace action is performed if the + regular expression matches. + + + Regex capture groups are available. + type: string + separator: + description: Separator is the string between concatenated SourceLabels. + type: string + sourceLabels: + description: |- + The source labels select values from existing labels. Their content is + concatenated using the configured Separator and matched against the + configured regular expression. + items: + description: |- + LabelName is a valid Prometheus label name which may only contain ASCII + letters, numbers, as well as underscores. + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + description: |- + Label to which the resulting string is written in a replacement. + + + It is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`, + `KeepEqual` and `DropEqual` actions. + + + Regex capture groups are available. + type: string + type: object + type: array name: description: Name of the scrape class. minLength: 1 @@ -5880,7 +5981,7 @@ spec: serviceMonitorNamespaceSelector: description: |- Namespaces to match for ServicedMonitors discovery. An empty label selector - matches all namespaces. A null label selector matches the current + matches all namespaces. A null label selector (default value) matches the current namespace only. properties: matchExpressions: diff --git a/monitoring-satellite/manifests/grafana/config.yaml b/monitoring-satellite/manifests/grafana/config.yaml index a55a22bd..9312fe2a 100644 --- a/monitoring-satellite/manifests/grafana/config.yaml +++ b/monitoring-satellite/manifests/grafana/config.yaml @@ -5,7 +5,7 @@ metadata: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-config namespace: monitoring-satellite stringData: diff --git a/monitoring-satellite/manifests/grafana/dashboardDatasources.yaml b/monitoring-satellite/manifests/grafana/dashboardDatasources.yaml index ac60ca62..c1c0fe7f 100644 --- a/monitoring-satellite/manifests/grafana/dashboardDatasources.yaml +++ b/monitoring-satellite/manifests/grafana/dashboardDatasources.yaml @@ -5,7 +5,7 @@ metadata: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-datasources namespace: monitoring-satellite stringData: diff --git a/monitoring-satellite/manifests/grafana/dashboardDefinitions.yaml b/monitoring-satellite/manifests/grafana/dashboardDefinitions.yaml index 0ccd9e79..f44eb08f 100644 --- a/monitoring-satellite/manifests/grafana/dashboardDefinitions.yaml +++ b/monitoring-satellite/manifests/grafana/dashboardDefinitions.yaml @@ -1915,7 +1915,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-admin-node namespace: monitoring-satellite - apiVersion: v1 @@ -3159,7 +3159,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-admin-workspace namespace: monitoring-satellite - apiVersion: v1 @@ -3667,7 +3667,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-applications namespace: monitoring-satellite - apiVersion: v1 @@ -4761,7 +4761,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-cluster-autoscaler-k3s namespace: monitoring-satellite - apiVersion: v1 @@ -5410,7 +5410,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-connect-server namespace: monitoring-satellite - apiVersion: v1 @@ -6307,7 +6307,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-grpc-client namespace: monitoring-satellite - apiVersion: v1 @@ -7187,7 +7187,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-grpc-server namespace: monitoring-satellite - apiVersion: v1 @@ -11325,7 +11325,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-node-resource-metrics namespace: monitoring-satellite - apiVersion: v1 @@ -12400,7 +12400,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-nodes-overview namespace: monitoring-satellite - apiVersion: v1 @@ -14288,7 +14288,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-overview namespace: monitoring-satellite - apiVersion: v1 @@ -14741,7 +14741,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-slo-workspace-startuptime namespace: monitoring-satellite - apiVersion: v1 @@ -16356,7 +16356,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-redis namespace: monitoring-satellite - apiVersion: v1 @@ -21369,7 +21369,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-argocd namespace: monitoring-satellite - apiVersion: v1 @@ -21381,7 +21381,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-cardinality-management-overview namespace: monitoring-satellite - apiVersion: v1 @@ -21845,7 +21845,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-sh-example-overview namespace: monitoring-satellite - apiVersion: v1 @@ -23297,7 +23297,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-observability namespace: monitoring-satellite - apiVersion: v1 @@ -25421,7 +25421,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-component-blobserve namespace: monitoring-satellite - apiVersion: v1 @@ -25647,7 +25647,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-component-browser-overview namespace: monitoring-satellite - apiVersion: v1 @@ -27057,7 +27057,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-component-code-browser namespace: monitoring-satellite - apiVersion: v1 @@ -28298,7 +28298,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-component-ide-service namespace: monitoring-satellite - apiVersion: v1 @@ -28988,7 +28988,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-component-ide-startup-time namespace: monitoring-satellite - apiVersion: v1 @@ -29267,7 +29267,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-component-jb namespace: monitoring-satellite - apiVersion: v1 @@ -29870,7 +29870,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-component-local-ssh namespace: monitoring-satellite - apiVersion: v1 @@ -32221,7 +32221,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-component-openvsx-mirror namespace: monitoring-satellite - apiVersion: v1 @@ -34337,7 +34337,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-component-openvsx-proxy namespace: monitoring-satellite - apiVersion: v1 @@ -34815,7 +34815,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-component-ssh-gateway namespace: monitoring-satellite - apiVersion: v1 @@ -35446,7 +35446,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-component-supervisor namespace: monitoring-satellite - apiVersion: v1 @@ -36022,7 +36022,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-alertmanager-overview namespace: monitoring-satellite - apiVersion: v1 @@ -36047,7 +36047,7 @@ items: "options": { "content": "The SLO (service level objective) and other metrics displayed on this dashboard are for informational purposes only." }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "title": "Notice", "type": "text" }, @@ -36071,7 +36071,7 @@ items: }, "id": 2, "interval": "1m", - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -36117,7 +36117,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -36151,7 +36151,7 @@ items: }, "id": 4, "interval": "1m", - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -36249,7 +36249,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -36293,7 +36293,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -36336,7 +36336,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -36370,7 +36370,7 @@ items: }, "id": 8, "interval": "1m", - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -36468,7 +36468,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -36512,7 +36512,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -36555,7 +36555,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -36598,7 +36598,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -36641,7 +36641,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -36687,7 +36687,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -36729,7 +36729,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -36772,7 +36772,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -36814,7 +36814,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -36830,7 +36830,7 @@ items: } ], "refresh": "10s", - "schemaVersion": 36, + "schemaVersion": 39, "tags": [ "kubernetes-mixin" ], @@ -36891,7 +36891,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-apiserver namespace: monitoring-satellite - apiVersion: v1 @@ -38228,7 +38228,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-cert-manager namespace: monitoring-satellite - apiVersion: v1 @@ -38269,7 +38269,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -38315,7 +38315,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -38386,7 +38386,7 @@ items: "y": 9 }, "id": 3, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -38551,7 +38551,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -38597,7 +38597,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -38643,7 +38643,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -38689,7 +38689,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -38735,7 +38735,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -38781,7 +38781,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -38827,7 +38827,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -38873,7 +38873,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -38919,7 +38919,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -38965,7 +38965,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -38981,7 +38981,7 @@ items: } ], "refresh": "10s", - "schemaVersion": 36, + "schemaVersion": 39, "tags": [ "kubernetes-mixin" ], @@ -39029,7 +39029,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-cluster-total namespace: monitoring-satellite - apiVersion: v1 @@ -39059,7 +39059,7 @@ items: "options": { "colorMode": "none" }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -39110,7 +39110,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -39161,7 +39161,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -39212,7 +39212,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -39263,7 +39263,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -39338,7 +39338,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -39389,7 +39389,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -39440,7 +39440,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -39491,7 +39491,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -39542,7 +39542,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -39558,7 +39558,7 @@ items: } ], "refresh": "10s", - "schemaVersion": 36, + "schemaVersion": 39, "tags": [ "kubernetes-mixin" ], @@ -39620,7 +39620,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-controller-manager namespace: monitoring-satellite - apiVersion: v1 @@ -39650,7 +39650,7 @@ items: "options": { "colorMode": "none" }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -39685,7 +39685,7 @@ items: "options": { "colorMode": "none" }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -39720,7 +39720,7 @@ items: "options": { "colorMode": "none" }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -39755,7 +39755,7 @@ items: "options": { "colorMode": "none" }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -39790,7 +39790,7 @@ items: "options": { "colorMode": "none" }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -39825,7 +39825,7 @@ items: "options": { "colorMode": "none" }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -39875,7 +39875,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -39934,7 +39934,7 @@ items: "y": 12 }, "id": 8, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -40091,7 +40091,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -40186,7 +40186,7 @@ items: "y": 24 }, "id": 10, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -40363,7 +40363,7 @@ items: "y": 30 }, "id": 11, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -40507,7 +40507,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -40558,7 +40558,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -40609,7 +40609,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -40660,7 +40660,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -40711,7 +40711,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -40762,7 +40762,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -40813,7 +40813,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -40864,7 +40864,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -40915,7 +40915,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -40966,7 +40966,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -41037,7 +41037,7 @@ items: "y": 96 }, "id": 22, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -41146,7 +41146,7 @@ items: } ], "refresh": "10s", - "schemaVersion": 36, + "schemaVersion": 39, "tags": [ "kubernetes-mixin" ], @@ -41194,7 +41194,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-k8s-resources-cluster namespace: monitoring-satellite - apiVersion: v1 @@ -41224,7 +41224,7 @@ items: "options": { "colorMode": "none" }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -41259,7 +41259,7 @@ items: "options": { "colorMode": "none" }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -41294,7 +41294,7 @@ items: "options": { "colorMode": "none" }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -41329,7 +41329,7 @@ items: "options": { "colorMode": "none" }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -41364,7 +41364,7 @@ items: "options": { "colorMode": "none" }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -41399,7 +41399,7 @@ items: "options": { "colorMode": "none" }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -41444,7 +41444,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -41503,7 +41503,7 @@ items: "y": 2 }, "id": 8, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -41629,7 +41629,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -41691,7 +41691,7 @@ items: "y": 4 }, "id": 10, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -41787,7 +41787,7 @@ items: } ], "refresh": "10s", - "schemaVersion": 36, + "schemaVersion": 39, "tags": [ "kubernetes-mixin" ], @@ -41822,7 +41822,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-k8s-resources-multicluster namespace: monitoring-satellite - apiVersion: v1 @@ -41852,7 +41852,7 @@ items: "options": { "colorMode": "none" }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -41887,7 +41887,7 @@ items: "options": { "colorMode": "none" }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -41922,7 +41922,7 @@ items: "options": { "colorMode": "none" }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -41957,7 +41957,7 @@ items: "options": { "colorMode": "none" }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -42059,7 +42059,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -42134,7 +42134,7 @@ items: "y": 14 }, "id": 6, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -42317,7 +42317,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -42395,7 +42395,7 @@ items: "y": 28 }, "id": 8, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -42585,7 +42585,7 @@ items: "y": 35 }, "id": 9, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -42729,7 +42729,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -42780,7 +42780,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -42831,7 +42831,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -42882,7 +42882,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -42933,7 +42933,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -42984,7 +42984,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -43035,7 +43035,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -43086,7 +43086,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -43157,7 +43157,7 @@ items: "y": 70 }, "id": 18, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -43266,7 +43266,7 @@ items: } ], "refresh": "10s", - "schemaVersion": 36, + "schemaVersion": 39, "tags": [ "kubernetes-mixin" ], @@ -43327,7 +43327,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-k8s-resources-namespace namespace: monitoring-satellite - apiVersion: v1 @@ -43416,7 +43416,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -43483,7 +43483,7 @@ items: "y": 6 }, "id": 2, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -43645,7 +43645,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -43715,7 +43715,7 @@ items: "y": 18 }, "id": 4, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -43831,7 +43831,7 @@ items: } ], "refresh": "10s", - "schemaVersion": 36, + "schemaVersion": 39, "tags": [ "kubernetes-mixin" ], @@ -43892,7 +43892,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-k8s-resources-node namespace: monitoring-satellite - apiVersion: v1 @@ -43989,7 +43989,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -44095,7 +44095,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -44137,7 +44137,7 @@ items: "y": 14 }, "id": 3, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -44320,7 +44320,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -44381,7 +44381,7 @@ items: "y": 28 }, "id": 5, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -44551,7 +44551,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -44602,7 +44602,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -44653,7 +44653,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -44704,7 +44704,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -44755,7 +44755,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -44806,7 +44806,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -44857,7 +44857,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -44916,7 +44916,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -44975,7 +44975,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -45026,7 +45026,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -45080,7 +45080,7 @@ items: "y": 70 }, "id": 16, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -45189,7 +45189,7 @@ items: } ], "refresh": "10s", - "schemaVersion": 36, + "schemaVersion": 39, "tags": [ "kubernetes-mixin" ], @@ -45263,7 +45263,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-k8s-resources-pod namespace: monitoring-satellite - apiVersion: v1 @@ -45308,7 +45308,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -45367,7 +45367,7 @@ items: "y": 7 }, "id": 2, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -45498,7 +45498,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -45560,7 +45560,7 @@ items: "y": 21 }, "id": 4, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -45711,7 +45711,7 @@ items: "y": 28 }, "id": 5, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -45855,7 +45855,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -45906,7 +45906,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -45957,7 +45957,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -46008,7 +46008,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -46059,7 +46059,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -46110,7 +46110,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -46161,7 +46161,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -46212,7 +46212,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -46228,7 +46228,7 @@ items: } ], "refresh": "10s", - "schemaVersion": 36, + "schemaVersion": 39, "tags": [ "kubernetes-mixin" ], @@ -46316,7 +46316,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-k8s-resources-workload namespace: monitoring-satellite - apiVersion: v1 @@ -46413,7 +46413,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -46500,7 +46500,7 @@ items: "y": 7 }, "id": 2, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -46708,7 +46708,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -46798,7 +46798,7 @@ items: "y": 21 }, "id": 4, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -46974,7 +46974,7 @@ items: "y": 28 }, "id": 5, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -47118,7 +47118,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -47169,7 +47169,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -47220,7 +47220,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -47271,7 +47271,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -47322,7 +47322,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -47373,7 +47373,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -47424,7 +47424,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -47475,7 +47475,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -47491,7 +47491,7 @@ items: } ], "refresh": "10s", - "schemaVersion": 36, + "schemaVersion": 39, "tags": [ "kubernetes-mixin" ], @@ -47566,7 +47566,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-k8s-resources-workloads-namespace namespace: monitoring-satellite - apiVersion: v1 @@ -47596,7 +47596,7 @@ items: "options": { "colorMode": "none" }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -47631,7 +47631,7 @@ items: "options": { "colorMode": "none" }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -47666,7 +47666,7 @@ items: "options": { "colorMode": "none" }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -47701,7 +47701,7 @@ items: "options": { "colorMode": "none" }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -47736,7 +47736,7 @@ items: "options": { "colorMode": "none" }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -47771,7 +47771,7 @@ items: "options": { "colorMode": "none" }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -47822,7 +47822,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -47873,7 +47873,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -47924,7 +47924,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -47975,7 +47975,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -48034,7 +48034,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -48093,7 +48093,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -48144,7 +48144,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -48195,7 +48195,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -48246,7 +48246,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -48297,7 +48297,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -48348,7 +48348,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -48399,7 +48399,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -48450,7 +48450,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -48501,7 +48501,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -48576,7 +48576,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -48627,7 +48627,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -48678,7 +48678,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -48729,7 +48729,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -48745,7 +48745,7 @@ items: } ], "refresh": "10s", - "schemaVersion": 36, + "schemaVersion": 39, "tags": [ "kubernetes-mixin" ], @@ -48806,7 +48806,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-kubelet namespace: monitoring-satellite - apiVersion: v1 @@ -48854,7 +48854,7 @@ items: "y": 0 }, "id": 1, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -48907,7 +48907,7 @@ items: "y": 0 }, "id": 2, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -48978,7 +48978,7 @@ items: "y": 9 }, "id": 3, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -49117,7 +49117,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -49163,7 +49163,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -49209,7 +49209,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -49255,7 +49255,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -49301,7 +49301,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -49347,7 +49347,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -49363,7 +49363,7 @@ items: } ], "refresh": "10s", - "schemaVersion": 36, + "schemaVersion": 39, "tags": [ "kubernetes-mixin" ], @@ -49431,7 +49431,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-namespace-by-pod namespace: monitoring-satellite - apiVersion: v1 @@ -49465,7 +49465,7 @@ items: "displayMode": "basic", "showUnfilled": false }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -49504,7 +49504,7 @@ items: "displayMode": "basic", "showUnfilled": false }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -49575,7 +49575,7 @@ items: "y": 9 }, "id": 3, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -49761,7 +49761,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -49812,7 +49812,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -49863,7 +49863,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -49914,7 +49914,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -49965,7 +49965,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -50016,7 +50016,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -50067,7 +50067,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -50118,7 +50118,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -50134,7 +50134,7 @@ items: } ], "refresh": "10s", - "schemaVersion": 36, + "schemaVersion": 39, "tags": [ "kubernetes-mixin" ], @@ -50214,7 +50214,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-namespace-by-workload namespace: monitoring-satellite - apiVersion: v1 @@ -51266,7 +51266,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-node-cluster-rsrc-use namespace: monitoring-satellite - apiVersion: v1 @@ -52344,7 +52344,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-node-rsrc-use namespace: monitoring-satellite - apiVersion: v1 @@ -53432,7 +53432,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-nodes-darwin namespace: monitoring-satellite - apiVersion: v1 @@ -54513,7 +54513,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-nodes namespace: monitoring-satellite - apiVersion: v1 @@ -54558,7 +54558,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -54620,7 +54620,7 @@ items: }, "id": 2, "interval": "1m", - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -54670,7 +54670,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -54732,7 +54732,7 @@ items: }, "id": 4, "interval": "1m", - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -54748,7 +54748,7 @@ items: } ], "refresh": "10s", - "schemaVersion": 36, + "schemaVersion": 39, "tags": [ "kubernetes-mixin" ], @@ -54822,7 +54822,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-persistentvolumesusage namespace: monitoring-satellite - apiVersion: v1 @@ -54870,7 +54870,7 @@ items: "y": 0 }, "id": 1, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -54923,7 +54923,7 @@ items: "y": 0 }, "id": 2, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -54969,7 +54969,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -55015,7 +55015,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -55061,7 +55061,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -55107,7 +55107,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -55153,7 +55153,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -55199,7 +55199,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -55215,7 +55215,7 @@ items: } ], "refresh": "10s", - "schemaVersion": 36, + "schemaVersion": 39, "tags": [ "kubernetes-mixin" ], @@ -55301,7 +55301,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-pod-total namespace: monitoring-satellite - apiVersion: v1 @@ -56960,7 +56960,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-prometheus-remote-write namespace: monitoring-satellite - apiVersion: v1 @@ -58201,7 +58201,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-prometheus namespace: monitoring-satellite - apiVersion: v1 @@ -58231,7 +58231,7 @@ items: "options": { "colorMode": "none" }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -58282,7 +58282,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -58333,7 +58333,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -58384,7 +58384,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -58435,7 +58435,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -58486,7 +58486,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -58561,7 +58561,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -58612,7 +58612,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -58663,7 +58663,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -58714,7 +58714,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -58765,7 +58765,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -58781,7 +58781,7 @@ items: } ], "refresh": "10s", - "schemaVersion": 36, + "schemaVersion": 39, "tags": [ "kubernetes-mixin" ], @@ -58843,7 +58843,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-proxy namespace: monitoring-satellite - apiVersion: v1 @@ -58873,7 +58873,7 @@ items: "options": { "colorMode": "none" }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -58924,7 +58924,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -58999,7 +58999,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -59074,7 +59074,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -59149,7 +59149,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -59200,7 +59200,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -59251,7 +59251,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -59302,7 +59302,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -59353,7 +59353,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -59369,7 +59369,7 @@ items: } ], "refresh": "10s", - "schemaVersion": 36, + "schemaVersion": 39, "tags": [ "kubernetes-mixin" ], @@ -59431,7 +59431,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-scheduler namespace: monitoring-satellite - apiVersion: v1 @@ -59465,7 +59465,7 @@ items: "displayMode": "basic", "showUnfilled": false }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -59504,7 +59504,7 @@ items: "displayMode": "basic", "showUnfilled": false }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -59543,7 +59543,7 @@ items: "displayMode": "basic", "showUnfilled": false }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -59582,7 +59582,7 @@ items: "displayMode": "basic", "showUnfilled": false }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -59633,7 +59633,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -59684,7 +59684,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -59735,7 +59735,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -59786,7 +59786,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -59837,7 +59837,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -59888,7 +59888,7 @@ items: "mode": "single" } }, - "pluginVersion": "v10.4.0", + "pluginVersion": "v11.0.0", "targets": [ { "datasource": { @@ -59904,7 +59904,7 @@ items: } ], "refresh": "10s", - "schemaVersion": 36, + "schemaVersion": 39, "tags": [ "kubernetes-mixin" ], @@ -60000,7 +60000,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-workload-total namespace: monitoring-satellite - apiVersion: v1 @@ -61407,7 +61407,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-component-dashboard namespace: monitoring-satellite - apiVersion: v1 @@ -62812,7 +62812,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-component-db namespace: monitoring-satellite - apiVersion: v1 @@ -64219,7 +64219,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-component-proxy namespace: monitoring-satellite - apiVersion: v1 @@ -64826,7 +64826,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-component-server-garbage-collector namespace: monitoring-satellite - apiVersion: v1 @@ -67349,7 +67349,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-component-server namespace: monitoring-satellite - apiVersion: v1 @@ -68217,7 +68217,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-component-usage namespace: monitoring-satellite - apiVersion: v1 @@ -70726,7 +70726,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-component-ws-manager-bridge namespace: monitoring-satellite - apiVersion: v1 @@ -71721,7 +71721,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-components-spicedb namespace: monitoring-satellite - apiVersion: v1 @@ -72644,7 +72644,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-meta-overview namespace: monitoring-satellite - apiVersion: v1 @@ -73189,7 +73189,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-meta-services namespace: monitoring-satellite - apiVersion: v1 @@ -74750,7 +74750,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-slo-login namespace: monitoring-satellite - apiVersion: v1 @@ -77620,7 +77620,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-component-agent-smith namespace: monitoring-satellite - apiVersion: v1 @@ -80188,7 +80188,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-component-content-service namespace: monitoring-satellite - apiVersion: v1 @@ -82813,7 +82813,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-component-image-builder namespace: monitoring-satellite - apiVersion: v1 @@ -85834,7 +85834,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-component-registry-facade namespace: monitoring-satellite - apiVersion: v1 @@ -89273,7 +89273,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-component-ws-daemon namespace: monitoring-satellite - apiVersion: v1 @@ -93628,7 +93628,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-component-ws-manager-mk2 namespace: monitoring-satellite - apiVersion: v1 @@ -95036,7 +95036,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-component-ws-proxy namespace: monitoring-satellite - apiVersion: v1 @@ -95473,7 +95473,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-network-limiting namespace: monitoring-satellite - apiVersion: v1 @@ -95776,7 +95776,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-node-ephemeral-storage namespace: monitoring-satellite - apiVersion: v1 @@ -96538,7 +96538,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-node-problem-detector namespace: monitoring-satellite - apiVersion: v1 @@ -96801,7 +96801,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-node-swap namespace: monitoring-satellite - apiVersion: v1 @@ -97477,7 +97477,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-psi namespace: monitoring-satellite - apiVersion: v1 @@ -99592,7 +99592,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-workspace-coredns namespace: monitoring-satellite - apiVersion: v1 @@ -100066,7 +100066,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-workspace-psi namespace: monitoring-satellite - apiVersion: v1 @@ -100675,7 +100675,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-workspace-registry-facade-blobsource namespace: monitoring-satellite - apiVersion: v1 @@ -101477,7 +101477,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboard-gitpod-workspace-success-criteria namespace: monitoring-satellite kind: ConfigMapList diff --git a/monitoring-satellite/manifests/grafana/dashboardSources.yaml b/monitoring-satellite/manifests/grafana/dashboardSources.yaml index 14cbf79c..5f13ac60 100644 --- a/monitoring-satellite/manifests/grafana/dashboardSources.yaml +++ b/monitoring-satellite/manifests/grafana/dashboardSources.yaml @@ -72,6 +72,6 @@ metadata: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana-dashboards namespace: monitoring-satellite diff --git a/monitoring-satellite/manifests/grafana/deployment.yaml b/monitoring-satellite/manifests/grafana/deployment.yaml index be17aea5..7c269181 100644 --- a/monitoring-satellite/manifests/grafana/deployment.yaml +++ b/monitoring-satellite/manifests/grafana/deployment.yaml @@ -5,7 +5,7 @@ metadata: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana namespace: monitoring-satellite spec: @@ -18,14 +18,14 @@ spec: template: metadata: annotations: - checksum/grafana-config: d6db9010bb2073069a8503e0d70f48b5 - checksum/grafana-dashboardproviders: 72a7cf5acbf6ac24ccce333fc461f581 - checksum/grafana-datasources: 77b2d417821c5a852f091351f6481639 + checksum/grafana-config: 0c5d3b8e66e283486cd4445bb49ab7b3 + checksum/grafana-dashboardproviders: f1e93eb43d599d7cd06c360ffed112c8 + checksum/grafana-datasources: d7c770cb2f60de023e53c76bc5fa9abe labels: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 spec: automountServiceAccountToken: false containers: @@ -36,7 +36,7 @@ spec: value: Admin - name: GF_AUTH_DISABLE_LOGIN_FORM value: "true" - image: grafana/grafana:10.4.2 + image: grafana/grafana:11.0.0 name: grafana ports: - containerPort: 3000 diff --git a/monitoring-satellite/manifests/grafana/prometheusRule.yaml b/monitoring-satellite/manifests/grafana/prometheusRule.yaml index ec400d73..52580713 100644 --- a/monitoring-satellite/manifests/grafana/prometheusRule.yaml +++ b/monitoring-satellite/manifests/grafana/prometheusRule.yaml @@ -5,7 +5,7 @@ metadata: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 prometheus: k8s role: alert-rules name: grafana-rules diff --git a/monitoring-satellite/manifests/grafana/service.yaml b/monitoring-satellite/manifests/grafana/service.yaml index 51126c16..5af6bb4f 100644 --- a/monitoring-satellite/manifests/grafana/service.yaml +++ b/monitoring-satellite/manifests/grafana/service.yaml @@ -5,7 +5,7 @@ metadata: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana namespace: monitoring-satellite spec: diff --git a/monitoring-satellite/manifests/grafana/serviceAccount.yaml b/monitoring-satellite/manifests/grafana/serviceAccount.yaml index 82988931..956b0f56 100644 --- a/monitoring-satellite/manifests/grafana/serviceAccount.yaml +++ b/monitoring-satellite/manifests/grafana/serviceAccount.yaml @@ -6,6 +6,6 @@ metadata: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana namespace: monitoring-satellite diff --git a/monitoring-satellite/manifests/grafana/serviceMonitor.yaml b/monitoring-satellite/manifests/grafana/serviceMonitor.yaml index 194f2238..6e6a1571 100644 --- a/monitoring-satellite/manifests/grafana/serviceMonitor.yaml +++ b/monitoring-satellite/manifests/grafana/serviceMonitor.yaml @@ -5,7 +5,7 @@ metadata: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 10.4.2 + app.kubernetes.io/version: 11.0.0 name: grafana namespace: monitoring-satellite spec: diff --git a/vendor/github.com/gitpod-io/gitpod/operations/observability/mixins/workspace/rules/satellite/workspaces.yaml b/vendor/github.com/gitpod-io/gitpod/operations/observability/mixins/workspace/rules/satellite/workspaces.yaml index c1ad4cb9..b3342340 100644 --- a/vendor/github.com/gitpod-io/gitpod/operations/observability/mixins/workspace/rules/satellite/workspaces.yaml +++ b/vendor/github.com/gitpod-io/gitpod/operations/observability/mixins/workspace/rules/satellite/workspaces.yaml @@ -14,8 +14,6 @@ spec: - name: workspace-rules rules: - record: gitpod_workspace_regular_not_active_percentage_mk2 - labels: - dedicated: included expr: | sum(gitpod_ws_manager_mk2_workspace_activity_total{active="false"}) by (cluster) / sum(gitpod_ws_manager_mk2_workspace_activity_total) by (cluster) @@ -24,7 +22,6 @@ spec: - alert: GitpodWorkspaceTooManyRegularNotActiveMk2 labels: severity: critical - dedicated: included for: 10m annotations: runbook_url: https://github.com/gitpod-io/runbooks/blob/main/runbooks/GitpodWorkspaceRegularNotActive.md @@ -39,7 +36,6 @@ spec: - alert: GitpodWorkspacesNotStartingMk2 labels: severity: critical - dedicated: included for: 10m annotations: runbook_url: https://github.com/gitpod-io/runbooks/blob/main/runbooks/GitpodWorkspaceRegularNotActive.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-latest/jsonnetfile.json b/vendor/github.com/grafana/grafonnet/gen/grafonnet-latest/jsonnetfile.json index 525bee59..ea82bcab 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-latest/jsonnetfile.json +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-latest/jsonnetfile.json @@ -4,7 +4,7 @@ "source": { "git": { "remote": "https://github.com/grafana/grafonnet.git", - "subdir": "gen/grafonnet-v10.4.0" + "subdir": "gen/grafonnet-v11.0.0" } }, "version": "main" diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-latest/main.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-latest/main.libsonnet index 33c8df77..f89dcc06 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-latest/main.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-latest/main.libsonnet @@ -1 +1 @@ -import 'github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/main.libsonnet' +import 'github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/main.libsonnet' 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 ec86898d..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/alerting/muteTiming.libsonnet +++ /dev/null @@ -1,113 +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/panel/alertGroups.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/alertGroups.libsonnet deleted file mode 100644 index 1dc4ff88..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/alertGroups.libsonnet +++ /dev/null @@ -1,40 +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/query/loki.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/query/loki.libsonnet deleted file mode 100644 index 9dd86fa4..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/query/loki.libsonnet +++ /dev/null @@ -1,53 +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, - }, -} -+ (import '../../custom/query/loki.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 1be58275..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/query/tempo.libsonnet +++ /dev/null @@ -1,161 +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 43f7b3fe..00000000 --- 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 c4244ce4..00000000 --- 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 41e6f0d7..00000000 --- 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 17a3d458..00000000 --- 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 7f10cedb..00000000 --- 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 5212a216..00000000 --- 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 17a3d458..00000000 --- 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 7f10cedb..00000000 --- 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 5212a216..00000000 --- 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 17a3d458..00000000 --- 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 7f10cedb..00000000 --- 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 5212a216..00000000 --- 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 17a3d458..00000000 --- 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 7f10cedb..00000000 --- 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 5212a216..00000000 --- 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 17a3d458..00000000 --- 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 7f10cedb..00000000 --- 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 5212a216..00000000 --- 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 17a3d458..00000000 --- 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 7f10cedb..00000000 --- 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 5212a216..00000000 --- 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 17a3d458..00000000 --- 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 7f10cedb..00000000 --- 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 5212a216..00000000 --- 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 17a3d458..00000000 --- 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 7f10cedb..00000000 --- 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 5212a216..00000000 --- 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 17a3d458..00000000 --- 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 7f10cedb..00000000 --- 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 5212a216..00000000 --- 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 17a3d458..00000000 --- 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 7f10cedb..00000000 --- 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 5212a216..00000000 --- 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 17a3d458..00000000 --- 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 7f10cedb..00000000 --- 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 5212a216..00000000 --- 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 17a3d458..00000000 --- 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 7f10cedb..00000000 --- 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 5212a216..00000000 --- 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 17a3d458..00000000 --- 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 7f10cedb..00000000 --- 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 5212a216..00000000 --- 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 17a3d458..00000000 --- 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 7f10cedb..00000000 --- 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 5212a216..00000000 --- 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 17a3d458..00000000 --- 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 7f10cedb..00000000 --- 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 5212a216..00000000 --- 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 17a3d458..00000000 --- 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 7f10cedb..00000000 --- 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 5212a216..00000000 --- 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 17a3d458..00000000 --- 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 7f10cedb..00000000 --- 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 5212a216..00000000 --- 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 17a3d458..00000000 --- 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 7f10cedb..00000000 --- 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 5212a216..00000000 --- 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 17a3d458..00000000 --- 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 7f10cedb..00000000 --- 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 5212a216..00000000 --- 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 17a3d458..00000000 --- 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 7f10cedb..00000000 --- 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 5212a216..00000000 --- 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 17a3d458..00000000 --- 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 7f10cedb..00000000 --- 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 5212a216..00000000 --- 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 17a3d458..00000000 --- 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 7f10cedb..00000000 --- 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 2997ad7e..00000000 --- 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 5212a216..00000000 --- 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 75a6feb5..00000000 --- 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 466d30ab..00000000 --- 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 116452dc..00000000 --- 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/alerting/muteTiming.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/alerting/muteTiming.libsonnet deleted file mode 100644 index 1c2ba2ef..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/alerting/muteTiming.libsonnet +++ /dev/null @@ -1,112 +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/dashboard.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/dashboard.libsonnet deleted file mode 100644 index 6faa7ce5..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/dashboard.libsonnet +++ /dev/null @@ -1,678 +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 05291530..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/librarypanel.libsonnet +++ /dev/null @@ -1,159 +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 7768ca06..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel.libsonnet +++ /dev/null @@ -1,901 +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 a957d120..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/alertGroups.libsonnet +++ /dev/null @@ -1,37 +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 8d6f4366..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/alertList.libsonnet +++ /dev/null @@ -1,338 +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 1378195b..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/annotationsList.libsonnet +++ /dev/null @@ -1,91 +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 cb34d110..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/barChart.libsonnet +++ /dev/null @@ -1,588 +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 81bf8512..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/barGauge.libsonnet +++ /dev/null @@ -1,165 +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 376d7aa6..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/candlestick.libsonnet +++ /dev/null @@ -1,966 +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 1ac51d8d..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/canvas.libsonnet +++ /dev/null @@ -1,1302 +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 b98c8239..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/dashboardList.libsonnet +++ /dev/null @@ -1,97 +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 797951cf..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/datagrid.libsonnet +++ /dev/null @@ -1,25 +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 09836eeb..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/debug.libsonnet +++ /dev/null @@ -1,97 +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 e474eabb..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/gauge.libsonnet +++ /dev/null @@ -1,147 +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 c158ead1..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/geomap.libsonnet +++ /dev/null @@ -1,608 +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 424f8a4e..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/heatmap.libsonnet +++ /dev/null @@ -1,1301 +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 30644026..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/histogram.libsonnet +++ /dev/null @@ -1,474 +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 e006d3bd..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/logs.libsonnet +++ /dev/null @@ -1,73 +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 c1514d0e..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/news.libsonnet +++ /dev/null @@ -1,31 +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 1bd6a488..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/nodeGraph.libsonnet +++ /dev/null @@ -1,214 +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 92b94215..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/pieChart.libsonnet +++ /dev/null @@ -1,522 +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 a23b2d23..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/stat.libsonnet +++ /dev/null @@ -1,153 +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 601084ea..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/stateTimeline.libsonnet +++ /dev/null @@ -1,333 +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 53b9bcc9..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/statusHistory.libsonnet +++ /dev/null @@ -1,327 +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 dbd7b41c..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/table.libsonnet +++ /dev/null @@ -1,1316 +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 97621b42..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/text.libsonnet +++ /dev/null @@ -1,107 +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 cb2ea5de..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/timeSeries.libsonnet +++ /dev/null @@ -1,765 +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 c9a31c54..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/trend.libsonnet +++ /dev/null @@ -1,753 +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 4ba74f8a..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/panel/xyChart.libsonnet +++ /dev/null @@ -1,1540 +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/prometheus.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/prometheus.libsonnet deleted file mode 100644 index d712caa7..00000000 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/prometheus.libsonnet +++ /dev/null @@ -1,69 +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, - }, - }, - }, -} diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/accesspolicy.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/accesspolicy.libsonnet similarity index 80% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/accesspolicy.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/accesspolicy.libsonnet index 3f0a1a7a..3a7dd8e8 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/accesspolicy.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/accesspolicy.libsonnet @@ -47,18 +47,22 @@ 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): { + '#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'] }], help: 'READ, WRITE, CREATE, DELETE, ...\nshould move to k8s style verbs like: "get", "list", "watch", "create", "update", "patch", "delete"' } }, + '#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: '' } }, withScope(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.0.0/alerting.libsonnet similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/alerting.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/alerting.libsonnet 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-v11.0.0/clean/alerting/contactPoint.libsonnet similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/alerting/contactPoint.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/clean/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-v11.0.0/clean/alerting/messageTemplate.libsonnet similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/alerting/messageTemplate.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/clean/alerting/messageTemplate.libsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/clean/alerting/muteTiming.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/clean/alerting/muteTiming.libsonnet new file mode 100644 index 00000000..a36d3396 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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-v10.4.0/clean/alerting/notificationPolicy.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/clean/alerting/notificationPolicy.libsonnet similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/alerting/notificationPolicy.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/clean/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-v11.0.0/clean/alerting/ruleGroup.libsonnet similarity index 92% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/alerting/ruleGroup.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/clean/alerting/ruleGroup.libsonnet index a7550dae..38bd9a01 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/alerting/ruleGroup.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/clean/alerting/ruleGroup.libsonnet @@ -59,6 +59,10 @@ 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, @@ -79,6 +83,14 @@ 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, 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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.0/custom/dashboard.libsonnet index 1478f3d3..ea8cb554 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/custom/dashboard.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.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.0.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.0.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.0.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.0.0/custom/dashboard/variable.libsonnet similarity index 100% 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.0.0/custom/dashboard/variable.libsonnet 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.0.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.0.0/custom/panel.libsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/custom/query/azureMonitor.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/custom/query/azureMonitor.libsonnet new file mode 100644 index 00000000..89264496 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/custom/query/cloudWatch.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/custom/query/cloudWatch.libsonnet new file mode 100644 index 00000000..208ee652 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/custom/query/elasticsearch.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/custom/query/elasticsearch.libsonnet new file mode 100644 index 00000000..7d1d54a3 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/custom/query/expr.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/custom/query/expr.libsonnet new file mode 100644 index 00000000..02417b6c --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/custom/query/googleCloudMonitoring.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/custom/query/googleCloudMonitoring.libsonnet new file mode 100644 index 00000000..1adaa99a --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/custom/query/grafanaPyroscope.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/custom/query/grafanaPyroscope.libsonnet new file mode 100644 index 00000000..2f528210 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.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.0.0/custom/query/loki.libsonnet index 9c19f835..48311452 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.0.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.0.0/custom/query/parca.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/custom/query/parca.libsonnet new file mode 100644 index 00000000..35c454ec --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.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.0.0/custom/query/prometheus.libsonnet index 3abe2212..68e1e057 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.0.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.0.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.0.0/custom/query/tempo.libsonnet index debcb73a..f9fc9109 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.0.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.0.0/custom/query/testData.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/custom/query/testData.libsonnet new file mode 100644 index 00000000..b482dbc9 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.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.0.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.0.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.0.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.0.0/custom/util/grid.libsonnet similarity index 100% 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.0.0/custom/util/grid.libsonnet 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.0.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.0.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.0.0/custom/util/panel.libsonnet similarity index 100% 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.0.0/custom/util/panel.libsonnet 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.0.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.0.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.0.0/dashboard.libsonnet similarity index 97% 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.0.0/dashboard.libsonnet index 9e6e88b1..03d41ec6 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/dashboard.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/dashboard.libsonnet @@ -488,7 +488,7 @@ 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': { '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, }, @@ -554,7 +554,7 @@ 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': { '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, }, @@ -566,7 +566,7 @@ 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': { '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, }, @@ -577,4 +577,4 @@ }, }, } -+ (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.0.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.0.0/docs/README.md index 1ca9657c..17958966 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/README.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.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.0.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.0.0/docs/accesspolicy/index.md similarity index 100% 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.0.0/docs/accesspolicy/index.md 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.0.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.0.0/docs/accesspolicy/rules.md index 6f328d41..f5763390 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.0.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.0.0/docs/alerting/contactPoint.md similarity index 100% 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.0.0/docs/alerting/contactPoint.md 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.0.0/docs/alerting/index.md similarity index 100% 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.0.0/docs/alerting/index.md 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.0.0/docs/alerting/messageTemplate.md similarity index 100% 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.0.0/docs/alerting/messageTemplate.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.0.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.0.0/docs/alerting/muteTiming/index.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/alerting/muteTiming/interval/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/alerting/muteTiming/interval/index.md new file mode 100644 index 00000000..18021fc9 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.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.0.0/docs/alerting/muteTiming/interval/time_intervals/index.md index aecdd1d9..e649ec25 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.0.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.0.0/docs/alerting/muteTiming/interval/time_intervals/times.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/alerting/muteTiming/interval/time_intervals/times.md new file mode 100644 index 00000000..8304969e --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/alerting/notificationPolicy/index.md similarity index 100% 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.0.0/docs/alerting/notificationPolicy/index.md 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.0.0/docs/alerting/notificationPolicy/matcher.md similarity index 100% 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.0.0/docs/alerting/notificationPolicy/matcher.md 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.0.0/docs/alerting/ruleGroup/index.md similarity index 100% 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.0.0/docs/alerting/ruleGroup/index.md 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.0.0/docs/alerting/ruleGroup/rule/data.md similarity index 100% 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.0.0/docs/alerting/ruleGroup/rule/data.md 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.0.0/docs/alerting/ruleGroup/rule/index.md similarity index 83% 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.0.0/docs/alerting/ruleGroup/rule/index.md index e93787c0..811a0440 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.0.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 @@ -159,3 +173,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.0.0/docs/dashboard/annotation.md similarity index 100% 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.0.0/docs/dashboard/annotation.md 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.0.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.0.0/docs/dashboard/index.md index 7cbee639..ec78d461 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.0.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.0.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.0.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.0.0/docs/dashboard/variable.md similarity index 100% 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.0.0/docs/dashboard/variable.md 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.0.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.0.0/docs/folder.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/librarypanel/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/librarypanel/index.md new file mode 100644 index 00000000..0592b470 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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`) + + +### 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`) + + +### 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.0.0/docs/librarypanel/model/fieldConfig/defaults/thresholds/steps.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/librarypanel/model/fieldConfig/defaults/thresholds/steps.md new file mode 100644 index 00000000..79d0a171 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/librarypanel/model/fieldConfig/overrides/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/librarypanel/model/fieldConfig/overrides/index.md new file mode 100644 index 00000000..35b01d5e --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/librarypanel/model/fieldConfig/overrides/properties.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/librarypanel/model/fieldConfig/overrides/properties.md new file mode 100644 index 00000000..766e1987 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.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.0.0/docs/librarypanel/model/links.md index d744fc5d..fcc060a9 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.0.0/docs/librarypanel/model/links.md @@ -1,4 +1,4 @@ -# link +# links diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/librarypanel/model/transformations.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/librarypanel/model/transformations.md new file mode 100644 index 00000000..df55608e --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/alertList/index.md similarity index 100% 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.0.0/docs/panel/alertList/index.md 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.0.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.0.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.0.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.0.0/docs/panel/alertList/queryOptions/transformation.md index 17a3d458..69dda9ac 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.0.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/alertGroups/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/alertList/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.0.0/docs/panel/alertList/standardOptions/mapping.md index 7f10cedb..196c7692 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.0.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.0.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.0.0/docs/panel/alertList/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.0.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/annotationsList/standardOptions/threshold/step.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/alertList/standardOptions/threshold/step.md index 5212a216..62c49ab0 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.0.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.0.0/docs/panel/annotationsList/index.md similarity index 100% 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.0.0/docs/panel/annotationsList/index.md 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.0.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.0.0/docs/panel/annotationsList/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.0.0/docs/panel/annotationsList/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.0.0/docs/panel/annotationsList/queryOptions/transformation.md index 17a3d458..69dda9ac 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.0.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.0.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.0.0/docs/panel/annotationsList/standardOptions/mapping.md index 7f10cedb..196c7692 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.0.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.0.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.0.0/docs/panel/annotationsList/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.0.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/barChart/standardOptions/threshold/step.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/annotationsList/standardOptions/threshold/step.md index 5212a216..62c49ab0 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.0.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.0.0/docs/panel/barChart/index.md similarity index 98% 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.0.0/docs/panel/barChart/index.md index c8dd8117..8865ac7d 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.0.0/docs/panel/barChart/index.md @@ -68,8 +68,8 @@ 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 withCalcs(value=[])`](#fn-optionslegendwithcalcs) + * [`fn withCalcsMixin(value=[])`](#fn-optionslegendwithcalcsmixin) * [`fn withDisplayMode(value)`](#fn-optionslegendwithdisplaymode) * [`fn withIsVisible(value=true)`](#fn-optionslegendwithisvisible) * [`fn withPlacement(value)`](#fn-optionslegendwithplacement) @@ -276,9 +276,9 @@ fieldConfig.defaults.custom.withGradientMode(value) PARAMETERS: * **value** (`string`) + - 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 @@ -567,8 +567,9 @@ options.withOrientation(value) PARAMETERS: * **value** (`string`) + - valid values: `"auto"`, `"vertical"`, `"horizontal"` -Controls the orientation of the bar chart, either vertical or horizontal. +TODO docs #### fn options.withShowValue ```jsonnet @@ -578,8 +579,9 @@ options.withShowValue(value) PARAMETERS: * **value** (`string`) + - 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 @@ -589,8 +591,9 @@ options.withStacking(value) PARAMETERS: * **value** (`string`) + - 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,23 +703,25 @@ 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 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.0.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.0.0/docs/panel/barChart/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.0.0/docs/panel/barChart/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.0.0/docs/panel/barChart/queryOptions/transformation.md index 17a3d458..69dda9ac 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.0.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/barChart/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/barChart/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.0.0/docs/panel/barChart/standardOptions/mapping.md index 7f10cedb..196c7692 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.0.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.0.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.0.0/docs/panel/barChart/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.0.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/alertGroups/standardOptions/threshold/step.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/barChart/standardOptions/threshold/step.md index 5212a216..62c49ab0 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.0.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.0.0/docs/panel/barGauge/index.md similarity index 100% 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.0.0/docs/panel/barGauge/index.md 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.0.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.0.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.0.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.0.0/docs/panel/barGauge/queryOptions/transformation.md index 17a3d458..69dda9ac 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.0.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/alertList/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/barGauge/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.0.0/docs/panel/barGauge/standardOptions/mapping.md index 7f10cedb..196c7692 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.0.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.0.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.0.0/docs/panel/barGauge/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.0.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/alertList/standardOptions/threshold/step.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/barGauge/standardOptions/threshold/step.md index 5212a216..62c49ab0 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.0.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.0.0/docs/panel/candlestick/index.md similarity index 94% 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.0.0/docs/panel/candlestick/index.md index 3a15f556..9ad9263a 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.0.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) @@ -78,8 +80,8 @@ grafonnet.panel.candlestick * [`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 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) @@ -91,18 +93,15 @@ 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 withCalcs(value=[])`](#fn-optionslegendwithcalcs) + * [`fn withCalcsMixin(value=[])`](#fn-optionslegendwithcalcsmixin) * [`fn withDisplayMode(value)`](#fn-optionslegendwithdisplaymode) * [`fn withIsVisible(value=true)`](#fn-optionslegendwithisvisible) * [`fn withPlacement(value)`](#fn-optionslegendwithplacement) @@ -293,7 +292,7 @@ fieldConfig.defaults.custom.withBarAlignment(value) PARAMETERS: -* **value** (`integer`) +* **value** (`string`) - valid values: `-1`, `0`, `1` TODO docs @@ -398,6 +397,28 @@ PARAMETERS: * **value** (`object`) TODO docs +###### fn fieldConfig.defaults.custom.withInsertNulls + +```jsonnet +fieldConfig.defaults.custom.withInsertNulls(value) +``` + +PARAMETERS: + +* **value** (`boolean`,`integer`) + + +###### fn fieldConfig.defaults.custom.withInsertNullsMixin + +```jsonnet +fieldConfig.defaults.custom.withInsertNullsMixin(value) +``` + +PARAMETERS: + +* **value** (`boolean`,`integer`) + + ###### fn fieldConfig.defaults.custom.withLineColor ```jsonnet @@ -794,8 +815,9 @@ options.withCandleStyle(value) PARAMETERS: * **value** (`string`) + - valid values: `"candles"`, `"ohlcbars"` + -Sets the style of the candlesticks #### fn options.withColorStrategy ```jsonnet @@ -805,8 +827,9 @@ options.withColorStrategy(value) PARAMETERS: * **value** (`string`) + - valid values: `"open-close"`, `"close-close"` + -Sets the color strategy for the candlesticks #### fn options.withColors ```jsonnet @@ -832,27 +855,25 @@ PARAMETERS: #### 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 ```jsonnet @@ -896,8 +917,9 @@ options.withMode(value) PARAMETERS: * **value** (`string`) + - valid values: `"candles+volume"`, `"candles"`, `"volume"` + -Sets which dimensions are used for the visualization #### fn options.withTooltip ```jsonnet @@ -962,35 +984,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 +995,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 +1006,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 +1017,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 +1028,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,23 +1057,25 @@ 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 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.0.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.0.0/docs/panel/candlestick/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/candlestick/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/candlestick/queryOptions/transformation.md new file mode 100644 index 00000000..69dda9ac --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/candlestick/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/candlestick/standardOptions/mapping.md new file mode 100644 index 00000000..196c7692 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.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.0.0/docs/panel/candlestick/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/candlestick/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/candlestick/standardOptions/threshold/step.md new file mode 100644 index 00000000..62c49ab0 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/canvas/index.md similarity index 98% 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.0.0/docs/panel/canvas/index.md index b63952f7..5d8a9652 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.0.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,7 +28,7 @@ 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) @@ -113,6 +114,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 +225,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 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.0.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.0.0/docs/panel/canvas/options/root/elements/connections/index.md index e8e62264..f1571587 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.0.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 @@ -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.0.0/docs/panel/canvas/options/root/elements/connections/vertices.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/canvas/options/root/elements/connections/vertices.md new file mode 100644 index 00000000..70f44a38 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.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.0.0/docs/panel/canvas/options/root/elements/index.md index 7892a2f5..73f5b6ea 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.0.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.0.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.0.0/docs/panel/canvas/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/canvas/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/canvas/queryOptions/transformation.md new file mode 100644 index 00000000..69dda9ac --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/canvas/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/canvas/standardOptions/mapping.md new file mode 100644 index 00000000..196c7692 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.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.0.0/docs/panel/canvas/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/canvas/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/canvas/standardOptions/threshold/step.md new file mode 100644 index 00000000..62c49ab0 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/dashboardList/index.md similarity index 100% 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.0.0/docs/panel/dashboardList/index.md 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.0.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.0.0/docs/panel/dashboardList/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/dashboardList/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/dashboardList/queryOptions/transformation.md new file mode 100644 index 00000000..69dda9ac --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/dashboardList/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/dashboardList/standardOptions/mapping.md new file mode 100644 index 00000000..196c7692 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.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.0.0/docs/panel/dashboardList/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/dashboardList/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/dashboardList/standardOptions/threshold/step.md new file mode 100644 index 00000000..62c49ab0 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/datagrid/index.md similarity index 100% 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.0.0/docs/panel/datagrid/index.md 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.0.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.0.0/docs/panel/datagrid/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/datagrid/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/datagrid/queryOptions/transformation.md new file mode 100644 index 00000000..69dda9ac --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/datagrid/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/datagrid/standardOptions/mapping.md new file mode 100644 index 00000000..196c7692 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.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.0.0/docs/panel/datagrid/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/datagrid/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/datagrid/standardOptions/threshold/step.md new file mode 100644 index 00000000..62c49ab0 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/debug/index.md similarity index 100% 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.0.0/docs/panel/debug/index.md 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.0.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.0.0/docs/panel/debug/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/debug/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/debug/queryOptions/transformation.md new file mode 100644 index 00000000..69dda9ac --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/debug/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/debug/standardOptions/mapping.md new file mode 100644 index 00000000..196c7692 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.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.0.0/docs/panel/debug/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/debug/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/debug/standardOptions/threshold/step.md new file mode 100644 index 00000000..62c49ab0 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/gauge/index.md similarity index 100% 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.0.0/docs/panel/gauge/index.md 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.0.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.0.0/docs/panel/gauge/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/gauge/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/gauge/queryOptions/transformation.md new file mode 100644 index 00000000..69dda9ac --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/gauge/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/gauge/standardOptions/mapping.md new file mode 100644 index 00000000..196c7692 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.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.0.0/docs/panel/gauge/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/gauge/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/gauge/standardOptions/threshold/step.md new file mode 100644 index 00000000..62c49ab0 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/geomap/index.md similarity index 97% 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.0.0/docs/panel/geomap/index.md index 27afea9c..c1a2e05e 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.0.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) @@ -272,7 +274,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 +296,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 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.0.0/docs/panel/geomap/options/layers.md similarity index 85% 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.0.0/docs/panel/geomap/options/layers.md index d65f7c60..cf4881df 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.0.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 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.0.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.0.0/docs/panel/geomap/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/geomap/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/geomap/queryOptions/transformation.md new file mode 100644 index 00000000..69dda9ac --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/geomap/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/geomap/standardOptions/mapping.md new file mode 100644 index 00000000..196c7692 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.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.0.0/docs/panel/geomap/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/geomap/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/geomap/standardOptions/threshold/step.md new file mode 100644 index 00000000..62c49ab0 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/heatmap/index.md similarity index 82% 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.0.0/docs/panel/heatmap/index.md index f313ed7a..336c823d 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.0.0/docs/panel/heatmap/index.md @@ -37,21 +37,21 @@ 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 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 withCellValues(value)`](#fn-optionswithcellvalues) + * [`fn withCellValuesMixin(value)`](#fn-optionswithcellvaluesmixin) + * [`fn withColor(value)`](#fn-optionswithcolor) + * [`fn withColorMixin(value)`](#fn-optionswithcolormixin) * [`fn withExemplars(value)`](#fn-optionswithexemplars) * [`fn withExemplarsMixin(value)`](#fn-optionswithexemplarsmixin) - * [`fn withFilterValues(value={"le": 0.000000001})`](#fn-optionswithfiltervalues) - * [`fn withFilterValuesMixin(value={"le": 0.000000001})`](#fn-optionswithfiltervaluesmixin) + * [`fn withFilterValues(value)`](#fn-optionswithfiltervalues) + * [`fn withFilterValuesMixin(value)`](#fn-optionswithfiltervaluesmixin) * [`fn withLegend(value)`](#fn-optionswithlegend) * [`fn withLegendMixin(value)`](#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 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 +78,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) @@ -413,51 +401,47 @@ 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 -options.withColor(value={"exponent": 0.5,"fill": "dark-orange","reverse": false,"scheme": "Oranges","steps": 64}) +options.withColor(value) ``` 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 -options.withColorMixin(value={"exponent": 0.5,"fill": "dark-orange","reverse": false,"scheme": "Oranges","steps": 64}) +options.withColorMixin(value) ``` 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 @@ -483,27 +467,25 @@ Controls exemplar options #### fn options.withFilterValues ```jsonnet -options.withFilterValues(value={"le": 0.000000001}) +options.withFilterValues(value) ``` PARAMETERS: * **value** (`object`) - - default value: `{"le": 0.000000001}` -Filters values between a given range +Controls the value filter range #### fn options.withFilterValuesMixin ```jsonnet -options.withFilterValuesMixin(value={"le": 0.000000001}) +options.withFilterValuesMixin(value) ``` PARAMETERS: * **value** (`object`) - - default value: `{"le": 0.000000001}` -Filters values between a given range +Controls the value filter range #### fn options.withLegend ```jsonnet @@ -557,33 +539,29 @@ options.withShowValue(value) PARAMETERS: * **value** (`string`) + - 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 @@ -828,35 +806,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 - -```jsonnet -options.cellValues.withCellValuesMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Controls cell value options -##### obj options.cellValues.CellValues - - -###### fn options.cellValues.CellValues.withDecimals +##### fn options.cellValues.withDecimals ```jsonnet -options.cellValues.CellValues.withDecimals(value) +options.cellValues.withDecimals(value) ``` PARAMETERS: @@ -864,10 +817,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 +831,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 +##### fn options.color.withExponent ```jsonnet -options.color.withHeatmapColorOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Controls various color options -##### obj options.color.HeatmapColorOptions - - -###### fn options.color.HeatmapColorOptions.withExponent - -```jsonnet -options.color.HeatmapColorOptions.withExponent(value) +options.color.withExponent(value) ``` PARAMETERS: @@ -914,10 +842,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 +853,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 +864,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 +875,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 +887,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 +899,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 +911,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 +922,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 +950,10 @@ Sets the color of the exemplar markers #### obj options.filterValues -##### fn options.filterValues.withFilterValueRange - -```jsonnet -options.filterValues.withFilterValueRange(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Controls the value filter range -##### fn options.filterValues.withFilterValueRangeMixin +##### fn options.filterValues.withGe ```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 +961,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: @@ -1113,35 +1016,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 +1027,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 +1038,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 +1050,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 +1062,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: 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.0.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.0.0/docs/panel/heatmap/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/heatmap/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/heatmap/queryOptions/transformation.md new file mode 100644 index 00000000..69dda9ac --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/heatmap/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/heatmap/standardOptions/mapping.md new file mode 100644 index 00000000..196c7692 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.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.0.0/docs/panel/heatmap/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/heatmap/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/heatmap/standardOptions/threshold/step.md new file mode 100644 index 00000000..62c49ab0 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/histogram/index.md similarity index 94% 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.0.0/docs/panel/histogram/index.md index c71865d4..a939871f 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.0.0/docs/panel/histogram/index.md @@ -32,6 +32,8 @@ grafonnet.panel.histogram * [`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,8 +59,8 @@ 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 withCalcs(value=[])`](#fn-optionslegendwithcalcs) + * [`fn withCalcsMixin(value=[])`](#fn-optionslegendwithcalcsmixin) * [`fn withDisplayMode(value)`](#fn-optionslegendwithdisplaymode) * [`fn withIsVisible(value=true)`](#fn-optionslegendwithisvisible) * [`fn withPlacement(value)`](#fn-optionslegendwithplacement) @@ -259,9 +264,9 @@ fieldConfig.defaults.custom.withGradientMode(value) PARAMETERS: * **value** (`string`) + - 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 +322,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 +420,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,23 +584,25 @@ 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 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.0.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.0.0/docs/panel/histogram/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/histogram/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/histogram/queryOptions/transformation.md new file mode 100644 index 00000000..69dda9ac --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/histogram/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/histogram/standardOptions/mapping.md new file mode 100644 index 00000000..196c7692 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.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.0.0/docs/panel/histogram/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/histogram/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/histogram/standardOptions/threshold/step.md new file mode 100644 index 00000000..62c49ab0 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.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.0.0/docs/panel/index.md index d29f1572..3111a61d 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.0.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.0.0/docs/panel/logs/index.md similarity index 100% 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.0.0/docs/panel/logs/index.md 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.0.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.0.0/docs/panel/logs/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/logs/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/logs/queryOptions/transformation.md new file mode 100644 index 00000000..69dda9ac --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/logs/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/logs/standardOptions/mapping.md new file mode 100644 index 00000000..196c7692 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.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.0.0/docs/panel/logs/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/logs/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/logs/standardOptions/threshold/step.md new file mode 100644 index 00000000..62c49ab0 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/news/index.md similarity index 100% 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.0.0/docs/panel/news/index.md 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.0.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.0.0/docs/panel/news/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/news/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/news/queryOptions/transformation.md new file mode 100644 index 00000000..69dda9ac --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/news/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/news/standardOptions/mapping.md new file mode 100644 index 00000000..196c7692 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.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.0.0/docs/panel/news/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/news/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/news/standardOptions/threshold/step.md new file mode 100644 index 00000000..62c49ab0 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/nodeGraph/index.md similarity index 100% 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.0.0/docs/panel/nodeGraph/index.md 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.0.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.0.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.0.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.0.0/docs/panel/nodeGraph/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/nodeGraph/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/nodeGraph/queryOptions/transformation.md new file mode 100644 index 00000000..69dda9ac --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/nodeGraph/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/nodeGraph/standardOptions/mapping.md new file mode 100644 index 00000000..196c7692 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.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.0.0/docs/panel/nodeGraph/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/nodeGraph/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/nodeGraph/standardOptions/threshold/step.md new file mode 100644 index 00000000..62c49ab0 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/pieChart/index.md similarity index 100% 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.0.0/docs/panel/pieChart/index.md 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.0.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.0.0/docs/panel/pieChart/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/pieChart/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/pieChart/queryOptions/transformation.md new file mode 100644 index 00000000..69dda9ac --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/pieChart/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/pieChart/standardOptions/mapping.md new file mode 100644 index 00000000..196c7692 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.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.0.0/docs/panel/pieChart/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/pieChart/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/pieChart/standardOptions/threshold/step.md new file mode 100644 index 00000000..62c49ab0 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.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.0.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.0.0/docs/panel/stat/index.md similarity index 100% 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.0.0/docs/panel/stat/index.md 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.0.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.0.0/docs/panel/stat/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/stat/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/stat/queryOptions/transformation.md new file mode 100644 index 00000000..69dda9ac --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/stat/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/stat/standardOptions/mapping.md new file mode 100644 index 00000000..196c7692 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.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.0.0/docs/panel/stat/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/stat/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/stat/standardOptions/threshold/step.md new file mode 100644 index 00000000..62c49ab0 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/stateTimeline/index.md similarity index 96% 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.0.0/docs/panel/stateTimeline/index.md index bc2d505a..6d71036f 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.0.0/docs/panel/stateTimeline/index.md @@ -40,8 +40,8 @@ grafonnet.panel.stateTimeline * [`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 withCalcs(value=[])`](#fn-optionslegendwithcalcs) + * [`fn withCalcsMixin(value=[])`](#fn-optionslegendwithcalcsmixin) * [`fn withDisplayMode(value)`](#fn-optionslegendwithdisplaymode) * [`fn withIsVisible(value=true)`](#fn-optionslegendwithisvisible) * [`fn withPlacement(value)`](#fn-optionslegendwithplacement) @@ -49,6 +49,9 @@ grafonnet.panel.stateTimeline * [`fn withSortBy(value)`](#fn-optionslegendwithsortby) * [`fn withSortDesc(value=true)`](#fn-optionslegendwithsortdesc) * [`fn withWidth(value)`](#fn-optionslegendwithwidth) + * [`obj timezone`](#obj-optionstimezone) + * [`fn withTimeZoneBrowser()`](#fn-optionstimezonewithtimezonebrowser) + * [`fn withTimeZoneUtc()`](#fn-optionstimezonewithtimezoneutc) * [`obj tooltip`](#obj-optionstooltip) * [`fn withMaxHeight(value)`](#fn-optionstooltipwithmaxheight) * [`fn withMaxWidth(value)`](#fn-optionstooltipwithmaxwidth) @@ -242,8 +245,9 @@ options.withAlignValue(value) PARAMETERS: * **value** (`string`) + - valid values: `"center"`, `"left"`, `"right"` -Controls value alignment on the timelines +Controls the value alignment in the TimelineChart component #### fn options.withLegend ```jsonnet @@ -299,8 +303,9 @@ options.withShowValue(value) PARAMETERS: * **value** (`string`) + - valid values: `"auto"`, `"never"`, `"always"` -Show timeline values on chart +TODO docs #### fn options.withTimezone ```jsonnet @@ -363,23 +368,25 @@ 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 @@ -465,6 +472,25 @@ PARAMETERS: * **value** (`number`) +#### obj options.timezone + + +##### fn options.timezone.withTimeZoneBrowser + +```jsonnet +options.timezone.withTimeZoneBrowser() +``` + + +Use the timezone defined by end user web browser +##### fn options.timezone.withTimeZoneUtc + +```jsonnet +options.timezone.withTimeZoneUtc() +``` + + +Use UTC/GMT timezone #### obj options.tooltip 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.0.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.0.0/docs/panel/stateTimeline/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/stateTimeline/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/stateTimeline/queryOptions/transformation.md new file mode 100644 index 00000000..69dda9ac --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/stateTimeline/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/stateTimeline/standardOptions/mapping.md new file mode 100644 index 00000000..196c7692 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.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.0.0/docs/panel/stateTimeline/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/stateTimeline/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/stateTimeline/standardOptions/threshold/step.md new file mode 100644 index 00000000..62c49ab0 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/statusHistory/index.md similarity index 96% 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.0.0/docs/panel/statusHistory/index.md index a96e3a81..5f80aec6 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.0.0/docs/panel/statusHistory/index.md @@ -39,8 +39,8 @@ grafonnet.panel.statusHistory * [`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 withCalcs(value=[])`](#fn-optionslegendwithcalcs) + * [`fn withCalcsMixin(value=[])`](#fn-optionslegendwithcalcsmixin) * [`fn withDisplayMode(value)`](#fn-optionslegendwithdisplaymode) * [`fn withIsVisible(value=true)`](#fn-optionslegendwithisvisible) * [`fn withPlacement(value)`](#fn-optionslegendwithplacement) @@ -48,6 +48,9 @@ grafonnet.panel.statusHistory * [`fn withSortBy(value)`](#fn-optionslegendwithsortby) * [`fn withSortDesc(value=true)`](#fn-optionslegendwithsortdesc) * [`fn withWidth(value)`](#fn-optionslegendwithwidth) + * [`obj timezone`](#obj-optionstimezone) + * [`fn withTimeZoneBrowser()`](#fn-optionstimezonewithtimezonebrowser) + * [`fn withTimeZoneUtc()`](#fn-optionstimezonewithtimezoneutc) * [`obj tooltip`](#obj-optionstooltip) * [`fn withMaxHeight(value)`](#fn-optionstooltipwithmaxheight) * [`fn withMaxWidth(value)`](#fn-optionstooltipwithmaxwidth) @@ -287,8 +290,9 @@ options.withShowValue(value) PARAMETERS: * **value** (`string`) + - valid values: `"auto"`, `"never"`, `"always"` -Show values on the columns +TODO docs #### fn options.withTimezone ```jsonnet @@ -351,23 +355,25 @@ 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 @@ -453,6 +459,25 @@ PARAMETERS: * **value** (`number`) +#### obj options.timezone + + +##### fn options.timezone.withTimeZoneBrowser + +```jsonnet +options.timezone.withTimeZoneBrowser() +``` + + +Use the timezone defined by end user web browser +##### fn options.timezone.withTimeZoneUtc + +```jsonnet +options.timezone.withTimeZoneUtc() +``` + + +Use UTC/GMT timezone #### obj options.tooltip 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.0.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.0.0/docs/panel/statusHistory/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/statusHistory/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/statusHistory/queryOptions/transformation.md new file mode 100644 index 00000000..69dda9ac --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/statusHistory/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/statusHistory/standardOptions/mapping.md new file mode 100644 index 00000000..196c7692 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.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.0.0/docs/panel/statusHistory/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/statusHistory/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/statusHistory/standardOptions/threshold/step.md new file mode 100644 index 00000000..62c49ab0 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/table/index.md similarity index 93% 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.0.0/docs/panel/table/index.md index f515f0ad..d5c25b8b 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.0.0/docs/panel/table/index.md @@ -45,22 +45,23 @@ 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) * [`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) * [`obj TableColoredBackgroundCellOptions`](#obj-fieldconfigdefaultscustomcelloptionstablecoloredbackgroundcelloptions) + * [`fn withApplyToRow(value=true)`](#fn-fieldconfigdefaultscustomcelloptionstablecoloredbackgroundcelloptionswithapplytorow) * [`fn withMode(value)`](#fn-fieldconfigdefaultscustomcelloptionstablecoloredbackgroundcelloptionswithmode) - * [`fn withType(value)`](#fn-fieldconfigdefaultscustomcelloptionstablecoloredbackgroundcelloptionswithtype) + * [`fn withType()`](#fn-fieldconfigdefaultscustomcelloptionstablecoloredbackgroundcelloptionswithtype) * [`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) @@ -100,7 +101,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) @@ -123,24 +124,21 @@ grafonnet.panel.table * [`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 withFooter(value)`](#fn-optionswithfooter) + * [`fn withFooterMixin(value)`](#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) @@ -282,7 +280,7 @@ PARAMETERS: * **value** (`boolean`) - default value: `true` - +?? default is missing or false ?? ###### fn fieldConfig.defaults.custom.withHideHeader ```jsonnet @@ -514,12 +512,9 @@ Sparkline cell options ######## fn fieldConfig.defaults.custom.cellOptions.TableAutoCellOptions.withType ```jsonnet -fieldConfig.defaults.custom.cellOptions.TableAutoCellOptions.withType(value) +fieldConfig.defaults.custom.cellOptions.TableAutoCellOptions.withType() ``` -PARAMETERS: - -* **value** (`string`) ####### obj fieldConfig.defaults.custom.cellOptions.TableBarGaugeCellOptions @@ -541,12 +536,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 +559,26 @@ 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() ``` -PARAMETERS: - -* **value** (`string`) ####### 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 +596,9 @@ or a gradient. ######## fn fieldConfig.defaults.custom.cellOptions.TableColoredBackgroundCellOptions.withType ```jsonnet -fieldConfig.defaults.custom.cellOptions.TableColoredBackgroundCellOptions.withType(value) +fieldConfig.defaults.custom.cellOptions.TableColoredBackgroundCellOptions.withType() ``` -PARAMETERS: - -* **value** (`string`) ####### obj fieldConfig.defaults.custom.cellOptions.TableDataLinksCellOptions @@ -609,12 +607,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 +618,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 +629,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 +749,7 @@ fieldConfig.defaults.custom.cellOptions.TableSparklineCellOptions.withBarAlignme PARAMETERS: -* **value** (`integer`) +* **value** (`string`) - valid values: `-1`, `0`, `1` TODO docs @@ -1085,12 +1074,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 @@ -1284,32 +1270,31 @@ options.withCellHeight(value) PARAMETERS: * **value** (`string`) + - valid values: `"sm"`, `"md"`, `"lg"` -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) ``` PARAMETERS: * **value** (`object`) - - default value: `{"countRows": false,"reducer": [],"show": false}` -Controls footer options +Footer options #### fn options.withFooterMixin ```jsonnet -options.withFooterMixin(value={"countRows": false,"reducer": [],"show": false}) +options.withFooterMixin(value) ``` PARAMETERS: * **value** (`object`) - - default value: `{"countRows": false,"reducer": [],"show": false}` -Controls footer options +Footer options #### fn options.withFrameIndex ```jsonnet @@ -1371,35 +1356,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 +##### fn options.footer.withCountRows ```jsonnet -options.footer.withTableFooterOptionsMixin(value) -``` - -PARAMETERS: - -* **value** (`object`) - -Footer options -##### obj options.footer.TableFooterOptions - - -###### fn options.footer.TableFooterOptions.withCountRows - -```jsonnet -options.footer.TableFooterOptions.withCountRows(value=true) +options.footer.withCountRows(value=true) ``` PARAMETERS: @@ -1408,10 +1368,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 +1380,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 +1391,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 +1402,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: 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.0.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.0.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.0.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.0.0/docs/panel/table/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/table/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/table/queryOptions/transformation.md new file mode 100644 index 00000000..69dda9ac --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/table/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/table/standardOptions/mapping.md new file mode 100644 index 00000000..196c7692 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.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.0.0/docs/panel/table/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/table/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/table/standardOptions/threshold/step.md new file mode 100644 index 00000000..62c49ab0 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/text/index.md similarity index 98% 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.0.0/docs/panel/text/index.md index 460aa72a..82e0a100 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.0.0/docs/panel/text/index.md @@ -22,7 +22,7 @@ grafonnet.panel.text * [`fn withContent(value="# Title\n\nFor markdown syntax help: [commonmark.org/help](https://commonmark.org/help/)")`](#fn-optionswithcontent) * [`fn withMode(value)`](#fn-optionswithmode) * [`obj code`](#obj-optionscode) - * [`fn withLanguage(value="plaintext")`](#fn-optionscodewithlanguage) + * [`fn withLanguage(value)`](#fn-optionscodewithlanguage) * [`fn withShowLineNumbers(value=true)`](#fn-optionscodewithshowlinenumbers) * [`fn withShowMiniMap(value=true)`](#fn-optionscodewithshowminimap) * [`obj panelOptions`](#obj-paneloptions) @@ -162,14 +162,13 @@ PARAMETERS: ##### fn options.code.withLanguage ```jsonnet -options.code.withLanguage(value="plaintext") +options.code.withLanguage(value) ``` 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"` ##### fn options.code.withShowLineNumbers 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.0.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.0.0/docs/panel/text/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/text/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/text/queryOptions/transformation.md new file mode 100644 index 00000000..69dda9ac --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/text/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/text/standardOptions/mapping.md new file mode 100644 index 00000000..196c7692 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.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.0.0/docs/panel/text/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/text/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/text/standardOptions/threshold/step.md new file mode 100644 index 00000000..62c49ab0 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/timeSeries/index.md similarity index 95% 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.0.0/docs/panel/timeSeries/index.md index 4b2fa8f4..fd6c263b 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.0.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) @@ -76,14 +78,15 @@ grafonnet.panel.timeSeries * [`obj options`](#obj-options) * [`fn withLegend(value)`](#fn-optionswithlegend) * [`fn withLegendMixin(value)`](#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 withCalcs(value=[])`](#fn-optionslegendwithcalcs) + * [`fn withCalcsMixin(value=[])`](#fn-optionslegendwithcalcsmixin) * [`fn withDisplayMode(value)`](#fn-optionslegendwithdisplaymode) * [`fn withIsVisible(value=true)`](#fn-optionslegendwithisvisible) * [`fn withPlacement(value)`](#fn-optionslegendwithplacement) @@ -91,6 +94,9 @@ grafonnet.panel.timeSeries * [`fn withSortBy(value)`](#fn-optionslegendwithsortby) * [`fn withSortDesc(value=true)`](#fn-optionslegendwithsortdesc) * [`fn withWidth(value)`](#fn-optionslegendwithwidth) + * [`obj timezone`](#obj-optionstimezone) + * [`fn withTimeZoneBrowser()`](#fn-optionstimezonewithtimezonebrowser) + * [`fn withTimeZoneUtc()`](#fn-optionstimezonewithtimezoneutc) * [`obj tooltip`](#obj-optionstooltip) * [`fn withMaxHeight(value)`](#fn-optionstooltipwithmaxheight) * [`fn withMaxWidth(value)`](#fn-optionstooltipwithmaxwidth) @@ -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`,`integer`) + + +###### fn fieldConfig.defaults.custom.withInsertNullsMixin + +```jsonnet +fieldConfig.defaults.custom.withInsertNullsMixin(value) +``` + +PARAMETERS: + +* **value** (`boolean`,`integer`) + + ###### fn fieldConfig.defaults.custom.withLineColor ```jsonnet @@ -787,6 +815,18 @@ PARAMETERS: * **value** (`object`) +TODO docs +#### fn options.withOrientation + +```jsonnet +options.withOrientation(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"auto"`, `"vertical"`, `"horizontal"` + TODO docs #### fn options.withTimezone @@ -850,23 +890,25 @@ 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 @@ -952,6 +994,25 @@ PARAMETERS: * **value** (`number`) +#### obj options.timezone + + +##### fn options.timezone.withTimeZoneBrowser + +```jsonnet +options.timezone.withTimeZoneBrowser() +``` + + +Use the timezone defined by end user web browser +##### fn options.timezone.withTimeZoneUtc + +```jsonnet +options.timezone.withTimeZoneUtc() +``` + + +Use UTC/GMT timezone #### obj options.tooltip 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.0.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.0.0/docs/panel/timeSeries/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/timeSeries/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/timeSeries/queryOptions/transformation.md new file mode 100644 index 00000000..69dda9ac --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/timeSeries/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/timeSeries/standardOptions/mapping.md new file mode 100644 index 00000000..196c7692 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.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.0.0/docs/panel/timeSeries/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/timeSeries/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/timeSeries/standardOptions/threshold/step.md new file mode 100644 index 00000000..62c49ab0 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/trend/index.md similarity index 97% 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.0.0/docs/panel/trend/index.md index ad7d92c0..f5e75a2a 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.0.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,8 +83,8 @@ 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 withCalcs(value=[])`](#fn-optionslegendwithcalcs) + * [`fn withCalcsMixin(value=[])`](#fn-optionslegendwithcalcsmixin) * [`fn withDisplayMode(value)`](#fn-optionslegendwithdisplaymode) * [`fn withIsVisible(value=true)`](#fn-optionslegendwithisvisible) * [`fn withPlacement(value)`](#fn-optionslegendwithplacement) @@ -273,7 +275,7 @@ fieldConfig.defaults.custom.withBarAlignment(value) PARAMETERS: -* **value** (`integer`) +* **value** (`string`) - valid values: `-1`, `0`, `1` TODO docs @@ -378,6 +380,28 @@ PARAMETERS: * **value** (`object`) TODO docs +###### fn fieldConfig.defaults.custom.withInsertNulls + +```jsonnet +fieldConfig.defaults.custom.withInsertNulls(value) +``` + +PARAMETERS: + +* **value** (`boolean`,`integer`) + + +###### fn fieldConfig.defaults.custom.withInsertNullsMixin + +```jsonnet +fieldConfig.defaults.custom.withInsertNullsMixin(value) +``` + +PARAMETERS: + +* **value** (`boolean`,`integer`) + + ###### fn fieldConfig.defaults.custom.withLineColor ```jsonnet @@ -838,23 +862,25 @@ 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 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.0.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.0.0/docs/panel/trend/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/trend/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/trend/queryOptions/transformation.md new file mode 100644 index 00000000..69dda9ac --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/trend/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/trend/standardOptions/mapping.md new file mode 100644 index 00000000..196c7692 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.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.0.0/docs/panel/trend/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/trend/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/trend/standardOptions/threshold/step.md new file mode 100644 index 00000000..62c49ab0 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/xyChart/index.md similarity index 99% 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.0.0/docs/panel/xyChart/index.md index eba78057..42142405 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.0.0/docs/panel/xyChart/index.md @@ -91,8 +91,8 @@ 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 withCalcs(value=[])`](#fn-optionslegendwithcalcs) + * [`fn withCalcsMixin(value=[])`](#fn-optionslegendwithcalcsmixin) * [`fn withDisplayMode(value)`](#fn-optionslegendwithdisplaymode) * [`fn withIsVisible(value=true)`](#fn-optionslegendwithisvisible) * [`fn withPlacement(value)`](#fn-optionslegendwithplacement) @@ -564,7 +564,7 @@ PARAMETERS: * **value** (`string`) - +color value ###### obj fieldConfig.defaults.custom.lineStyle @@ -626,7 +626,7 @@ PARAMETERS: * **value** (`string`) - +color value ###### obj fieldConfig.defaults.custom.pointSize @@ -916,23 +916,25 @@ 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 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.0.0/docs/panel/xyChart/options/series.md similarity index 99% 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.0.0/docs/panel/xyChart/options/series.md index 80fed2f7..30e01524 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.0.0/docs/panel/xyChart/options/series.md @@ -502,7 +502,7 @@ PARAMETERS: * **value** (`string`) - +color value ### obj lineStyle @@ -564,7 +564,7 @@ PARAMETERS: * **value** (`string`) - +color value ### obj pointSize 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.0.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.0.0/docs/panel/xyChart/panelOptions/link.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/xyChart/queryOptions/transformation.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/xyChart/queryOptions/transformation.md new file mode 100644 index 00000000..69dda9ac --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/panel/xyChart/standardOptions/mapping.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/xyChart/standardOptions/mapping.md new file mode 100644 index 00000000..196c7692 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.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.0.0/docs/panel/xyChart/standardOptions/override.md diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/xyChart/standardOptions/threshold/step.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/panel/xyChart/standardOptions/threshold/step.md new file mode 100644 index 00000000..62c49ab0 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/preferences.md similarity index 100% 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.0.0/docs/preferences.md 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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.0/docs/query/azureMonitor/index.md index 05b67bff..f60f70e1 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.0.0/docs/query/azureMonitor/index.md @@ -98,51 +98,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) @@ -246,10 +246,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 @@ -283,9 +280,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 @@ -1087,13 +1082,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 +1115,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 +1137,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 +1203,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 +1269,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 +1335,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 +1368,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 +1423,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 +1445,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 +1467,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.0.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.0.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/from/QueryEditorFunctionExpression/parameters.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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/from/QueryEditorFunctionExpression/parameters.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/query/cloudWatch/CloudWatchMetricsQuery/sql/from/QueryEditorFunctionExpression/parameters.md index a7f04020..d2fb19d9 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.0.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/orderBy/parameters.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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/orderBy/parameters.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/query/cloudWatch/CloudWatchMetricsQuery/sql/orderBy/parameters.md index a7f04020..d2fb19d9 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.0.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/select/parameters.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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/select/parameters.md rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/query/cloudWatch/CloudWatchMetricsQuery/sql/select/parameters.md index a7f04020..d2fb19d9 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.0.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.0.0/docs/query/cloudWatch/index.md similarity index 93% 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.0.0/docs/query/cloudWatch/index.md index 36cc7219..71a7abec 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.0.0/docs/query/cloudWatch/index.md @@ -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 @@ -366,10 +361,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 +384,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 @@ -556,10 +546,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 +591,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,7 +634,7 @@ CloudWatchMetricsQuery.withMetricEditorMode(value) PARAMETERS: -* **value** (`integer`) +* **value** (`string`) - valid values: `0`, `1` @@ -672,7 +657,7 @@ CloudWatchMetricsQuery.withMetricQueryType(value) PARAMETERS: -* **value** (`integer`) +* **value** (`string`) - valid values: `0`, `1` @@ -1033,12 +1018,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 +1051,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 +1158,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 +1202,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.0.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.0.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.0.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.0.0/docs/query/elasticsearch/bucketAggs/index.md index 07316dbc..f98cbdea 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.0.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.0.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.0.0/docs/query/elasticsearch/index.md index b5926b0b..a84eb5f7 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.0.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.0.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.0.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.0.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.0.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.0.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.0.0/docs/query/elasticsearch/metrics/index.md index 60a0291e..fc18efe3 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.0.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.0.0/docs/query/expr/TypeClassicConditions/conditions.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/query/expr/TypeClassicConditions/conditions.md new file mode 100644 index 00000000..8ad01477 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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"` + + +### 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.0.0/docs/query/expr/TypeClassicConditions/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/query/expr/TypeClassicConditions/index.md new file mode 100644 index 00000000..5678c5e5 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/query/expr/TypeClassicConditions/index.md @@ -0,0 +1,312 @@ +# 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 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.withType + +```jsonnet +datasource.withType() +``` + + +The datasource plugin type +#### fn datasource.withUid + +```jsonnet +datasource.withUid(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Datasource UID +### 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.0.0/docs/query/expr/TypeMath.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/query/expr/TypeMath.md new file mode 100644 index 00000000..705953ec --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/query/expr/TypeMath.md @@ -0,0 +1,296 @@ +# 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 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.withType + +```jsonnet +datasource.withType() +``` + + +The datasource plugin type +#### fn datasource.withUid + +```jsonnet +datasource.withUid(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Datasource UID +### 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.0.0/docs/query/expr/TypeReduce.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/query/expr/TypeReduce.md new file mode 100644 index 00000000..f918e40c --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/query/expr/TypeReduce.md @@ -0,0 +1,372 @@ +# 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 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"` + +The reducer +Possible enum values: + - `"sum"` + - `"mean"` + - `"min"` + - `"max"` + - `"count"` + - `"last"` +### 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.withType + +```jsonnet +datasource.withType() +``` + + +The datasource plugin type +#### fn datasource.withUid + +```jsonnet +datasource.withUid(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Datasource UID +### 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.0.0/docs/query/expr/TypeResample.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/query/expr/TypeResample.md new file mode 100644 index 00000000..de08c47c --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/query/expr/TypeResample.md @@ -0,0 +1,345 @@ +# 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 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"` + +The downsample function +Possible enum values: + - `"sum"` + - `"mean"` + - `"min"` + - `"max"` + - `"count"` + - `"last"` +### 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.withType + +```jsonnet +datasource.withType() +``` + + +The datasource plugin type +#### fn datasource.withUid + +```jsonnet +datasource.withUid(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Datasource UID +### 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.0.0/docs/query/expr/TypeSql.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/query/expr/TypeSql.md new file mode 100644 index 00000000..97c38517 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/query/expr/TypeSql.md @@ -0,0 +1,296 @@ +# 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 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.withType + +```jsonnet +datasource.withType() +``` + + +The datasource plugin type +#### fn datasource.withUid + +```jsonnet +datasource.withUid(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Datasource UID +### 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.0.0/docs/query/expr/TypeThreshold/conditions.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/query/expr/TypeThreshold/conditions.md new file mode 100644 index 00000000..554ddb92 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/docs/query/expr/TypeThreshold/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/query/expr/TypeThreshold/index.md new file mode 100644 index 00000000..9c020f81 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/query/expr/TypeThreshold/index.md @@ -0,0 +1,324 @@ +# 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 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.withType + +```jsonnet +datasource.withType() +``` + + +The datasource plugin type +#### fn datasource.withUid + +```jsonnet +datasource.withUid(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Datasource UID +### 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.0.0/docs/query/expr/index.md b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/docs/query/expr/index.md new file mode 100644 index 00000000..a89a72a1 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.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.0.0/docs/query/googleCloudMonitoring.md index 7b82b664..b728940f 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.0.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.0.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.0.0/docs/query/grafanaPyroscope.md index 265f6c7a..c150bba7 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.0.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.0.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.0.0/docs/query/index.md index c36150f0..2e381972 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.0.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.0.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.0.0/docs/query/loki.md index 273d5f6f..2ebd28f2 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.0.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.0.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.0.0/docs/query/parca.md index 6edbee5f..03c73bfe 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.0.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.0.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.0.0/docs/query/prometheus.md index 027be68e..df1b1462 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.0.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 @@ -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.0.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.0.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.0.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.0.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.0.0/docs/query/tempo/index.md similarity index 95% 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.0.0/docs/query/tempo/index.md index acb5c74d..485ab220 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.0.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 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.0.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.0.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.0.0/docs/query/testData/index.md similarity index 58% 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.0.0/docs/query/testData/index.md index e1def173..f1c88286 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.0.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,26 @@ 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 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 +66,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 +89,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 +123,7 @@ PARAMETERS: * **value** (`string`) - +Used for live query ### fn withCsvContent ```jsonnet @@ -155,10 +178,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 +199,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 +229,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 +278,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 +335,17 @@ PARAMETERS: * **value** (`object`) +### fn withNoise + +```jsonnet +withNoise(value) +``` + +PARAMETERS: + +* **value** (`number`) + + ### fn withPoints ```jsonnet @@ -318,8 +400,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 +423,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`) + + +### fn withResultAssertionsMixin + +```jsonnet +withResultAssertionsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + + ### fn withScenarioId ```jsonnet @@ -353,9 +455,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 +531,28 @@ PARAMETERS: * **value** (`integer`) +### fn withSpread + +```jsonnet +withSpread(value) +``` + +PARAMETERS: + +* **value** (`number`) + + +### fn withStartValue + +```jsonnet +withStartValue(value) +``` + +PARAMETERS: + +* **value** (`number`) + + ### fn withStream ```jsonnet @@ -432,6 +585,28 @@ PARAMETERS: * **value** (`string`) +common parameter used by many query types +### fn withTimeRange + +```jsonnet +withTimeRange(value) +``` + +PARAMETERS: + +* **value** (`object`) + + +### fn withTimeRangeMixin + +```jsonnet +withTimeRangeMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + ### fn withUsa @@ -455,6 +630,43 @@ PARAMETERS: * **value** (`object`) +### fn withWithNil + +```jsonnet +withWithNil(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + + +### obj datasource + + +#### 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 ### obj nodes @@ -489,9 +701,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 +767,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 +958,7 @@ stream.withNoise(value) PARAMETERS: -* **value** (`integer`) +* **value** (`number`) #### fn stream.withSpeed @@ -690,7 +969,7 @@ stream.withSpeed(value) PARAMETERS: -* **value** (`integer`) +* **value** (`number`) #### fn stream.withSpread @@ -701,7 +980,7 @@ stream.withSpread(value) PARAMETERS: -* **value** (`integer`) +* **value** (`number`) #### fn stream.withType @@ -713,9 +992,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 +1010,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.0.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.0.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.0.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.0.0/docs/rolebinding.md index 62357f58..9a1e904b 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/docs/rolebinding.md +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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) @@ -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.0.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.0.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.0.0/docs/util.md similarity index 100% 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.0.0/docs/util.md 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.0.0/folder.libsonnet similarity index 100% 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.0.0/folder.libsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/jsonnetfile.json b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/jsonnetfile.json diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/librarypanel.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/librarypanel.libsonnet new file mode 100644 index 00000000..6182588f --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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: '' } }, + 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, + }, + 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.0.0/main.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/main.libsonnet new file mode 100644 index 00000000..f4688b2e --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0@main\n```\n\n## Usage\n\n```jsonnet\nlocal grafonnet = import "github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/main.libsonnet"\n```\n', + 'import': 'github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.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.0.0/panel.libsonnet similarity index 94% 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.0.0/panel.libsonnet index 4badaf45..14bf068e 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel.libsonnet @@ -39,7 +39,7 @@ }, '#withPluginVersion': { 'function': { args: [], help: '' } }, withPluginVersion(): { - pluginVersion: 'v10.4.0', + pluginVersion: 'v11.0.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): { @@ -177,21 +177,31 @@ 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': { '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': { '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, @@ -411,9 +421,9 @@ withOptionsMixin(value): { options+: value, }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { - type: value, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'value', }, }, RangeMap+: @@ -428,7 +438,7 @@ }, 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': { '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, @@ -481,16 +491,16 @@ }, }, }, - '#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': { '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+: @@ -559,9 +569,9 @@ }, }, }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { - type: value, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'regex', }, }, SpecialValueMap+: @@ -630,9 +640,9 @@ }, }, }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { - type: value, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'special', }, }, }, @@ -644,7 +654,7 @@ 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': { '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, }, @@ -669,12 +679,18 @@ 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': { '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): { @@ -697,10 +713,14 @@ withId(value=''): { id: value, }, - '#withValue': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + '#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, + }, }, }, }, @@ -768,4 +788,4 @@ }, }, } -+ (import '../custom/panel.libsonnet') ++ (import 'custom/panel.libsonnet') 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-v11.0.0/panel/alertList.libsonnet similarity index 99% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/alertList.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/alertList.libsonnet index 83229bec..0865829a 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/alertList.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/alertList.libsonnet @@ -1,5 +1,5 @@ // This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') +(import '../panel.libsonnet') + { '#': { help: 'grafonnet.panel.alertList', name: 'alertList' }, panelOptions+: @@ -335,7 +335,7 @@ + { 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.0.0/panel/annotationsList.libsonnet similarity index 98% 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.0.0/panel/annotationsList.libsonnet index 6c567eac..ccf1c124 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.0.0/panel/annotationsList.libsonnet @@ -1,5 +1,5 @@ // This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') +(import '../panel.libsonnet') + { '#': { help: 'grafonnet.panel.annotationsList', name: 'annotationsList' }, panelOptions+: @@ -88,7 +88,7 @@ + { panelOptions+: { '#withType':: { - + ignore: true, }, }, } 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-v11.0.0/panel/barChart.libsonnet similarity index 95% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/barChart.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/barChart.libsonnet index 4d5e8d8e..7fc1e1af 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/barChart.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/barChart.libsonnet @@ -1,5 +1,5 @@ // This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') +(import '../panel.libsonnet') + { '#': { help: 'grafonnet.panel.barChart', name: 'barChart' }, panelOptions+: @@ -103,65 +103,26 @@ }, }, }, - '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistribution(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+: { - scaleDistribution: value, + fillOpacity: value, }, }, }, }, - '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistributionMixin(value): { + '#withGradientMode': { 'function': { args: [{ default: null, enums: ['none', 'opacity', 'hue', 'scheme'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withGradientMode(value): { fieldConfig+: { defaults+: { custom+: { - scaleDistribution+: value, + gradientMode: 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+: { @@ -221,36 +182,75 @@ }, }, }, - '#withFillOpacity': { 'function': { args: [{ default: 80, enums: null, name: 'value', type: ['integer'] }], help: 'Controls the fill opacity of the bars.' } }, - withFillOpacity(value=80): { + '#withLineWidth': { 'function': { args: [{ default: 1, enums: null, name: 'value', type: ['integer'] }], help: 'Controls line width of the bars.' } }, + withLineWidth(value=1): { fieldConfig+: { defaults+: { custom+: { - fillOpacity: value, + lineWidth: 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): { + '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withScaleDistribution(value): { fieldConfig+: { defaults+: { custom+: { - gradientMode: value, + scaleDistribution: value, }, }, }, }, - '#withLineWidth': { 'function': { args: [{ default: 1, enums: null, name: 'value', type: ['integer'] }], help: 'Controls line width of the bars.' } }, - withLineWidth(value=1): { + '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withScaleDistributionMixin(value): { fieldConfig+: { defaults+: { custom+: { - lineWidth: value, + 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+: { @@ -291,6 +291,36 @@ }, 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.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, + }, + }, '#withLegend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, withLegend(value): { options+: { @@ -313,7 +343,7 @@ }, }, }, - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + '#withCalcs': { 'function': { args: [{ default: [], enums: null, name: 'value', type: ['array'] }], help: '' } }, withCalcs(value): { options+: { legend+: { @@ -324,7 +354,7 @@ }, }, }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + '#withCalcsMixin': { 'function': { args: [{ default: [], enums: null, name: 'value', type: ['array'] }], help: '' } }, withCalcsMixin(value): { options+: { legend+: { @@ -392,6 +422,55 @@ }, }, }, + '#withOrientation': { 'function': { args: [{ default: null, enums: ['auto', 'vertical', 'horizontal'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withOrientation(value): { + options+: { + orientation: value, + }, + }, + '#withShowValue': { 'function': { args: [{ default: null, enums: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withShowValue(value): { + options+: { + showValue: value, + }, + }, + '#withStacking': { 'function': { args: [{ default: null, enums: ['none', 'normal', 'percent'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withStacking(value): { + 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+: { @@ -439,85 +518,6 @@ }, }, }, - '#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+: { @@ -547,7 +547,7 @@ + { panelOptions+: { '#withType':: { - + ignore: true, }, }, } 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-v11.0.0/panel/barGauge.libsonnet similarity index 99% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/barGauge.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/barGauge.libsonnet index 06d94768..5e20a610 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/barGauge.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/barGauge.libsonnet @@ -1,5 +1,5 @@ // This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') +(import '../panel.libsonnet') + { '#': { help: 'grafonnet.panel.barGauge', name: 'barGauge' }, panelOptions+: @@ -11,37 +11,36 @@ }, options+: { - '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withText(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+: { - text: value, + displayMode: value, }, }, - '#withTextMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTextMixin(value): { + '#withMaxVizHeight': { 'function': { args: [{ default: 300, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withMaxVizHeight(value=300): { options+: { - text+: value, + maxVizHeight: 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, - }, - }, - }, + '#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, + }, + }, '#withOrientation': { 'function': { args: [{ default: null, enums: ['auto', 'vertical', 'horizontal'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, withOrientation(value): { options+: { @@ -109,48 +108,49 @@ }, }, }, - '#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): { + '#withShowUnfilled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withShowUnfilled(value=true): { options+: { - minVizHeight: value, + showUnfilled: value, }, }, - '#withMinVizWidth': { 'function': { args: [{ default: 8, enums: null, name: 'value', type: ['integer'] }], help: '' } }, - withMinVizWidth(value=8): { + '#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+: { - minVizWidth: value, + sizing: 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): { + '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withText(value): { options+: { - namePlacement: value, + text: value, }, }, - '#withShowUnfilled': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowUnfilled(value=true): { + '#withTextMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withTextMixin(value): { options+: { - showUnfilled: value, + text+: 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, + 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: 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+: { @@ -162,7 +162,7 @@ + { panelOptions+: { '#withType':: { - + ignore: true, }, }, } 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-v11.0.0/panel/candlestick.libsonnet similarity index 89% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/candlestick.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/candlestick.libsonnet index c5f6bd0e..feb03c7c 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/candlestick.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/candlestick.libsonnet @@ -1,5 +1,5 @@ // This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') +(import '../panel.libsonnet') + { '#': { help: 'grafonnet.panel.candlestick', name: 'candlestick' }, panelOptions+: @@ -13,117 +13,132 @@ defaults+: { custom+: { - '#withLineColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLineColor(value): { + '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisBorderShow(value=true): { fieldConfig+: { defaults+: { custom+: { - lineColor: value, + axisBorderShow: value, }, }, }, }, - '#withLineInterpolation': { 'function': { args: [{ default: null, enums: ['linear', 'smooth', 'stepBefore', 'stepAfter'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withLineInterpolation(value): { + '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisCenteredZero(value=true): { fieldConfig+: { defaults+: { custom+: { - lineInterpolation: value, + axisCenteredZero: value, }, }, }, }, - '#withLineStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyle(value): { + '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withAxisColorMode(value): { fieldConfig+: { defaults+: { custom+: { - lineStyle: value, + axisColorMode: value, }, }, }, }, - '#withLineStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyleMixin(value): { + '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisGridShow(value=true): { fieldConfig+: { defaults+: { custom+: { - lineStyle+: value, + axisGridShow: 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]), - }, - }, - }, + '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withAxisLabel(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisLabel: 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]), - }, - }, - }, + }, + }, + '#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, }, }, - '#withFill': { 'function': { args: [{ default: null, enums: ['solid', 'dash', 'dot', 'square'], name: 'value', type: ['string'] }], help: '' } }, - withFill(value): { - fieldConfig+: { - defaults+: { - custom+: { - lineStyle+: { - fill: value, - }, - }, - }, + }, + }, + '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisSoftMax(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisSoftMax: value, }, }, }, - '#withLineWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLineWidth(value): { + }, + '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisSoftMin(value): { fieldConfig+: { defaults+: { custom+: { - lineWidth: value, + axisSoftMin: 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): { + '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisWidth(value): { fieldConfig+: { defaults+: { custom+: { - spanNulls: value, + axisWidth: 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): { + '#withBarAlignment': { 'function': { args: [{ default: null, enums: [-1, 0, 1], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withBarAlignment(value): { fieldConfig+: { defaults+: { custom+: { - spanNulls+: value, + 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, }, }, }, @@ -158,132 +173,216 @@ }, }, }, - '#withPointColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPointColor(value): { + '#withGradientMode': { 'function': { args: [{ default: null, enums: ['none', 'opacity', 'hue', 'scheme'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withGradientMode(value): { fieldConfig+: { defaults+: { custom+: { - pointColor: value, + gradientMode: value, }, }, }, }, - '#withPointSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withPointSize(value): { + '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFrom(value): { fieldConfig+: { defaults+: { custom+: { - pointSize: value, + hideFrom: value, }, }, }, }, - '#withPointSymbol': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPointSymbol(value): { + '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFromMixin(value): { fieldConfig+: { defaults+: { custom+: { - pointSymbol: value, + hideFrom+: value, }, }, }, }, - '#withShowPoints': { 'function': { args: [{ default: null, enums: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withShowPoints(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', 'integer'] }], help: '' } }, + withInsertNulls(value): { fieldConfig+: { defaults+: { custom+: { - showPoints: value, + insertNulls: value, }, }, }, }, - '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisBorderShow(value=true): { + '#withInsertNullsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'integer'] }], help: '' } }, + withInsertNullsMixin(value): { fieldConfig+: { defaults+: { custom+: { - axisBorderShow: value, + insertNulls+: value, }, }, }, }, - '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisCenteredZero(value=true): { + '#withLineColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withLineColor(value): { fieldConfig+: { defaults+: { custom+: { - axisCenteredZero: value, + lineColor: value, }, }, }, }, - '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisColorMode(value): { + '#withLineInterpolation': { 'function': { args: [{ default: null, enums: ['linear', 'smooth', 'stepBefore', 'stepAfter'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withLineInterpolation(value): { fieldConfig+: { defaults+: { custom+: { - axisColorMode: value, + lineInterpolation: value, }, }, }, }, - '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisGridShow(value=true): { + '#withLineStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLineStyle(value): { fieldConfig+: { defaults+: { custom+: { - axisGridShow: value, + lineStyle: value, }, }, }, }, - '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withAxisLabel(value): { + '#withLineStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLineStyleMixin(value): { fieldConfig+: { defaults+: { custom+: { - axisLabel: value, + lineStyle+: value, }, }, }, }, - '#withAxisPlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'right', 'bottom', 'left', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisPlacement(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+: { - axisPlacement: value, + lineWidth: value, }, }, }, }, - '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMax(value): { + '#withPointColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withPointColor(value): { fieldConfig+: { defaults+: { custom+: { - axisSoftMax: value, + pointColor: value, }, }, }, }, - '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMin(value): { + '#withPointSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withPointSize(value): { fieldConfig+: { defaults+: { custom+: { - axisSoftMin: value, + pointSize: value, }, }, }, }, - '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisWidth(value): { + '#withPointSymbol': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withPointSymbol(value): { fieldConfig+: { defaults+: { custom+: { - axisWidth: value, + pointSymbol: value, }, }, }, @@ -347,162 +446,83 @@ }, }, }, - '#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): { + '#withShowPoints': { 'function': { args: [{ default: null, enums: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withShowPoints(value): { fieldConfig+: { defaults+: { custom+: { - barWidthFactor: value, + showPoints: value, }, }, }, }, - '#withStacking': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withStacking(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+: { - stacking: value, + spanNulls: value, }, }, }, }, - '#withStackingMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withStackingMixin(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+: { - stacking+: value, + spanNulls+: 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): { + '#withStacking': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withStacking(value): { fieldConfig+: { defaults+: { custom+: { - hideFrom: value, + stacking: value, }, }, }, }, - '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFromMixin(value): { + '#withStackingMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withStackingMixin(value): { fieldConfig+: { defaults+: { custom+: { - hideFrom+: value, + stacking+: value, }, }, }, }, - hideFrom+: + stacking+: { - '#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): { + '#withGroup': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withGroup(value): { fieldConfig+: { defaults+: { custom+: { - hideFrom+: { - tooltip: value, + stacking+: { + group: value, }, }, }, }, }, - '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withViz(value=true): { + '#withMode': { 'function': { args: [{ default: null, enums: ['none', 'normal', 'percent'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withMode(value): { fieldConfig+: { defaults+: { custom+: { - hideFrom+: { - viz: value, + stacking+: { + mode: 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+: { @@ -553,6 +573,118 @@ }, options+: { + '#withCandleStyle': { 'function': { args: [{ default: null, enums: ['candles', 'ohlcbars'], name: 'value', type: ['string'] }], help: '' } }, + withCandleStyle(value): { + options+: { + candleStyle: value, + }, + }, + '#withColorStrategy': { 'function': { args: [{ default: null, enums: ['open-close', 'close-close'], name: 'value', type: ['string'] }], help: '' } }, + 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: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withFields(value): { + options+: { + fields: value, + }, + }, + '#withFieldsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + 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+: { @@ -575,7 +707,7 @@ }, }, }, - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + '#withCalcs': { 'function': { args: [{ default: [], enums: null, name: 'value', type: ['array'] }], help: '' } }, withCalcs(value): { options+: { legend+: { @@ -586,7 +718,7 @@ }, }, }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + '#withCalcsMixin': { 'function': { args: [{ default: [], enums: null, name: 'value', type: ['array'] }], help: '' } }, withCalcsMixin(value): { options+: { legend+: { @@ -654,6 +786,12 @@ }, }, }, + '#withMode': { 'function': { args: [{ default: null, enums: ['candles+volume', 'candles', 'volume'], name: 'value', type: ['string'] }], help: '' } }, + withMode(value): { + options+: { + mode: value, + }, + }, '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, withTooltip(value): { options+: { @@ -701,149 +839,12 @@ }, }, }, - '#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':: { - + ignore: true, }, }, } 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-v11.0.0/panel/canvas.libsonnet similarity index 79% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/canvas.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/canvas.libsonnet index 1d7e2b14..79af6fd4 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/canvas.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/canvas.libsonnet @@ -1,5 +1,5 @@ // This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') +(import '../panel.libsonnet') + { '#': { help: 'grafonnet.panel.canvas', name: 'canvas' }, panelOptions+: @@ -11,6 +11,12 @@ }, 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+: { @@ -94,7 +100,7 @@ }, }, }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'color value' } }, withFixed(value): { background+: { color+: { @@ -181,7 +187,7 @@ }, }, }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'color value' } }, withFixed(value): { border+: { color+: { @@ -190,6 +196,12 @@ }, }, }, + '#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+: { @@ -197,10 +209,14 @@ }, }, }, - '#withConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'TODO: figure out how to define this (element config(s))' } }, + '#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: @@ -234,7 +250,7 @@ field: value, }, }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'color value' } }, withFixed(value): { color+: { fixed: value, @@ -309,6 +325,29 @@ }, }, }, + '#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, @@ -336,6 +375,55 @@ 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): { @@ -398,6 +486,12 @@ 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+: { @@ -424,11 +518,11 @@ }, }, }, - '#withType': { 'function': { args: [{ default: null, enums: ['frame'], name: 'value', type: ['string'] }], help: 'Type of root element (frame)' } }, - withType(value): { + '#withType': { 'function': { args: [], help: 'Type of root element (frame)' } }, + withType(): { options+: { root+: { - type: value, + type: 'frame', }, }, }, @@ -444,7 +538,7 @@ + { 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.0.0/panel/dashboardList.libsonnet similarity index 98% 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.0.0/panel/dashboardList.libsonnet index d05752e2..94a0e471 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.0.0/panel/dashboardList.libsonnet @@ -1,5 +1,5 @@ // This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') +(import '../panel.libsonnet') + { '#': { help: 'grafonnet.panel.dashboardList', name: 'dashboardList' }, panelOptions+: @@ -94,7 +94,7 @@ + { 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.0.0/panel/datagrid.libsonnet similarity index 92% 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.0.0/panel/datagrid.libsonnet index 8b205bec..c93f7877 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.0.0/panel/datagrid.libsonnet @@ -1,5 +1,5 @@ // This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') +(import '../panel.libsonnet') + { '#': { help: 'grafonnet.panel.datagrid', name: 'datagrid' }, panelOptions+: @@ -22,7 +22,7 @@ + { 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.0.0/panel/debug.libsonnet similarity index 97% 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.0.0/panel/debug.libsonnet index 87d5167b..3cc3f99c 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.0.0/panel/debug.libsonnet @@ -1,5 +1,5 @@ // This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') +(import '../panel.libsonnet') + { '#': { help: 'grafonnet.panel.debug', name: 'debug' }, panelOptions+: @@ -61,7 +61,7 @@ + { panelOptions+: { '#withType':: { - + ignore: true, }, }, } 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-v11.0.0/panel/gauge.libsonnet similarity index 99% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/gauge.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/gauge.libsonnet index 60fdadd4..02ebaff2 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/gauge.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/gauge.libsonnet @@ -1,5 +1,5 @@ // This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') +(import '../panel.libsonnet') + { '#': { help: 'grafonnet.panel.gauge', name: 'gauge' }, panelOptions+: @@ -11,37 +11,18 @@ }, options+: { - '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withText(value): { + '#withMinVizHeight': { 'function': { args: [{ default: 75, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withMinVizHeight(value=75): { options+: { - text: value, + minVizHeight: value, }, }, - '#withTextMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTextMixin(value): { + '#withMinVizWidth': { 'function': { args: [{ default: 75, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + withMinVizWidth(value=75): { options+: { - text+: value, + minVizWidth: 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+: { @@ -109,18 +90,6 @@ }, }, }, - '#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+: { @@ -139,12 +108,43 @@ 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-v10.4.0/clean/panel/geomap.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/geomap.libsonnet similarity index 91% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/geomap.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/geomap.libsonnet index df59e6b9..b8e9cc6b 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/geomap.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/geomap.libsonnet @@ -1,5 +1,5 @@ // This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') +(import '../panel.libsonnet') + { '#': { help: 'grafonnet.panel.geomap', name: 'geomap' }, panelOptions+: @@ -25,7 +25,7 @@ }, basemap+: { - '#withConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Custom options depending on the type' } }, + '#withConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Custom options depending on the type' } }, withConfig(value): { options+: { basemap+: { @@ -33,7 +33,15 @@ }, }, }, - '#withFilterData': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Defines a frame MatcherConfig that may filter data for the given layer' } }, + '#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+: { @@ -41,6 +49,14 @@ }, }, }, + '#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: '' } }, withLocation(value): { options+: { @@ -247,14 +263,22 @@ layers+: { '#': { help: '', name: 'layers' }, - '#withConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Custom options depending on the type' } }, + '#withConfig': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], 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' } }, + '#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: '' } }, withLocation(value): { location: value, @@ -456,7 +480,7 @@ + { panelOptions+: { '#withType':: { - + ignore: true, }, }, } 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-v11.0.0/panel/heatmap.libsonnet similarity index 71% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/heatmap.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/heatmap.libsonnet index 1cdce315..2c974fc5 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/heatmap.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/heatmap.libsonnet @@ -1,5 +1,5 @@ // This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') +(import '../panel.libsonnet') + { '#': { help: 'grafonnet.panel.heatmap', name: 'heatmap' }, panelOptions+: @@ -365,13 +365,13 @@ cellRadius: value, }, }, - '#withCellValues': { 'function': { args: [{ default: {}, enums: null, name: 'value', type: ['object'] }], help: 'Controls cell value unit' } }, - withCellValues(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: {}, enums: null, name: 'value', type: ['object'] }], help: 'Controls cell value unit' } }, + '#withCellValuesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls cell value options' } }, withCellValuesMixin(value): { options+: { cellValues+: value, @@ -379,49 +379,30 @@ }, cellValues+: { - '#withCellValues': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls cell value options' } }, - withCellValues(value): { + '#withDecimals': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Controls the number of decimals for cell values' } }, + withDecimals(value): { options+: { cellValues+: { - CellValues: value, + decimals: value, }, }, }, - '#withCellValuesMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls cell value options' } }, - withCellValuesMixin(value): { + '#withUnit': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Controls the cell value unit' } }, + withUnit(value): { options+: { cellValues+: { - CellValues+: value, + unit: 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 }): { + '#withColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls various color options' } }, + withColor(value): { 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': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls various color options' } }, withColorMixin(value): { options+: { color+: value, @@ -429,97 +410,78 @@ }, color+: { - '#withHeatmapColorOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls various color options' } }, - withHeatmapColorOptions(value): { + '#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+: { - HeatmapColorOptions: value, + exponent: value, }, }, }, - '#withHeatmapColorOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls various color options' } }, - withHeatmapColorOptionsMixin(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+: { - HeatmapColorOptions+: value, + fill: 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, - }, - }, + '#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, - }, - }, + }, + }, + '#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, - }, - }, + }, + }, + '#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, - }, - }, + }, + }, + '#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, - }, - }, + }, + }, + '#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, - }, - }, + }, + }, + '#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, - }, - }, + }, + }, + '#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): { @@ -544,13 +506,13 @@ }, }, }, - '#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 }): { + '#withFilterValues': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls the value filter range' } }, + withFilterValues(value): { 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': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls the value filter range' } }, withFilterValuesMixin(value): { options+: { filterValues+: value, @@ -558,41 +520,22 @@ }, filterValues+: { - '#withFilterValueRange': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls the value filter range' } }, - withFilterValueRange(value): { + '#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+: { - FilterValueRange: value, + ge: value, }, }, }, - '#withFilterValueRangeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls the value filter range' } }, - withFilterValueRangeMixin(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+: { - FilterValueRange+: value, + le: 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): { @@ -648,19 +591,19 @@ }, }, }, - '#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': { 'function': { args: [{ default: null, enums: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, 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 }): { + '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls tooltip options' } }, + withTooltip(value): { options+: { tooltip: value, }, }, - '#withTooltipMixin': { 'function': { args: [{ default: { mode: 'single', showColorScale: false, yHistogram: false }, enums: null, name: 'value', type: ['object'] }], help: 'Controls tooltip options' } }, + '#withTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls tooltip options' } }, withTooltipMixin(value): { options+: { tooltip+: value, @@ -668,65 +611,46 @@ }, tooltip+: { - '#withHeatmapTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls tooltip options' } }, - withHeatmapTooltip(value): { + '#withMaxHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withMaxHeight(value): { options+: { tooltip+: { - HeatmapTooltip: value, + maxHeight: value, }, }, }, - '#withHeatmapTooltipMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Controls tooltip options' } }, - withHeatmapTooltipMixin(value): { + '#withMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withMaxWidth(value): { options+: { tooltip+: { - HeatmapTooltip+: value, + maxWidth: 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, - }, - }, + '#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, - }, - }, + }, + }, + '#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, - }, - }, + }, + }, + '#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): { @@ -814,6 +738,38 @@ }, }, }, + '#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+: { @@ -863,38 +819,6 @@ }, }, }, - '#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+: { @@ -909,7 +833,7 @@ + { panelOptions+: { '#withType':: { - + ignore: true, }, }, } 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-v11.0.0/panel/histogram.libsonnet similarity index 88% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/histogram.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/histogram.libsonnet index 1a36daa2..cb8ce7af 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/histogram.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/histogram.libsonnet @@ -1,5 +1,5 @@ // This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') +(import '../panel.libsonnet') + { '#': { help: 'grafonnet.panel.histogram', name: 'histogram' }, panelOptions+: @@ -103,159 +103,230 @@ }, }, }, - '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistribution(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+: { - scaleDistribution: value, + fillOpacity: value, }, }, }, }, - '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistributionMixin(value): { + '#withGradientMode': { 'function': { args: [{ default: null, enums: ['none', 'opacity', 'hue', 'scheme'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withGradientMode(value): { fieldConfig+: { defaults+: { custom+: { - scaleDistribution+: value, + gradientMode: value, }, }, }, }, - scaleDistribution+: + '#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+: { - '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLinearThreshold(value): { + '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withLegend(value=true): { fieldConfig+: { defaults+: { custom+: { - scaleDistribution+: { - linearThreshold: value, + hideFrom+: { + legend: value, }, }, }, }, }, - '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLog(value): { + '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withTooltip(value=true): { fieldConfig+: { defaults+: { custom+: { - scaleDistribution+: { - log: value, + hideFrom+: { + tooltip: value, }, }, }, }, }, - '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withType(value): { + '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withViz(value=true): { fieldConfig+: { defaults+: { custom+: { - scaleDistribution+: { - type: value, + hideFrom+: { + viz: value, }, }, }, }, }, }, - '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFrom(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+: { - hideFrom: value, + lineWidth: value, }, }, }, }, - '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withHideFromMixin(value): { + '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withScaleDistribution(value): { fieldConfig+: { defaults+: { custom+: { - hideFrom+: value, + scaleDistribution: value, }, }, }, }, - hideFrom+: + '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withScaleDistributionMixin(value): { + fieldConfig+: { + defaults+: { + custom+: { + scaleDistribution+: value, + }, + }, + }, + }, + scaleDistribution+: { - '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withLegend(value=true): { + '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withLinearThreshold(value): { fieldConfig+: { defaults+: { custom+: { - hideFrom+: { - legend: value, + scaleDistribution+: { + linearThreshold: value, }, }, }, }, }, - '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withTooltip(value=true): { + '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withLog(value): { fieldConfig+: { defaults+: { custom+: { - hideFrom+: { - tooltip: value, + scaleDistribution+: { + log: value, }, }, }, }, }, - '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withViz(value=true): { + '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withType(value): { fieldConfig+: { defaults+: { custom+: { - hideFrom+: { - viz: value, + scaleDistribution+: { + type: value, }, }, }, }, }, }, - '#withFillOpacity': { 'function': { args: [{ default: 80, enums: null, name: 'value', type: ['integer'] }], help: 'Controls the fill opacity of the bars.' } }, - withFillOpacity(value=80): { + '#withStacking': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withStacking(value): { fieldConfig+: { defaults+: { custom+: { - fillOpacity: value, + stacking: 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): { + '#withStackingMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withStackingMixin(value): { fieldConfig+: { defaults+: { custom+: { - gradientMode: value, + stacking+: 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, + 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+: { @@ -278,7 +349,7 @@ }, }, }, - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + '#withCalcs': { 'function': { args: [{ default: [], enums: null, name: 'value', type: ['array'] }], help: '' } }, withCalcs(value): { options+: { legend+: { @@ -289,7 +360,7 @@ }, }, }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + '#withCalcsMixin': { 'function': { args: [{ default: [], enums: null, name: 'value', type: ['array'] }], help: '' } }, withCalcsMixin(value): { options+: { legend+: { @@ -404,36 +475,12 @@ }, }, }, - '#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':: { - + 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.0.0/panel/logs.libsonnet similarity index 98% 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.0.0/panel/logs.libsonnet index 15564d34..a21ed84f 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.0.0/panel/logs.libsonnet @@ -1,5 +1,5 @@ // This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') +(import '../panel.libsonnet') + { '#': { help: 'grafonnet.panel.logs', name: 'logs' }, panelOptions+: @@ -70,7 +70,7 @@ + { 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.0.0/panel/news.libsonnet similarity index 94% 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.0.0/panel/news.libsonnet index 429ce092..eede4876 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.0.0/panel/news.libsonnet @@ -1,5 +1,5 @@ // This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') +(import '../panel.libsonnet') + { '#': { help: 'grafonnet.panel.news', name: 'news' }, panelOptions+: @@ -28,7 +28,7 @@ + { 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.0.0/panel/nodeGraph.libsonnet similarity index 98% 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.0.0/panel/nodeGraph.libsonnet index bf172a4e..75e183af 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.0.0/panel/nodeGraph.libsonnet @@ -1,5 +1,5 @@ // This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') +(import '../panel.libsonnet') + { '#': { help: 'grafonnet.panel.nodeGraph', name: 'nodeGraph' }, panelOptions+: @@ -112,7 +112,7 @@ + { panelOptions+: { '#withType':: { - + ignore: true, }, }, } 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-v11.0.0/panel/pieChart.libsonnet similarity index 99% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/pieChart.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/pieChart.libsonnet index 6eb5bdaa..9ec5edc6 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/pieChart.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/pieChart.libsonnet @@ -1,5 +1,5 @@ // This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') +(import '../panel.libsonnet') + { '#': { help: 'grafonnet.panel.pieChart', name: 'pieChart' }, panelOptions+: @@ -77,151 +77,6 @@ }, 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+: { @@ -332,14 +187,6 @@ }, }, }, - '#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+: { @@ -362,19 +209,172 @@ }, }, }, + '#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.0.0/panel/row.libsonnet similarity index 99% 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.0.0/panel/row.libsonnet index 0b58e4a0..1548d38a 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.0.0/panel/row.libsonnet @@ -100,4 +100,4 @@ type: 'row', }, } -+ (import '../../custom/row.libsonnet') ++ (import '../custom/row.libsonnet') 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-v11.0.0/panel/stat.libsonnet similarity index 99% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/stat.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/stat.libsonnet index 1e3fbe94..7b6b25b3 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/stat.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/stat.libsonnet @@ -1,5 +1,5 @@ // This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') +(import '../panel.libsonnet') + { '#': { help: 'grafonnet.panel.stat', name: 'stat' }, panelOptions+: @@ -11,37 +11,24 @@ }, options+: { - '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withText(value): { + '#withColorMode': { 'function': { args: [{ default: null, enums: ['value', 'background', 'background_solid', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withColorMode(value): { options+: { - text: value, + colorMode: value, }, }, - '#withTextMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withTextMixin(value): { + '#withGraphMode': { 'function': { args: [{ default: null, enums: ['none', 'line', 'area'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withGraphMode(value): { options+: { - text+: value, + graphMode: 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, - }, - }, - }, + '#withJustifyMode': { 'function': { args: [{ default: null, enums: ['auto', 'center'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withJustifyMode(value): { + options+: { + justifyMode: value, }, + }, '#withOrientation': { 'function': { args: [{ default: null, enums: ['auto', 'vertical', 'horizontal'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, withOrientation(value): { options+: { @@ -109,30 +96,43 @@ }, }, }, - '#withColorMode': { 'function': { args: [{ default: null, enums: ['value', 'background', 'background_solid', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withColorMode(value): { + '#withShowPercentChange': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withShowPercentChange(value=true): { options+: { - colorMode: value, + showPercentChange: value, }, }, - '#withGraphMode': { 'function': { args: [{ default: null, enums: ['none', 'line', 'area'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withGraphMode(value): { + '#withText': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withText(value): { options+: { - graphMode: value, + text: value, }, }, - '#withJustifyMode': { 'function': { args: [{ default: null, enums: ['auto', 'center'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withJustifyMode(value): { + '#withTextMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withTextMixin(value): { options+: { - justifyMode: value, + text+: value, }, }, - '#withShowPercentChange': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withShowPercentChange(value=true): { - options+: { - showPercentChange: 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: null, enums: ['auto', 'value', 'value_and_name', 'name', 'none'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, withTextMode(value): { options+: { @@ -150,7 +150,7 @@ + { panelOptions+: { '#withType':: { - + ignore: true, }, }, } 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-v11.0.0/panel/stateTimeline.libsonnet similarity index 91% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/stateTimeline.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/stateTimeline.libsonnet index f473095e..bb9a3068 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/stateTimeline.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/stateTimeline.libsonnet @@ -1,5 +1,5 @@ // This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') +(import '../panel.libsonnet') + { '#': { help: 'grafonnet.panel.stateTimeline', name: 'stateTimeline' }, panelOptions+: @@ -13,6 +13,16 @@ 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+: { @@ -72,16 +82,6 @@ }, }, }, - '#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+: { @@ -97,6 +97,12 @@ }, options+: { + '#withAlignValue': { 'function': { args: [{ default: null, enums: ['center', 'left', 'right'], name: 'value', type: ['string'] }], help: 'Controls the value alignment in the TimelineChart component' } }, + withAlignValue(value): { + options+: { + alignValue: value, + }, + }, '#withLegend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, withLegend(value): { options+: { @@ -119,7 +125,7 @@ }, }, }, - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + '#withCalcs': { 'function': { args: [{ default: [], enums: null, name: 'value', type: ['array'] }], help: '' } }, withCalcs(value): { options+: { legend+: { @@ -130,7 +136,7 @@ }, }, }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + '#withCalcsMixin': { 'function': { args: [{ default: [], enums: null, name: 'value', type: ['array'] }], help: '' } }, withCalcsMixin(value): { options+: { legend+: { @@ -198,6 +204,53 @@ }, }, }, + '#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: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withShowValue(value): { + 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]), + }, + }, + timezone+: + { + '#withTimeZoneUtc': { 'function': { args: [], help: 'Use UTC/GMT timezone' } }, + withTimeZoneUtc(): { + TimeZoneUtc: 'utc', + }, + '#withTimeZoneBrowser': { 'function': { args: [], help: 'Use the timezone defined by end user web browser' } }, + withTimeZoneBrowser(): { + TimeZoneBrowser: 'browser', + }, + }, '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, withTooltip(value): { options+: { @@ -245,54 +298,12 @@ }, }, }, - '#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':: { - + ignore: true, }, }, } 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-v11.0.0/panel/statusHistory.libsonnet similarity index 92% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/statusHistory.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/statusHistory.libsonnet index 75a2a450..b4a4987f 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/statusHistory.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/statusHistory.libsonnet @@ -1,5 +1,5 @@ // This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') +(import '../panel.libsonnet') + { '#': { help: 'grafonnet.panel.statusHistory', name: 'statusHistory' }, panelOptions+: @@ -13,6 +13,16 @@ 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+: { @@ -72,16 +82,6 @@ }, }, }, - '#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+: { @@ -97,6 +97,12 @@ }, options+: { + '#withColWidth': { 'function': { args: [{ default: 0.90000000000000002, enums: null, name: 'value', type: ['number'] }], help: 'Controls the column width' } }, + withColWidth(value=0.90000000000000002): { + options+: { + colWidth: value, + }, + }, '#withLegend': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, withLegend(value): { options+: { @@ -119,7 +125,7 @@ }, }, }, - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + '#withCalcs': { 'function': { args: [{ default: [], enums: null, name: 'value', type: ['array'] }], help: '' } }, withCalcs(value): { options+: { legend+: { @@ -130,7 +136,7 @@ }, }, }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + '#withCalcsMixin': { 'function': { args: [{ default: [], enums: null, name: 'value', type: ['array'] }], help: '' } }, withCalcsMixin(value): { options+: { legend+: { @@ -198,6 +204,47 @@ }, }, }, + '#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: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withShowValue(value): { + 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]), + }, + }, + timezone+: + { + '#withTimeZoneUtc': { 'function': { args: [], help: 'Use UTC/GMT timezone' } }, + withTimeZoneUtc(): { + TimeZoneUtc: 'utc', + }, + '#withTimeZoneBrowser': { 'function': { args: [], help: 'Use the timezone defined by end user web browser' } }, + withTimeZoneBrowser(): { + TimeZoneBrowser: 'browser', + }, + }, '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, withTooltip(value): { options+: { @@ -245,48 +292,12 @@ }, }, }, - '#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':: { - + ignore: true, }, }, } 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-v11.0.0/panel/table.libsonnet similarity index 89% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/table.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/table.libsonnet index b5d73ba0..2e081638 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/table.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/table.libsonnet @@ -1,5 +1,5 @@ // This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') +(import '../panel.libsonnet') + { '#': { help: 'grafonnet.panel.table', name: 'table' }, panelOptions+: @@ -23,7 +23,7 @@ }, }, }, - '#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': { '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+: { @@ -33,7 +33,7 @@ }, }, }, - '#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': { '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+: { @@ -71,13 +71,13 @@ }, TableAutoCellOptions+: { - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { - type: value, + type: 'auto', }, }, }, @@ -110,136 +110,157 @@ }, TableSparklineCellOptions+: { - '#withLineColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLineColor(value): { + '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisBorderShow(value=true): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { - lineColor: value, + axisBorderShow: value, }, }, }, }, }, - '#withLineInterpolation': { 'function': { args: [{ default: null, enums: ['linear', 'smooth', 'stepBefore', 'stepAfter'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withLineInterpolation(value): { + '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisCenteredZero(value=true): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { - lineInterpolation: value, + axisCenteredZero: value, }, }, }, }, }, - '#withLineStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyle(value): { + '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withAxisColorMode(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { - lineStyle: value, + axisColorMode: value, }, }, }, }, }, - '#withLineStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyleMixin(value): { + '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisGridShow(value=true): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { - lineStyle+: value, + axisGridShow: 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]), - }, - }, - }, + '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withAxisLabel(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + axisLabel: 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]), - }, - }, - }, + }, + }, + '#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, }, }, }, - '#withFill': { 'function': { args: [{ default: null, enums: ['solid', 'dash', 'dot', 'square'], name: 'value', type: ['string'] }], help: '' } }, - withFill(value): { - fieldConfig+: { - defaults+: { - custom+: { - cellOptions+: { - lineStyle+: { - fill: value, - }, - }, - }, + }, + }, + '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisSoftMax(value): { + fieldConfig+: { + defaults+: { + custom+: { + cellOptions+: { + axisSoftMax: value, }, }, }, }, - '#withLineWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLineWidth(value): { + }, + '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisSoftMin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { - lineWidth: value, + axisSoftMin: 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): { + '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisWidth(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { - spanNulls: value, + axisWidth: 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): { + '#withBarAlignment': { 'function': { args: [{ default: null, enums: [-1, 0, 1], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withBarAlignment(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { - spanNulls+: value, + 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, }, }, }, @@ -281,157 +302,241 @@ }, }, }, - '#withPointColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPointColor(value): { + '#withGradientMode': { 'function': { args: [{ default: null, enums: ['none', 'opacity', 'hue', 'scheme'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withGradientMode(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { - pointColor: value, + gradientMode: value, }, }, }, }, }, - '#withPointSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withPointSize(value): { + '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFrom(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { - pointSize: value, + hideFrom: value, }, }, }, }, }, - '#withPointSymbol': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPointSymbol(value): { + '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFromMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { - pointSymbol: value, + hideFrom+: 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, + 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, + }, + }, + }, }, }, }, }, - }, - '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisBorderShow(value=true): { + '#withHideValue': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withHideValue(value=true): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { - axisBorderShow: value, + hideValue: value, }, }, }, }, }, - '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisCenteredZero(value=true): { + '#withLineColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withLineColor(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { - axisCenteredZero: value, + lineColor: value, }, }, }, }, }, - '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisColorMode(value): { + '#withLineInterpolation': { 'function': { args: [{ default: null, enums: ['linear', 'smooth', 'stepBefore', 'stepAfter'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withLineInterpolation(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { - axisColorMode: value, + lineInterpolation: value, }, }, }, }, }, - '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisGridShow(value=true): { + '#withLineStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLineStyle(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { - axisGridShow: value, + lineStyle: value, }, }, }, }, }, - '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withAxisLabel(value): { + '#withLineStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLineStyleMixin(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { - axisLabel: value, + lineStyle+: value, }, }, }, }, }, - '#withAxisPlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'right', 'bottom', 'left', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisPlacement(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+: { - axisPlacement: value, + lineWidth: value, }, }, }, }, }, - '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMax(value): { + '#withPointColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withPointColor(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { - axisSoftMax: value, + pointColor: value, }, }, }, }, }, - '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMin(value): { + '#withPointSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withPointSize(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { - axisSoftMin: value, + pointSize: value, }, }, }, }, }, - '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisWidth(value): { + '#withPointSymbol': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withPointSymbol(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { - axisWidth: value, + pointSymbol: value, }, }, }, @@ -506,37 +611,37 @@ }, }, }, - '#withBarAlignment': { 'function': { args: [{ default: null, enums: [-1, 0, 1], name: 'value', type: ['integer'] }], help: 'TODO docs' } }, - withBarAlignment(value): { + '#withShowPoints': { 'function': { args: [{ default: null, enums: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withShowPoints(value): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { - barAlignment: value, + showPoints: value, }, }, }, }, }, - '#withBarMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withBarMaxWidth(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+: { - barMaxWidth: value, + spanNulls: value, }, }, }, }, }, - '#withBarWidthFactor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withBarWidthFactor(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+: { - barWidthFactor: value, + spanNulls+: value, }, }, }, @@ -597,99 +702,6 @@ }, }, }, - '#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+: { @@ -743,25 +755,13 @@ }, }, }, - '#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): { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { - type: value, + type: 'sparkline', }, }, }, @@ -806,13 +806,13 @@ }, }, }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { - type: value, + type: 'gauge', }, }, }, @@ -857,6 +857,18 @@ }, 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+: { @@ -869,13 +881,13 @@ }, }, }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { - type: value, + type: 'color-background', }, }, }, @@ -908,13 +920,13 @@ }, TableColorTextCellOptions+: { - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { - type: value, + type: 'color-text', }, }, }, @@ -947,13 +959,13 @@ }, TableImageCellOptions+: { - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { - type: value, + type: 'image', }, }, }, @@ -986,13 +998,13 @@ }, TableDataLinksCellOptions+: { - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { - type: value, + type: 'data-links', }, }, }, @@ -1025,13 +1037,13 @@ }, TableJsonViewCellOptions+: { - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { fieldConfig+: { defaults+: { custom+: { cellOptions+: { - type: value, + type: 'json-view', }, }, }, @@ -1059,7 +1071,7 @@ }, }, }, - '#withHidden': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + '#withHidden': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '?? default is missing or false ??' } }, withHidden(value=true): { fieldConfig+: { defaults+: { @@ -1114,19 +1126,19 @@ }, options+: { - '#withCellHeight': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Controls the height of the rows' } }, + '#withCellHeight': { 'function': { args: [{ default: null, enums: ['sm', 'md', 'lg'], name: 'value', type: ['string'] }], help: 'Height of a table cell' } }, 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 }): { + '#withFooter': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Footer options' } }, + withFooter(value): { options+: { footer: value, }, }, - '#withFooterMixin': { 'function': { args: [{ default: { countRows: false, reducer: [], show: false }, enums: null, name: 'value', type: ['object'] }], help: 'Controls footer options' } }, + '#withFooterMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Footer options' } }, withFooterMixin(value): { options+: { footer+: value, @@ -1134,93 +1146,74 @@ }, footer+: { - '#withTableFooterOptions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Footer options' } }, - withTableFooterOptions(value): { + '#withCountRows': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withCountRows(value=true): { options+: { footer+: { - TableFooterOptions: value, + countRows: value, }, }, }, - '#withTableFooterOptionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'Footer options' } }, - withTableFooterOptionsMixin(value): { + '#withEnablePagination': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withEnablePagination(value=true): { options+: { footer+: { - TableFooterOptions+: value, + enablePagination: 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]), - }, - }, + '#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]), - }, - }, + }, + }, + '#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]), - }, - }, + }, + }, + '#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: '' } }, - withReducerMixin(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, - }, - }, + }, + }, + '#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): { @@ -1275,7 +1268,7 @@ + { panelOptions+: { '#withType':: { - + ignore: true, }, }, } 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-v11.0.0/panel/text.libsonnet similarity index 87% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/text.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/text.libsonnet index 90cdcee7..2fd04fd0 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/text.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/text.libsonnet @@ -1,5 +1,5 @@ // This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') +(import '../panel.libsonnet') + { '#': { help: 'grafonnet.panel.text', name: 'text' }, panelOptions+: @@ -25,8 +25,8 @@ }, code+: { - '#withLanguage': { 'function': { args: [{ default: 'plaintext', enums: ['plaintext', 'yaml', 'xml', 'typescript', 'sql', 'go', 'markdown', 'html', 'json'], name: 'value', type: ['string'] }], help: '' } }, - withLanguage(value='plaintext'): { + '#withLanguage': { 'function': { args: [{ default: null, enums: ['json', 'yaml', 'xml', 'typescript', 'sql', 'go', 'markdown', 'html', 'plaintext'], name: 'value', type: ['string'] }], help: '' } }, + withLanguage(value): { options+: { code+: { language: value, @@ -67,7 +67,7 @@ + { panelOptions+: { '#withType':: { - + ignore: true, }, }, } 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-v11.0.0/panel/timeSeries.libsonnet similarity index 93% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/timeSeries.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/timeSeries.libsonnet index c65e9e24..f9bf740d 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/timeSeries.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/timeSeries.libsonnet @@ -1,5 +1,5 @@ // This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') +(import '../panel.libsonnet') + { '#': { help: 'grafonnet.panel.timeSeries', name: 'timeSeries' }, panelOptions+: @@ -13,117 +13,132 @@ defaults+: { custom+: { - '#withLineColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLineColor(value): { + '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisBorderShow(value=true): { fieldConfig+: { defaults+: { custom+: { - lineColor: value, + axisBorderShow: value, }, }, }, }, - '#withLineInterpolation': { 'function': { args: [{ default: null, enums: ['linear', 'smooth', 'stepBefore', 'stepAfter'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withLineInterpolation(value): { + '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisCenteredZero(value=true): { fieldConfig+: { defaults+: { custom+: { - lineInterpolation: value, + axisCenteredZero: value, }, }, }, }, - '#withLineStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyle(value): { + '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withAxisColorMode(value): { fieldConfig+: { defaults+: { custom+: { - lineStyle: value, + axisColorMode: value, }, }, }, }, - '#withLineStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyleMixin(value): { + '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisGridShow(value=true): { fieldConfig+: { defaults+: { custom+: { - lineStyle+: value, + axisGridShow: 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]), - }, - }, - }, + '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withAxisLabel(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisLabel: 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]), - }, - }, - }, + }, + }, + '#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, }, }, - '#withFill': { 'function': { args: [{ default: null, enums: ['solid', 'dash', 'dot', 'square'], name: 'value', type: ['string'] }], help: '' } }, - withFill(value): { - fieldConfig+: { - defaults+: { - custom+: { - lineStyle+: { - fill: value, - }, - }, - }, + }, + }, + '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisSoftMax(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisSoftMax: value, }, }, }, - '#withLineWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLineWidth(value): { + }, + '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisSoftMin(value): { fieldConfig+: { defaults+: { custom+: { - lineWidth: value, + axisSoftMin: 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): { + '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisWidth(value): { fieldConfig+: { defaults+: { custom+: { - spanNulls: value, + axisWidth: 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): { + '#withBarAlignment': { 'function': { args: [{ default: null, enums: [-1, 0, 1], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withBarAlignment(value): { fieldConfig+: { defaults+: { custom+: { - spanNulls+: value, + 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, }, }, }, @@ -158,132 +173,216 @@ }, }, }, - '#withPointColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPointColor(value): { + '#withGradientMode': { 'function': { args: [{ default: null, enums: ['none', 'opacity', 'hue', 'scheme'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withGradientMode(value): { fieldConfig+: { defaults+: { custom+: { - pointColor: value, + gradientMode: value, }, }, }, }, - '#withPointSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withPointSize(value): { + '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFrom(value): { fieldConfig+: { defaults+: { custom+: { - pointSize: value, + hideFrom: value, }, }, }, }, - '#withPointSymbol': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPointSymbol(value): { + '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFromMixin(value): { fieldConfig+: { defaults+: { custom+: { - pointSymbol: value, + hideFrom+: value, }, }, }, }, - '#withShowPoints': { 'function': { args: [{ default: null, enums: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withShowPoints(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', 'integer'] }], help: '' } }, + withInsertNulls(value): { fieldConfig+: { defaults+: { custom+: { - showPoints: value, + insertNulls: value, }, }, }, }, - '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisBorderShow(value=true): { + '#withInsertNullsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'integer'] }], help: '' } }, + withInsertNullsMixin(value): { fieldConfig+: { defaults+: { custom+: { - axisBorderShow: value, + insertNulls+: value, }, }, }, }, - '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisCenteredZero(value=true): { + '#withLineColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withLineColor(value): { fieldConfig+: { defaults+: { custom+: { - axisCenteredZero: value, + lineColor: value, }, }, }, }, - '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisColorMode(value): { + '#withLineInterpolation': { 'function': { args: [{ default: null, enums: ['linear', 'smooth', 'stepBefore', 'stepAfter'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withLineInterpolation(value): { fieldConfig+: { defaults+: { custom+: { - axisColorMode: value, + lineInterpolation: value, }, }, }, }, - '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisGridShow(value=true): { + '#withLineStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLineStyle(value): { fieldConfig+: { defaults+: { custom+: { - axisGridShow: value, + lineStyle: value, }, }, }, }, - '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withAxisLabel(value): { + '#withLineStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLineStyleMixin(value): { fieldConfig+: { defaults+: { custom+: { - axisLabel: value, + lineStyle+: value, }, }, }, }, - '#withAxisPlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'right', 'bottom', 'left', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisPlacement(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+: { - axisPlacement: value, + lineWidth: value, }, }, }, }, - '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMax(value): { + '#withPointColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withPointColor(value): { fieldConfig+: { defaults+: { custom+: { - axisSoftMax: value, + pointColor: value, }, }, }, }, - '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMin(value): { + '#withPointSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withPointSize(value): { fieldConfig+: { defaults+: { custom+: { - axisSoftMin: value, + pointSize: value, }, }, }, }, - '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisWidth(value): { + '#withPointSymbol': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withPointSymbol(value): { fieldConfig+: { defaults+: { custom+: { - axisWidth: value, + pointSymbol: value, }, }, }, @@ -347,32 +446,32 @@ }, }, }, - '#withBarAlignment': { 'function': { args: [{ default: null, enums: [-1, 0, 1], name: 'value', type: ['integer'] }], help: 'TODO docs' } }, - withBarAlignment(value): { + '#withShowPoints': { 'function': { args: [{ default: null, enums: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withShowPoints(value): { fieldConfig+: { defaults+: { custom+: { - barAlignment: value, + showPoints: value, }, }, }, }, - '#withBarMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withBarMaxWidth(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+: { - barMaxWidth: value, + spanNulls: value, }, }, }, }, - '#withBarWidthFactor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withBarWidthFactor(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+: { - barWidthFactor: value, + spanNulls+: value, }, }, }, @@ -424,85 +523,6 @@ }, }, }, - '#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+: { @@ -553,24 +573,6 @@ }, 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+: { @@ -593,7 +595,7 @@ }, }, }, - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + '#withCalcs': { 'function': { args: [{ default: [], enums: null, name: 'value', type: ['array'] }], help: '' } }, withCalcs(value): { options+: { legend+: { @@ -604,7 +606,7 @@ }, }, }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + '#withCalcsMixin': { 'function': { args: [{ default: [], enums: null, name: 'value', type: ['array'] }], help: '' } }, withCalcsMixin(value): { options+: { legend+: { @@ -672,6 +674,41 @@ }, }, }, + '#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]), + }, + }, + timezone+: + { + '#withTimeZoneUtc': { 'function': { args: [], help: 'Use UTC/GMT timezone' } }, + withTimeZoneUtc(): { + TimeZoneUtc: 'utc', + }, + '#withTimeZoneBrowser': { 'function': { args: [], help: 'Use the timezone defined by end user web browser' } }, + withTimeZoneBrowser(): { + TimeZoneBrowser: 'browser', + }, + }, '#withTooltip': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, withTooltip(value): { options+: { @@ -724,7 +761,7 @@ + { panelOptions+: { '#withType':: { - + ignore: true, }, }, } 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-v11.0.0/panel/trend.libsonnet similarity index 95% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/trend.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/trend.libsonnet index 47853b17..929422f2 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/trend.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/trend.libsonnet @@ -1,5 +1,5 @@ // This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') +(import '../panel.libsonnet') + { '#': { help: 'grafonnet.panel.trend', name: 'trend' }, panelOptions+: @@ -13,117 +13,132 @@ defaults+: { custom+: { - '#withLineColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withLineColor(value): { + '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisBorderShow(value=true): { fieldConfig+: { defaults+: { custom+: { - lineColor: value, + axisBorderShow: value, }, }, }, }, - '#withLineInterpolation': { 'function': { args: [{ default: null, enums: ['linear', 'smooth', 'stepBefore', 'stepAfter'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withLineInterpolation(value): { + '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisCenteredZero(value=true): { fieldConfig+: { defaults+: { custom+: { - lineInterpolation: value, + axisCenteredZero: value, }, }, }, }, - '#withLineStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyle(value): { + '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withAxisColorMode(value): { fieldConfig+: { defaults+: { custom+: { - lineStyle: value, + axisColorMode: value, }, }, }, }, - '#withLineStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withLineStyleMixin(value): { + '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withAxisGridShow(value=true): { fieldConfig+: { defaults+: { custom+: { - lineStyle+: value, + axisGridShow: 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]), - }, - }, - }, + '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withAxisLabel(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisLabel: 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]), - }, - }, - }, + }, + }, + '#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, }, }, - '#withFill': { 'function': { args: [{ default: null, enums: ['solid', 'dash', 'dot', 'square'], name: 'value', type: ['string'] }], help: '' } }, - withFill(value): { - fieldConfig+: { - defaults+: { - custom+: { - lineStyle+: { - fill: value, - }, - }, - }, + }, + }, + '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisSoftMax(value): { + fieldConfig+: { + defaults+: { + custom+: { + axisSoftMax: value, }, }, }, - '#withLineWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLineWidth(value): { + }, + '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisSoftMin(value): { fieldConfig+: { defaults+: { custom+: { - lineWidth: value, + axisSoftMin: 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): { + '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withAxisWidth(value): { fieldConfig+: { defaults+: { custom+: { - spanNulls: value, + axisWidth: 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): { + '#withBarAlignment': { 'function': { args: [{ default: null, enums: [-1, 0, 1], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withBarAlignment(value): { fieldConfig+: { defaults+: { custom+: { - spanNulls+: value, + 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, }, }, }, @@ -158,132 +173,216 @@ }, }, }, - '#withPointColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPointColor(value): { + '#withGradientMode': { 'function': { args: [{ default: null, enums: ['none', 'opacity', 'hue', 'scheme'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withGradientMode(value): { fieldConfig+: { defaults+: { custom+: { - pointColor: value, + gradientMode: value, }, }, }, }, - '#withPointSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withPointSize(value): { + '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFrom(value): { fieldConfig+: { defaults+: { custom+: { - pointSize: value, + hideFrom: value, }, }, }, }, - '#withPointSymbol': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withPointSymbol(value): { + '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFromMixin(value): { fieldConfig+: { defaults+: { custom+: { - pointSymbol: value, + hideFrom+: value, }, }, }, }, - '#withShowPoints': { 'function': { args: [{ default: null, enums: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withShowPoints(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', 'integer'] }], help: '' } }, + withInsertNulls(value): { fieldConfig+: { defaults+: { custom+: { - showPoints: value, + insertNulls: value, }, }, }, }, - '#withAxisBorderShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisBorderShow(value=true): { + '#withInsertNullsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['boolean', 'integer'] }], help: '' } }, + withInsertNullsMixin(value): { fieldConfig+: { defaults+: { custom+: { - axisBorderShow: value, + insertNulls+: value, }, }, }, }, - '#withAxisCenteredZero': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisCenteredZero(value=true): { + '#withLineColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withLineColor(value): { fieldConfig+: { defaults+: { custom+: { - axisCenteredZero: value, + lineColor: value, }, }, }, }, - '#withAxisColorMode': { 'function': { args: [{ default: null, enums: ['text', 'series'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisColorMode(value): { + '#withLineInterpolation': { 'function': { args: [{ default: null, enums: ['linear', 'smooth', 'stepBefore', 'stepAfter'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withLineInterpolation(value): { fieldConfig+: { defaults+: { custom+: { - axisColorMode: value, + lineInterpolation: value, }, }, }, }, - '#withAxisGridShow': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, - withAxisGridShow(value=true): { + '#withLineStyle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLineStyle(value): { fieldConfig+: { defaults+: { custom+: { - axisGridShow: value, + lineStyle: value, }, }, }, }, - '#withAxisLabel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withAxisLabel(value): { + '#withLineStyleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withLineStyleMixin(value): { fieldConfig+: { defaults+: { custom+: { - axisLabel: value, + lineStyle+: value, }, }, }, }, - '#withAxisPlacement': { 'function': { args: [{ default: null, enums: ['auto', 'top', 'right', 'bottom', 'left', 'hidden'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withAxisPlacement(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+: { - axisPlacement: value, + lineWidth: value, }, }, }, }, - '#withAxisSoftMax': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMax(value): { + '#withPointColor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withPointColor(value): { fieldConfig+: { defaults+: { custom+: { - axisSoftMax: value, + pointColor: value, }, }, }, }, - '#withAxisSoftMin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisSoftMin(value): { + '#withPointSize': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withPointSize(value): { fieldConfig+: { defaults+: { custom+: { - axisSoftMin: value, + pointSize: value, }, }, }, }, - '#withAxisWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withAxisWidth(value): { + '#withPointSymbol': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withPointSymbol(value): { fieldConfig+: { defaults+: { custom+: { - axisWidth: value, + pointSymbol: value, }, }, }, @@ -347,32 +446,32 @@ }, }, }, - '#withBarAlignment': { 'function': { args: [{ default: null, enums: [-1, 0, 1], name: 'value', type: ['integer'] }], help: 'TODO docs' } }, - withBarAlignment(value): { + '#withShowPoints': { 'function': { args: [{ default: null, enums: ['auto', 'never', 'always'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, + withShowPoints(value): { fieldConfig+: { defaults+: { custom+: { - barAlignment: value, + showPoints: value, }, }, }, }, - '#withBarMaxWidth': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withBarMaxWidth(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+: { - barMaxWidth: value, + spanNulls: value, }, }, }, }, - '#withBarWidthFactor': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withBarWidthFactor(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+: { - barWidthFactor: value, + spanNulls+: value, }, }, }, @@ -424,85 +523,6 @@ }, }, }, - '#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+: { @@ -575,7 +595,7 @@ }, }, }, - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + '#withCalcs': { 'function': { args: [{ default: [], enums: null, name: 'value', type: ['array'] }], help: '' } }, withCalcs(value): { options+: { legend+: { @@ -586,7 +606,7 @@ }, }, }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + '#withCalcsMixin': { 'function': { args: [{ default: [], enums: null, name: 'value', type: ['array'] }], help: '' } }, withCalcsMixin(value): { options+: { legend+: { @@ -712,7 +732,7 @@ + { panelOptions+: { '#withType':: { - + ignore: true, }, }, } 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-v11.0.0/panel/xyChart.libsonnet similarity index 98% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/xyChart.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/xyChart.libsonnet index eb69cfa3..f8f3a2a2 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/panel/xyChart.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panel/xyChart.libsonnet @@ -1,5 +1,5 @@ // This file is generated, do not manually edit. -(import '../../clean/panel.libsonnet') +(import '../panel.libsonnet') + { '#': { help: 'grafonnet.panel.xyChart', name: 'xyChart' }, panelOptions+: @@ -13,65 +13,6 @@ 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+: { @@ -162,59 +103,59 @@ }, }, }, - '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistribution(value): { + '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFrom(value): { fieldConfig+: { defaults+: { custom+: { - scaleDistribution: value, + hideFrom: value, }, }, }, }, - '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistributionMixin(value): { + '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFromMixin(value): { fieldConfig+: { defaults+: { custom+: { - scaleDistribution+: value, + hideFrom+: value, }, }, }, }, - scaleDistribution+: + hideFrom+: { - '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLinearThreshold(value): { + '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withLegend(value=true): { fieldConfig+: { defaults+: { custom+: { - scaleDistribution+: { - linearThreshold: value, + hideFrom+: { + legend: value, }, }, }, }, }, - '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLog(value): { + '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withTooltip(value=true): { fieldConfig+: { defaults+: { custom+: { - scaleDistribution+: { - log: value, + hideFrom+: { + tooltip: value, }, }, }, }, }, - '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withType(value): { + '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withViz(value=true): { fieldConfig+: { defaults+: { custom+: { - scaleDistribution+: { - type: value, + hideFrom+: { + viz: value, }, }, }, @@ -324,7 +265,7 @@ }, }, }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'color value' } }, withFixed(value): { fieldConfig+: { defaults+: { @@ -446,7 +387,7 @@ }, }, }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'color value' } }, withFixed(value): { fieldConfig+: { defaults+: { @@ -542,6 +483,65 @@ }, }, }, + '#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: null, enums: ['points', 'lines', 'points+lines'], name: 'value', type: ['string'] }], help: '' } }, withShow(value): { fieldConfig+: { @@ -557,6 +557,59 @@ }, 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+: { @@ -579,7 +632,7 @@ }, }, }, - '#withCalcs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + '#withCalcs': { 'function': { args: [{ default: [], enums: null, name: 'value', type: ['array'] }], help: '' } }, withCalcs(value): { options+: { legend+: { @@ -590,7 +643,7 @@ }, }, }, - '#withCalcsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + '#withCalcsMixin': { 'function': { args: [{ default: [], enums: null, name: 'value', type: ['array'] }], help: '' } }, withCalcsMixin(value): { options+: { legend+: { @@ -658,106 +711,6 @@ }, }, }, - '#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+: { @@ -779,35 +732,6 @@ 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, @@ -844,32 +768,36 @@ withAxisWidth(value): { axisWidth: value, }, - '#withScaleDistribution': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistribution(value): { - scaleDistribution: value, + '#withFrame': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, + withFrame(value): { + frame: value, }, - '#withScaleDistributionMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, - withScaleDistributionMixin(value): { - scaleDistribution+: value, + '#withHideFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFrom(value): { + hideFrom: value, }, - scaleDistribution+: + '#withHideFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'TODO docs' } }, + withHideFromMixin(value): { + hideFrom+: value, + }, + hideFrom+: { - '#withLinearThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLinearThreshold(value): { - scaleDistribution+: { - linearThreshold: value, + '#withLegend': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withLegend(value=true): { + hideFrom+: { + legend: value, }, }, - '#withLog': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, - withLog(value): { - scaleDistribution+: { - log: value, + '#withTooltip': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withTooltip(value=true): { + hideFrom+: { + tooltip: value, }, }, - '#withType': { 'function': { args: [{ default: null, enums: ['linear', 'log', 'ordinal', 'symlog'], name: 'value', type: ['string'] }], help: 'TODO docs' } }, - withType(value): { - scaleDistribution+: { - type: value, + '#withViz': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, + withViz(value=true): { + hideFrom+: { + viz: value, }, }, }, @@ -922,7 +850,7 @@ field: value, }, }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'color value' } }, withFixed(value): { lineColor+: { fixed: value, @@ -968,6 +896,10 @@ 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, @@ -984,7 +916,7 @@ field: value, }, }, - '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + '#withFixed': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'color value' } }, withFixed(value): { pointColor+: { fixed: value, @@ -1032,18 +964,39 @@ }, }, }, + '#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: 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, @@ -1059,12 +1012,59 @@ 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.0.0/panelindex.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/panelindex.libsonnet new file mode 100644 index 00000000..cffcdad0 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/preferences.libsonnet similarity index 100% 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.0.0/preferences.libsonnet 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.0.0/publicdashboard.libsonnet similarity index 100% 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.0.0/publicdashboard.libsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/query.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/query.libsonnet new file mode 100644 index 00000000..129a0ea0 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.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.0.0/query/azureMonitor.libsonnet similarity index 93% 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.0.0/query/azureMonitor.libsonnet index 242af0a5..0188b394 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.0.0/query/azureMonitor.libsonnet @@ -1,22 +1,6 @@ // 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, @@ -429,11 +413,19 @@ }, }, }, - '#withGrafanaTemplateVariableFn': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + '#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: '' } }, withGrafanaTemplateVariableFn(value): { grafanaTemplateVariableFn: value, }, - '#withGrafanaTemplateVariableFnMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + '#withGrafanaTemplateVariableFnMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object', 'object', 'object', 'object', 'object', 'object', 'object', 'object', 'object', 'object'] }], help: '' } }, withGrafanaTemplateVariableFnMixin(value): { grafanaTemplateVariableFn+: value, }, @@ -453,16 +445,16 @@ }, AppInsightsMetricNameQuery+: { - '#withRawQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withRawQuery(value): { + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { grafanaTemplateVariableFn+: { - rawQuery: value, + kind: 'AppInsightsMetricNameQuery', }, }, - '#withKind': { 'function': { args: [{ default: null, enums: ['AppInsightsMetricNameQuery'], name: 'value', type: ['string'] }], help: '' } }, - withKind(value): { + '#withRawQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withRawQuery(value): { grafanaTemplateVariableFn+: { - kind: value, + rawQuery: value, }, }, }, @@ -480,16 +472,10 @@ }, 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): { + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { grafanaTemplateVariableFn+: { - kind: value, + kind: 'AppInsightsGroupByQuery', }, }, '#withMetricName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, @@ -498,6 +484,12 @@ 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): { @@ -513,16 +505,16 @@ }, SubscriptionsQuery+: { - '#withRawQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withRawQuery(value): { + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { grafanaTemplateVariableFn+: { - rawQuery: value, + kind: 'SubscriptionsQuery', }, }, - '#withKind': { 'function': { args: [{ default: null, enums: ['SubscriptionsQuery'], name: 'value', type: ['string'] }], help: '' } }, - withKind(value): { + '#withRawQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withRawQuery(value): { grafanaTemplateVariableFn+: { - kind: value, + rawQuery: value, }, }, }, @@ -540,16 +532,16 @@ }, ResourceGroupsQuery+: { - '#withRawQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withRawQuery(value): { + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { grafanaTemplateVariableFn+: { - rawQuery: value, + kind: 'ResourceGroupsQuery', }, }, - '#withKind': { 'function': { args: [{ default: null, enums: ['ResourceGroupsQuery'], name: 'value', type: ['string'] }], help: '' } }, - withKind(value): { + '#withRawQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withRawQuery(value): { grafanaTemplateVariableFn+: { - kind: value, + rawQuery: value, }, }, '#withSubscription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, @@ -573,16 +565,10 @@ }, ResourceNamesQuery+: { - '#withRawQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withRawQuery(value): { + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { grafanaTemplateVariableFn+: { - rawQuery: value, - }, - }, - '#withKind': { 'function': { args: [{ default: null, enums: ['ResourceNamesQuery'], name: 'value', type: ['string'] }], help: '' } }, - withKind(value): { - grafanaTemplateVariableFn+: { - kind: value, + kind: 'ResourceNamesQuery', }, }, '#withMetricNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, @@ -591,6 +577,12 @@ 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+: { @@ -618,16 +610,10 @@ }, 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): { + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { grafanaTemplateVariableFn+: { - kind: value, + kind: 'MetricNamespaceQuery', }, }, '#withMetricNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, @@ -636,6 +622,12 @@ 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+: { @@ -669,16 +661,10 @@ }, 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): { + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { grafanaTemplateVariableFn+: { - kind: value, + kind: 'MetricDefinitionsQuery', }, }, '#withMetricNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, @@ -687,6 +673,12 @@ 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+: { @@ -720,16 +712,10 @@ }, 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): { + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { grafanaTemplateVariableFn+: { - kind: value, + kind: 'MetricNamesQuery', }, }, '#withMetricNamespace': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, @@ -738,6 +724,12 @@ 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+: { @@ -771,16 +763,16 @@ }, WorkspacesQuery+: { - '#withRawQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withRawQuery(value): { + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { grafanaTemplateVariableFn+: { - rawQuery: value, + kind: 'WorkspacesQuery', }, }, - '#withKind': { 'function': { args: [{ default: null, enums: ['WorkspacesQuery'], name: 'value', type: ['string'] }], help: '' } }, - withKind(value): { + '#withRawQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withRawQuery(value): { grafanaTemplateVariableFn+: { - kind: value, + rawQuery: value, }, }, '#withSubscription': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, @@ -804,24 +796,36 @@ }, UnknownQuery+: { - '#withRawQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withRawQuery(value): { + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { grafanaTemplateVariableFn+: { - rawQuery: value, + kind: 'UnknownQuery', }, }, - '#withKind': { 'function': { args: [{ default: null, enums: ['UnknownQuery'], name: 'value', type: ['string'] }], help: '' } }, - withKind(value): { + '#withRawQuery': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withRawQuery(value): { grafanaTemplateVariableFn+: { - kind: value, + 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, }, + '#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: 'Azure Monitor query type.\nqueryType: #AzureQueryType' } }, withRegion(value): { region: value, @@ -853,3 +857,4 @@ 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.0.0/query/cloudWatch.libsonnet similarity index 90% 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.0.0/query/cloudWatch.libsonnet index db468d51..fa54d6e1 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.0.0/query/cloudWatch.libsonnet @@ -3,25 +3,25 @@ '#': { 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, + '#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, }, - '#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, + '#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, }, - '#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, + '#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, }, - '#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, }, - '#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, + '#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): { @@ -31,6 +31,10 @@ 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, @@ -47,6 +51,22 @@ 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: null, enums: ['Metrics', 'Logs', 'Annotations'], name: 'value', type: ['string'] }], help: '' } }, + withQueryMode(value): { + 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, @@ -69,45 +89,25 @@ 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, - }, }, 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': { '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, }, - '#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, + '#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, }, + '#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, @@ -164,6 +164,14 @@ withQueryMode(value): { 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, @@ -185,26 +193,22 @@ }, 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, }, + '#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, @@ -213,52 +217,14 @@ withDimensionsMixin(value): { dimensions+: 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, - }, - '#withMetricName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the metric' } }, - 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, - }, - '#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, - }, - '#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, }, + '#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, @@ -267,18 +233,46 @@ withLabel(value): { label: value, }, - '#withMetricEditorMode': { 'function': { args: [{ default: null, enums: [0, 1], name: 'value', type: ['integer'] }], help: '' } }, + '#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, + }, + '#withMetricEditorMode': { 'function': { args: [{ default: null, enums: [0, 1], name: 'value', type: ['string'] }], help: '' } }, withMetricEditorMode(value): { metricEditorMode: value, }, - '#withMetricQueryType': { 'function': { args: [{ default: null, enums: [0, 1], name: 'value', type: ['integer'] }], help: '' } }, + '#withMetricName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the metric' } }, + withMetricName(value): { + metricName: value, + }, + '#withMetricQueryType': { 'function': { args: [{ default: null, enums: [0, 1], name: 'value', type: ['string'] }], help: '' } }, 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, + }, + '#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, + }, '#withQueryMode': { 'function': { args: [{ default: null, enums: ['Metrics', 'Logs', 'Annotations'], name: 'value', type: ['string'] }], help: '' } }, withQueryMode(value): { 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, + }, '#withSql': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, withSql(value): { sql: value, @@ -289,13 +283,13 @@ }, sql+: { - '#withFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: 'FROM part of the SQL expression' } }, + '#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'] }], help: 'FROM part of the SQL expression' } }, + '#withFromMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object', 'object'] }], help: 'FROM part of the SQL expression' } }, withFromMixin(value): { sql+: { from+: value, @@ -360,11 +354,11 @@ }, }, }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { sql+: { from+: { - type: value, + type: 'property', }, }, }, @@ -424,16 +418,16 @@ withName(value): { name: value, }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { - type: value, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'functionParameter', }, }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { sql+: { from+: { - type: value, + type: 'function', }, }, }, @@ -541,16 +535,16 @@ withName(value): { name: value, }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { - type: value, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'functionParameter', }, }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { sql+: { orderBy+: { - type: value, + type: 'function', }, }, }, @@ -612,16 +606,16 @@ withName(value): { name: value, }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { - type: value, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'functionParameter', }, }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { + '#withType': { 'function': { args: [], help: '' } }, + withType(): { sql+: { select+: { - type: value, + type: 'function', }, }, }, @@ -676,5 +670,24 @@ 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.0.0/query/elasticsearch.libsonnet similarity index 91% 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.0.0/query/elasticsearch.libsonnet index 551f8408..99171aa3 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.0.0/query/elasticsearch.libsonnet @@ -21,9 +21,12 @@ }, 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, @@ -32,14 +35,6 @@ 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, - }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, withSettingsMixin(value): { settings+: value, @@ -77,9 +72,17 @@ }, }, }, + '#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, @@ -88,14 +91,6 @@ 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, - }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, withSettingsMixin(value): { settings+: value, @@ -115,9 +110,17 @@ }, }, }, + '#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, @@ -126,14 +129,6 @@ 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, - }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, withSettingsMixin(value): { settings+: value, @@ -171,6 +166,10 @@ }, }, }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'terms', + }, }, Filters+: { @@ -182,10 +181,6 @@ withSettings(value): { settings: value, }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { - type: value, - }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, withSettingsMixin(value): { settings+: value, @@ -223,9 +218,17 @@ }, }, }, + '#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, @@ -234,14 +237,6 @@ 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, - }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, withSettingsMixin(value): { settings+: value, @@ -255,9 +250,17 @@ }, }, }, + '#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, @@ -266,25 +269,25 @@ 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, - }, '#withSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, 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': { '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, }, - '#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)' } }, + '#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, }, @@ -304,7 +307,6 @@ }, metrics+: { - '#': { help: '', name: 'metrics' }, Count+: { '#withHide': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '' } }, @@ -315,15 +317,19 @@ withId(value): { id: value, }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { - type: 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, @@ -332,14 +338,6 @@ 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, - }, '#withPipelineAgg': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, withPipelineAgg(value): { pipelineAgg: value, @@ -352,9 +350,17 @@ 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, @@ -363,14 +369,6 @@ 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, - }, '#withPipelineAgg': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, withPipelineAgg(value): { pipelineAgg: value, @@ -392,9 +390,17 @@ }, }, }, + '#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, @@ -403,14 +409,6 @@ 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, - }, '#withPipelineAgg': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, withPipelineAgg(value): { pipelineAgg: value, @@ -432,6 +430,10 @@ }, }, }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'cumulative_sum', + }, }, BucketScript+: { @@ -443,10 +445,6 @@ withId(value): { id: value, }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { - type: value, - }, '#withPipelineVariables': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, withPipelineVariables(value): { pipelineVariables: @@ -507,6 +505,10 @@ }, }, }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'bucket_script', + }, }, }, MetricAggregationWithSettings+: @@ -521,10 +523,6 @@ withId(value): { id: value, }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { - type: value, - }, '#withPipelineVariables': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, withPipelineVariables(value): { pipelineVariables: @@ -585,9 +583,17 @@ }, }, }, + '#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, @@ -596,14 +602,6 @@ 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, - }, '#withPipelineAgg': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, withPipelineAgg(value): { pipelineAgg: value, @@ -625,9 +623,17 @@ }, }, }, + '#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, @@ -636,14 +642,6 @@ 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, - }, '#withPipelineAgg': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, withPipelineAgg(value): { pipelineAgg: value, @@ -665,9 +663,17 @@ }, }, }, + '#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, @@ -676,14 +682,6 @@ 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, - }, '#withPipelineAgg': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, withPipelineAgg(value): { pipelineAgg: value, @@ -705,6 +703,10 @@ }, }, }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'serial_diff', + }, }, RawData+: { @@ -716,10 +718,6 @@ withId(value): { id: value, }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { - type: value, - }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, withSettings(value): { settings: value, @@ -737,6 +735,10 @@ }, }, }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'raw_data', + }, }, RawDocument+: { @@ -748,10 +750,6 @@ withId(value): { id: value, }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { - type: value, - }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, withSettings(value): { settings: value, @@ -769,9 +767,17 @@ }, }, }, + '#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, @@ -780,14 +786,6 @@ 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, - }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, withSettings(value): { settings: value, @@ -811,9 +809,17 @@ }, }, }, + '#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, @@ -822,14 +828,6 @@ 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, - }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, withSettings(value): { settings: value, @@ -840,29 +838,6 @@ }, settings+: { - '#withScript': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'object'] }], help: '' } }, - withScript(value): { - settings+: { - script: value, - }, - }, - '#withScriptMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'object'] }], help: '' } }, - withScriptMixin(value): { - settings+: { - script+: value, - }, - }, - script+: - { - '#withInline': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withInline(value): { - settings+: { - script+: { - inline: value, - }, - }, - }, - }, '#withMissing': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, withMissing(value): { settings+: { @@ -887,10 +862,41 @@ else [value]), }, }, + '#withScript': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'object'] }], help: '' } }, + withScript(value): { + settings+: { + script: value, + }, + }, + '#withScriptMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string', 'object'] }], help: '' } }, + withScriptMixin(value): { + settings+: { + script+: value, + }, + }, + script+: + { + '#withInline': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + withInline(value): { + settings+: { + script+: { + inline: 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, @@ -899,13 +905,13 @@ withId(value): { id: value, }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { - type: value, + '#withMeta': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withMeta(value): { + meta: value, }, - '#withField': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withField(value): { - field: 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): { @@ -917,6 +923,12 @@ }, 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+: { @@ -940,12 +952,6 @@ }, }, }, - '#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+: { @@ -953,17 +959,17 @@ }, }, }, - '#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, @@ -972,14 +978,6 @@ 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, - }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, withSettings(value): { settings: value, @@ -990,6 +988,12 @@ }, 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+: { @@ -1013,16 +1017,18 @@ }, }, }, - '#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, @@ -1031,14 +1037,6 @@ 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, - }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, withSettings(value): { settings: value, @@ -1049,6 +1047,12 @@ }, 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+: { @@ -1072,16 +1076,18 @@ }, }, }, - '#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, @@ -1090,14 +1096,6 @@ 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, - }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, withSettings(value): { settings: value, @@ -1108,6 +1106,12 @@ }, 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+: { @@ -1131,16 +1135,18 @@ }, }, }, - '#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, @@ -1149,14 +1155,6 @@ 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, - }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, withSettings(value): { settings: value, @@ -1197,9 +1195,17 @@ }, }, }, + '#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, @@ -1208,14 +1214,6 @@ 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, - }, '#withPipelineAgg': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, withPipelineAgg(value): { pipelineAgg: value, @@ -1228,9 +1226,17 @@ 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, @@ -1239,14 +1245,6 @@ 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, - }, '#withPipelineAgg': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, withPipelineAgg(value): { pipelineAgg: value, @@ -1297,6 +1295,10 @@ }, }, }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'moving_fn', + }, }, Logs+: { @@ -1308,10 +1310,6 @@ withId(value): { id: value, }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { - type: value, - }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, withSettings(value): { settings: value, @@ -1329,9 +1327,17 @@ }, }, }, + '#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, @@ -1340,14 +1346,6 @@ 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, - }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, withSettings(value): { settings: value, @@ -1371,6 +1369,10 @@ }, }, }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'rate', + }, }, TopMetrics+: { @@ -1382,10 +1384,6 @@ withId(value): { id: value, }, - '#withType': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, - withType(value): { - type: value, - }, '#withSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, withSettings(value): { settings: value, @@ -1427,6 +1425,10 @@ }, }, }, + '#withType': { 'function': { args: [], help: '' } }, + withType(): { + type: 'top_metrics', + }, }, }, }, @@ -1447,3 +1449,4 @@ timeField: value, }, } ++ (import '../custom/query/elasticsearch.libsonnet') diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/query/expr.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/query/expr.libsonnet new file mode 100644 index 00000000..e181b171 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/query/expr.libsonnet @@ -0,0 +1,960 @@ +// 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+: + { + '#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' } }, + 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+: + { + '#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' } }, + 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'], name: 'value', type: ['string'] }], help: 'The reducer\nPossible enum values:\n - `"sum"` \n - `"mean"` \n - `"min"` \n - `"max"` \n - `"count"` \n - `"last"` ' } }, + 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+: + { + '#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' } }, + withUid(value): { + datasource+: { + uid: value, + }, + }, + }, + '#withDownsampler': { 'function': { args: [{ default: null, enums: ['sum', 'mean', 'min', 'max', 'count', 'last'], name: 'value', type: ['string'] }], help: 'The downsample function\nPossible enum values:\n - `"sum"` \n - `"mean"` \n - `"min"` \n - `"max"` \n - `"count"` \n - `"last"` ' } }, + 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'], 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+: + { + '#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' } }, + 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+: + { + '#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' } }, + 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+: + { + '#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' } }, + 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.0.0/query/googleCloudMonitoring.libsonnet similarity index 93% 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.0.0/query/googleCloudMonitoring.libsonnet index 35593944..478a49cd 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.0.0/query/googleCloudMonitoring.libsonnet @@ -1,26 +1,22 @@ // 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" } }, + '#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, + }, + '#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, }, - '#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)' } }, + '#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, }, - '#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, - }, '#withIntervalMs': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: 'Time interval in milliseconds.' } }, withIntervalMs(value): { intervalMs: value, @@ -54,6 +50,14 @@ }, }, }, + '#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, @@ -266,8 +270,8 @@ }, 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): { + '#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, }, @@ -286,3 +290,4 @@ }, }, } ++ (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.0.0/query/grafanaPyroscope.libsonnet similarity index 80% 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.0.0/query/grafanaPyroscope.libsonnet index 00985cc2..67a75664 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.0.0/query/grafanaPyroscope.libsonnet @@ -1,10 +1,14 @@ // 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': { '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: @@ -19,7 +23,7 @@ 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': { '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, }, @@ -58,3 +62,4 @@ else [value]), }, } ++ (import '../custom/query/grafanaPyroscope.libsonnet') 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-v11.0.0/query/loki.libsonnet similarity index 80% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/loki.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/query/loki.libsonnet index a01c4ecd..2d77f4b5 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/loki.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/query/loki.libsonnet @@ -1,10 +1,14 @@ // 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': { '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, @@ -13,7 +17,7 @@ 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': { '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, }, @@ -50,3 +54,4 @@ step: value, }, } ++ (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.0.0/query/parca.libsonnet similarity index 70% 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.0.0/query/parca.libsonnet index b985e70c..94f6f231 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.0.0/query/parca.libsonnet @@ -1,11 +1,15 @@ // 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': { '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, }, - '#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)' } }, + '#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, }, @@ -26,3 +30,4 @@ refId: value, }, } ++ (import '../custom/query/parca.libsonnet') 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-v11.0.0/query/prometheus.libsonnet similarity index 76% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/query/prometheus.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/query/prometheus.libsonnet index 6daf1c19..1d42ef3b 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/clean/query/prometheus.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/query/prometheus.libsonnet @@ -1,10 +1,14 @@ // 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': { '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, @@ -21,7 +25,7 @@ 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': { '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, }, @@ -29,6 +33,10 @@ 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, @@ -49,22 +57,5 @@ 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') ++ (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.0.0/query/tempo.libsonnet similarity index 92% 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.0.0/query/tempo.libsonnet index 70ae229b..61ed2901 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.0.0/query/tempo.libsonnet @@ -1,21 +1,13 @@ // 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': { '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, }, - '#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, + '#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): { @@ -109,6 +101,10 @@ 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, @@ -125,6 +121,14 @@ 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, @@ -158,3 +162,4 @@ tableType: value, }, } ++ (import '../custom/query/tempo.libsonnet') 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-v11.0.0/query/testData.libsonnet similarity index 60% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/testData.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/query/testData.libsonnet index ae50d25d..a0bdee57 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/query/testData.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/query/testData.libsonnet @@ -5,7 +5,7 @@ withAlias(value): { alias: value, }, - '#withChannel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + '#withChannel': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Used for live query' } }, withChannel(value): { channel: value, }, @@ -51,15 +51,34 @@ 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': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, withDatasource(value): { datasource: value, }, + '#withDatasourceMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withDatasourceMixin(value): { + datasource+: value, + }, + datasource+: + { + '#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' } }, + 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: ['server_panic', 'frontend_exception', 'frontend_observable'], name: 'value', type: ['string'] }], help: '' } }, + '#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, }, @@ -67,10 +86,14 @@ 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': { '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, @@ -83,6 +106,18 @@ 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, @@ -105,13 +140,17 @@ seed: value, }, }, - '#withType': { 'function': { args: [{ default: null, enums: ['random', 'response_small', 'response_medium', 'random edges'], name: 'value', type: ['string'] }], help: '' } }, + '#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: @@ -167,7 +206,7 @@ }, }, }, - '#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': { '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, }, @@ -175,11 +214,52 @@ 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': { '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, }, - '#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: '' } }, + '#withResultAssertions': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withResultAssertions(value): { + resultAssertions: value, + }, + '#withResultAssertionsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + 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, }, @@ -265,6 +345,14 @@ 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, @@ -281,25 +369,25 @@ bands: value, }, }, - '#withNoise': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, + '#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: ['integer'] }], help: '' } }, + '#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: ['integer'] }], help: '' } }, + '#withSpread': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '' } }, withSpread(value): { stream+: { spread: value, }, }, - '#withType': { 'function': { args: [{ default: null, enums: ['signal', 'logs', 'fetch', 'traces'], name: 'value', type: ['string'] }], help: '' } }, + '#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, @@ -312,10 +400,33 @@ }, }, }, - '#withStringInput': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, + '#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: '' } }, + withTimeRange(value): { + timeRange: value, + }, + '#withTimeRangeMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + 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, @@ -375,4 +486,9 @@ }, }, }, + '#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/alerting/contactPoint.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/raw/alerting/contactPoint.libsonnet similarity index 100% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/alerting/contactPoint.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/raw/alerting/contactPoint.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.0.0/raw/alerting/messageTemplate.libsonnet similarity index 100% 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.0.0/raw/alerting/messageTemplate.libsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/raw/alerting/muteTiming.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/raw/alerting/muteTiming.libsonnet new file mode 100644 index 00000000..4988afb0 --- /dev/null +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/raw/alerting/muteTiming.libsonnet @@ -0,0 +1,134 @@ +// 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' }, + '#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]), + }, + }, + }, +} 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-v11.0.0/raw/alerting/notificationPolicy.libsonnet similarity index 95% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/alerting/notificationPolicy.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/raw/alerting/notificationPolicy.libsonnet index 860bd923..99a22b2d 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/alerting/notificationPolicy.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/raw/alerting/notificationPolicy.libsonnet @@ -87,14 +87,14 @@ then value else [value]), }, - '#withObjectMatchers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '' } }, + '#withObjectMatchers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'ObjectMatchers is a list of matchers that can be used to filter alerts.' } }, 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': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'ObjectMatchers is a list of matchers that can be used to filter alerts.' } }, withObjectMatchersMixin(value): { object_matchers+: (if std.isArray(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-v11.0.0/raw/alerting/ruleGroup.libsonnet similarity index 59% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/alerting/ruleGroup.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/raw/alerting/ruleGroup.libsonnet index 21288e06..2e64d5b6 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/alerting/ruleGroup.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/raw/alerting/ruleGroup.libsonnet @@ -131,6 +131,77 @@ withNoDataState(value): { noDataState: value, }, + '#withNotificationSettings': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withNotificationSettings(value): { + notification_settings: value, + }, + '#withNotificationSettingsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object'] }], help: '' } }, + withNotificationSettingsMixin(value): { + notification_settings+: value, + }, + notification_settings+: + { + '#withGroupBy': { 'function': { args: [{ default: ['alertname', 'grafana_folder'], enums: null, name: 'value', type: ['array'] }], help: "Override the labels by which incoming alerts are grouped together. For example, multiple alerts coming in for\ncluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels\nuse the special value '...' as the sole label name.\nThis effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what\nyou want, unless you have a very low alert volume or your upstream notification system performs its own grouping.\nMust include 'alertname' and 'grafana_folder' if not using '...'." } }, + withGroupBy(value): { + notification_settings+: { + group_by: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGroupByMixin': { 'function': { args: [{ default: ['alertname', 'grafana_folder'], enums: null, name: 'value', type: ['array'] }], help: "Override the labels by which incoming alerts are grouped together. For example, multiple alerts coming in for\ncluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels\nuse the special value '...' as the sole label name.\nThis effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what\nyou want, unless you have a very low alert volume or your upstream notification system performs its own grouping.\nMust include 'alertname' and 'grafana_folder' if not using '...'." } }, + withGroupByMixin(value): { + notification_settings+: { + group_by+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withGroupInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Override how long to wait before sending a notification about new alerts that are added to a group of alerts for\nwhich an initial notification has already been sent. (Usually ~5m or more.)' } }, + withGroupInterval(value): { + notification_settings+: { + group_interval: value, + }, + }, + '#withGroupWait': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Override how long to initially wait to send a notification for a group of alerts. Allows to wait for an\ninhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.)' } }, + withGroupWait(value): { + notification_settings+: { + group_wait: value, + }, + }, + '#withMuteTimeIntervals': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Override the times when notifications should be muted. These must match the name of a mute time interval defined\nin the alertmanager configuration mute_time_intervals section. When muted it will not send any notifications, but\notherwise acts normally.' } }, + withMuteTimeIntervals(value): { + notification_settings+: { + mute_time_intervals: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withMuteTimeIntervalsMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'Override the times when notifications should be muted. These must match the name of a mute time interval defined\nin the alertmanager configuration mute_time_intervals section. When muted it will not send any notifications, but\notherwise acts normally.' } }, + withMuteTimeIntervalsMixin(value): { + notification_settings+: { + mute_time_intervals+: + (if std.isArray(value) + then value + else [value]), + }, + }, + '#withReceiver': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Name of the receiver to send notifications to.' } }, + withReceiver(value): { + notification_settings+: { + receiver: value, + }, + }, + '#withRepeatInterval': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: "Override how long to wait before sending a notification again if it has already been sent successfully for an\nalert. (Usually ~3h or more).\nNote that this parameter is implicitly bound by Alertmanager's `--data.retention` configuration flag.\nNotifications will be resent after either repeat_interval or the data retention period have passed, whichever\noccurs first. `repeat_interval` should not be less than `group_interval`." } }, + withRepeatInterval(value): { + notification_settings+: { + repeat_interval: value, + }, + }, + }, '#withOrgID': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['integer'] }], help: '' } }, withOrgID(value): { orgID: value, 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.0.0/role.libsonnet similarity index 100% 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.0.0/role.libsonnet diff --git a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/rolebinding.libsonnet b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/rolebinding.libsonnet similarity index 83% rename from vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/rolebinding.libsonnet rename to vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/rolebinding.libsonnet index a36c92dd..acf521ed 100644 --- a/vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/raw/rolebinding.libsonnet +++ b/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/rolebinding.libsonnet @@ -1,11 +1,11 @@ // 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': { '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'] }], help: 'The role we are discussing' } }, + '#withRoleMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['object', 'object'] }], help: 'The role we are discussing' } }, withRoleMixin(value): { role+: value, }, @@ -25,10 +25,10 @@ }, BuiltinRoleRef+: { - '#withKind': { 'function': { args: [{ default: null, enums: ['BuiltinRole'], name: 'value', type: ['string'] }], help: '' } }, - withKind(value): { + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { role+: { - kind: value, + kind: 'BuiltinRole', }, }, '#withName': { 'function': { args: [{ default: null, enums: ['viewer', 'editor', 'admin'], name: 'value', type: ['string'] }], help: '' } }, @@ -52,10 +52,10 @@ }, CustomRoleRef+: { - '#withKind': { 'function': { args: [{ default: null, enums: ['Role'], name: 'value', type: ['string'] }], help: '' } }, - withKind(value): { + '#withKind': { 'function': { args: [], help: '' } }, + withKind(): { role+: { - kind: value, + kind: 'Role', }, }, '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, 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.0.0/team.libsonnet similarity index 100% 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.0.0/team.libsonnet diff --git a/vendor/github.com/kubernetes-monitoring/kubernetes-mixin/dashboards/defaults.libsonnet b/vendor/github.com/kubernetes-monitoring/kubernetes-mixin/dashboards/defaults.libsonnet index 38d2c4a3..96854c7d 100644 --- a/vendor/github.com/kubernetes-monitoring/kubernetes-mixin/dashboards/defaults.libsonnet +++ b/vendor/github.com/kubernetes-monitoring/kubernetes-mixin/dashboards/defaults.libsonnet @@ -6,7 +6,7 @@ // of the file name and set the timezone to be 'default'. grafanaDashboards:: { [filename]: grafanaDashboards[filename] { - uid: std.md5(filename), + uid: std.get(kubernetesMixin._config.grafanaDashboardIDs, filename, default=std.md5(filename)), timezone: kubernetesMixin._config.grafanaK8s.grafanaTimezone, refresh: kubernetesMixin._config.grafanaK8s.refresh, tags: kubernetesMixin._config.grafanaK8s.dashboardTags, diff --git a/vendor/github.com/prometheus-operator/kube-prometheus/jsonnet/kube-prometheus/components/kube-state-metrics.libsonnet b/vendor/github.com/prometheus-operator/kube-prometheus/jsonnet/kube-prometheus/components/kube-state-metrics.libsonnet index e5d7ac17..1535877e 100644 --- a/vendor/github.com/prometheus-operator/kube-prometheus/jsonnet/kube-prometheus/components/kube-state-metrics.libsonnet +++ b/vendor/github.com/prometheus-operator/kube-prometheus/jsonnet/kube-prometheus/components/kube-state-metrics.libsonnet @@ -164,6 +164,9 @@ function(params) (import 'github.com/kubernetes/kube-state-metrics/jsonnet/kube- ports:: null, livenessProbe:: null, readinessProbe:: null, + securityContext+: { + runAsGroup: 65534, + }, args: ['--host=127.0.0.1', '--port=8081', '--telemetry-host=127.0.0.1', '--telemetry-port=8082'], resources: ksm._config.resources, }, super.containers) + [kubeRbacProxyMain, kubeRbacProxySelf], diff --git a/vendor/github.com/prometheus-operator/kube-prometheus/jsonnet/kube-prometheus/components/prometheus-operator.libsonnet b/vendor/github.com/prometheus-operator/kube-prometheus/jsonnet/kube-prometheus/components/prometheus-operator.libsonnet index 5c0c96c6..104d76a8 100644 --- a/vendor/github.com/prometheus-operator/kube-prometheus/jsonnet/kube-prometheus/components/prometheus-operator.libsonnet +++ b/vendor/github.com/prometheus-operator/kube-prometheus/jsonnet/kube-prometheus/components/prometheus-operator.libsonnet @@ -163,6 +163,9 @@ function(params) template+: { spec+: { automountServiceAccountToken: true, + securityContext+: { + runAsGroup: 65534, + }, containers+: [kubeRbacProxy], }, }, diff --git a/vendor/github.com/prometheus-operator/kube-prometheus/jsonnet/kube-prometheus/versions.json b/vendor/github.com/prometheus-operator/kube-prometheus/jsonnet/kube-prometheus/versions.json index 9fd03ef8..2bbe0d5d 100644 --- a/vendor/github.com/prometheus-operator/kube-prometheus/jsonnet/kube-prometheus/versions.json +++ b/vendor/github.com/prometheus-operator/kube-prometheus/jsonnet/kube-prometheus/versions.json @@ -1,12 +1,12 @@ { "alertmanager": "0.27.0", "blackboxExporter": "0.25.0", - "grafana": "10.4.2", + "grafana": "11.0.0", "kubeStateMetrics": "2.12.0", "nodeExporter": "1.8.0", "prometheus": "2.52.0", - "prometheusAdapter": "0.11.2", - "prometheusOperator": "0.73.2", + "prometheusAdapter": "0.12.0", + "prometheusOperator": "0.74.0", "kubeRbacProxy": "0.17.1", "configmapReload": "0.5.0", "pyrra": "0.6.4" diff --git a/vendor/github.com/prometheus-operator/prometheus-operator/jsonnet/prometheus-operator/alertmanagerconfigs-crd.json b/vendor/github.com/prometheus-operator/prometheus-operator/jsonnet/prometheus-operator/alertmanagerconfigs-crd.json index 2e2cbb1b..974f0357 100644 --- a/vendor/github.com/prometheus-operator/prometheus-operator/jsonnet/prometheus-operator/alertmanagerconfigs-crd.json +++ b/vendor/github.com/prometheus-operator/prometheus-operator/jsonnet/prometheus-operator/alertmanagerconfigs-crd.json @@ -2284,6 +2284,10 @@ "description": "Severity of the incident.", "type": "string" }, + "source": { + "description": "Unique location of the affected system.", + "type": "string" + }, "url": { "description": "The URL to send requests to.", "type": "string" diff --git a/vendor/github.com/prometheus-operator/prometheus-operator/jsonnet/prometheus-operator/alertmanagerconfigs-v1beta1-crd.libsonnet b/vendor/github.com/prometheus-operator/prometheus-operator/jsonnet/prometheus-operator/alertmanagerconfigs-v1beta1-crd.libsonnet index 2afc80f2..912efcb8 100644 --- a/vendor/github.com/prometheus-operator/prometheus-operator/jsonnet/prometheus-operator/alertmanagerconfigs-v1beta1-crd.libsonnet +++ b/vendor/github.com/prometheus-operator/prometheus-operator/jsonnet/prometheus-operator/alertmanagerconfigs-v1beta1-crd.libsonnet @@ -2141,6 +2141,10 @@ description: 'Severity of the incident.', type: 'string', }, + source: { + description: 'Unique location of the affected system.', + type: 'string', + }, url: { description: 'The URL to send requests to.', type: 'string', diff --git a/vendor/github.com/prometheus-operator/prometheus-operator/jsonnet/prometheus-operator/prometheusagents-crd.json b/vendor/github.com/prometheus-operator/prometheus-operator/jsonnet/prometheus-operator/prometheusagents-crd.json index f509cac3..63ff9514 100644 --- a/vendor/github.com/prometheus-operator/prometheus-operator/jsonnet/prometheus-operator/prometheusagents-crd.json +++ b/vendor/github.com/prometheus-operator/prometheus-operator/jsonnet/prometheus-operator/prometheusagents-crd.json @@ -3827,7 +3827,7 @@ "type": "object" }, "podMonitorNamespaceSelector": { - "description": "Namespaces to match for PodMonitors discovery. An empty label selector\nmatches all namespaces. A null label selector matches the current\nnamespace only.", + "description": "Namespaces to match for PodMonitors discovery. An empty label selector\nmatches all namespaces. A null label selector (default value) matches the current\nnamespace only.", "properties": { "matchExpressions": { "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", @@ -4783,6 +4783,75 @@ "description": "Default indicates that the scrape applies to all scrape objects that\ndon't configure an explicit scrape class name.\n\n\nOnly one scrape class can be set as the default.", "type": "boolean" }, + "metricRelabelings": { + "description": "MetricRelabelings configures the relabeling rules to apply to all samples before ingestion.\n\n\nThe Operator adds the scrape class metric relabelings defined here.\nThen the Operator adds the target-specific metric relabelings defined in ServiceMonitors, PodMonitors, Probes and ScrapeConfigs.\nThen the Operator adds namespace enforcement relabeling rule, specified in '.spec.enforcedNamespaceLabel'.\n\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs", + "items": { + "description": "RelabelConfig allows dynamic rewriting of the label set for targets, alerts,\nscraped samples and remote write samples.\n\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config", + "properties": { + "action": { + "default": "replace", + "description": "Action to perform based on the regex matching.\n\n\n`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.\n`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.\n\n\nDefault: \"Replace\"", + "enum": [ + "replace", + "Replace", + "keep", + "Keep", + "drop", + "Drop", + "hashmod", + "HashMod", + "labelmap", + "LabelMap", + "labeldrop", + "LabelDrop", + "labelkeep", + "LabelKeep", + "lowercase", + "Lowercase", + "uppercase", + "Uppercase", + "keepequal", + "KeepEqual", + "dropequal", + "DropEqual" + ], + "type": "string" + }, + "modulus": { + "description": "Modulus to take of the hash of the source label values.\n\n\nOnly applicable when the action is `HashMod`.", + "format": "int64", + "type": "integer" + }, + "regex": { + "description": "Regular expression against which the extracted value is matched.", + "type": "string" + }, + "replacement": { + "description": "Replacement value against which a Replace action is performed if the\nregular expression matches.\n\n\nRegex capture groups are available.", + "type": "string" + }, + "separator": { + "description": "Separator is the string between concatenated SourceLabels.", + "type": "string" + }, + "sourceLabels": { + "description": "The source labels select values from existing labels. Their content is\nconcatenated using the configured Separator and matched against the\nconfigured regular expression.", + "items": { + "description": "LabelName is a valid Prometheus label name which may only contain ASCII\nletters, numbers, as well as underscores.", + "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$", + "type": "string" + }, + "type": "array" + }, + "targetLabel": { + "description": "Label to which the resulting string is written in a replacement.\n\n\nIt is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,\n`KeepEqual` and `DropEqual` actions.\n\n\nRegex capture groups are available.", + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, "name": { "description": "Name of the scrape class.", "minLength": 1, @@ -5261,7 +5330,7 @@ "type": "string" }, "serviceMonitorNamespaceSelector": { - "description": "Namespaces to match for ServicedMonitors discovery. An empty label selector\nmatches all namespaces. A null label selector matches the current\nnamespace only.", + "description": "Namespaces to match for ServicedMonitors discovery. An empty label selector\nmatches all namespaces. A null label selector (default value) matches the current\nnamespace only.", "properties": { "matchExpressions": { "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", diff --git a/vendor/github.com/prometheus-operator/prometheus-operator/jsonnet/prometheus-operator/prometheuses-crd.json b/vendor/github.com/prometheus-operator/prometheus-operator/jsonnet/prometheus-operator/prometheuses-crd.json index 58e92aba..e40429f9 100644 --- a/vendor/github.com/prometheus-operator/prometheus-operator/jsonnet/prometheus-operator/prometheuses-crd.json +++ b/vendor/github.com/prometheus-operator/prometheus-operator/jsonnet/prometheus-operator/prometheuses-crd.json @@ -4403,7 +4403,7 @@ "type": "object" }, "podMonitorNamespaceSelector": { - "description": "Namespaces to match for PodMonitors discovery. An empty label selector\nmatches all namespaces. A null label selector matches the current\nnamespace only.", + "description": "Namespaces to match for PodMonitors discovery. An empty label selector\nmatches all namespaces. A null label selector (default value) matches the current\nnamespace only.", "properties": { "matchExpressions": { "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", @@ -5931,6 +5931,75 @@ "description": "Default indicates that the scrape applies to all scrape objects that\ndon't configure an explicit scrape class name.\n\n\nOnly one scrape class can be set as the default.", "type": "boolean" }, + "metricRelabelings": { + "description": "MetricRelabelings configures the relabeling rules to apply to all samples before ingestion.\n\n\nThe Operator adds the scrape class metric relabelings defined here.\nThen the Operator adds the target-specific metric relabelings defined in ServiceMonitors, PodMonitors, Probes and ScrapeConfigs.\nThen the Operator adds namespace enforcement relabeling rule, specified in '.spec.enforcedNamespaceLabel'.\n\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs", + "items": { + "description": "RelabelConfig allows dynamic rewriting of the label set for targets, alerts,\nscraped samples and remote write samples.\n\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config", + "properties": { + "action": { + "default": "replace", + "description": "Action to perform based on the regex matching.\n\n\n`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.\n`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.\n\n\nDefault: \"Replace\"", + "enum": [ + "replace", + "Replace", + "keep", + "Keep", + "drop", + "Drop", + "hashmod", + "HashMod", + "labelmap", + "LabelMap", + "labeldrop", + "LabelDrop", + "labelkeep", + "LabelKeep", + "lowercase", + "Lowercase", + "uppercase", + "Uppercase", + "keepequal", + "KeepEqual", + "dropequal", + "DropEqual" + ], + "type": "string" + }, + "modulus": { + "description": "Modulus to take of the hash of the source label values.\n\n\nOnly applicable when the action is `HashMod`.", + "format": "int64", + "type": "integer" + }, + "regex": { + "description": "Regular expression against which the extracted value is matched.", + "type": "string" + }, + "replacement": { + "description": "Replacement value against which a Replace action is performed if the\nregular expression matches.\n\n\nRegex capture groups are available.", + "type": "string" + }, + "separator": { + "description": "Separator is the string between concatenated SourceLabels.", + "type": "string" + }, + "sourceLabels": { + "description": "The source labels select values from existing labels. Their content is\nconcatenated using the configured Separator and matched against the\nconfigured regular expression.", + "items": { + "description": "LabelName is a valid Prometheus label name which may only contain ASCII\nletters, numbers, as well as underscores.", + "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$", + "type": "string" + }, + "type": "array" + }, + "targetLabel": { + "description": "Label to which the resulting string is written in a replacement.\n\n\nIt is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,\n`KeepEqual` and `DropEqual` actions.\n\n\nRegex capture groups are available.", + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, "name": { "description": "Name of the scrape class.", "minLength": 1, @@ -6409,7 +6478,7 @@ "type": "string" }, "serviceMonitorNamespaceSelector": { - "description": "Namespaces to match for ServicedMonitors discovery. An empty label selector\nmatches all namespaces. A null label selector matches the current\nnamespace only.", + "description": "Namespaces to match for ServicedMonitors discovery. An empty label selector\nmatches all namespaces. A null label selector (default value) matches the current\nnamespace only.", "properties": { "matchExpressions": { "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", diff --git a/vendor/grafonnet-v10.4.0 b/vendor/grafonnet-v10.4.0 deleted file mode 120000 index 727bf4ac..00000000 --- a/vendor/grafonnet-v10.4.0 +++ /dev/null @@ -1 +0,0 @@ -github.com/grafana/grafonnet/gen/grafonnet-v10.4.0 \ No newline at end of file diff --git a/vendor/grafonnet-v11.0.0 b/vendor/grafonnet-v11.0.0 new file mode 120000 index 00000000..9ba06e23 --- /dev/null +++ b/vendor/grafonnet-v11.0.0 @@ -0,0 +1 @@ +github.com/grafana/grafonnet/gen/grafonnet-v11.0.0 \ No newline at end of file