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
Unify tracking of metrics and events in CloudHandler
Instead of having a per source for metrics queue and a per source for
events queue, this unifies it in to a single per host for anything queue.
This simplifies the logic, and removes what appears to be a logic bug:
#341 (comment)
Copy file name to clipboardExpand all lines: METRICS.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,8 +53,7 @@ Metrics:
53
53
| cloudprovider.cache_refresh_negative | gauge (cumulative) | | The cumulative number of refreshes which had an error refreshing and used old data
54
54
| cloudprovider.cache_hit | gauge (cumulative) | | The cumulative number of cache hits (host was in the cache)
55
55
| cloudprovider.cache_miss | gauge (cumulative) | | The cumulative number of cache misses
56
-
| cloudprovider.hosts_queued | gauge (flush) | type | The absolute number of hosts waiting to be looked up
57
-
| cloudprovider.items_queued | gauge (flush) | type | The absolute number of metrics or events waiting for a host lookup to complete
56
+
| cloudprovider.hosts_queued | gauge (flush) | | The absolute number of hosts waiting to be looked up
58
57
| http.forwarder.invalid | counter | | The number of failures to prepare a batch of metrics to forward
59
58
| http.forwarder.created | counter | | The number of batches prepared for forwarding
60
59
| http.forwarder.sent | counter | | The number of batches successfully forwarded
@@ -70,7 +69,6 @@ Metrics:
70
69
| version | The git tag of the build
71
70
| commit | The short git commit of the build
72
71
| backend | The backend sending a particular metric
73
-
| type | Either metric or event for cloudprovider.hosts_queued, or event for cloudprovider.items_queued
74
72
| result | Success to indicate a batch of metrics was successfully processed, failure to indicate a batch of metrics was not processed, with additional failure tag for why)
75
73
| failure | The reason a batch of metrics was not processed
76
74
| server-name | The name of an http-server as specified in the config file
0 commit comments