Skip to content

Commit

Permalink
closed is unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminchan committed Aug 9, 2024
1 parent 983ba2a commit e084537
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions docs/obs/reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -126,18 +126,18 @@ Triggers when an HTTP request completes.

Triggers when a TCP connection to an endpoint closes.

| Field | Type | Description |
| ------------------- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| conn.bytes_in | int64 | The number of bytes arriving at an endpoint from the frontend |
| conn.bytes_out | int64 | The number of bytes leaving an endpoint to the frontend |
| conn.client_ip | string | **Filterable.** The source IP of the TCP connection to the ngrok edge |
| conn.end_ts | timestamp | The timestamp when the TCP connection to the ngrok edge is closed |
| conn.server_ip | string | **Filterable.** The IP address of the server that received the request |
| conn.server_name | string | **Filterable.** The hostname associated with this connection. |
| conn.server_port | int32 | **Filterable.** The port that the connection for this request came in on |
| conn.start_ts | timestamp | The timestamp when the TCP connection to the ngrok edge is established |
| ip_policy.decision | string | `allow` if IP Policy module permitted the request to the upstream service, `block` if not permitted, and `invalid` if the module did not run or if the closed TCP connection was established for an HTTP endpoint. In the latter case, the decision will only be available in the corresponding [`http_request_complete.v0`](#http_request_completev0) event. |
| traffic_policy.logs | List<Map<string, any>> | The collection of logs generated by any configured [Traffic Policy Log](/tcp/traffic-policy/actions/log) actions |
| Field | Type | Description |
| ------------------- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| conn.bytes_in | int64 | The number of bytes arriving at an endpoint from the frontend |
| conn.bytes_out | int64 | The number of bytes leaving an endpoint to the frontend |
| conn.client_ip | string | **Filterable.** The source IP of the TCP connection to the ngrok edge |
| conn.end_ts | timestamp | The timestamp when the TCP connection to the ngrok edge is closed |
| conn.server_ip | string | **Filterable.** The IP address of the server that received the request |
| conn.server_name | string | **Filterable.** The hostname associated with this connection. |
| conn.server_port | int32 | **Filterable.** The port that the connection for this request came in on |
| conn.start_ts | timestamp | The timestamp when the TCP connection to the ngrok edge is established |
| ip_policy.decision | string | `allow` if IP Policy module permitted the request to the upstream service, `block` if not permitted, and `invalid` if the module did not run or if the TCP connection was established for an HTTP endpoint. In the latter case, the decision will only be available in the corresponding [`http_request_complete.v0`](#http_request_completev0) event. |
| traffic_policy.logs | List<Map<string, any>> | The collection of logs generated by any configured [Traffic Policy Log](/tcp/traffic-policy/actions/log) actions |

## Audit Events

Expand Down

0 comments on commit e084537

Please sign in to comment.