Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

"Critical Time" and "SLA violation countdown" performance counters should be optional #26

Closed
johnsimons opened this issue Oct 21, 2014 · 4 comments

Comments

@johnsimons
Copy link
Member

Performance counters are now opt-in to avoid issues with setting them up preventing users from getting their endpoints to run in production

Breaking change

Previous versions enabled the performance counters Critical Time and SLA violation countdown by default. To get the same behavior with the 6.0 host you need to either:

  1. Use the profile NServiceBus.PerformanceCounters - More on profiles here
  2. Explicitly enable the counters in code using:
config.EnableCriticalTimePerformanceCounter();
config.EnableSLAPerformanceCounter();   

Problem

In v5.0 the default production profile enables by default "Critical Time" and "SLA violation countdown" performance counters.
Users cannot turn this off easily.

@andreasohlund
Copy link
Member

Breaking change, bumping to 6.0.0

@johnsimons
Copy link
Member Author

@yvesgoeleven you asked about this on hipchat, at the moment there is no nice way, you need to use a non production profile

@johnsimons
Copy link
Member Author

@Particular/core-developers we should fix this and release v6 soon.
Anyone against it?

@andreasohlund
Copy link
Member

I'm +1. So is the fix to deprecate/remove the PerformanceCounter profile or
just not inherit the production profile from it?

I suggest the first option.

On Thu, Nov 13, 2014 at 4:55 AM, John Simons notifications@github.com
wrote:

@Particular/core-developers
https://github.com/orgs/Particular/teams/core-developers we should fix
this and release v6 soon.
Anyone against it?


Reply to this email directly or view it on GitHub
#26 (comment)
.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants