{"id":22209640,"url":"https://github.com/frgfm/openapm","last_synced_at":"2026-04-20T03:03:52.444Z","repository":{"id":264542241,"uuid":"893107292","full_name":"frgfm/openapm","owner":"frgfm","description":"OpenAPM: ligthweight APM for HTTP FastAPI backend applications","archived":false,"fork":false,"pushed_at":"2025-04-07T11:56:59.000Z","size":100,"stargazers_count":0,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-04T23:47:37.631Z","etag":null,"topics":["apm","backend","fastapi","http","middleware","postgres","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/frgfm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":".github/CODEOWNERS","security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"frgfm","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2024-11-23T14:55:37.000Z","updated_at":"2025-01-06T15:45:12.000Z","dependencies_parsed_at":"2024-12-30T14:36:20.264Z","dependency_job_id":"1ddcee60-916e-4003-b335-6df68f2c829d","html_url":"https://github.com/frgfm/openapm","commit_stats":null,"previous_names":["frgfm/openapm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/frgfm/openapm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frgfm%2Fopenapm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frgfm%2Fopenapm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frgfm%2Fopenapm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frgfm%2Fopenapm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frgfm","download_url":"https://codeload.github.com/frgfm/openapm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frgfm%2Fopenapm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32031070,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apm","backend","fastapi","http","middleware","postgres","python"],"created_at":"2024-12-02T19:38:22.597Z","updated_at":"2026-04-20T03:03:52.387Z","avatar_url":"https://github.com/frgfm.png","language":"Python","funding_links":["https://github.com/sponsors/frgfm"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  OpenAPM: ligthweight APM for FastAPI backend applications\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/frgfm/openapm/actions/workflows/build.yml\"\u003e\n    \u003cimg alt=\"CI Status\" src=\"https://img.shields.io/github/actions/workflow/status/frgfm/openapm/build.yml?branch=main\u0026label=CI\u0026logo=github\u0026style=flat-square\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/astral-sh/ruff\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Linter-Ruff-FCC21B?style=flat-square\u0026logo=ruff\u0026logoColor=white\" alt=\"ruff\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/astral-sh/ruff\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Formatter-Ruff-FCC21B?style=flat-square\u0026logo=Python\u0026logoColor=white\" alt=\"ruff\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://app.codacy.com/gh/frgfm/openapm/dashboard?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=frgfm/openapm\u0026amp;utm_campaign=Badge_Grade\"\u003e\u003cimg src=\"https://app.codacy.com/project/badge/Grade/b93f051065cc4f43bb3e7e46435ca98b\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://codecov.io/gh/frgfm/openapm\"\u003e\n    \u003cimg src=\"https://img.shields.io/codecov/c/github/frgfm/openapm.svg?logo=codecov\u0026style=flat-square\u0026label=Coverage\" alt=\"Test coverage percentage\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://pypi.org/project/openapm/\"\u003e\n    \u003cimg src=\"https://img.shields.io/pypi/v/openapm.svg?logo=PyPI\u0026logoColor=fff\u0026style=flat-square\u0026label=PyPI\" alt=\"PyPi Version\"\u003e\n  \u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/pypi/pyversions/openapm.svg?logo=Python\u0026label=Python\u0026logoColor=fff\u0026style=flat-square\" alt=\"pyversions\"\u003e\n  \u003ca href=\"https://github.com/frgfm/openapm/blob/main/LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/frgfm/openapm.svg?label=License\u0026logoColor=fff\u0026style=flat-square\" alt=\"License\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://frgfm.github.io/openapm\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/actions/workflow/status/frgfm/openapm/docs.yaml?branch=main\u0026label=Documentation\u0026logo=read-the-docs\u0026logoColor=white\u0026style=flat-square\" alt=\"Documentation Status\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nReady-to-use APM backend service and middleware to monitor your FastAPI applications.\n\n## Quick Tour\n\n### Using the middleware\n\nOpenAPM leverages [FastAPI middlewares](https://fastapi.tiangolo.com/tutorial/middleware/#create-a-middleware) and [background tasks](https://fastapi.tiangolo.com/tutorial/background-tasks/) easily retrieve performance information on your HTTP request processing.\n\nYou can find more information in the [documentation](https://frgfm.github.io/openapm/middlewares.html), then use it as follows:\n\n```python\n# Define your model\nfrom openapm.middlewares import FastAPIMiddleware\nfrom fastapi import FastAPI\n\napp = FastAPI()\napp.add_middleware(FastAPIMiddleware(endpoint=\"https://your-apm-endpoint.com\"))\n```\n\n\n## Setup\n\nPython 3.11 (or higher) and [pip](https://pip.pypa.io/en/stable/)/[conda](https://docs.conda.io/en/latest/miniconda.html) are required to install OpenAPM.\n\n### Stable release\n\nYou can install the last stable release of the package using [pypi](https://pypi.org/project/openapm/) as follows:\n\n```shell\npip install openapm\n```\n\n### Developer installation\n\nAlternatively, if you wish to use the latest features of the project that haven't made their way to a release yet, you can install the package from source:\n\n```shell\ngit clone https://github.com/frgfm/openapm.git\npip install -e openapm/.\n```\n\n\n## What else\n\n### Documentation\n\nThe full package documentation is available [here](https://frgfm.github.io/openapm/) for detailed specifications.\n\n\n## Citation\n\nIf you wish to cite this project, feel free to use this [BibTeX](http://www.bibtex.org/) reference:\n\n```bibtex\n@misc{openapm2024,\n    title={OpenAPM: lightweight APM for FastAPI backend applications},\n    author={François-Guillaume Fernandez},\n    year={2024},\n    month={November},\n    publisher = {GitHub},\n    howpublished = {\\url{https://github.com/frgfm/openapm}}\n}\n```\n\n\n\n## Contributing\n\nFeeling like extending the range of supported backend framework? Or perhaps submitting a new metric capture? Any sort of contribution is greatly appreciated!\n\nYou can find a short guide in [`CONTRIBUTING`](CONTRIBUTING.md) to help grow this project!\n\n\n\n## License\n\nDistributed under the Apache 2.0 License. See [`LICENSE`](LICENSE) for more information.\n\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Ffrgfm%2Fopenapm.svg?type=large\u0026issueType=license)](https://app.fossa.com/projects/git%2Bgithub.com%2Ffrgfm%2Fopenapm?ref=badge_large\u0026issueType=license)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrgfm%2Fopenapm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrgfm%2Fopenapm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrgfm%2Fopenapm/lists"}