Skip to content

Commit

Permalink
Monitoring configuration for production (#3375)
Browse files Browse the repository at this point in the history
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
pdyraga authored Oct 25, 2022
2 parents 41a813d + 6aa2f28 commit ca081dc
Show file tree
Hide file tree
Showing 21 changed files with 2,028 additions and 0 deletions.
37 changes: 37 additions & 0 deletions infrastructure/kube/keep-prd/monitoring/README.adoc
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[]

|===
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
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
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
Loading

0 comments on commit ca081dc

Please sign in to comment.