How mute request over all services with set object?

Hi guys,

Customer asks to mute a request on all the services.

We looked at /api/v2/settings/objects but found out that the scope is a mandatory filed with in the body of the post.

What is the right way to add this muting to all existing services and also for future services?

Found year old product idea still in status new that might be the answer for this I think but I will be glad to read your inputs on this

Thanks in advance

All the best and stay safe

Yos

I believe the scope should be environment for environment wide settings. I tried that,  unfortunately I’m getting 404 with

<span>"No write access for scope class tenant"</span>

I definitely have environment-wide permissions in this tenant and API token has the read/write settings permissions. :neutral_face: Maybe the environment scope is not supported yet?

Is there a way to set the scope to management zone some how?

Yos

I don’t think so. The schema shows:

"allowedScopes": [
    "SERVICE"
  ]

So we have to stick with the service scope only and the environment scope does not apply.

Not sure what’s behind your motivation for muting requests globally, but did you consider ignoring web requests also? For example excluding health check requests. This can be accomplished globally.

Hi @Julius_Loman

My bad don’t know why I was looking for this rest api and not directlly use Exclude specific incoming web request URLs

silly me

Now its set

Thanks for your input!

Yos

You are welcome - just for the record - excluding the requests from being captured (applies for web URLs) also has a positive effect on the adaptive traffic management (more space for capturing meaningful requests) while muting those requests does not (requests are still captured).

Found this old thread, so perhaps there is a new solution now;

How to Mute a request over all services?  Or at least over all services matching some filter.   Do I need to script some loop than mute them one-by-one in loop, or can filter be done easier to avoid looping all services?