Skip to main content

Imp-prof serves to collect and publish prometheus metrics from pre-forked server workers.

Project description

imp-prof

Imp-prof serves to collect and publish prometheus metrics from pre-forked uWSGI server workers.

flowchart LR
    A0W0(app0-worker0)
    A0W1(app0-worker1)
    A1W0(app1-worker0)
    A1W1(app1-worker1)
    E(profiling):::exchange
    Q(profiling_queue):::queue
    I(pika consumer)
    F(fast api)
    P(prometheus)
    subgraph source[server app 0]
        A0W0
        A0W1
    end
    subgraph source2[server app 1]
        A1W0
        A1W1
    end
    A0W0-->|push profile array|E
    A0W1-->|push profile array|E
    A1W0-->|push profile array|E
    A1W1-->|push profile array|E
    subgraph rabbit[rabbit MQ]
        E-->|fanout|Q
    end
    subgraph imp[imp-prof]
        I-->|write profile|F
    end
    Q-->|fetched event|I
    Q-.-|consume|I
    P-->|fetch /metrics|F
    classDef exchange fill:#A08565;
    classDef queue fill:#619A46;

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

imp-prof-0.1.0.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

imp_prof-0.1.0-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file imp-prof-0.1.0.tar.gz.

File metadata

  • Download URL: imp-prof-0.1.0.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for imp-prof-0.1.0.tar.gz
Algorithm Hash digest
SHA256 687bf58bc5ff1e46c66a914ba12af61bcc432e4576ceace06e41036e86857de1
MD5 1ee1c3823e81f2f6caee35da3c1e5835
BLAKE2b-256 920c1e8aeac6a0ae1d29995e91f79464504a84e80b15d2aac1262ded8d4a28ee

See more details on using hashes here.

File details

Details for the file imp_prof-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: imp_prof-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for imp_prof-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a06b873b7e0877c631b564d2c6af6aede72f269c8a5d85aab20efde377cced6f
MD5 55ea9355cb681799ef7adace8b3036e9
BLAKE2b-256 ef26742c420c44ea82c57dd9a30d10ab639a24ab1454419fe9f227b5734fed93

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