Skip to content

Commit

Permalink
disable monitoring
Browse files Browse the repository at this point in the history
  • Loading branch information
web3rover committed Sep 29, 2021
1 parent c002c5c commit 129c7d3
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 46 deletions.
2 changes: 1 addition & 1 deletion charts/spacemesh-dash/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: spacemesh-dash
version: 1.0.0
version: 1.0.1
appVersion: v0.0.2
description: Spacemesh Dashboard
home: https://dash.spacemesh.io
Expand Down
40 changes: 20 additions & 20 deletions charts/spacemesh-dash/templates/alertmanager-config.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{{- $name := include "spacemesh-dash.fullname" . -}}
apiVersion: monitoring.coreos.com/v1alpha1
kind: AlertmanagerConfig
metadata:
name: {{ $name }}
labels:
release: kube-prometheus-stack
spec:
route:
groupBy: ['job']
matchers:
- name: job
value: {{ $name }}
receiver: {{ $name }}
receivers:
- name: {{ $name }}
pagerdutyConfigs:
- serviceKey:
name: {{ $name }}-pagerduty
key: token
# {{- $name := include "spacemesh-dash.fullname" . -}}
# apiVersion: monitoring.coreos.com/v1alpha1
# kind: AlertmanagerConfig
# metadata:
# name: {{ $name }}
# labels:
# release: kube-prometheus-stack
# spec:
# route:
# groupBy: ['job']
# matchers:
# - name: job
# value: {{ $name }}
# receiver: {{ $name }}
# receivers:
# - name: {{ $name }}
# pagerdutyConfigs:
# - serviceKey:
# name: {{ $name }}-pagerduty
# key: token
38 changes: 19 additions & 19 deletions charts/spacemesh-dash/templates/probe.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
apiVersion: monitoring.coreos.com/v1
kind: Probe
metadata:
name: {{ include "spacemesh-dash.fullname" . }}
labels:
release: {{ .Values.kubePrometheusStack.release }}
spec:
module: websocket
interval: 120s
scrapeTimeout: 70s
prober:
url: {{ .Values.kubePrometheusStack.blackboxURL }}
jobName: {{ include "spacemesh-dash.fullname" . }}
targets:
staticConfig:
labels:
namespace: default
static:
- https://{{ .Values.ingress.domain }}/ws
# apiVersion: monitoring.coreos.com/v1
# kind: Probe
# metadata:
# name: {{ include "spacemesh-dash.fullname" . }}
# labels:
# release: {{ .Values.kubePrometheusStack.release }}
# spec:
# module: websocket
# interval: 120s
# scrapeTimeout: 70s
# prober:
# url: {{ .Values.kubePrometheusStack.blackboxURL }}
# jobName: {{ include "spacemesh-dash.fullname" . }}
# targets:
# staticConfig:
# labels:
# namespace: default
# static:
# - https://{{ .Values.ingress.domain }}/ws
12 changes: 6 additions & 6 deletions charts/spacemesh-dash/templates/secret.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
kind: Secret
metadata:
name: {{ include "spacemesh-dash.fullname" . }}-pagerduty
data:
token: {{ .Values.pagerdutyToken | b64enc }}
# apiVersion: v1
# kind: Secret
# metadata:
# name: {{ include "spacemesh-dash.fullname" . }}-pagerduty
# data:
# token: {{ .Values.pagerdutyToken | b64enc }}

0 comments on commit 129c7d3

Please sign in to comment.