Welcome to mirror list, hosted at ThFree Co, Russian Federation.

pod_metrics.yml « prometheus « config - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 29575ec543e631b521033a912fb7784572f563e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
dashboard: 'Pod metrics'
priority: 10
panel_groups:
- group: CPU metrics
  panels:
  - title: "CPU usage"
    type: "line-chart"
    y_label: "Cores per pod"
    metrics:
    - id: pod_cpu_usage_seconds_total
      query_range: 'rate(container_cpu_usage_seconds_total{pod_name="{{pod_name}}",container_name="POD"}[5m])'
      unit: "cores"
      label: pod_name
- group: Memory metrics
  panels:
  - title: "Memory usage working set"
    type: "line-chart"
    y_label: "Working set memory (MiB)"
    metrics:
    - id: pod_memory_working_set
      query_range: 'container_memory_working_set_bytes{pod_name="{{pod_name}}",container_name="POD"}/1024/1024'
      unit: "MiB"
      label: pod_name
- group: Network metrics
  panels:
  - title: "Network Receive (In)"
    type: "line-chart"
    y_label: "Received (KiB/sec)"
    metrics:
    - id: pod_network_receive
      query_range: 'rate(container_network_receive_bytes_total{pod_name="{{pod_name}}",container_name="POD"}[5m])/1024'
      unit: "KiB / sec"
      label: pod_name
  - title: "Network Transmit (Out)"
    type: "line-chart"
    y_label: "Transmitted (KiB/sec)"
    metrics:
    - id: pod_network_transmit
      query_range: 'rate(container_network_transmit_bytes_total{pod_name="{{pod_name}}",container_name="POD"}[5m])/1024'
      unit: "KiB / sec"
      label: pod_name
- group: Disk metrics
  panels:
  - title: "Disk Reads"
    type: "line-chart"
    y_label: "Disk reads (KiB/sec)"
    metrics:
    - id: pod_disk_reads
      query_range: 'rate(container_fs_reads_bytes_total{container_name="POD",pod_name="{{pod_name}}"}[5m])/1024'
      unit: "KiB / sec"
      label: pod_name
  - title: "Disk Writes"
    type: "line-chart"
    y_label: "Disk writes (KiB/sec)"
    metrics:
    - id: pod_disk_writes
      query_range: 'rate(container_fs_writes_bytes_total{container_name="POD",pod_name="{{pod_name}}"}[5m])/1024'
      unit: "KiB / sec"
      label: pod_name