TRACKING CHANGES THAT AFFECT PERFORMANCE OF DEPLOYED APPLICATIONS
An application monitoring infrastructure that enables application configuration changes on multiple machines across multiple OS types to be tracked by identifying data containers that are to be monitored for changes, detecting a change to a monitored data container, and storing data representative of a changed version of the monitored data container responsive to detecting that the monitored container was changed. The data containers that are to be monitored for changes are identified from templates, and a unique template is provisioned for each of the applications.
1 . A method comprising:
accessing a file;
detecting a plurality of change events to the file;
creating a change ID and a time stamp for the detected plurality of change events;
determining whether the file is a binary file or a text file; and
storing a result of the determining in a change repository.
2 . The method of claim 1 , wherein when the file is a binary file, the method further comprises performing a hash of the binary file and storing the hash in the change repository.
3 . The method of claim 1 , wherein when the file is a text file, performing a diff operation on the text file against a prior version of the text file to generate a diff file, and storing the generated diff file in the repository.
4 . The method of claim 1 , further comprising extracting the file from an archive file.
5 . The method of claim 1 , wherein accessing the file is a result of pulling a change event with a file path and a change type from a queue of change events.
6 . The method of claim 1 , wherein the file is a JAR file.
7 . The method of claim 1 , wherein each of the plurality of change events are relating to effectively the same change.
8 . A system comprising;
a memory;
a change tracker comprising one or more processors programmed to:
access a file;
detect a plurality of change events to the file;
create a change ID and a time stamp for the detected plurality of change events;
determine whether the file is a binary file or a text file; and
store a result of the determining in a change repository.
9 . The system of claim 8 , wherein the plurality of change events occur during a defined period of time.
10 . The system of claim 8 , wherein when the file is a text file, performing a diff operation on the text file against a prior version of the text file to generate a diff file, and storing the generated diff file in the repository.
11 . The system of claim 8 , wherein the one or more processors are further programmed to cache the template in a system memory of the monitored machine.
12 . The system of claim 8 , wherein the processor is further programmed to extract the file from an archive file.
13 . The system of claim 8 , wherein the file is a JAR file events.
14 . The system of claim 8 , wherein each of the plurality of change events are relating to effectively the same change.
15 . One or more non-transitory computer-readable media comprising computer-executable instructions that when executed by a processor, cause the processor to perform operations comprising:
accessing a file;
detecting a plurality of change events to the file;
creating a change ID and a time stamp for the detected plurality of change events;
determining whether the file is a binary file or a text file; and
storing a result of the determining in a change repository.
16 . The one or more non-transitory computer-readable media of claim 15 , wherein when the file is a binary file, the method further comprises performing a hash of the binary file and storing the hash in the change repository.
17 . The one or more non-transitory computer-readable media of claim 15 , wherein the defined period of time is two milliseconds.
18 . The one or more non-transitory computer-readable media of claim 15 , wherein when the file is a text file, performing a diff operation on the text file against a prior version of the text file to generate a diff file, and storing the generated diff file in the repository.
19 . The one or more non-transitory computer-readable media of claim 15 , wherein accessing the file is a result of pulling a change event with a file path and a change type from a queue of change events.
20 . The one or more non-transitory computer-readable media of claim 15 , wherein each of the plurality of change events are relating to effectively the same change.