@@ -51,34 +51,34 @@ var (
51
51
)
52
52
metricCloudConnectionEstablishedTimestamp = promauto .NewGauge (
53
53
prometheus.GaugeOpts {
54
- Name : "jetkvm_cloud_connection_established_timestamp " ,
54
+ Name : "jetkvm_cloud_connection_established_timestamp_seconds " ,
55
55
Help : "The timestamp when the cloud connection was established" ,
56
56
},
57
57
)
58
58
metricConnectionLastPingTimestamp = promauto .NewGaugeVec (
59
59
prometheus.GaugeOpts {
60
- Name : "jetkvm_connection_last_ping_timestamp " ,
60
+ Name : "jetkvm_connection_last_ping_timestamp_seconds " ,
61
61
Help : "The timestamp when the last ping response was received" ,
62
62
},
63
63
[]string {"type" , "source" },
64
64
)
65
65
metricConnectionLastPingReceivedTimestamp = promauto .NewGaugeVec (
66
66
prometheus.GaugeOpts {
67
- Name : "jetkvm_connection_last_ping_received_timestamp " ,
67
+ Name : "jetkvm_connection_last_ping_received_timestamp_seconds " ,
68
68
Help : "The timestamp when the last ping request was received" ,
69
69
},
70
70
[]string {"type" , "source" },
71
71
)
72
72
metricConnectionLastPingDuration = promauto .NewGaugeVec (
73
73
prometheus.GaugeOpts {
74
- Name : "jetkvm_connection_last_ping_duration " ,
74
+ Name : "jetkvm_connection_last_ping_duration_seconds " ,
75
75
Help : "The duration of the last ping response" ,
76
76
},
77
77
[]string {"type" , "source" },
78
78
)
79
79
metricConnectionPingDuration = promauto .NewHistogramVec (
80
80
prometheus.HistogramOpts {
81
- Name : "jetkvm_connection_ping_duration " ,
81
+ Name : "jetkvm_connection_ping_duration_seconds " ,
82
82
Help : "The duration of the ping response" ,
83
83
Buckets : []float64 {
84
84
0.1 , 0.5 , 1 , 10 ,
@@ -88,28 +88,28 @@ var (
88
88
)
89
89
metricConnectionTotalPingSentCount = promauto .NewCounterVec (
90
90
prometheus.CounterOpts {
91
- Name : "jetkvm_connection_total_ping_sent " ,
91
+ Name : "jetkvm_connection_ping_sent_total " ,
92
92
Help : "The total number of pings sent to the connection" ,
93
93
},
94
94
[]string {"type" , "source" },
95
95
)
96
96
metricConnectionTotalPingReceivedCount = promauto .NewCounterVec (
97
97
prometheus.CounterOpts {
98
- Name : "jetkvm_connection_total_ping_received " ,
98
+ Name : "jetkvm_connection_ping_received_total " ,
99
99
Help : "The total number of pings received from the connection" ,
100
100
},
101
101
[]string {"type" , "source" },
102
102
)
103
103
metricConnectionSessionRequestCount = promauto .NewCounterVec (
104
104
prometheus.CounterOpts {
105
- Name : "jetkvm_connection_session_total_requests " ,
105
+ Name : "jetkvm_connection_session_requests_total " ,
106
106
Help : "The total number of session requests received" ,
107
107
},
108
108
[]string {"type" , "source" },
109
109
)
110
110
metricConnectionSessionRequestDuration = promauto .NewHistogramVec (
111
111
prometheus.HistogramOpts {
112
- Name : "jetkvm_connection_session_request_duration " ,
112
+ Name : "jetkvm_connection_session_request_duration_seconds " ,
113
113
Help : "The duration of session requests" ,
114
114
Buckets : []float64 {
115
115
0.1 , 0.5 , 1 , 10 ,
@@ -119,7 +119,7 @@ var (
119
119
)
120
120
metricConnectionLastSessionRequestTimestamp = promauto .NewGaugeVec (
121
121
prometheus.GaugeOpts {
122
- Name : "jetkvm_connection_last_session_request_timestamp " ,
122
+ Name : "jetkvm_connection_last_session_request_timestamp_seconds " ,
123
123
Help : "The timestamp of the last session request" ,
124
124
},
125
125
[]string {"type" , "source" },
@@ -133,7 +133,7 @@ var (
133
133
)
134
134
metricCloudConnectionFailureCount = promauto .NewCounter (
135
135
prometheus.CounterOpts {
136
- Name : "jetkvm_cloud_connection_failure_count " ,
136
+ Name : "jetkvm_cloud_connection_failure_total " ,
137
137
Help : "The number of times the cloud connection has failed" ,
138
138
},
139
139
)
0 commit comments