You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/gcp/data_stream/redis/fields/fields.yml
+70-26Lines changed: 70 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -2,96 +2,140 @@
2
2
description: Google Cloud Redis metrics
3
3
type: group
4
4
fields:
5
-
- name: clients.blocked
5
+
- name: clients.blocked.count
6
6
type: long
7
+
metric_type: gauge
7
8
description: Number of blocked clients.
8
-
- name: clients.connected
9
+
- name: clients.connected.count
9
10
type: long
11
+
metric_type: gauge
10
12
description: Number of client connections.
11
-
- name: commands.calls
13
+
- name: commands.calls.count
12
14
type: long
15
+
metric_type: counter
13
16
description: Total number of calls for this command in one minute.
14
-
- name: commands.total_time
17
+
- name: commands.total_time.us
15
18
type: long
19
+
unit: micros
20
+
metric_type: counter
16
21
description: The amount of time in microseconds that this command took in the last second.
17
-
- name: commands.usec_per_call
22
+
- name: commands.usec_per_call.sec
18
23
type: double
24
+
unit: s
25
+
metric_type: gauge
19
26
description: Average time per call over 1 minute by command.
20
-
- name: keyspace.avg_ttl
27
+
- name: keyspace.avg_ttl.sec
21
28
type: double
29
+
unit: s
30
+
metric_type: gauge
22
31
description: Average TTL for keys in this database.
23
-
- name: keyspace.keys
32
+
- name: keyspace.keys.count
24
33
type: long
34
+
metric_type: gauge
25
35
description: Number of keys stored in this database.
26
-
- name: keyspace.keys_with_expiration
36
+
- name: keyspace.keys_with_expiration.count
27
37
type: long
38
+
metric_type: gauge
28
39
description: Number of keys with an expiration in this database.
29
40
- name: persistence.rdb.bgsave_in_progress
30
41
type: boolean
42
+
metric_type: gauge
31
43
description: Flag indicating a RDB save is on-going.
32
-
- name: replication.master.slaves.lag
44
+
- name: replication.master.slaves.lag.sec
33
45
type: long
46
+
unit: s
47
+
metric_type: gauge
34
48
description: The number of seconds that replica is lagging behind primary.
35
-
- name: replication.master.slaves.offset
49
+
- name: replication.master.slaves.offset.bytes
36
50
type: long
51
+
unit: byte
52
+
metric_type: gauge
37
53
description: The number of bytes that have been acknowledged by replicas.
38
-
- name: replication.master_repl_offset
54
+
- name: replication.master_repl_offset.bytes
39
55
type: long
56
+
unit: byte
57
+
metric_type: gauge
40
58
description: The number of bytes that master has produced and sent to replicas.
41
-
- name: replication.offset_diff
59
+
- name: replication.offset_diff.bytes
42
60
type: long
61
+
unit: byte
62
+
metric_type: gauge
43
63
description: The largest number of bytes that have not been replicated across all replicas. This is the biggest difference between replication byte offset (master) and replication byte offset (replica) of all replicas.
44
64
- name: replication.role
45
65
type: long
66
+
metric_type: gauge
46
67
description: Returns a value indicating the node role. 1 indicates primary and 0 indicates replica.
47
-
- name: server.uptime
68
+
- name: server.uptime.sec
48
69
type: long
70
+
unit: s
71
+
metric_type: gauge
49
72
description: Uptime in seconds.
50
73
- name: stats.cache_hit_ratio
51
74
type: double
75
+
metric_type: gauge
52
76
description: Cache Hit ratio as a fraction.
53
-
- name: stats.connections.total
77
+
- name: stats.connections.total.count
54
78
type: long
79
+
metric_type: counter
55
80
description: Total number of connections accepted by the server.
56
-
- name: stats.cpu_utilization
81
+
- name: stats.cpu_utilization.sec
57
82
type: double
83
+
unit: s
84
+
metric_type: gauge
58
85
description: CPU-seconds consumed by the Redis server, broken down by system/user space and parent/child relationship.
59
-
- name: stats.evicted_keys
86
+
- name: stats.evicted_keys.count
60
87
type: long
88
+
metric_type: counter
61
89
description: Number of evicted keys due to maxmemory limit.
62
-
- name: stats.expired_keys
90
+
- name: stats.expired_keys.count
63
91
type: long
92
+
metric_type: counter
64
93
description: Total number of key expiration events.
65
-
- name: stats.keyspace_hits
94
+
- name: stats.keyspace_hits.count
66
95
type: long
96
+
metric_type: counter
67
97
description: Number of successful lookup of keys in the main dictionary.
68
-
- name: stats.keyspace_misses
98
+
- name: stats.keyspace_misses.count
69
99
type: long
100
+
metric_type: counter
70
101
description: Number of failed lookup of keys in the main dictionary.
71
-
- name: stats.memory.maxmemory
102
+
- name: stats.memory.maxmemory.mb
72
103
type: long
104
+
unit: m
105
+
metric_type: gauge
73
106
description: Maximum amount of memory Redis can consume.
0 commit comments