-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Monitoring configuration for production (#3375)
In this PR we add a configuration of monitoring for the production environment. The configuration is based on a couple of PRs deployed and tested on the keep-test environment: #3353 #3357 #3373 The following resources are exposed: Public Dashboard: https://public.monitoring.threshold.network Grafana: https://monitoring.threshold.network/grafana Prometheus: https://monitoring.threshold.network/prometheus
- Loading branch information
Showing
21 changed files
with
2,028 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
:icons: font | ||
|
||
ifdef::env-github[] | ||
:tip-caption: :bulb: | ||
:note-caption: :information_source: | ||
:important-caption: :heavy_exclamation_mark: | ||
:caution-caption: :fire: | ||
:warning-caption: :warning: | ||
endif::[] | ||
|
||
# Monitoring | ||
|
||
The monitoring stack has the following components: | ||
|
||
1. Prometheus | ||
2. Trickster | ||
3. Grafana | ||
The production monitoring is based on the configuration described in the link:../../keep-test/monitoring/README.adoc[keep-test monitoring documentation]. | ||
|
||
Resources are exposed publicly under the following URLs: | ||
|
||
[cols="^1s,2m"] | ||
|=== | ||
^h|Service | ||
^h|Address | ||
|
||
|Public Dashboard | ||
|link:https://public.monitoring.threshold.network[] | ||
|
||
|Grafana | ||
|link:https://monitoring.threshold.network/grafana[] | ||
|
||
|Prometheus | ||
|link:https://monitoring.threshold.network/prometheus[] | ||
|
||
|=== |
10 changes: 10 additions & 0 deletions
10
infrastructure/kube/keep-prd/monitoring/grafana/config/dashboards.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
apiVersion: 1 | ||
providers: | ||
- name: dashboards-provider | ||
type: file | ||
disableDeletion: true | ||
updateIntervalSeconds: 10 | ||
allowUiUpdates: true | ||
options: | ||
path: "/var/lib/grafana/dashboards" | ||
foldersFromFilesStructure: true |
10 changes: 10 additions & 0 deletions
10
infrastructure/kube/keep-prd/monitoring/grafana/config/datasources.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
apiVersion: 1 | ||
datasources: | ||
- name: Trickster | ||
type: prometheus | ||
access: proxy | ||
editable: true | ||
orgId: 1 | ||
url: http://trickster:8480/prometheus | ||
version: 1 | ||
isDefault: true |
9 changes: 9 additions & 0 deletions
9
infrastructure/kube/keep-prd/monitoring/grafana/config/grafana.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[auth.google] | ||
enabled = true | ||
scopes = https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email | ||
auth_url = https://accounts.google.com/o/oauth2/auth | ||
token_url = https://accounts.google.com/o/oauth2/token | ||
allow_sign_up = true | ||
|
||
[feature_toggles] | ||
publicDashboards = true |
Oops, something went wrong.