GithubHelp home page GithubHelp logo

clickhouse-speedscope's Introduction

ClickHouse profiler view

Setup

At least Python 3.5 is required. Tested with Python 3.6.1

pip install -r requirements.txt

Usage

Start proxy:

python main.py

Get SpeedScope URL for query:

python main.py --query-id 6a13676a-bd7c-48e7-ba9a-46a5c5054fad

clickhouse-speedscope's People

Contributors

laplab avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

sundy-li metahys

clickhouse-speedscope's Issues

Unable to open speedscope flame graph.

Hi,
I created a speedscope URI with query-id option in clickhouse using below command

heena@Clickhouse1:~/clickhouse-speedscope$ python3 main.py --query-id 0b4a0158-e718-4a22-9940-22b2587a337a
https://www.speedscope.app/#profileURL=http%3A%2F%2Flocalhost%3A8080%2Fquery%3Fquery_id%3D0b4a0158-e718-4a22-9940-22b2587a337a

The format which got from main.py is native format, I am getting error when I am importing speedscope app.
How I can convert my file to json/supported format format

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.