-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace 1 provisionned dashboard by DaC #49
Merged
AntoineThebaud
merged 1 commit into
main
from
antoinethebaud/dac-instead-of-provisioning
Dec 19, 2024
Merged
Replace 1 provisionned dashboard by DaC #49
AntoineThebaud
merged 1 commit into
main
from
antoinethebaud/dac-instead-of-provisioning
Dec 19, 2024
Conversation
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
AntoineThebaud
force-pushed
the
antoinethebaud/dac-instead-of-provisioning
branch
9 times, most recently
from
December 19, 2024 11:45
07cb3ed
to
3905a1c
Compare
Dashboard previewsThe following ephemeral dashboards have been deployed: |
1 similar comment
Dashboard previewsThe following ephemeral dashboards have been deployed: |
Dashboard diffsshowcase-dac-gaugechartpanel:{
- "display": {
- "name": "GaugeChartPanel"
+ "panels": {
+ "0_0": {
+ "kind": "Panel",
+ "spec": {
+ "display": {
+ "name": "Single Gauge"
+ },
+ "plugin": {
+ "kind": "GaugeChart",
+ "spec": {
+ "calculation": "mean",
+ "format": {
+ "unit": "percent"
+ },
+ "thresholds": {
+ "steps": [
+ {
+ "value": 20
+ }
+ ]
+ }
+ }
+ },
+ "queries": [
+ {
+ "kind": "TimeSeriesQuery",
+ "spec": {
+ "plugin": {
+ "kind": "PrometheusTimeSeriesQuery",
+ "spec": {
+ "query": "100 - ((node_memory_MemAvailable_bytes{env=\"demo\", instance=\"demo.do.prometheus.io:9100\"} * 100) / node_memory_MemTotal_bytes{env=\"demo\", instance=\"demo.do.prometheus.io:9100\"})"
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
},
- "panels": {},
- "layouts": [],
+ "layouts": [
+ {
+ "kind": "Grid",
+ "spec": {
+ "display": {
+ "title": "Row 1"
+ },
+ "items": [
+ {
+ "x": 0,
+ "y": 0,
+ "width": 8,
+ "height": 6,
+ "content": {
+ "$ref": "#/spec/panels/0_0"
+ }
+ }
+ ]
+ }
+ }
+ ],
"duration": "1h"
} |
Signed-off-by: AntoineThebaud <[email protected]>
AntoineThebaud
force-pushed
the
antoinethebaud/dac-instead-of-provisioning
branch
from
December 19, 2024 11:59
3905a1c
to
16d8b0b
Compare
Dashboard previewsThe following ephemeral dashboards have been deployed: |
Dashboard diffsshowcase-dac-gaugechartpanel:{
- "display": {
- "name": "GaugeChartPanel"
+ "panels": {
+ "0_0": {
+ "kind": "Panel",
+ "spec": {
+ "display": {
+ "name": "Single Gauge"
+ },
+ "plugin": {
+ "kind": "GaugeChart",
+ "spec": {
+ "calculation": "mean",
+ "format": {
+ "unit": "percent"
+ },
+ "thresholds": {
+ "steps": [
+ {
+ "value": 20
+ }
+ ]
+ }
+ }
+ },
+ "queries": [
+ {
+ "kind": "TimeSeriesQuery",
+ "spec": {
+ "plugin": {
+ "kind": "PrometheusTimeSeriesQuery",
+ "spec": {
+ "query": "100 - ((node_memory_MemAvailable_bytes{env=\"demo\", instance=\"demo.do.prometheus.io:9100\"} * 100) / node_memory_MemTotal_bytes{env=\"demo\", instance=\"demo.do.prometheus.io:9100\"})"
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
},
- "panels": {},
- "layouts": [],
+ "layouts": [
+ {
+ "kind": "Grid",
+ "spec": {
+ "display": {
+ "title": "Row 1"
+ },
+ "items": [
+ {
+ "x": 0,
+ "y": 0,
+ "width": 8,
+ "height": 6,
+ "content": {
+ "$ref": "#/spec/panels/0_0"
+ }
+ }
+ ]
+ }
+ }
+ ],
"duration": "1h"
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is mostly to showcase the usage of the DaC workflow in a real situation, but we probably want to rely on DaC for all our showcase dashboards at some point I guess?
I'd later merge the new "showcase-dac" back into the existing "showcase" project, but for now because showcase is fully provisioned & with no roles/role bindings attached I created a side project for simplicity.