imp-prof


Nameimp-prof JSON
Version 0.1.2 PyPI version JSON
download
home_page
SummaryImp-prof serves to collect and publish prometheus metrics from pre-forked server workers.
upload_time2023-07-03 14:25:15
maintainer
docs_urlNone
author
requires_python>=3.7
licenseBSD-3-Clause
keywords prometheus fastapi api rest profiling rabbitmq python pika metrics
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # imp-prof

Imp-prof serves to collect and publish [prometheus](https://prometheus.io/) metrics from pre-forked uWSGI server workers.


```mermaid
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;
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "imp-prof",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "prometheus,fastapi,api,rest,profiling,rabbitmq,python,pika,metrics",
    "author": "",
    "author_email": "Tom Trval <thandeus@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/3b/86/3cd9047840e70a40b74e13ca5c7a76429b5bc5670ae136caa0a6696c9e62/imp-prof-0.1.2.tar.gz",
    "platform": null,
    "description": "# imp-prof\n\nImp-prof serves to collect and publish [prometheus](https://prometheus.io/) metrics from pre-forked uWSGI server workers.\n\n\n```mermaid\nflowchart LR\n    A0W0(app0-worker0)\n    A0W1(app0-worker1)\n    A1W0(app1-worker0)\n    A1W1(app1-worker1)\n    E(profiling):::exchange\n    Q(profiling_queue):::queue\n    I(pika consumer)\n    F(fast api)\n    P(prometheus)\n    subgraph source[server app 0]\n        A0W0\n        A0W1\n    end\n    subgraph source2[server app 1]\n        A1W0\n        A1W1\n    end\n    A0W0-->|push profile array|E\n    A0W1-->|push profile array|E\n    A1W0-->|push profile array|E\n    A1W1-->|push profile array|E\n    subgraph rabbit[rabbit MQ]\n        E-->|fanout|Q\n    end\n    subgraph imp[imp-prof]\n        I-->|write profile|F\n    end\n    Q-->|fetched event|I\n    Q-.-|consume|I\n    P-->|fetch /metrics|F\n    classDef exchange fill:#A08565;\n    classDef queue fill:#619A46;\n```\n",
    "bugtrack_url": null,
    "license": "BSD-3-Clause",
    "summary": "Imp-prof serves to collect and publish prometheus metrics from pre-forked server workers.",
    "version": "0.1.2",
    "project_urls": {
        "Bug Tracker": "https://gitlab.kajot.cz/online-casino/backend/imp-prof",
        "Homepage": "https://gitlab.kajot.cz/online-casino/backend/imp-prof"
    },
    "split_keywords": [
        "prometheus",
        "fastapi",
        "api",
        "rest",
        "profiling",
        "rabbitmq",
        "python",
        "pika",
        "metrics"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0ac7def7ad886bca0f71eab03dfce58278894126b393cfb509bc286f201841e2",
                "md5": "3c199e5cceff7f456256398761e617a8",
                "sha256": "cac864790148f4d2c935b376567ce7d2d08d1e132877625580a2b5e6b7757798"
            },
            "downloads": -1,
            "filename": "imp_prof-0.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3c199e5cceff7f456256398761e617a8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 18853,
            "upload_time": "2023-07-03T14:25:14",
            "upload_time_iso_8601": "2023-07-03T14:25:14.148485Z",
            "url": "https://files.pythonhosted.org/packages/0a/c7/def7ad886bca0f71eab03dfce58278894126b393cfb509bc286f201841e2/imp_prof-0.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3b863cd9047840e70a40b74e13ca5c7a76429b5bc5670ae136caa0a6696c9e62",
                "md5": "37b7749b28e3fad3369f0b8478dec80a",
                "sha256": "29cbca6fa6b9dd432ec286c6fb6c49c9c098a06e3bcf8cd2c2035ba046da7eb8"
            },
            "downloads": -1,
            "filename": "imp-prof-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "37b7749b28e3fad3369f0b8478dec80a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 16863,
            "upload_time": "2023-07-03T14:25:15",
            "upload_time_iso_8601": "2023-07-03T14:25:15.586823Z",
            "url": "https://files.pythonhosted.org/packages/3b/86/3cd9047840e70a40b74e13ca5c7a76429b5bc5670ae136caa0a6696c9e62/imp-prof-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-03 14:25:15",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "imp-prof"
}
        
Elapsed time: 0.21942s