Skip to content

Commit

Permalink
Add custom alerts and dashboards (#1170)
Browse files Browse the repository at this point in the history
- Add custom PrometheusRule alerts for gRPC, Importer and REST
- Add gRPC API dashboard
- Add REST API dashboard
- Add balances and events to the Importer dashboard
- Add namespace filter to Mirror Node dashboards
- Add `hedera.mirror.parse.duration` metric for balances
- Add `hedera.mirror.parse.latency` metric for balances
- Add record/balance file age single stat and graph to importer dashboard
- Change dashboards to use the new dynamic `$__rate_interval` variable instead of our manually specified interval approach
- Change tests to use Redis 5.0.9 to match our VM environments
- Disable kubelet monitoring in GKE since it isn't possible and generates false alerts
- Fix docker-compose not working due to lack of Redis
- Remove non-working Swagger dashboard
- Remove Go as code scanning language as it fails without Go code in master

Signed-off-by: Steven Sheehy <[email protected]>
  • Loading branch information
steven-sheehy authored Oct 23, 2020
1 parent 1c997d4 commit e94cc8f
Show file tree
Hide file tree
Showing 20 changed files with 8,269 additions and 2,025 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ references:
command: [ "/bin/sh", "-c", "gcloud beta emulators pubsub start" ]

docker_redis: &docker_redis
image: redis:6.0.8-alpine
image: redis:5.0.9-alpine

machine_ubuntu: &machine_ubuntu
machine:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/code-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: "Code scan"

on:
push:
branches: [ master, release/**, rosetta ]
branches: [ master, release/** ]
pull_request:
branches: [ master, release/**, rosetta ]
branches: [ master, release/** ]

jobs:
analyze:
Expand All @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'go', 'java', 'javascript' ]
language: [ 'java', 'javascript' ]

steps:
- name: Checkout repository
Expand Down
2 changes: 2 additions & 0 deletions charts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ Installs the Hedera Mirror Node Helm wrapper chart. This chart will install the

Set environment variables that will be used for the remainder of the document:

```shell script
export RELEASE="mirror1"
```

## Install

Expand Down
Loading

0 comments on commit e94cc8f

Please sign in to comment.