Open philkuz opened 1 year ago
Updated list (because I can't edit the original):
px.cql_op_name
: new function added px.cql_opcode_name()
px.dns_rcode_name
: new function added px.dns_rcode_name()
px.amqp_resp_name
: we already have px.amqp_method_name()
px.mux_req_type_name
: we already have px.mux_frame_type_name()
(TODO: update docstrings)px.conn_protocol
: we already have px.protocol_name()
px.mysql_status_name
px/*
+ plugin scripts to use these functions.
Is your feature request related to a problem? Please describe. We have implemented mapping functions like: px.mysql_command_name px.kafka_api_key_name etc for mapping values. We now have similar gaps in the place of other protocols. Describe the solution you'd like
You can basically follow the format we use in
src/carnot/funcs/protocols/protocol_ops.h
px.cql_op_name
: src/stirling/source_connectors/socket_tracer/protocols/cql/types.hpx.dns_rcode_name
: https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-6px.amqp_resp_name
: src/stirling/source_connectors/socket_tracer/protocols/amqp/types_gen.hpx.mux_req_type_name
: src/stirling/source_connectors/socket_tracer/protocols/mux/types.hpx.mysql_status_name
: src/stirling/source_connectors/socket_tracer/protocols/mysql/types.hpx.conn_protocol
: Not completely sure what this converts, butconn_stats.protocol
marks this down. @chengruizhe or @etep should know this one.px/*
+ plugin scripts to use these functions. I used the following script to find the missing gaps:Describe alternatives you've considered n/a should standardize