@@ -56,7 +56,8 @@ class WavefrontClient(connection_handler.ConnectionHandler,
5656 def __init__ (self , server , token , max_queue_size = 50000 , batch_size = 10000 ,
5757 flush_interval_seconds = 5 , enable_internal_metrics = True ,
5858 queue_impl = queue .Queue ):
59- # pylint: disable=too-many-arguments,too-many-statements
59+ # pylint: disable=too-many-arguments,too-many-positional-arguments
60+ # pylint: disable=too-many-statements
6061 """Construct Direct Client.
6162
6263 @param server: Server address,
@@ -335,7 +336,7 @@ def close(self):
335336 self ._sdk_metrics_registry .close (timeout_secs = 1 )
336337
337338 def send_metric (self , name , value , timestamp , source , tags ):
338- # pylint: disable=too-many-arguments
339+ # pylint: disable=too-many-arguments,too-many-positional-arguments
339340 """Send Metric Data via proxy/direct ingestion client.
340341
341342 Wavefront Metrics Data format
@@ -382,7 +383,7 @@ def send_metric_now(self, metrics):
382383
383384 def send_distribution (self , name , centroids , histogram_granularities ,
384385 timestamp , source , tags ):
385- # pylint: disable=too-many-arguments
386+ # pylint: disable=too-many-arguments,too-many-positional-arguments
386387 """Send Distribution Data via proxy/direct ingestion client.
387388
388389 Wavefront Histogram Data format
@@ -433,7 +434,7 @@ def send_distribution_now(self, distributions):
433434
434435 def send_span (self , name , start_millis , duration_millis , source , trace_id ,
435436 span_id , parents , follows_from , tags , span_logs ):
436- # pylint: disable=too-many-arguments
437+ # pylint: disable=too-many-arguments,too-many-positional-arguments
437438 """Send span data via proxy/direct ingestion client.
438439
439440 Wavefront Tracing Span Data format
@@ -521,7 +522,7 @@ def send_span_log_now(self, span_logs):
521522
522523 def send_event (self , name , start_time , end_time , source , tags ,
523524 annotations ):
524- # pylint: disable=too-many-arguments
525+ # pylint: disable=too-many-arguments,too-many-positional-arguments
525526 """Send Event Data via proxy/direct ingestion client.
526527
527528 Wavefront Event Data format
0 commit comments