{"id":15527289,"url":"https://github.com/courtsite/graphene-prometheus","last_synced_at":"2025-06-14T03:05:25.408Z","repository":{"id":57435814,"uuid":"263397546","full_name":"Courtsite/graphene-prometheus","owner":"Courtsite","description":"📊 Prometheus exporter middleware for the Graphene GraphQL framework.","archived":false,"fork":false,"pushed_at":"2023-08-15T22:09:42.000Z","size":12,"stargazers_count":0,"open_issues_count":2,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-14T03:03:57.736Z","etag":null,"topics":["fastapi","graphene","graphene-graphql-framework","graphene-prometheus","middleware","prometheus","starlette"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Courtsite.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-05-12T16:54:36.000Z","updated_at":"2023-05-31T09:43:41.000Z","dependencies_parsed_at":"2023-10-02T04:51:58.342Z","dependency_job_id":null,"html_url":"https://github.com/Courtsite/graphene-prometheus","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"317dcc3be2a6f3a5cf7c11772c68c8e6ef28e7e4"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Courtsite/graphene-prometheus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Courtsite%2Fgraphene-prometheus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Courtsite%2Fgraphene-prometheus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Courtsite%2Fgraphene-prometheus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Courtsite%2Fgraphene-prometheus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Courtsite","download_url":"https://codeload.github.com/Courtsite/graphene-prometheus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Courtsite%2Fgraphene-prometheus/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259752050,"owners_count":22905970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["fastapi","graphene","graphene-graphql-framework","graphene-prometheus","middleware","prometheus","starlette"],"created_at":"2024-10-02T11:05:24.159Z","updated_at":"2025-06-14T03:05:25.385Z","avatar_url":"https://github.com/Courtsite.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# graphene-prometheus\n\n📊 Prometheus exporter middleware for the Graphene GraphQL framework.\n\n_This is still under development. Use at your own risk._\n\n## Usage\n\nInstall using `pip install graphene-prometheus` or `poetry add graphene-prometheus`.\n\n### Graphene\n\n```python\nimport graphene_prometheus\n\nschema.execute(\"THE QUERY\", middleware=[graphene_prometheus.PrometheusMiddleware()])\n```\n\nSee https://docs.graphene-python.org/en/latest/execution/middleware/#middleware for more information.\n\n### Django\n\nIn `settings.py`:\n\n```python\nGRAPHENE = {\n    \"MIDDLEWARE\": [\"graphene_prometheus.PrometheusMiddleware\"],\n}\n```\n\nSee https://docs.graphene-python.org/projects/django/en/latest/settings/#middleware for more information.\n\n### FastAPI / Starlette\n\nComing soon.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcourtsite%2Fgraphene-prometheus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcourtsite%2Fgraphene-prometheus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcourtsite%2Fgraphene-prometheus/lists"}