We have a bunch of OSB12 instances. We have Soap services (Web Request Service) and Oracle Rest Resource services. (Web services). The names Detected for the "rest" kind are "Oracle Service Bus REST resource" and "_OSB_REST_Resource_randomnumber" and the SOAP ones are a service name for the uri inside.
Did anyone else had this "problem". We need to "Better detect" the services. Using the Server naming rules for those "Web Services" (OSB REST) don't go anywhere, the only options that show something is the same name that the one of ootb.
Answer by Dante P. ·
Hey. No need to create custom devices.
I managed to get it working with the new Service Detection API.
Creating the new services act as decoupling all the things the Rest service had, those OSB_REST_XXXX are no more and also the Oracle rest resource isn't there any more. Now everything goes to it's unique service.
Answer by Slawek M. ·
I don't want to elaborate and keep you busy with large amount of docs, but quite ok intro might be found here:
Proxy and Business are OSB specific. Customers of mine (large financial institutions) are monitoring their OSB 12c with Dynatrace. Working together, we prepared dedicated sensors, which are helping us to detect "custom services" for both - the Proxy and the Business side of the OSB calls.
For the Proxy, I'd suggest to check:
RouterContext's getPipelineContext() will let you see the "human readable" Proxy service name.
For the Business:
com.bea.wli.sb.transports.TransportManagerImpl.sendMessageToService(com.bea.wli.sb.transports.ServiceTransportSender, com.bea.wli.sb.transports.TransportSendListener, com.bea.wli.sb.transports.TransportOptions)
ServiceTransportSender's getEndPoint().getServiceRef() will let you see the "human readable" Business service name.
Both Classes are well documented.
These are good to start with. Then, you'd have branches, nodes, pipelines, etc.
I know you've asked for OSB Rest, but that's not necessarily related to so-called Business Service.
It's worth to know, OSB was designed to perform async operations - don't be surprised if you see http response handled in different thread than the initial request - which might be a challenge if OSB Admins wants you to measure the performance of Business part of of the request.
Answer by Sebastian K. ·
For each instance of service is there separate process? Or is it the same one? If it is separate, you can for example set fo each env variable DT_CUSTOM_PROP (https://www.dynatrace.com/support/help/how-to-use-dynatrace/process-groups/configuration/define-your-own-process-group-metadata/) and then use process properties for service creation.