Skip to content

Commit a63e33f

Browse files
TimPansinolrafeeiumaannamalaihmstepanek
authored
Update instrumented methods in redis. (#707)
Co-authored-by: Lalleh Rafeei <[email protected]> Co-authored-by: Uma Annamalai <[email protected]> Co-authored-by: Hannah Stepanek <[email protected]> Co-authored-by: Lalleh Rafeei <[email protected]> Co-authored-by: Uma Annamalai <[email protected]> Co-authored-by: Hannah Stepanek <[email protected]>
1 parent b849010 commit a63e33f

File tree

2 files changed

+23
-21
lines changed

2 files changed

+23
-21
lines changed

newrelic/hooks/datastore_redis.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
"bgsave",
5656
"bitcount",
5757
"bitfield",
58+
"bitfield_ro",
5859
"bitop_and",
5960
"bitop_not",
6061
"bitop_or",

tests/datastore_redis/test_uninstrumented_methods.py

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
'MODULE_CALLBACKS',
2828
'MODULE_VERSION',
2929
'NAME',
30+
"add_edge",
31+
"add_node",
3032
"append_bucket_size",
3133
"append_capacity",
3234
"append_error",
@@ -38,6 +40,10 @@
3840
"append_no_scale",
3941
"append_values_and_weights",
4042
"append_weights",
43+
"batch_indexer",
44+
"BatchIndexer",
45+
"bulk",
46+
"call_procedure",
4147
"client_tracking_off",
4248
"client_tracking_on",
4349
"client",
@@ -46,45 +52,40 @@
4652
"connection_pool",
4753
"connection",
4854
"debug_segfault",
55+
"edges",
4956
"execute_command",
57+
"flush",
5058
"from_url",
5159
"get_connection_kwargs",
5260
"get_encoder",
61+
"get_label",
62+
"get_params_args",
63+
"get_property",
64+
"get_relation",
65+
"get_retry",
5366
"hscan_iter",
67+
"index_name",
68+
"labels",
69+
"list_keys",
70+
"load_document",
5471
"load_external_module",
5572
"lock",
73+
"name",
74+
"nodes",
5675
"parse_response",
5776
"pipeline",
77+
"property_keys",
5878
"register_script",
79+
"relationship_types",
5980
"response_callbacks",
6081
"RESPONSE_CALLBACKS",
6182
"sentinel",
6283
"set_file",
6384
"set_path",
6485
"set_response_callback",
86+
"set_retry",
6587
"transaction",
66-
"BatchIndexer",
67-
"batch_indexer",
68-
"get_params_args",
69-
"index_name",
70-
"load_document",
71-
"add_edge",
72-
"add_node",
73-
"bulk",
74-
"call_procedure",
75-
"edges",
76-
"flush",
77-
"get_label",
78-
"get_property",
79-
"get_relation",
80-
"labels",
81-
"list_keys",
82-
"name",
83-
"nodes",
84-
"property_keys",
85-
"relationship_types",
8688
"version",
87-
8889
}
8990

9091
REDIS_MODULES = {

0 commit comments

Comments
 (0)