cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Service detection rule for Web service

alapatiharsha
Visitor

I am creating the service detection rule based on the URL Path for that web service,

It was like /users/............/Identity/verify

the above mentioned ".........." are represented as Customer ID for the web service, whenever that service was getting traffic, it creates a new service using the cust id (lots of services are creating) 

I am giving the condition as Url Path ends with /identity/verify 

any suggestions here please.

 

11 REPLIES 11

Julius_Loman
DynaMight Legend
DynaMight Legend

Most likely you need to override the detected URL context root to a fixed value like this:

Julius_Loman_0-1732523384203.png

 

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

                          

Based on the description of your situation, this should do the trick. If not, please provide a screenshot of  service properties for a service in your case.

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

 

 

You are confusing services and requests.
What you have shown is a request. You already have the requests in one service. Please provide service properties for services you would like to merge:

Julius_Loman_0-1732636682352.png

 

 

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

      

 

 

Hello @alapatiharsha 

  • The attached images related to the requests which are parts of the URL but these aren't the URLs.
  • You can configure "Remove numbers" within the current service detection rule.
  • You can either override to constant value or use the transformed value.
  • If you proceeded with use constant value the related request will be grouped under the new service.

Hoping it helps.

BR,

Peter

Could you please guide me with some screen shots. 

Hi @alapatiharsha 
As an example of removing the numbers PFA screenshot

2024-11-27_16h17_12.png

Regards,

Peter

Hi @alapatiharsha 

an example for service detection:

2024-11-27_16h26_10.png

2024-11-27_16h27_39.png

2024-11-27_16h28_33.png

2024-11-27_16h31_07.png

Best of luck.

Regards,

Peter

Peter_Youssef
Champion

Hello @alapatiharsha 

You can refer to the solution provided by @Julius_Loman and Dynatrace Docs for further guidance:

Dynatrace offers the below contribution types' options for service detection rules, you can specify as per the actual service segments and how the service should be presented as service detection rules impact both the detection and naming as well:

  • Use the transformed value:

Means the new service name after applying any of the available transformation methods:

  • "Application identifier: transform this value before letting it contribute to the service Id

OR

  • "Server Name: transform this value before letting it contribute to the service Id " 

OR

  • "URL context root: transform this value before letting it contribute to the service Id" you can use single or combined options  based on the actual scenario as per the shown service properties through the UI.

 

  • Use the Original value:

it will keep the original detected service name.

 

  • Override to constant value:

Whatever will be detected will be overwritten to the provided value, all requests will be grouped beneath it accordingly.

Hoping it adds value.

BR, 

Peter

Featured Posts