Skip to content

Commit

Permalink
mozzle: Emit both client and server HTTP metrics
Browse files Browse the repository at this point in the history
The firehose provides metrics for communication between the CF
router and the application instances, and the end user and CF
router. Now both metrics are propagated via mozzle.

The way to distinguish them is via the 'peer' metric attribute,
which has value of either 'server' or 'client'. The attribute
describes where the metrics are actually measured:

      HTTP          HTTP
user <----> router <----> application instance
     server        client

  * server - metrics are measured as the router is writing the
    response back to the client.
  * client - metrics are measured as the router is requesting an
    application instance.

Fixes #7.
  • Loading branch information
Bo0mer committed Feb 10, 2017
1 parent 3842f00 commit dde0d19
Show file tree
Hide file tree
Showing 4 changed files with 315 additions and 65 deletions.
Loading

0 comments on commit dde0d19

Please sign in to comment.