mirror of https://git.rancher.io/charts
38 lines
952 B
YAML
38 lines
952 B
YAML
|
{{- if (include "kiali-server.isDashboardEnabled" .) }}
|
||
|
---
|
||
|
apiVersion: "monitoring.kiali.io/v1alpha1"
|
||
|
kind: MonitoringDashboard
|
||
|
metadata:
|
||
|
name: microprofile-x.y
|
||
|
labels:
|
||
|
{{- include "kiali-server.labels" . | nindent 4 }}
|
||
|
spec:
|
||
|
title: MicroProfile Metrics
|
||
|
runtime: MicroProfile
|
||
|
discoverOn: "base:gc_complete_scavenger_count"
|
||
|
items:
|
||
|
- chart:
|
||
|
name: "Young GC time"
|
||
|
unit: "seconds"
|
||
|
spans: 3
|
||
|
metricName: "base:gc_young_generation_scavenger_time_seconds"
|
||
|
dataType: "raw"
|
||
|
- chart:
|
||
|
name: "Young GC count"
|
||
|
spans: 3
|
||
|
metricName: "base:gc_young_generation_scavenger_count"
|
||
|
dataType: "raw"
|
||
|
- chart:
|
||
|
name: "Total GC time"
|
||
|
unit: "seconds"
|
||
|
spans: 3
|
||
|
metricName: "base:gc_complete_scavenger_time_seconds"
|
||
|
dataType: "raw"
|
||
|
- chart:
|
||
|
name: "Total GC count"
|
||
|
spans: 3
|
||
|
metricName: "base:gc_complete_scavenger_count"
|
||
|
dataType: "raw"
|
||
|
...
|
||
|
{{- end }}
|