Skip to content

Commit

Permalink
Merge pull request #203 from akash4sh/main
Browse files Browse the repository at this point in the history
fix: alertmanager,application-overview and proact dashboards
  • Loading branch information
akash4sh authored Mar 21, 2024
2 parents 6cf2ac4 + 2baecbc commit ac63f00
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 42 deletions.
2 changes: 1 addition & 1 deletion charts/monitoring/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ dependencies:
description: A Helm chart for Monitoring
name: monitoring
type: application
version: 0.1.17
version: 0.1.18
46 changes: 23 additions & 23 deletions charts/monitoring/templates/alertmanager-dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
labels:
grafana_dashboard: "1"
data:
cluster.json: |-
alert.json: |-
{
"annotations": {
"list": [
Expand Down Expand Up @@ -232,8 +232,8 @@ data:
},
{
"datasource": {
"type": "camptocamp-prometheus-alertmanager-datasource",
"uid": "camptocamp-prometheus-alertmanager-datasource"
"type": "Prometheus AlertManager Datasource",
"uid": "Prometheus AlertManager Datasource"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -363,8 +363,8 @@ data:
"targets": [
{
"datasource": {
"type": "camptocamp-prometheus-alertmanager-datasource",
"uid": "camptocamp-prometheus-alertmanager-datasource"
"type": "Prometheus AlertManager Datasource",
"uid": "Prometheus AlertManager Datasource"
},
"filters": "cluster_name=\"$cluster_name\"",
"refId": "A"
Expand All @@ -383,8 +383,8 @@ data:
},
{
"datasource": {
"type": "camptocamp-prometheus-alertmanager-datasource",
"uid": "camptocamp-prometheus-alertmanager-datasource"
"type": "Prometheus AlertManager Datasource",
"uid": "Prometheus AlertManager Datasource"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -433,8 +433,8 @@ data:
"targets": [
{
"datasource": {
"type": "camptocamp-prometheus-alertmanager-datasource",
"uid": "camptocamp-prometheus-alertmanager-datasource"
"type": "Prometheus AlertManager Datasource",
"uid": "Prometheus AlertManager Datasource"
},
"filters": "severity=\"warning\", cluster_name=\"$cluster_name\"",
"refId": "A"
Expand Down Expand Up @@ -528,8 +528,8 @@ data:
},
{
"datasource": {
"type": "camptocamp-prometheus-alertmanager-datasource",
"uid": "camptocamp-prometheus-alertmanager-datasource"
"type": "Prometheus AlertManager Datasource",
"uid": "Prometheus AlertManager Datasource"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -607,8 +607,8 @@ data:
"targets": [
{
"datasource": {
"type": "camptocamp-prometheus-alertmanager-datasource",
"uid": "camptocamp-prometheus-alertmanager-datasource"
"type": "Prometheus AlertManager Datasource",
"uid": "Prometheus AlertManager Datasource"
},
"filters": "severity=\"warning\", cluster_name=\"$cluster_name\"",
"refId": "A"
Expand Down Expand Up @@ -662,8 +662,8 @@ data:
},
{
"datasource": {
"type": "camptocamp-prometheus-alertmanager-datasource",
"uid": "camptocamp-prometheus-alertmanager-datasource"
"type": "Prometheus AlertManager Datasource",
"uid": "Prometheus AlertManager Datasource"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -712,8 +712,8 @@ data:
"targets": [
{
"datasource": {
"type": "camptocamp-prometheus-alertmanager-datasource",
"uid": "camptocamp-prometheus-alertmanager-datasource"
"type": "Prometheus AlertManager Datasource",
"uid": "Prometheus AlertManager Datasource"
},
"filters": "severity=\"critical\", cluster_name=\"$cluster_name\"",
"refId": "A"
Expand Down Expand Up @@ -806,8 +806,8 @@ data:
},
{
"datasource": {
"type": "camptocamp-prometheus-alertmanager-datasource",
"uid": "camptocamp-prometheus-alertmanager-datasource"
"type": "Prometheus AlertManager Datasource",
"uid": "Prometheus AlertManager Datasource"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -885,8 +885,8 @@ data:
"targets": [
{
"datasource": {
"type": "camptocamp-prometheus-alertmanager-datasource",
"uid": "camptocamp-prometheus-alertmanager-datasource"
"type": "Prometheus AlertManager Datasource",
"uid": "Prometheus AlertManager Datasource"
},
"filters": "severity=\"critical\", cluster_name=\"$cluster_name\"",
"refId": "A"
Expand Down Expand Up @@ -963,8 +963,8 @@ data:
"targets": [
{
"datasource": {
"type": "camptocamp-prometheus-alertmanager-datasource",
"uid": "camptocamp-prometheus-alertmanager-datasource"
"type": "Prometheus AlertManager Datasource",
"uid": "Prometheus AlertManager Datasource"
},
"editorMode": "builder",
"expr": "{cluster_name=\"$cluster_name\", namespace=\"observability\", pod=\"alertmanager-prometheus-kube-prometheus-alertmanager-0\"} |= `$filter`",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
labels:
grafana_dashboard: "1"
data:
cluster.json: |-
application.json: |-
{
"annotations": {
"list": [
Expand Down
30 changes: 15 additions & 15 deletions charts/monitoring/templates/proact-dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ data:
{
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "marcusolsson-json-datasource"
"uid": "JSON-API"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -127,7 +127,7 @@ data:
"cacheDurationSeconds": 300,
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "marcusolsson-json-datasource"
"uid": "JSON-API"
},
"fields": [
{
Expand Down Expand Up @@ -156,7 +156,7 @@ data:
{
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "marcusolsson-json-datasource"
"uid": "JSON-API"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -205,7 +205,7 @@ data:
"cacheDurationSeconds": 300,
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "marcusolsson-json-datasource"
"uid": "JSON-API"
},
"fields": [
{
Expand All @@ -226,7 +226,7 @@ data:
{
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "marcusolsson-json-datasource"
"uid": "JSON-API"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -381,7 +381,7 @@ data:
"cacheDurationSeconds": 300,
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "marcusolsson-json-datasource"
"uid": "JSON-API"
},
"fields": [
{
Expand Down Expand Up @@ -436,7 +436,7 @@ data:
{
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "marcusolsson-json-datasource"
"uid": "JSON-API"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -515,7 +515,7 @@ data:
"cacheDurationSeconds": 300,
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "marcusolsson-json-datasource"
"uid": "JSON-API"
},
"fields": [
{
Expand Down Expand Up @@ -569,7 +569,7 @@ data:
{
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "marcusolsson-json-datasource"
"uid": "JSON-API"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -664,7 +664,7 @@ data:
"cacheDurationSeconds": 300,
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "marcusolsson-json-datasource"
"uid": "JSON-API"
},
"fields": [
{
Expand Down Expand Up @@ -707,7 +707,7 @@ data:
{
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "marcusolsson-json-datasource"
"uid": "JSON-API"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -764,7 +764,7 @@ data:
"cacheDurationSeconds": 300,
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "marcusolsson-json-datasource"
"uid": "JSON-API"
},
"fields": [
{
Expand All @@ -784,7 +784,7 @@ data:
{
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "marcusolsson-json-datasource"
"uid": "JSON-API"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -841,7 +841,7 @@ data:
"cacheDurationSeconds": 300,
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "marcusolsson-json-datasource"
"uid": "JSON-API"
},
"fields": [
{
Expand Down Expand Up @@ -873,7 +873,7 @@ data:
},
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "marcusolsson-json-datasource"
"uid": "JSON-API"
},
"definition": "$.[*].schedule_id",
"hide": 2,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ data:
apiVersion: 1
datasources:
- name: Prometheus AlertManager Datasource
type: Prometheus AlertManager Datasource
type: camptocamp-prometheus-alertmanager-datasource
access: proxy
url: {{ .Values.datasources.prometheusAlertmanager.url }}
2 changes: 1 addition & 1 deletion charts/monitoring/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ datasources:
prometheusAlertmanager:
url: http://prometheus-kube-prometheus-alertmanager:9093
jsonApi:
url: http://proact-scheduler
url: http://proact-scheduler.capten.svc.cluster.local:5000/api/v1/schedule/
nodeSelector: {}

tolerations: []
Expand Down

0 comments on commit ac63f00

Please sign in to comment.