{"id":26121552,"url":"https://github.com/fizzed/prometheus-plus","last_synced_at":"2025-10-23T20:41:23.468Z","repository":{"id":57719287,"uuid":"320916041","full_name":"fizzed/prometheus-plus","owner":"fizzed","description":"Utilities and framework integrations for Java and Prometheus","archived":false,"fork":false,"pushed_at":"2020-12-30T05:15:37.000Z","size":3286,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-03-27T08:17:15.945Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fizzed.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-12T20:17:43.000Z","updated_at":"2024-03-27T08:17:15.946Z","dependencies_parsed_at":"2022-08-26T09:41:56.851Z","dependency_job_id":null,"html_url":"https://github.com/fizzed/prometheus-plus","commit_stats":null,"previous_names":["fizzed/ninja-prometheus"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fizzed%2Fprometheus-plus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fizzed%2Fprometheus-plus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fizzed%2Fprometheus-plus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fizzed%2Fprometheus-plus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fizzed","download_url":"https://codeload.github.com/fizzed/prometheus-plus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242865379,"owners_count":20197884,"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":[],"created_at":"2025-03-10T14:23:47.147Z","updated_at":"2025-10-23T20:41:18.425Z","avatar_url":"https://github.com/fizzed.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Ninja Framework + Prometheus by Fizzed\n============================================\n\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.fizzed/prometheus-plus/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.fizzed/prometheus-plus)\n\n[Fizzed, Inc.](http://fizzed.com) (Follow on Twitter: [@fizzed_inc](http://twitter.com/fizzed_inc))\n\n## Overview\n\nIntegration of [Prometheus](https://prometheus.io) with the\n[Ninja Framework](https://github.com/ninjaframework/ninja).\n\n## Setup\n\nAdd the prometheus-ninja-module dependency to your Maven pom.xml\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.fizzed\u003c/groupId\u003e\n    \u003cartifactId\u003eprometheus-ninja-module\u003c/artifactId\u003e\n    \u003cversion\u003e0.0.5\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nIn your `conf/Module.java` file:\n\n```java\npackage conf;\n\nimport com.fizzed.prometheus.ninja.NinjaPrometheusModule;\nimport com.google.inject.AbstractModule;\n\npublic class Module extends AbstractModule {\n\n    @Override\n    protected void configure() {\n        install(new NinjaPrometheusModule());\n    }\n\n}\n```\n\nIn your `conf/Routes.java` file:\n\n```java\npackage conf;\n\nimport com.fizzed.prometheus.ninja.NinjaPrometheusRoutes;\nimport ninja.Results;\nimport ninja.Router;\nimport ninja.application.ApplicationRoutes;\n\npublic class Routes implements ApplicationRoutes {\n\n    @Override\n    public void init(Router router) {\n        \n        NinjaPrometheusRoutes.init(router);\n\n    }\n    \n}\n```\n\n## Demo \n\nThere is a Ninja app in the `demo` folder that demonstrates all the functionality\nthis module provides and it's a simple way to see how it works.  This project \nuses [Blaze](https://github.com/fizzed/blaze) to help script tasks. Run the\nfollowing in your shell (from the root project directory, not in `demo`):\n\n    java -jar blaze.jar demo\n\nOnce running, point your browser to http://localhost:8080/\n\n## License\n\nCopyright (C) 2020 Fizzed, Inc.\n\nThis work is licensed under the Apache License, Version 2.0. See LICENSE for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffizzed%2Fprometheus-plus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffizzed%2Fprometheus-plus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffizzed%2Fprometheus-plus/lists"}