Skip to main content

Directory Structure

Linux

Default installation path: /opt/tingyun-oneagent

├── Version                                      # Version file
├── agent
│ ├── java_3.6.1.1 # Java agent directory
│ │ ├── extensions # Java agent plugin directory
│ │ │ └── plugin contents omitted
│ │ ├── tingyun-agent-core.jar # Java agent core package
│ │ ├── tingyun-agent-java.jar # Java agent startup package
│ │ └── tingyun.properties # Java agent configuration file
│ ├── java_version # Java agent version record file
│ ├── netcore_3.2.1 # .NET Core agent directory
│ ├── netcore_version # .NET Core agent version record file
│ ├── php_3.0.0 # PHP agent directory
│ ├── php_version # PHP agent version record file
│ ├── nginx_3.0.0 # Nginx agent directory
│ ├── nginx_version # Nginx agent version record file
│ ├── cpp_3.0.3 # PHP and Nginx agent aggregator process directory
│ ├── cpp_version # Aggregator process version record file
│ ├── python_3.0.0 # Python agent directory
│ ├── python_version # Python agent version record file
│ ├── nodejs_3.0.0 # Node.js agent directory
│ ├── nodejs_version # Node.js agent version record file
│ ├── go_4.7.0 # Go agent directory
│ └── go_version # Go agent version record file
├── bin
│ ├── attacher # Java agent dynamic attachment tool
│ ├── ebpf-profiling # eBPF profiling tool
│ ├── dockerinspector # Docker inspector
│ ├── installtool # Installation check tool 64-bit
│ ├── installtool.x86 # Installation check tool 32-bit
│ ├── oneagent # Communication process
│ └── watchdog # Watchdog process
├── conf # Configuration directory
│ ├── blacklist.txt # Injection blacklist, filters out processes that do not require injection
│ ├── whitelist.txt # Injection whitelist
│ ├── docker_blacklist.conf # Container injection blacklist, filters out containers that do not require injection
│ ├── ebpf-network.yaml # eBPF network module configuration file
│ ├── infra.yaml # Infra host monitoring configuration file
│ ├── interceptor.conf # Injection-related configuration file
│ ├── oneagent.uuid # Unique identifier
│ ├── oneagent.conf # Configuration file
│ ├── naming.yml # Custom naming configuration file
│ ├── java.conf # Java agent configuration file
│ ├── netcore.conf # Netcore agent configuration file
│ ├── php.conf # PHP agent configuration file
│ ├── nginx.conf # Nginx agent configuration file
│ ├── python.conf # Python agent configuration file
│ ├── nodejs.conf # Node.js agent configuration file
│ └── go.conf # Go agent configuration file
├── data # Reserved files
├── tmp # Reserved files
├── downloads # Reserved files
├── ebpf-network # eBPF network module
├── lib # Dynamic library directory
│ ├── agenthelper # Auxiliary tool
│ ├── host.so.preload # Preload file for local system
│ ├── ld.so.preload # Preload file for Docker system
│ ├── libinterceptor.so # Preload module 64-bit
│ └── libinterceptor.x86.so # Preload module 32-bit
├── logs # Log directory
│ ├── agent # Java & .NET Core & Nginx agent log directory
│ ├── install # Installation log directory
│ └── oneagent # UniAgent log directory
│ ├── oneagent.log # UniAgent log
│ ├── preload.log # Process type identification and injection log
│ ├── update.log # Update log
│ └── watchdog.log # Watchdog process log
├── run
│ └── oneagent.socket # Communication socket file
├── SELinuxPolicy # SELinux policy & related modules
├── linux # Infra component directory
│ ├── ds_node_exporter # Host agent
│ ├── *.sh # Startup scripts
│ └── logs # Infra log directory
└── uninstall.sh # Uninstall script

In addition to the files above, the following system files need to be modified:

  1. Agent service: Need to install service in the system /etc/systemd/system/tingyun-oneagent.service

  2. Application agent automatic injection: Need to link libinterceptor.so to /lib64/libinterceptor.so, and modify configuration file /etc/ld.so.preload to make automatic injection of application agents take effect

  3. If some machines have enabled SeLinux security policy, the access policy of agent files will be added to the system policy to allow other processes to access directory /opt/tingyun-oneagent and files below it

Windows

Default installation path: C:\Program Files\tingyun\monitor

├── Version                                      # Version file
├── agent
│ ├── java_3.6.1.1 # Java agent directory
│ │ ├── extensions # Java agent plugin directory
│ │ │ └── (plugin contents omitted)
│ │ ├── tingyun-agent-core.jar # Java agent core package
│ │ ├── tingyun-agent-java.jar # Java agent startup package
│ │ └── tingyun.properties # Java agent configuration file
│ ├── java_version # Java agent version record file
│ ├── netcore_3.2.1 # .NET Core agent directory
│ ├── netcore_version # .NET Core agent version record file
│ ├── dotnet_3.2.1 # .NET agent directory
│ ├── dotnet_version # .NET agent version record file
│ ├── infra_2.3.1.0 # Infra agent directory
│ └── infra_version # Infra agent version record file
├── bin
│ ├── oneagent.exe # Communication process
│ └── service.exe # Watchdog process
├── conf # Configuration directory
│ ├── blacklist.txt # Injection blacklist, filters out processes that do not require injection
│ ├── whitelist.txt # Injection whitelist
│ ├── interceptor.conf # Injection-related configuration file
│ ├── oneagent.uuid # Unique identifier
│ ├── oneagent.conf # Configuration file
│ ├── naming.yml # Custom naming configuration file
│ ├── java.conf # Java agent configuration file
│ ├── netcore.conf # Netcore agent configuration file
│ ├── dotnet.conf # .Net agent configuration file
├── lib # Dynamic library directory
│ ├── agenthelper # Auxiliary tool
│ ├── interceptor.dll # Preload module 64-bit
│ └── interceptor.x86.dll # Preload module 32-bit
├── data # Reserved files
├── downloads # Reserved files
├── driver # Driver directory
├── ssl # Certificate directory
├── logs # Log directory
│ ├── agent # Java & .NET Core & .Net agent log directory
│ │ ├── infra.*.log # Host agent log
│ │ ├── java-agent*.log # Java agent log
│ │ ├── dotnet.log # .Net agent log
│ │ └── netcore.log # .Net Core agent log
│ └── oneagent # UniAgent log directory
│ ├── oneagent.log # UniAgent log
│ ├── interceptor.log # Process type identification and injection log
│ └── service.log # Watchdog process log
└── uninstall.exe # Uninstall script