{"id":50167064,"url":"https://github.com/metorresponce/fastapi-observability-demo","last_synced_at":"2026-05-24T21:32:48.905Z","repository":{"id":311295109,"uuid":"1043150810","full_name":"metorresponce/fastapi-observability-demo","owner":"metorresponce","description":"FastAPI + Prometheus metrics (/metrics) with CI (pytest, Docker build, CodeQL).","archived":false,"fork":false,"pushed_at":"2026-02-01T21:14:27.000Z","size":92,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-02T14:48:20.780Z","etag":null,"topics":["docker","fastapi","github-actions","metrics","observability","portfolio","prometheus","python"],"latest_commit_sha":null,"homepage":"","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/metorresponce.png","metadata":{"files":{"readme":"README.ES.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-23T08:44:20.000Z","updated_at":"2026-02-01T21:14:30.000Z","dependencies_parsed_at":"2026-02-02T15:01:27.805Z","dependency_job_id":null,"html_url":"https://github.com/metorresponce/fastapi-observability-demo","commit_stats":null,"previous_names":["mariano-tp/fastapi-observability-demo","metorresponce/fastapi-observability-demo"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/metorresponce/fastapi-observability-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metorresponce%2Ffastapi-observability-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metorresponce%2Ffastapi-observability-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metorresponce%2Ffastapi-observability-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metorresponce%2Ffastapi-observability-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metorresponce","download_url":"https://codeload.github.com/metorresponce/fastapi-observability-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metorresponce%2Ffastapi-observability-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33452032,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-24T19:21:36.376Z","status":"ssl_error","status_checked_at":"2026-05-24T19:21:10.562Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["docker","fastapi","github-actions","metrics","observability","portfolio","prometheus","python"],"created_at":"2026-05-24T21:32:48.125Z","updated_at":"2026-05-24T21:32:48.901Z","avatar_url":"https://github.com/metorresponce.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e Available languages / Idiomas disponibles: [*English*](README.md) / [*Español*](README.ES.md)\n\nVolver al repositorio: [Home](https://github.com/metorresponce/metorresponce/blob/main/README.ES.md)\n\n[![tests](https://img.shields.io/github/actions/workflow/status/metorresponce/fastapi-observability-demo/ci.yml?branch=main\u0026label=tests\u0026style=flat-square)](https://github.com/metorresponce/fastapi-observability-demo/actions/workflows/ci.yml)\n[![docker-build](https://img.shields.io/github/actions/workflow/status/metorresponce/fastapi-observability-demo/docker-ci.yml?branch=main\u0026label=docker-build\u0026style=flat-square)](https://github.com/metorresponce/fastapi-observability-demo/actions/workflows/docker-ci.yml)\n[![CodeQL](https://img.shields.io/github/actions/workflow/status/metorresponce/fastapi-observability-demo/codeql.yml?branch=main\u0026label=codeql\u0026style=flat-square)](https://github.com/metorresponce/fastapi-observability-demo/actions/workflows/codeql.yml)\n[![last commit](https://img.shields.io/github/last-commit/metorresponce/fastapi-observability-demo?style=flat-square)](https://github.com/metorresponce/fastapi-observability-demo/commits/main)\n[![release](https://img.shields.io/github/v/release/metorresponce/fastapi-observability-demo?display_name=tag\u0026style=flat-square)](https://github.com/metorresponce/fastapi-observability-demo/releases)\n[![license: MIT](https://img.shields.io/badge/license-MIT-green?style=flat-square)](./LICENSE)\n[![stars](https://img.shields.io/github/stars/metorresponce/fastapi-observability-demo?style=flat-square)](https://github.com/metorresponce/fastapi-observability-demo/stargazers)\n\n# FastAPI Observability Demo\n\nAPI mínima en FastAPI que expone `/metrics` mediante `prometheus-fastapi-instrumentator`.\n\nEste repositorio está pensado para validarse completamente dentro de GitHub:\ntests, análisis de seguridad y build de la imagen Docker se ejecutan en GitHub Actions.\n\nNo hace falta instalar nada en local para evaluarlo.\n\n## Endpoints\n- GET `/health` -\u003e `{\"status\":\"ok\"}`\n- GET `/predict?x=\u003cfloat\u003e\u0026y=\u003cfloat\u003e` -\u003e suma simple\n- GET `/metrics` -\u003e métricas para Prometheus\n\n## Cómo validarlo (GitHub Actions)\nEntrá en la pestaña Actions y ejecutá los workflows (o empujá un commit).\n\n- tests (ci.yml)  \n  Ejecuta pytest en CI.  \n  Evidencia: logs del workflow y, si están habilitados, artifacts descargables como reportes de tests/coverage.\n\n- docker-build (docker-ci.yml)  \n  Construye la imagen Docker sin publicarla (sin push).\n\n- codeql (codeql.yml)  \n  Ejecuta análisis estático orientado a seguridad.\n\n## Estructura\n```text\n.\n├── app/\n│   └── main.py\n├── tests/\n│   └── test_app.py\n├── Dockerfile\n├── requirements.txt\n├── pytest.ini\n└── .github/workflows/\n    ├── ci.yml\n    ├── docker-ci.yml\n    └── codeql.yml\n```\n\n## Créditos\nRepositorio de portfolio por @metorresponce. Licencia MIT.\n\nVer también: [Code of Conduct](./CODE_OF_CONDUCT.md) · [Contributing](./CONTRIBUTING.md) · [Security](./SECURITY.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetorresponce%2Ffastapi-observability-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetorresponce%2Ffastapi-observability-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetorresponce%2Ffastapi-observability-demo/lists"}