Pinpoint
v2.5.3
v2.5.3
  • Introduction
  • What's New
  • Want a quick tour?
    • Overview
    • History
    • Tech Details
    • Videos
    • Additional Plugins
  • Getting Started
    • Quick-start guide
      • quickstart.Win.en
      • quickstart.Win.ko
    • Installation guide
    • Install with Docker
    • TrobleShooting(Network)
  • Documents
    • Plugin Developer Guide
    • Setting Alarm
    • System Metric
    • URI Statistics
    • URI Statistics Alarm
    • How to use Application Inspector
    • Realtime Request Monitoring
    • Separate Logging Per Request
    • Marking Transaction as Fail
    • Monitoring Proxy Server
    • Upgrade Database Hbase2
  • Contribution
    • Contribution
    • Open to Contribution
  • Performance Analysis
  • Twitter
  • Release Notes
  • FAQ
  • Powered by Pinpoint
  • Questions & answers
  • Fork me at Github
  • Earlier documents
  • Resources
Powered by GitBook
On this page
  • Proxy monitoring using HTTP headers
  • Pinpoint Configuration
  • Proxy Configuration
  • Apache HTTP Server
  • Nginx
  • App

Was this helpful?

  1. Documents

Monitoring Proxy Server

PreviousMarking Transaction as FailNextUpgrade Database Hbase2

Was this helpful?

Proxy monitoring using HTTP headers

It is used to know the elapsed time between proxy and WAS.

Pinpoint Configuration

pinpoint.config

profiler.proxy.http.header.enable=true

Proxy Configuration

Apache HTTP Server

Add HTTP header.

Pinpoint-ProxyApache: t=991424704447256 D=3775428 i=51 b=49

e.g.

httpd.conf

<IfModule mod_jk.c>
...
RequestHeader set Pinpoint-ProxyApache "%t %D %i %b"
...
</IfModule>

%t is required value.

Nginx

Add HTTP header.

Pinpoint-ProxyNginx: t=1504248328.423 D=0.123

e.g.

nginx.conf

...
  server {
        listen       9080;
        server_name  localhost;

        location / {
            ...
            set $pinpoint_proxy_header "t=$msec D=$request_time";
            proxy_set_header Pinpoint-ProxyNginx $pinpoint_proxy_header;
        }
  }
...

or

http {
...

    proxy_set_header Pinpoint-ProxyNginx t=$msec;

...
}

t=$msec is required value.

App

Milliseconds since epoch (13 digits) and app information.

Add HTTP header.

Pinpoint-ProxyApp: t=1594316309407 app=foo-bar

t=epoch is required value.

http://httpd.apache.org/docs/2.4/en/mod/mod_headers.html
http://nginx.org/en/docs/http/ngx_http_core_module.html
http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_set_header
overview