Skip to content

Commit

Permalink
Merge pull request #313 from danihodovic/bump-grafana-version
Browse files Browse the repository at this point in the history
fix(mixin): Fix v11 grafana dashboard fields
  • Loading branch information
adinhodovic authored Jul 11, 2024
2 parents a48880f + e326766 commit b1450bf
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 33 deletions.
4 changes: 2 additions & 2 deletions celery-mixin/dashboards/celery-tasks-by-task.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ local tbOverride = tbStandardOptions.override;
tbOptions.sortBy.withDisplayName('Value') +
tbOptions.sortBy.withDesc(true)
) +
tbOptions.footer.TableFooterOptions.withEnablePagination(true) +
tbOptions.footer.withEnablePagination(true) +
tbQueryOptions.withTargets(
prometheus.new(
'$datasource',
Expand Down Expand Up @@ -190,7 +190,7 @@ local tbOverride = tbStandardOptions.override;
tbOptions.sortBy.withDisplayName('Succeeded') +
tbOptions.sortBy.withDesc(true)
) +
tbOptions.footer.TableFooterOptions.withEnablePagination(true) +
tbOptions.footer.withEnablePagination(true) +
tbQueryOptions.withTargets(
[
prometheus.new(
Expand Down
6 changes: 3 additions & 3 deletions celery-mixin/dashboards/celery-tasks-overview.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ local tbOverride = tbStandardOptions.override;
tbOptions.sortBy.withDisplayName('Value') +
tbOptions.sortBy.withDesc(true)
) +
tbOptions.footer.TableFooterOptions.withEnablePagination(true) +
tbOptions.footer.withEnablePagination(true) +
tbQueryOptions.withTargets(
prometheus.new(
'$datasource',
Expand Down Expand Up @@ -325,7 +325,7 @@ local tbOverride = tbStandardOptions.override;
tbOptions.sortBy.withDisplayName('Value') +
tbOptions.sortBy.withDesc(true)
) +
tbOptions.footer.TableFooterOptions.withEnablePagination(true) +
tbOptions.footer.withEnablePagination(true) +
tbQueryOptions.withTargets(
prometheus.new(
'$datasource',
Expand Down Expand Up @@ -383,7 +383,7 @@ local tbOverride = tbStandardOptions.override;
tbOptions.sortBy.withDisplayName('Runtime') +
tbOptions.sortBy.withDesc(true)
) +
tbOptions.footer.TableFooterOptions.withEnablePagination(true) +
tbOptions.footer.withEnablePagination(true) +
tbQueryOptions.withTargets(
prometheus.new(
'$datasource',
Expand Down
12 changes: 6 additions & 6 deletions celery-mixin/dashboards_out/celery-tasks-by-task.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
}
]
},
"pluginVersion": "v10.4.0",
"pluginVersion": "v11.0.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -209,7 +209,7 @@
}
]
},
"pluginVersion": "v10.4.0",
"pluginVersion": "v11.0.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -281,7 +281,7 @@
"sort": "desc"
}
},
"pluginVersion": "v10.4.0",
"pluginVersion": "v11.0.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -380,7 +380,7 @@
"sort": "desc"
}
},
"pluginVersion": "v10.4.0",
"pluginVersion": "v11.0.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -478,7 +478,7 @@
"sort": "desc"
}
},
"pluginVersion": "v10.4.0",
"pluginVersion": "v11.0.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -509,7 +509,7 @@
"type": "timeseries"
}
],
"schemaVersion": 36,
"schemaVersion": 39,
"tags": [
"celery",
"celery-mixin"
Expand Down
26 changes: 13 additions & 13 deletions celery-mixin/dashboards_out/celery-tasks-overview.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
]
}
},
"pluginVersion": "v10.4.0",
"pluginVersion": "v11.0.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -110,7 +110,7 @@
]
}
},
"pluginVersion": "v10.4.0",
"pluginVersion": "v11.0.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -159,7 +159,7 @@
]
}
},
"pluginVersion": "v10.4.0",
"pluginVersion": "v11.0.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -212,7 +212,7 @@
]
}
},
"pluginVersion": "v10.4.0",
"pluginVersion": "v11.0.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -261,7 +261,7 @@
]
}
},
"pluginVersion": "v10.4.0",
"pluginVersion": "v11.0.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -323,7 +323,7 @@
}
]
},
"pluginVersion": "v10.4.0",
"pluginVersion": "v11.0.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -384,7 +384,7 @@
}
]
},
"pluginVersion": "v10.4.0",
"pluginVersion": "v11.0.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -466,7 +466,7 @@
}
]
},
"pluginVersion": "v10.4.0",
"pluginVersion": "v11.0.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -548,7 +548,7 @@
"sort": "desc"
}
},
"pluginVersion": "v10.4.0",
"pluginVersion": "v11.0.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -614,7 +614,7 @@
}
]
},
"pluginVersion": "v10.4.0",
"pluginVersion": "v11.0.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -764,7 +764,7 @@
"sort": "desc"
}
},
"pluginVersion": "v10.4.0",
"pluginVersion": "v11.0.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -910,7 +910,7 @@
"sort": "desc"
}
},
"pluginVersion": "v10.4.0",
"pluginVersion": "v11.0.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -941,7 +941,7 @@
"type": "timeseries"
}
],
"schemaVersion": 36,
"schemaVersion": 39,
"tags": [
"celery",
"celery-mixin"
Expand Down
9 changes: 0 additions & 9 deletions celery-mixin/jsonnetfile.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
{
"version": 1,
"dependencies": [
{
"source": {
"git": {
"remote": "https://github.com/grafana/grafonnet-lib.git",
"subdir": "grafonnet"
}
},
"version": "master"
},
{
"source": {
"git": {
Expand Down

0 comments on commit b1450bf

Please sign in to comment.