@@ -27,7 +27,7 @@ namespace container
27
27
* <p>
28
28
* counter
29
29
*/
30
- static constexpr const char *kMetricContainerCpuTime = " metric. container.cpu.time" ;
30
+ static constexpr const char *kMetricContainerCpuTime = " container.cpu.time" ;
31
31
static constexpr const char *descrMetricContainerCpuTime = " Total CPU time consumed" ;
32
32
static constexpr const char *unitMetricContainerCpuTime = " s" ;
33
33
@@ -66,7 +66,7 @@ CreateAsyncDoubleMetricContainerCpuTime(metrics::Meter *meter)
66
66
* <p>
67
67
* gauge
68
68
*/
69
- static constexpr const char *kMetricContainerCpuUsage = " metric. container.cpu.usage" ;
69
+ static constexpr const char *kMetricContainerCpuUsage = " container.cpu.usage" ;
70
70
static constexpr const char *descrMetricContainerCpuUsage =
71
71
" Container's CPU usage, measured in cpus. Range from 0 to the number of allocatable CPUs" ;
72
72
static constexpr const char *unitMetricContainerCpuUsage = " {cpu}" ;
@@ -109,7 +109,7 @@ CreateAsyncDoubleMetricContainerCpuUsage(metrics::Meter *meter)
109
109
* <p>
110
110
* counter
111
111
*/
112
- static constexpr const char *kMetricContainerDiskIo = " metric. container.disk.io" ;
112
+ static constexpr const char *kMetricContainerDiskIo = " container.disk.io" ;
113
113
static constexpr const char *descrMetricContainerDiskIo = " Disk bytes for the container." ;
114
114
static constexpr const char *unitMetricContainerDiskIo = " By" ;
115
115
@@ -148,7 +148,7 @@ CreateAsyncDoubleMetricContainerDiskIo(metrics::Meter *meter)
148
148
* <p>
149
149
* counter
150
150
*/
151
- static constexpr const char *kMetricContainerMemoryUsage = " metric. container.memory.usage" ;
151
+ static constexpr const char *kMetricContainerMemoryUsage = " container.memory.usage" ;
152
152
static constexpr const char *descrMetricContainerMemoryUsage = " Memory usage of the container." ;
153
153
static constexpr const char *unitMetricContainerMemoryUsage = " By" ;
154
154
@@ -187,7 +187,7 @@ CreateAsyncDoubleMetricContainerMemoryUsage(metrics::Meter *meter)
187
187
* <p>
188
188
* counter
189
189
*/
190
- static constexpr const char *kMetricContainerNetworkIo = " metric. container.network.io" ;
190
+ static constexpr const char *kMetricContainerNetworkIo = " container.network.io" ;
191
191
static constexpr const char *descrMetricContainerNetworkIo = " Network bytes for the container." ;
192
192
static constexpr const char *unitMetricContainerNetworkIo = " By" ;
193
193
@@ -226,7 +226,7 @@ CreateAsyncDoubleMetricContainerNetworkIo(metrics::Meter *meter)
226
226
* as a floating point number with the highest precision available. The actual accuracy would depend
227
227
* on the instrumentation and operating system. <p> gauge
228
228
*/
229
- static constexpr const char *kMetricContainerUptime = " metric. container.uptime" ;
229
+ static constexpr const char *kMetricContainerUptime = " container.uptime" ;
230
230
static constexpr const char *descrMetricContainerUptime = " The time the container has been running" ;
231
231
static constexpr const char *unitMetricContainerUptime = " s" ;
232
232
0 commit comments