-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
+Windows Services & Standalone apps instrumentation #18
base: master
Are you sure you want to change the base?
Changes from all commits
a998c14
963a26a
208b176
a677783
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,6 +68,7 @@ | |
:controller_accesskey => controller['accesskey'], | ||
:proxy_host => proxy['host'], | ||
:proxy_port => proxy['port'], | ||
:standalone_apps => agent['standalone_apps'] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Indentation got messed up here. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure why the indentations are getting messed up. This happens only when I publish it to github. My local files looks okay. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are you perhaps mixing tabs and spaces? On Friday, July 10, 2015, thiru-chidambaram [email protected]
|
||
) | ||
end | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,15 @@ | |
<IIS> | ||
<automatic enabled="true" /> | ||
</IIS> | ||
<% unless @standalone_apps.nil? %> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Indentation in this block is very strange. Looks like the rest of the file is two spaces, so we should keep it as two consistently. |
||
<standalone-applications> | ||
<% @standalone_apps.split(',').each { |app_name| puts %> | ||
<standalone-application executable="<%= app_name%>"> | ||
<tier name="<%= app_name%>" /> | ||
</standalone-application> | ||
<%}%> | ||
</standalone-applications> | ||
<% end %> | ||
</app-agents> | ||
</appdynamics-agent> | ||
</winston> |
There was a problem hiding this comment.
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?
Then you don't have to split in the template.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
https://docs.appdynamics.com/display/PRO41/Instrument+Windows+Services+and+Standalone+Applications