Skip to content

Commit

Permalink
agent-static-mixin: include custom 'all' value (#6589)
Browse files Browse the repository at this point in the history
Signed-off-by: Paschalis Tsilias <[email protected]>
  • Loading branch information
tpaschalis authored Mar 4, 2024
1 parent 47550fe commit a0f5d8a
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@
"type": "datasource"
},
{
"allValue": null,
"allValue": ".+",
"current": {
"text": {
"selected": true,
Expand Down Expand Up @@ -924,7 +924,7 @@
"useTags": false
},
{
"allValue": null,
"allValue": ".+",
"current": {
"text": {
"selected": true,
Expand Down Expand Up @@ -955,7 +955,7 @@
"useTags": false
},
{
"allValue": null,
"allValue": ".+",
"current": {
"text": {
"selected": true,
Expand Down Expand Up @@ -986,7 +986,7 @@
"useTags": false
},
{
"allValue": null,
"allValue": ".+",
"current": {
"text": {
"selected": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1332,7 +1332,7 @@
"type": "datasource"
},
{
"allValue": null,
"allValue": ".+",
"current": {
"text": {
"selected": true,
Expand Down Expand Up @@ -1363,7 +1363,7 @@
"useTags": false
},
{
"allValue": null,
"allValue": ".+",
"current": {
"text": {
"selected": true,
Expand Down Expand Up @@ -1394,7 +1394,7 @@
"useTags": false
},
{
"allValue": null,
"allValue": ".+",
"current": {
"text": {
"selected": true,
Expand Down Expand Up @@ -1425,7 +1425,7 @@
"useTags": false
},
{
"allValue": null,
"allValue": ".+",
"current": {
"text": {
"selected": true,
Expand Down Expand Up @@ -1456,7 +1456,7 @@
"useTags": false
},
{
"allValue": null,
"allValue": ".+",
"current": { },
"datasource": "$datasource",
"hide": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@
"type": "datasource"
},
{
"allValue": null,
"allValue": ".+",
"current": {
"text": {
"selected": true,
Expand Down Expand Up @@ -936,7 +936,7 @@
"useTags": false
},
{
"allValue": null,
"allValue": ".+",
"current": {
"text": {
"selected": true,
Expand Down Expand Up @@ -967,7 +967,7 @@
"useTags": false
},
{
"allValue": null,
"allValue": ".+",
"current": {
"text": {
"selected": true,
Expand Down Expand Up @@ -998,7 +998,7 @@
"useTags": false
},
{
"allValue": null,
"allValue": ".+",
"current": {
"text": {
"selected": true,
Expand Down
13 changes: 13 additions & 0 deletions operations/agent-static-mixin/dashboards.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ local template = grafana.template;
value: '$__all',
},
includeAll=true,
allValues='.+',
),
)
.addTemplate(
Expand All @@ -300,6 +301,7 @@ local template = grafana.template;
value: '$__all',
},
includeAll=true,
allValues='.+',
),
)
.addTemplate(
Expand All @@ -314,6 +316,7 @@ local template = grafana.template;
value: '$__all',
},
includeAll=true,
allValues='.+',
),
)
.addTemplate(
Expand All @@ -328,6 +331,7 @@ local template = grafana.template;
value: '$__all',
},
includeAll=true,
allValues='.+',
),
)
.addTemplate(
Expand All @@ -337,6 +341,7 @@ local template = grafana.template;
'label_values(prometheus_remote_storage_shards{cluster=~"$cluster", pod=~"$pod"}, url)',
refresh='time',
includeAll=true,
allValues='.+',
)
)
.addRow(
Expand Down Expand Up @@ -537,6 +542,7 @@ local template = grafana.template;
value: '$__all',
},
includeAll=true,
allValues='.+',
),
)
.addTemplate(
Expand All @@ -551,6 +557,7 @@ local template = grafana.template;
value: '$__all',
},
includeAll=true,
allValues='.+',
),
)
.addTemplate(
Expand All @@ -565,6 +572,7 @@ local template = grafana.template;
value: '$__all',
},
includeAll=true,
allValues='.+',
),
)
.addTemplate(
Expand All @@ -579,6 +587,7 @@ local template = grafana.template;
value: '$__all',
},
includeAll=true,
allValues='.+',
),
)
.addRow(
Expand Down Expand Up @@ -715,6 +724,7 @@ local template = grafana.template;
value: '$__all',
},
includeAll=true,
allValues='.+',
),
)
.addTemplate(
Expand All @@ -729,6 +739,7 @@ local template = grafana.template;
value: '$__all',
},
includeAll=true,
allValues='.+',
),
)
.addTemplate(
Expand All @@ -743,6 +754,7 @@ local template = grafana.template;
value: '$__all',
},
includeAll=true,
allValues='.+',
),
)
.addTemplate(
Expand All @@ -757,6 +769,7 @@ local template = grafana.template;
value: '$__all',
},
includeAll=true,
allValues='.+',
),
)
.addTemplate(
Expand Down

0 comments on commit a0f5d8a

Please sign in to comment.