Skip to content

Conversation

@nikita2206
Copy link
Contributor

@nikita2206 nikita2206 commented Jan 23, 2023

Proposed Changes

Currently if a channel was closed then when a publish fails to that channel it will not be reported to the metrics, avoiding the usual alert rules set up for the failed publishes counter.

Recently it has been the case for us where publishes started failing following changes in user/permissions setup in our CloudAMQP instance; while looking at how we could alert ourselves if this ever happens again we noticed that our failed publishes metric didn't budge, even though a lot of publishes have in fact failed. (this wasn't the problem because at the time we didn't have an alert set up for this metric anyway but going forward we would love to be able to have it)

Types of Changes

What types of changes does your code introduce to this project?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes issue #NNNN)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation (correction or otherwise)
  • Cosmetics (whitespace, appearance)

Checklist

Put an x in the boxes that apply. You can also fill these out after creating
the PR. If you're unsure about any of them, don't hesitate to ask on the
mailing list. We're here to help! This is simply a reminder of what we are
going to look for before merging your code.

Further Comments

If this is a relatively large or complex change, kick off the discussion by
explaining why you chose the solution you did and what alternatives you
considered, etc.

@pivotal-cla
Copy link

@nikita2206 Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-cla
Copy link

@nikita2206 Thank you for signing the Contributor License Agreement!

@nikita2206 nikita2206 marked this pull request as ready for review January 23, 2023 14:28
@acogoluegnes acogoluegnes merged commit 4142f8d into rabbitmq:main Jan 23, 2023
@acogoluegnes acogoluegnes added this to the 5.17.0 milestone Jan 23, 2023
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