Skip to main content

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;

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.2.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

imp_prof-0.1.2-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: imp-prof-0.1.2.tar.gz
  • Upload date:
  • Size: 16.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.2.tar.gz
Algorithm Hash digest
SHA256 29cbca6fa6b9dd432ec286c6fb6c49c9c098a06e3bcf8cd2c2035ba046da7eb8
MD5 37b7749b28e3fad3369f0b8478dec80a
BLAKE2b-256 3b863cd9047840e70a40b74e13ca5c7a76429b5bc5670ae136caa0a6696c9e62

See more details on using hashes here.

File details

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

File metadata

  • Download URL: imp_prof-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 18.9 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cac864790148f4d2c935b376567ce7d2d08d1e132877625580a2b5e6b7757798
MD5 3c199e5cceff7f456256398761e617a8
BLAKE2b-256 0ac7def7ad886bca0f71eab03dfce58278894126b393cfb509bc286f201841e2

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page