diff --git a/coder-observability/templates/dashboards/_dashboards_boundary.json.tpl b/coder-observability/templates/dashboards/_dashboards_boundary.json.tpl index 5198bb0..8e053f4 100644 --- a/coder-observability/templates/dashboards/_dashboards_boundary.json.tpl +++ b/coder-observability/templates/dashboards/_dashboards_boundary.json.tpl @@ -519,12 +519,6 @@ ], "title": "Most recent allowed requests", "transformations": [ - { - "id": "limit", - "options": { - "limitField": "10" - } - }, { "id": "extractFields", "options": { @@ -569,6 +563,24 @@ "workspace_name": "Workspace Name" } } + }, + { + "id": "sortBy", + "options": { + "fields": {}, + "sort": [ + { + "desc": true, + "field": "Time" + } + ] + } + }, + { + "id": "limit", + "options": { + "limitField": "10" + } } ], "type": "table" @@ -704,12 +716,6 @@ ], "title": "Most recent denied requests", "transformations": [ - { - "id": "limit", - "options": { - "limitField": "10" - } - }, { "id": "extractFields", "options": { @@ -754,6 +760,24 @@ "workspace_name": "Workspace Name" } } + }, + { + "id": "sortBy", + "options": { + "fields": {}, + "sort": [ + { + "desc": true, + "field": "Time" + } + ] + } + }, + { + "id": "limit", + "options": { + "limitField": "10" + } } ], "type": "table" diff --git a/compiled/resources.yaml b/compiled/resources.yaml index d0d4823..7882644 100644 --- a/compiled/resources.yaml +++ b/compiled/resources.yaml @@ -1556,12 +1556,6 @@ data: ], "title": "Most recent allowed requests", "transformations": [ - { - "id": "limit", - "options": { - "limitField": "10" - } - }, { "id": "extractFields", "options": { @@ -1606,6 +1600,24 @@ data: "workspace_name": "Workspace Name" } } + }, + { + "id": "sortBy", + "options": { + "fields": {}, + "sort": [ + { + "desc": true, + "field": "Time" + } + ] + } + }, + { + "id": "limit", + "options": { + "limitField": "10" + } } ], "type": "table" @@ -1741,12 +1753,6 @@ data: ], "title": "Most recent denied requests", "transformations": [ - { - "id": "limit", - "options": { - "limitField": "10" - } - }, { "id": "extractFields", "options": { @@ -1791,6 +1797,24 @@ data: "workspace_name": "Workspace Name" } } + }, + { + "id": "sortBy", + "options": { + "fields": {}, + "sort": [ + { + "desc": true, + "field": "Time" + } + ] + } + }, + { + "id": "limit", + "options": { + "limitField": "10" + } } ], "type": "table"