-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #75 from andymchugh/textthresh
thresholds for text
- Loading branch information
Showing
11 changed files
with
256 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
80 changes: 80 additions & 0 deletions
80
provisioning/dashboardData/stringDataThresholdPatterns.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
--- | ||
|
||
#------------------------------------------------------------------------------ | ||
# YAML Aliases to simplify maintenance | ||
|
||
anchorLinks: | ||
- link: &grafana-home | ||
url: "https://grafana.com/" | ||
params: "time" | ||
|
||
#------------------------------------------------------------------------------ | ||
# Panel Config | ||
|
||
test: | ||
testDataExtendedZero: true | ||
testDataStringData: true | ||
|
||
cellIdPreamble: "cell-" | ||
gradientMode: "hue" | ||
tagConfig: | ||
condensed: false | ||
cells: | ||
drawio: | ||
link: | ||
url: "https://app.diagrams.net/?p=svgdata" | ||
docs: | ||
link: | ||
url: "https://github.com/andymchugh/andrewbmchugh-flow-panel/blob/main/src/README.md" | ||
inbox_depth: | ||
tags: ['depth'] | ||
dataRef: "test-data-string" | ||
label: | ||
valueMappings: | ||
- {value: "*0*", text: "*mapped to 0*"} | ||
- {value: "*29*", text: "*mapped to 29*"} | ||
- {valueMin: 300, valueMax: 600, text: "will never get here as data not a number"} | ||
separator: "cr" | ||
units: "none" | ||
labelColor: | ||
thresholdPatternsRef: "example" | ||
link: *grafana-home | ||
db_transactions: | ||
dataRef: "test-data-large-cos" | ||
label: | ||
separator: "cr" | ||
units: "ops" | ||
fillColor: | ||
thresholds: | ||
- {color: "semi-dark-green", level: 0} | ||
- {color: "orange", level: 400} | ||
- {color: "red", level: 800} | ||
link: *grafana-home | ||
inbox_transactions: | ||
tags: ['db'] | ||
dataRef: "test-data-large-cos" | ||
inbox_workers: | ||
tags: ['worker'] | ||
dataRef: "test-data-small-sin" | ||
workers_reads: | ||
dataRef: "test-data-small-sin" | ||
start_rate: | ||
dataRef: "test-data-small-sin" | ||
label: | ||
separator: "colon" | ||
units: "pps" | ||
labelColor: | ||
thresholds: | ||
- {color: "green", level: 0} | ||
- {color: "orange", level: 100} | ||
link: *grafana-home | ||
active_workers: | ||
dataRef: "test-data-string" | ||
label: | ||
separator: "cr" | ||
units: "none" | ||
labelColor: | ||
thresholdPatterns: | ||
- {color: "#888888", pattern: '\*1[0-9][0-9]\*'} # 100-199 | ||
- {color: "light-blue", pattern: '\*2[0-9][0-9]\*'} # 200-299 | ||
- {color: "green", pattern: '.*'} # base |
10 changes: 10 additions & 0 deletions
10
provisioning/dashboardData/stringDataThresholdPatternsSite.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
|
||
#------------------------------------------------------------------------------ | ||
# Site Config | ||
|
||
thresholdPatterns: | ||
example: | ||
- {color: "#888888", pattern: '\*1[0-9][0-9]\*'} # 100-199 | ||
- {color: "light-blue", pattern: '\*2[0-9][0-9]\*'} # 200-299 | ||
- {color: "green", pattern: '.*'} # base |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.