Skip to main content

MonetDB profiler connection tool

Project description

ActionsBadge DocsBadge

Introduction

pystethoscope is a command line tool to filter and format the events coming from the MonetDB profiler. The profiler is part of the MonetDB server and works by emitting two JSON objects: one at the start and one at the end of every MAL instruction executed. pystethoscope connects to a MonetDB server process, reads the objects emitted by the profiler and performs various transformations specified by the user.

Installation

Installation is done via pip:

pip install monetdb-pystethoscope

This project is compatible with Python 3.6 or later and with MonetDB server version Jun2020 or later.

We recommend the use of virtual environments (see this primer if you are unfamiliar) for installing and using monetdb-pystethoscope.

Developer notes

pystethoscope is developed using Poetry, for dependency management and packaging.

Installation for development

In order to install pystethoscope do the following:

pip3 install --user poetry
PYTHON_BIN_PATH="$(python3 -m site --user-base)/bin"
export PATH="$PATH:$PYTHON_BIN_PATH"

git clone git@github.com:MonetDBSolutions/monetdb-pystethoscope.git
cd monetdb-pystethoscope
poetry install
poetry run pystethoscope --help

Documentation

For more detailed documentation please see the documentation on readthedocs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

monetdb_pystethoscope-0.1.1.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

monetdb_pystethoscope-0.1.1-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file monetdb_pystethoscope-0.1.1.tar.gz.

File metadata

  • Download URL: monetdb_pystethoscope-0.1.1.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.8.2 Linux/5.6.11-arch1-1

File hashes

Hashes for monetdb_pystethoscope-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ba45054c267f63f7e4d5c070458bba2518b7572d47393e94c87786789338b584
MD5 63371d5a7becb6f0f74ef2746365c65b
BLAKE2b-256 384dc0c5d86c154cdd05784795143a91766937b42f434742a4a96047c3992509

See more details on using hashes here.

File details

Details for the file monetdb_pystethoscope-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for monetdb_pystethoscope-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 689becc0f755868b639908c9870fa64712893c9dcca053d6b9c9466523293be9
MD5 e042e6dc20e99b38bac02d398332af0b
BLAKE2b-256 ed908c08c0484a7b0deb3b98d1c34f65d120722a2cf559a25887b10ba9b5e036

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page