rancher-charts/charts/rancher-kiali-server/1.29.000/templates/dashboards/microprofile-1.1.yaml

59 lines
1.4 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: microprofile-1.1
labels:
{{- include "kiali-server.labels" . | nindent 4 }}
spec:
title: MicroProfile Metrics
runtime: MicroProfile
discoverOn: "base:thread_count"
items:
- chart:
name: "Current loaded classes"
spans: 6
metricName: "base:classloader_current_loaded_class_count"
dataType: "raw"
- chart:
name: "Unloaded classes"
spans: 6
metricName: "base:classloader_total_unloaded_class_count"
dataType: "raw"
- chart:
name: "Thread count"
spans: 4
metricName: "base:thread_count"
dataType: "raw"
- chart:
name: "Thread max count"
spans: 4
metricName: "base:thread_max_count"
dataType: "raw"
- chart:
name: "Thread daemon count"
spans: 4
metricName: "base:thread_daemon_count"
dataType: "raw"
- chart:
name: "Committed heap"
unit: "bytes"
spans: 4
metricName: "base:memory_committed_heap_bytes"
dataType: "raw"
- chart:
name: "Max heap"
unit: "bytes"
spans: 4
metricName: "base:memory_max_heap_bytes"
dataType: "raw"
- chart:
name: "Used heap"
unit: "bytes"
spans: 4
metricName: "base:memory_used_heap_bytes"
dataType: "raw"
...
{{- end }}