Skip to content

controller: add counter for items dropped from workqueue#12079

Merged
zaharidichev merged 2 commits intomainfrom
zd/add-queue-drop-metrics
Feb 15, 2024
Merged

controller: add counter for items dropped from workqueue#12079
zaharidichev merged 2 commits intomainfrom
zd/add-queue-drop-metrics

Conversation

@zaharidichev
Copy link
Member

This PR adds a metric that measures the number of items that have been discarded from the work queue in the external workloads controller due to the retries limit being exceeded.

Signed-off-by: Zahari Dichev [email protected]

@zaharidichev zaharidichev requested a review from a team as a code owner February 14, 2024 09:53
Copy link
Member

@alpeb alpeb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solid! 👍

UnfinishedWorkKey = "unfinished_work_seconds"
LongestRunningProcessorKey = "longest_running_processor_seconds"
RetriesKey = "retries_total"
DropsTotal = "drops_total"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a very inconsequential suggestion but wdyt of staying consistent with the rest of the naming here?

Suggested change
DropsTotal = "drops_total"
DropsTotalKey = "drops_total"

Signed-off-by: Zahari Dichev <[email protected]>
@zaharidichev zaharidichev merged commit bf7b039 into main Feb 15, 2024
@zaharidichev zaharidichev deleted the zd/add-queue-drop-metrics branch February 15, 2024 14:19
@adleong adleong mentioned this pull request Feb 15, 2024
adleong added a commit that referenced this pull request Feb 16, 2024
* Allowed the `MutatingWebhookConfig` timeout value to be configured ([#12028])
  (thanks @mikebell90)
* Added a counter for items dropped from destination controller workqueue
  ([#12079])
* Fixed a spurious `linkerd check` error when using container images with
  digests ([#12059])
* Fixed an issue where inbound policy could be incorrect after certain policy
  resources are deleted ([#12088])

[#12028]: #12028
[#12079]: #12079
[#12059]: #12059
[#12088]: #12088

Signed-off-by: Alex Leong <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants