Skip to content

Commit

Permalink
Fixes #1664: Additional fix. Added VFLOW_ATTRIBUTE_OCTET_RATE_REVERSE…
Browse files Browse the repository at this point in the history
… to stream_info->vflow
  • Loading branch information
ganeshmurthy committed Nov 18, 2024
1 parent 349007f commit b49683e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/observers/http2/http2_observer.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ int on_begin_header_callback(qd_http2_decoder_connection_t *conn_state,
vflow_set_string(stream_info->vflow, VFLOW_ATTRIBUTE_PROTOCOL, "HTTP/2");
vflow_set_uint64(stream_info->vflow, VFLOW_ATTRIBUTE_OCTETS, 0);
vflow_add_rate(stream_info->vflow, VFLOW_ATTRIBUTE_OCTETS, VFLOW_ATTRIBUTE_OCTET_RATE);
vflow_add_rate(stream_info->vflow, VFLOW_ATTRIBUTE_OCTETS, VFLOW_ATTRIBUTE_OCTET_RATE_REVERSE);
stream_info->stream_id = stream_id;
vflow_set_uint64(stream_info->vflow, VFLOW_ATTRIBUTE_STREAM_ID, stream_info->stream_id);
vflow_latency_start(stream_info->vflow);
Expand Down

0 comments on commit b49683e

Please sign in to comment.