|
25 | 25 | // TasksCompleted measures the count of workers that returned after being spawned.
|
26 | 26 | TasksCompleted *prometheus.CounterVec
|
27 | 27 |
|
28 |
| - // ServerServiceAssetsRetrieved measures the count of assets retrieved from server service to collect inventory for. |
29 |
| - ServerServiceAssetsRetrieved *prometheus.CounterVec |
| 28 | + // FleetDBAPIAssetsRetrieved measures the count of assets retrieved from server service to collect inventory for. |
| 29 | + FleetDBAPIAssetsRetrieved *prometheus.CounterVec |
30 | 30 |
|
31 | 31 | // AssetsSent measures the count of assets sent over the asset channel to the collector.
|
32 | 32 | AssetsSent *prometheus.CounterVec
|
|
37 | 37 | // TaskQueueSize measures the number of tasks waiting for a getter worker .
|
38 | 38 | TaskQueueSize *prometheus.GaugeVec
|
39 | 39 |
|
40 |
| - // ServerServiceQueryErrorCount counts the number of query errors - when querying the asset store. |
41 |
| - ServerServiceQueryErrorCount *prometheus.CounterVec |
| 40 | + // FleetDBAPIQueryErrorCount counts the number of query errors - when querying the asset store. |
| 41 | + FleetDBAPIQueryErrorCount *prometheus.CounterVec |
42 | 42 |
|
43 | 43 | // OOBCollectScheduleTimestamp includes the timestamp of the next OOB collection scheduled run.
|
44 | 44 | OOBCollectScheduleTimestamp *prometheus.GaugeVec
|
@@ -73,7 +73,7 @@ func init() {
|
73 | 73 | []string{"stage"},
|
74 | 74 | )
|
75 | 75 |
|
76 |
| - ServerServiceAssetsRetrieved = promauto.NewCounterVec( |
| 76 | + FleetDBAPIAssetsRetrieved = promauto.NewCounterVec( |
77 | 77 | prometheus.CounterOpts{
|
78 | 78 | Name: "alloy_assets_retrieved_total",
|
79 | 79 | Help: "A counter metric to measure the total count of assets retrieved from serverService",
|
@@ -106,7 +106,7 @@ func init() {
|
106 | 106 | []string{"stage"},
|
107 | 107 | )
|
108 | 108 |
|
109 |
| - ServerServiceQueryErrorCount = promauto.NewCounterVec( |
| 109 | + FleetDBAPIQueryErrorCount = promauto.NewCounterVec( |
110 | 110 | prometheus.CounterOpts{
|
111 | 111 | Name: "alloy_serverservice_query_errors_total",
|
112 | 112 | Help: "A counter metric to measure the total count of errors when the asset store.",
|
|
0 commit comments