Analyzer ngx-gzip-compression-types
Name
ngx-gzip-compression-types - Nginx GZIP Compression Types Statistics
This analyzer collects statistics on MIME types configured for GZIP compression in nginx-based applications such as OpenResty and Kong. It monitors the gzip_types directive usage across server configurations, capturing the frequency of compression applied to different content types. The analyzer generates bar chart visualizations showing the distribution of compressed MIME types, helping administrators verify compression policies and optimize bandwidth usage for various content categories.
Resource Category
CPU.
Application Type & Technical Stack
- OpenResty
- Nginx
- APISIX
- Kong
Command Line Syntax
The analyzer can be invoked directly on the command-line via the orxray
utility from the openresty-xray-cli software package.
Alternatively, the analyzer can also be invoked manually or automatically on the web console UI of OpenResty XRay (like on the Advanced web page).
# PID is the target process PID.
orxray analyzer run ngx-gzip-compression-types -p PID
# trace a shell command directly
orxray analyzer run ngx-gzip-compression-types -c SHELL_CMD
# PGID is the process group ID or any process's PID within the target process
# group.
orxray analyzer run ngx-gzip-compression-types -p -PGID
# trace any processes started from the specified executable path.
orxray analyzer run ngx-gzip-compression-types --exe /path/to/exe/file
Tracing Multiple Processes
Supported.
Output Formats
- Bar Charts
- Plain Texts
Author
The OpenResty Inc. Team.
Copyright
Copyright (C) by OpenResty Inc. All rights reserved.