ThresholdLoggingTracer still printing old format

Description

I found that the threshold logging tracer still uses the "old" format:

[ { "service":"kv", "count":7935, "top":[ { "total_duration_us":95, "encode_duration_us":27, "last_dispatch_duration_us":18, "total_dispatch_duration_us":40, "last_server_duration_us":null, "total_server_duration_us":null, "operation_name":"get", "last_local_id":"2", "operation_id":"85414", "last_local_socket":"127.0.0.1:11210:56218", "last_remote_socket":"127.0.0.1:11210:56218" } .... ] } ]

vs. the new format in the rfc is described as:

{ “<service-a>”: { “total_count”: 1234, “top_requests”: [{<entry>}, {<entry>},...] }, “<service-b>”: { “total_count”: 1234, “top_requests”: [{<entry>}, {<entry>},...] }, }

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Story Points

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created June 16, 2021 at 12:01 PM
Updated June 23, 2021 at 10:33 PM
Resolved June 23, 2021 at 10:33 PM
Instabug