Skip to content

Conversation

thiru-chidambaram
Copy link
Contributor

+Windows Services & Standalone apps instrumentation

…lthMonitoring

Dot net agent recipe  - Installing using windows cookbook & IIS automatic instrumentation
+Windows Services & Standalone apps instrumentation
…tation

+Windows Services & Standalone apps instrumentation
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does comma separated make sense here? Why not take an array?

default['appdynamics']['dotnet_agent']['standalone_apps'] = ['a.exe', 'b.exe']

Then you don't have to split in the template.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah - thats fine too. I just wanted to keep the attributes simple.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if there are multiple exe's like a.exe & b.exe both will end up with the same app_name/tier_name in the controller even though they are different exe's. can we change the standalone_apps to an array that includes the 3 possible properties? standalone-application executable, command-line, and tier name

example config from the docs

    <standalone-applications>
        <standalone-application executable="MyWindowsService.exe" command-line="-x">
           <tier name="Windows Service Tier" />
        </standalone-application>
        <standalone-application executable="MyStandaloneApp.exe">
           <tier name="Standalone Tier" />
        </standalone-application>
    </standalone-applications>

https://docs.appdynamics.com/display/PRO41/Instrument+Windows+Services+and+Standalone+Applications

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

Successfully merging this pull request may close these issues.

3 participants