Skip to content

Commit

Permalink
fix api-security-dashboard (#568)
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentinBisson authored Jun 5, 2024
1 parent ebd6c12 commit c73837f
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 6 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

- Add missing datasource to api-security dashboard.
- Add missing datasource to api-performance dashboard and fix tags.
- Add missing datasource to `api-performance` dashboard and fix tags.
- Add missing datasource to `certificate` dashboard and fix tags.
- Lint the capi and capa aggregated-error-logs dashboards to have proper datasource variables.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"type": "stat"
},
{
"datasource": "default",
"datasource": "$datasource",
"description": "Successful api responses in the last 5 minutes.",
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -276,7 +276,7 @@
"type": "stat"
},
{
"datasource": "default",
"datasource": "$datasource",
"description": "Error api responses in the last 5 minutes.",
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -455,7 +455,7 @@
"type": "stat"
},
{
"datasource": "default",
"datasource": "$datasource",
"description": "Successful cluster-service responses in the last 5 minutes.",
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -580,7 +580,7 @@
"type": "timeseries"
},
{
"datasource": "default",
"datasource": "$datasource",
"description": "Error cluster-service responses in the last 5 minutes.",
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -699,7 +699,7 @@
"type": "timeseries"
},
{
"datasource": "default",
"datasource": "$datasource",
"description": "Error endpoint responses in the last 5 minutes.",
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -824,7 +824,22 @@
"topic:management-cluster"
],
"templating": {
"list": []
"list": [
{
"current": {
"text": "default",
"value": "default"
},
"hide": 0,
"label": "Data source",
"name": "datasource",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"type": "datasource"
}
]
},
"time": {
"from": "now-30m",
Expand Down

0 comments on commit c73837f

Please sign in to comment.