Skip to content

Commit

Permalink
minor fix (#18049)
Browse files Browse the repository at this point in the history
  • Loading branch information
steveny91 committed Jul 16, 2024
1 parent c7a9e29 commit 7164c90
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions vault/assets/dashboards/vault_overview.json
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,11 @@
"count": 50,
"display_format": "countsAndList",
"hide_zero_counts": true,
"last_triggered_format": "relative",
"query": "integration:vault",
"show_last_triggered": false,
"show_priority": false,
"show_status": true,
"sort": "status,asc",
"start": 0,
"summary_type": "monitors",
Expand Down Expand Up @@ -264,7 +266,7 @@
{
"data_source": "metrics",
"name": "query5",
"query": "sum:vault.vault.core.handle.login_request.count{$vault_cluster,$api_url} by {vault_cluster,api_url}.as_count()"
"query": "sum:vault.vault.core.handle.login_request.count{$vault_cluster,$api_url} by {vault_cluster,api_url}.as_count().rollup(sum)"
}
],
"response_format": "timeseries",
Expand All @@ -279,15 +281,15 @@
"formulas": [
{
"alias": "Week Before",
"formula": "week_before(query0)"
"formula": "2 * week_before(query0)"
}
],
"on_right_yaxis": false,
"queries": [
{
"data_source": "metrics",
"name": "query0",
"query": "sum:vault.vault.core.handle.login_request.count{$vault_cluster,$api_url} by {vault_cluster,api_url}.as_count()"
"query": "sum:vault.vault.core.handle.login_request.count{$vault_cluster,$api_url}.as_count().fill(null).rollup(sum)"
}
],
"response_format": "timeseries",
Expand Down Expand Up @@ -344,7 +346,7 @@
{
"data_source": "metrics",
"name": "query4",
"query": "sum:vault.vault.core.handle.request.count{$vault_cluster,$api_url} by {vault_cluster,api_url}.as_count()"
"query": "sum:vault.vault.core.handle.request.count{$vault_cluster,$api_url} by {vault_cluster,api_url}.as_count().rollup(sum)"
}
],
"response_format": "timeseries",
Expand All @@ -359,15 +361,15 @@
"formulas": [
{
"alias": "Week Before",
"formula": "week_before(query0)"
"formula": "2 * week_before(query0)"
}
],
"on_right_yaxis": false,
"queries": [
{
"data_source": "metrics",
"name": "query0",
"query": "sum:vault.vault.core.handle.request.count{$vault_cluster,$api_url} by {vault_cluster,api_url}.as_count()"
"query": "sum:vault.vault.core.handle.request.count{$vault_cluster,$api_url}.as_count().fill(null).rollup(sum)"
}
],
"response_format": "timeseries",
Expand Down Expand Up @@ -1115,6 +1117,7 @@
"has_padding": true,
"show_tick": false,
"text_align": "left",
"tick_edge": "bottom",
"tick_pos": "50%",
"type": "note",
"vertical_align": "center"
Expand Down Expand Up @@ -2796,4 +2799,4 @@
}
}
]
}
}

0 comments on commit 7164c90

Please sign in to comment.