{"id":17287677,"url":"https://github.com/lasylv/nestjs-actuator","last_synced_at":"2026-04-22T05:32:57.144Z","repository":{"id":37023935,"uuid":"266210871","full_name":"LaSylv/nestjs-actuator","owner":"LaSylv","description":"Allow monitoring NestJS applications through Spring Boot Admin","archived":false,"fork":false,"pushed_at":"2023-09-25T20:01:19.000Z","size":1732,"stargazers_count":1,"open_issues_count":29,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-17T23:59:54.537Z","etag":null,"topics":["monitoring","nest","nestjs","spring-boot-admin"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/LaSylv.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,"roadmap":null,"authors":null}},"created_at":"2020-05-22T21:27:17.000Z","updated_at":"2025-03-11T10:18:42.000Z","dependencies_parsed_at":"2023-12-31T04:01:11.627Z","dependency_job_id":"0ddc4687-e560-410c-b1a4-821610b55939","html_url":"https://github.com/LaSylv/nestjs-actuator","commit_stats":{"total_commits":392,"total_committers":5,"mean_commits":78.4,"dds":0.05102040816326525,"last_synced_commit":"9a14fd6d61ea664a16f3d6cd6f788acc39634e9d"},"previous_names":["glosur/nest-actuator","glosur/nestjs-actuator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LaSylv/nestjs-actuator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaSylv%2Fnestjs-actuator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaSylv%2Fnestjs-actuator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaSylv%2Fnestjs-actuator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaSylv%2Fnestjs-actuator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LaSylv","download_url":"https://codeload.github.com/LaSylv/nestjs-actuator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaSylv%2Fnestjs-actuator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28595316,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"last_error":"SSL_read: 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":["monitoring","nest","nestjs","spring-boot-admin"],"created_at":"2024-10-15T10:06:02.102Z","updated_at":"2026-01-20T04:01:25.261Z","avatar_url":"https://github.com/LaSylv.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003ch1 align=\"center\"\u003eNestjs Actuator\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003eA module to monitor your \u003ca href=\"https://github.com/nestjs/nest\"\u003eNestjs\u003c/a\u003e applications.\u003c/p\u003e\n\u003cbr/\u003e\n\u003cp align=\"center\"\u003e\n    \u003cimg alt=\"GitHub\" src=\"https://img.shields.io/github/license/glosur/nestjs-actuator\"\u003e\n    \u003cimg alt=\"npm\" src=\"https://img.shields.io/npm/v/@glosur/nestjs-actuator\"\u003e\n    \u003ca href=\"https://cloud.drone.io/Glosur/nestjs-actuator\"\u003e\n        \u003cimg src=\"https://cloud.drone.io/api/badges/Glosur/nestjs-actuator/status.svg\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://codeclimate.com/github/Glosur/nestjs-actuator/maintainability\"\u003e\n        \u003cimg src=\"https://api.codeclimate.com/v1/badges/b4a9985f26bfb6b4250d/maintainability\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://codecov.io/gh/Glosur/nestjs-actuator\"\u003e\n      \u003cimg src=\"https://codecov.io/gh/Glosur/nestjs-actuator/branch/master/graph/badge.svg\" /\u003e\n    \u003c/a\u003e\n    \u003cimg alt=\"GitHub top language\" src=\"https://img.shields.io/github/languages/top/glosur/nestjs-actuator\"\u003e\n\u003c/p\u003e\n\n## Description\n\nNestjs-actuator is a [NestJS](https://nestjs.com/) module (Typescript) implementation of the [Spring Actuator API](https://docs.spring.io/spring-boot/docs/current/actuator-api/html/#info) .\n \nThis project was inspired by [Pyctuator](https://github.com/SolarEdgeTech/pyctuator).\n \nThis module aims to register and monitor NestJS application through [Spring Boot Admin](https://github.com/codecentric/spring-boot-admin).\nHowever, this module can also be used just to expose the endpoints provided.\n\nThe project come with only one hard dependency, `@nestjs/schedule` which might be removed in the future.\n\n## Installation\n\n```bash\n$ npm install --save @glosur/nestjs-actuator\n```\n\n## How to use\n\nImport `ActuatorModule` into the root `ApplicationModule`\n\n```typescript\nimport { Module } from '@nestjs/common';\nimport {ActuatorModule} from \"./actuator.module\";\n\n@Module({\n  imports: [\n    ActuatorModule.forRoot({\n                    registration : {\n                       adminServerUrl: 'http://localhost:8080', // URL of the spring boot admin server\n                       name: 'myApp', // Name of your app\n                       serviceUrl: 'http://localhost:3000', // URL to register with to Spring Boot Admin. This is what Spring Boot Admin will try to call to fetch informations.\n                       auth: { // Optional, needed if you secured your Spring Boot Admin Server\n                          \"username\": \"username\",\n                          \"password\": \"pwd\"\n                       },\n                       metadata: {} // Optional, additionals metadata\n                   }\n                }),\n    ]\n})\nexport class ApplicationModule {}\n```\n\n### Supported SBA features\n* **Version:** Display the version of the app\n* **Environment:** Display environment variables (Hiding sensible ones)\n* **Http traces:** Display the last 100 http calls to your application\n\nMore to come !\n\n## Actuator Endpoints security\n\nThis project does not provide any security on the exposed endpoints. Apply a middleware to `/actuator` to protect it. \nHowever make sure to make the Spring Boot Admin Server aware of those security concerns through metadata.\n\n\n## Compatibility version\n\nThis module has only be tested againt NestJS 7+. It *might* work with lower versions.\n\n## Known caveats\n\nDue to how works interceptors in NestJS, some calls can't be seen in the Http Traces tab. Those calls are the one not mapped to any route.\nAlso, exception filters getting triggered after interceptors means the status code can sometimee be missing\n\n## License\n\nMIT licensed\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flasylv%2Fnestjs-actuator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flasylv%2Fnestjs-actuator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flasylv%2Fnestjs-actuator/lists"}