-
Notifications
You must be signed in to change notification settings - Fork 3
/
default-config.xml
72 lines (67 loc) · 7.9 KB
/
default-config.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<ETLTool>
<!-- The Scheduler section defines how the program runs, if it is missing then a simple one run is performed without sleeping and running continuously
enabled=true is the default, if a scheduler section is defined
only one config option is available, that is the amount of time to sleep between runs, in minutes
<Scheduler enabled="false">
<PollIntervalMinutes>60</PollIntervalMinutes>
<FirstRunHistoricNumberOfHours>48</FirstRunHistoricNumberOfHours>
</Scheduler>
-->
<!-- Only one database can be specified, and one must be specified. It is assumed the correct database driver is loaded in the classpath,
and as of today, only csv files, oracle, mysql, postgres, and MS SQL Server are supported. To add other database vendor support, we must ensure SQL compatibility and provide
a list of reserved words so the database table can be created and verified
For Oracle the following connection string works, with the libraries packaged: "jdbc:oracle:thin:@<hostname>:<port ie: 1521>:<schema ie: orcl>"
The user must have permissions to create and alter the table specified, since it will be fixed if something is missing or the wrong size
The DefaultTable must follow oracles rules for table names:
An acceptable Oracle name must:
Not be a reserved keyword. You cannot, for example, name your table TABLE or PROCEDURE or VARCHAR2.
Be no longer than 30 characters.
Begin with an alphabetical character. You can have numbers and certain special characters in the name, but the first character must be an alpha character.
Contain only alphabetical characters, numbers, or '_' (we do not support other special characters and will attempt to strip them out
We support CSV output into a target directory as well, using the following connection string format "csv:none:<data directory to create files in>"
for example: csv:none:./data to specify csv file output, with no driver, in the ./data directory, which we will attempt to create if it does not exist.
-->
<TargetDB>
<ConnectionString>jdbc:oracle:thin:@localhost:1521:orcl</ConnectionString>
<User>username</User>
<Password>password</Password>
<ControlTable>AppDynamics_SchedulerControl</ControlTable>
<DefaultMetricTable>AppDynamics_DefaultTable</DefaultMetricTable>
<DefaultEventTable>AppDynamics_EventTable</DefaultEventTable>
</TargetDB>
<!--multiple controller sections can be defined, and at least one controller and application or analytics section must be configured, or the app will exit-->
<Controller getAllAnalyticsSearches="false" > <!-- if getAllAnalyticsSearches is true, then the URL hostname is used to map analytics with this controller,
and all the controller analytics saved searches are added to the analytics list -->
<URL>https://southerland-test.saas.appdynamics.com/</URL>
<ClientID>ETLClient@southerland-test</ClientID>
<ClientSecret>the generated client secret</ClientSecret>
<Application getAllAvailableMetrics="true" getAllEvents="false"> <!-- these are the default options in default values -->
<Name regex="false">Agent Proxy</Name>
<Defaults>
<DisableDataRollup>true</DisableDataRollup>
<MetricTable>ProxyAppMetrics</MetricTable>
<EventTable>ProxyAppEvents</EventTable>
</Defaults>
<!-- if so desired, the events can be filtered by including or excluding events from the internal event list,
and by limitting the severity. The default is shown here, to just get all event types and severities, leave these blank or missing
<Events>
<Include>ACTIVITY_TRACE,ADJUDICATION_CANCELLED,AGENT_ADD_BLACKLIST_REG_LIMIT_REACHED,AGENT_ASYNC_ADD_REG_LIMIT_REACHED,AGENT_CONFIGURATION_ERROR,APPLICATION_CRASH,AGENT_DIAGNOSTICS,AGENT_ERROR_ADD_REG_LIMIT_REACHED,AGENT_EVENT,AGENT_METRIC_BLACKLIST_REG_LIMIT_REACHED,AGENT_METRIC_REG_LIMIT_REACHED,AGENT_STATUS,ALREADY_ADJUDICATED,APPDYNAMICS_DATA,APPDYNAMICS_INTERNAL_DIAGNOSTICS,APPLICATION_CONFIG_CHANGE,APPLICATION_DEPLOYMENT,APPLICATION_DISCOVERED,APPLICATION_ERROR,APP_SERVER_RESTART,AZURE_AUTO_SCALING,BACKEND_DISCOVERED,BT_DISCOVERED,BUSINESS_ERROR,CLR_CRASH,CONTROLLER_AGENT_VERSION_INCOMPATIBILITY,CONTROLLER_ASYNC_ADD_REG_LIMIT_REACHED,CONTROLLER_COLLECTIONS_ADD_REG_LIMIT_REACHED,CONTROLLER_ERROR_ADD_REG_LIMIT_REACHED,CONTROLLER_EVENT_UPLOAD_LIMIT_REACHED,CONTROLLER_MEMORY_ADD_REG_LIMIT_REACHED,CONTROLLER_METADATA_REGISTRATION_LIMIT_REACHED,CONTROLLER_METRIC_DATA_BUFFER_OVERFLOW,CONTROLLER_METRIC_REG_LIMIT_REACHED,CONTROLLER_PSD_UPLOAD_LIMIT_REACHED,CONTROLLER_RSD_UPLOAD_LIMIT_REACHED,CONTROLLER_SEP_ADD_REG_LIMIT_REACHED,CONTROLLER_STACKTRACE_ADD_REG_LIMIT_REACHED,CONTROLLER_TRACKED_OBJECT_ADD_REG_LIMIT_REACHED,CUSTOM,CUSTOM_ACTION_END,CUSTOM_ACTION_FAILED,CUSTOM_ACTION_STARTED,CUSTOM_EMAIL_ACTION_END,CUSTOM_EMAIL_ACTION_FAILED,CUSTOM_EMAIL_ACTION_STARTED,DEADLOCK,DEV_MODE_CONFIG_UPDATE,DIAGNOSTIC_SESSION,DISK_SPACE,EMAIL_ACTION_FAILED,EMAIL_SENT,EUM_CLOUD_BROWSER_EVENT,EUM_CLOUD_SYNTHETIC_BROWSER_EVENT,EUM_CLOUD_SYNTHETIC_ERROR_EVENT,EUM_CLOUD_SYNTHETIC_CONFIRMED_ERROR_EVENT,EUM_CLOUD_SYNTHETIC_ONGOING_ERROR_EVENT,EUM_CLOUD_SYNTHETIC_HEALTHY_EVENT,EUM_CLOUD_SYNTHETIC_WARNING_EVENT,EUM_CLOUD_SYNTHETIC_CONFIRMED_WARNING_EVENT,EUM_CLOUD_SYNTHETIC_ONGOING_WARNING_EVENT,EUM_CLOUD_SYNTHETIC_PERF_WARNING_EVENT,EUM_CLOUD_SYNTHETIC_PERF_CONFIRMED_WARNING_EVENT,EUM_CLOUD_SYNTHETIC_PERF_ONGOING_WARNING_EVENT,EUM_CLOUD_SYNTHETIC_PERF_HEALTHY_EVENT,EUM_CLOUD_SYNTHETIC_PERF_CRITICAL_EVENT,EUM_CLOUD_SYNTHETIC_PERF_CONFIRMED_CRITICAL_EVENT,EUM_CLOUD_SYNTHETIC_PERF_ONGOING_CRITICAL_EVENT,EUM_INTERNAL_ERROR,HTTP_REQUEST_ACTION_END,HTTP_REQUEST_ACTION_FAILED,HTTP_REQUEST_ACTION_STARTED,INFO_INSTRUMENTATION_VISIBILITY,INTERNAL_UI_EVENT,KUBERNETES,LICENSE,MACHINE_AGENT_LOG,MACHINE_DISCOVERED,MEMORY,MEMORY_LEAK_DIAGNOSTICS,MOBILE_CRASH_IOS_EVENT,MOBILE_CRASH_ANDROID_EVENT,NETWORK,NODE_DISCOVERED,NORMAL,OBJECT_CONTENT_SUMMARY,POLICY_CANCELED_CRITICAL,POLICY_CANCELED_WARNING,POLICY_CLOSE_CRITICAL,POLICY_CLOSE_WARNING,POLICY_CONTINUES_CRITICAL,POLICY_CONTINUES_WARNING,POLICY_DOWNGRADED,POLICY_OPEN_CRITICAL,POLICY_OPEN_WARNING,POLICY_UPGRADED,RESOURCE_POOL_LIMIT,RUN_LOCAL_SCRIPT_ACTION_END,RUN_LOCAL_SCRIPT_ACTION_FAILED,RUN_LOCAL_SCRIPT_ACTION_STARTED,SERVICE_ENDPOINT_DISCOVERED,SLOW,SMS_SENT,STALL,SYSTEM_LOG,THREAD_DUMP_ACTION_END,THREAD_DUMP_ACTION_FAILED,THREAD_DUMP_ACTION_STARTED,TIER_DISCOVERED,VERY_SLOW,WARROOM_NOTE</Include>
<Exclude></Exclude>
<Severities>INFO,WARN,ERROR</Severities>
</Events>
-->
<!-- Metrics can be included manually, and wildcards are supported, the getAllAvailable metrics flag for the application must be false to specify individual metrics:
<Metric>Business Transaction Performance|Business Transactions|ProxyTier|*|Average Response Time (ms)</Metric>
-->
</Application>
</Controller>
<!-- multiple analytic sections are supported, but not if the account name is the same -->
<Analytics>
<URL>https://analytics.api.appdynamics.com/</URL> <!-- north america Saas -->
<GlobalAccountName>southerland-test_65322e21-efed-4126-8827-920141a9ac21</GlobalAccountName>
<LinkToControllerHostname>southerland-test.saas.appdynamics.com</LinkToControllerHostname>
<APIKey>generate your own key</APIKey> <!-- API Key is created in analytics configuration settings -->
<TableNamePrefix>AppDynamics_Analytics_</TableNamePrefix> <!-- this is the prefix table name for data extracted, final table is <PrefixTableName><Search name> -->
<Search name="UniqueTransactionCount" limit="20000">SELECT transactionName, count(*) FROM transactions</Search> <!--limit is optional and defaults to 20000, name must be unique for this section -->
</Analytics>
</ETLTool>