DX Application Performance Management

Expand all | Collapse all

custom pbd or pbl in a separate folder.

Jump to Best Answer
  • 1.  custom pbd or pbl in a separate folder.

    Posted 03-19-2018 09:44 PM

    Hi Team,

    We are planning to give the developers the option to create their own pbd and pbl but we do not want to give them the write permission to the config folder. In order to do that we are thinking of creating a separate folder named as custom inside the config folder where they will have write permission. Inside the custom folder we will create file named as custom.pbl. So that the developer will create the pbd file inside this folder and add the name in the custom.pbl file.

     

    In IntroscopeAgent.profile we will comment the line

    introscope.autoprobe.directivesFile=default-typical.pbl,hotdeploy

    and in the startup script we will pass the directiveFile as jvm argument like below

    -Dintroscope.autoprobe.directivesFile= weblogic-typical.pbl, custom.pbl

     

    So that in due course whatever pbd file the developers will create, we do not have to touch either the IntroscopeAgent.profile  or the startup script.

     

    Can someone please validate this approach.

    I will be grateful if someone can confirm whether they have already implemented this approach in their project.

     

    Cheers

    Jay

    Cell No:551-263-9681



  • 2.  Re: custom pbd or pbl in a separate folder.
    Best Answer

    Posted 03-19-2018 09:58 PM

    Hi Jay,

    That plan should be fine. However when you load pbd/pbl files from a sub-folder of config you need to specify the sub-folder name as well e.g.

     

    This will load all files from the sub-folder custom:

    -Dintroscope.autoprobe.directivesFile="weblogic-typical.pbl, custom"

     

    This will load just file custom.pbl from the sub-folder custom

    -Dintroscope.autoprobe.directivesFile="weblogic-typical.pbl, custom/custom.pbl"

     

    Hope that helps

     

    Regards,

     

    Lynn



  • 3.  Re: custom pbd or pbl in a separate folder.

    Posted 03-21-2018 04:31 PM

    Thanks a ton Lynn.

     

    Cheers

    Jay

    Cell No:551-263-9681