Commit ef4a4e3b authored by Ching Kuo's avatar Ching Kuo
Browse files

Add timeout, method to RPC Client Label

We are missing timeout and method in label definition for rpc client
this will cause message router to failed to parse messages as there are
unexpected labels sent from oslo.messaging.

This commit added timeout and method to rpc client labels to fix the
issue.

Change-Id: I9ed133543ae6846256c1ea81602ca864f3847dec
parent 0d42ba7e
......@@ -21,7 +21,7 @@ rpc_server_common_labels = [
]
rpc_client_common_labels = [
'call_type', 'exchange', 'topic', 'namespace', 'version',
'server', 'fanout', 'process'
'server', 'fanout', 'process', 'method', 'timeout'
]
rpc_processing_seconds_buckets = [
......
......@@ -69,11 +69,13 @@ class TestProcessMessage(base.BaseTestCase):
"call_type": "call",
"exchange": "foo",
"topic": "bar",
"method": "get",
"server": "foobar",
"namespace": "ns",
"version": "v2",
"process": "done",
"fanout": "foo"
"fanout": "foo",
"timeout": 10
}
}""".encode()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment