rancher-charts/charts/rancher-kiali-server/1.23.001/templates/dashboards/go.yaml

67 lines
1.5 KiB
YAML
Raw Normal View History

2020-09-30 23:34:22 +00:00
{{- if (include "kiali-server.isDashboardEnabled" .) }}
---
apiVersion: "monitoring.kiali.io/v1alpha1"
kind: MonitoringDashboard
metadata:
name: go
labels:
{{- include "kiali-server.labels" . | nindent 4 }}
spec:
title: Go Metrics
runtime: Go
discoverOn: "go_info"
items:
- chart:
name: "CPU ratio"
spans: 6
metricName: "process_cpu_seconds_total"
dataType: "rate"
aggregations:
- label: "pod_name"
displayName: "Pod"
- chart:
name: "RSS Memory"
unit: "bytes"
spans: 6
metricName: "process_resident_memory_bytes"
dataType: "raw"
aggregations:
- label: "pod_name"
displayName: "Pod"
- chart:
name: "Goroutines"
spans: 6
metricName: "go_goroutines"
dataType: "raw"
aggregations:
- label: "pod_name"
displayName: "Pod"
- chart:
name: "Heap allocation rate"
unit: "bytes/s"
spans: 6
metricName: "go_memstats_alloc_bytes_total"
dataType: "rate"
aggregations:
- label: "pod_name"
displayName: "Pod"
- chart:
name: "GC rate"
spans: 6
metricName: "go_gc_duration_seconds_count"
dataType: "rate"
aggregations:
- label: "pod_name"
displayName: "Pod"
- chart:
name: "Next GC"
unit: "bytes"
spans: 6
metricName: "go_memstats_next_gc_bytes"
dataType: "raw"
aggregations:
- label: "pod_name"
displayName: "Pod"
...
{{- end }}