Skip to content

Commit

Permalink
Update instrumented methods in redis. (#707)
Browse files Browse the repository at this point in the history
Co-authored-by: Lalleh Rafeei <lrafeei@users.noreply.github.com>
Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>
Co-authored-by: Hannah Stepanek <hmstepanek@users.noreply.github.com>

Co-authored-by: Lalleh Rafeei <lrafeei@users.noreply.github.com>
Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>
Co-authored-by: Hannah Stepanek <hmstepanek@users.noreply.github.com>
  • Loading branch information
4 people committed Dec 6, 2022
1 parent b849010 commit a63e33f
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 21 deletions.
1 change: 1 addition & 0 deletions newrelic/hooks/datastore_redis.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"bgsave",
"bitcount",
"bitfield",
"bitfield_ro",
"bitop_and",
"bitop_not",
"bitop_or",
Expand Down
43 changes: 22 additions & 21 deletions tests/datastore_redis/test_uninstrumented_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
'MODULE_CALLBACKS',
'MODULE_VERSION',
'NAME',
"add_edge",
"add_node",
"append_bucket_size",
"append_capacity",
"append_error",
Expand All @@ -38,6 +40,10 @@
"append_no_scale",
"append_values_and_weights",
"append_weights",
"batch_indexer",
"BatchIndexer",
"bulk",
"call_procedure",
"client_tracking_off",
"client_tracking_on",
"client",
Expand All @@ -46,45 +52,40 @@
"connection_pool",
"connection",
"debug_segfault",
"edges",
"execute_command",
"flush",
"from_url",
"get_connection_kwargs",
"get_encoder",
"get_label",
"get_params_args",
"get_property",
"get_relation",
"get_retry",
"hscan_iter",
"index_name",
"labels",
"list_keys",
"load_document",
"load_external_module",
"lock",
"name",
"nodes",
"parse_response",
"pipeline",
"property_keys",
"register_script",
"relationship_types",
"response_callbacks",
"RESPONSE_CALLBACKS",
"sentinel",
"set_file",
"set_path",
"set_response_callback",
"set_retry",
"transaction",
"BatchIndexer",
"batch_indexer",
"get_params_args",
"index_name",
"load_document",
"add_edge",
"add_node",
"bulk",
"call_procedure",
"edges",
"flush",
"get_label",
"get_property",
"get_relation",
"labels",
"list_keys",
"name",
"nodes",
"property_keys",
"relationship_types",
"version",

}

REDIS_MODULES = {
Expand Down

0 comments on commit a63e33f

Please sign in to comment.