samuelcolvin / arq
Showing 2 of 3 files from the diff.

@@ -1,3 +1,3 @@
Loading
1 1
__all__ = ('VERSION',)
2 2
3 -
VERSION = '0.20'
3 +
VERSION = '0.21'

@@ -265,10 +265,17 @@
Loading
265 265
266 266
async def log_redis_info(redis: Redis, log_func: Callable[[str], Any]) -> None:
267 267
    with await redis as r:
268 -
        info, key_count = await asyncio.gather(r.info(), r.dbsize())
268 +
        info_server, info_memory, info_clients, key_count = await asyncio.gather(
269 +
            r.info(section='Server'), r.info(section='Memory'), r.info(section='Clients'), r.dbsize(),
270 +
        )
271 +
272 +
    redis_version = info_server.get('server', {}).get('redis_version', '?')
273 +
    mem_usage = info_memory.get('memory', {}).get('used_memory_human', '?')
274 +
    clients_connected = info_clients.get('clients', {}).get('connected_clients', '?')
275 +
269 276
    log_func(
270 -
        f'redis_version={info["server"]["redis_version"]} '
271 -
        f'mem_usage={info["memory"]["used_memory_human"]} '
272 -
        f'clients_connected={info["clients"]["connected_clients"]} '
277 +
        f'redis_version={redis_version} '
278 +
        f'mem_usage={mem_usage} '
279 +
        f'clients_connected={clients_connected} '
273 280
        f'db_keys={key_count}'
274 281
    )
Files Coverage
arq 99.79%
Project Totals (11 files) 99.79%
1004194694
PYTHON=3.6
OS=ubuntu
1004194694
PYTHON=3.8
OS=ubuntu
1004194694
PYTHON=3.9
OS=ubuntu
1004194694
PYTHON=3.7
OS=ubuntu
1004200247
PYTHON=3.6
OS=ubuntu
1004200247
PYTHON=3.7
OS=ubuntu
1004200247
PYTHON=3.8
OS=ubuntu
1004200247
PYTHON=3.9
OS=ubuntu
1
coverage:
2
  precision: 2
3
  range: [95, 100]
4

5
comment:
6
  layout: 'header, diff, flags, files, footer'
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading