{"id":18457532,"url":"https://github.com/monorkin/prometheus_verk","last_synced_at":"2025-07-15T10:06:37.239Z","repository":{"id":149276447,"uuid":"148063042","full_name":"monorkin/prometheus_verk","owner":"monorkin","description":"Prometheus exporter for Verk","archived":false,"fork":false,"pushed_at":"2018-09-10T08:34:35.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-02T19:07:51.883Z","etag":null,"topics":["elixir","prometheus","verk"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/monorkin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-09-09T20:27:22.000Z","updated_at":"2018-10-17T17:24:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"45ff4a97-0815-4c32-b145-eefb1205c28f","html_url":"https://github.com/monorkin/prometheus_verk","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/monorkin/prometheus_verk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monorkin%2Fprometheus_verk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monorkin%2Fprometheus_verk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monorkin%2Fprometheus_verk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monorkin%2Fprometheus_verk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/monorkin","download_url":"https://codeload.github.com/monorkin/prometheus_verk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monorkin%2Fprometheus_verk/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265427367,"owners_count":23763298,"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":["elixir","prometheus","verk"],"created_at":"2024-11-06T08:14:43.369Z","updated_at":"2025-07-15T10:06:37.230Z","avatar_url":"https://github.com/monorkin.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PrometheusVerk\n\n[Prometheus](https://prometheus.io/) exporter for\n[Verk](https://github.com/edgurgel/verk).\n\nThe following metrics are exported:\n\nThings that don't make sense:\n- [x] total number of finished jobs\n- [x] total number of failed jobs\n- [x] total number of started jobs\n- [x] total number of retried jobs\n- [x] total number of stopped queues\n\nThings that make sense:\n- [x] job duration\n- [x] job duration before failure\n- [x] current number of failed jobs\n- [x] current number of finished jobs\n- [x] current number of running jobs\n- [x] current number of dead jobs\n- [x] current number of retrying jobs\n- [x] current number of pending jobs\n- [x] current number of scheduled jobs\n- [ ] current number of running queues\n- [ ] current number of idle queues\n- [ ] current number of pausing queues\n- [ ] current number of paused queues\n\n## Installation\n\nThis package is not yet available through Hex, but can be installed via Git:\n\n```elixir\ndef deps do\n  [\n    {:prometheus_verk, github: \"monorkin/prometheus_verk\"}\n  ]\nend\n```\n\nIn your `application.ex` file add `PrometheusVerk` as a worker. E.g.:\n\n```elixir\ndef start(_type, _args) do\n    import Supervisor.Spec\n\n    # Define workers and child supervisors to be supervised\n    children = [\n      supervisor(MyApp.Repo, []),\n      supervisor(MyApp.Web.Endpoint, []),\n      supervisor(Verk.Supervisor, []),\n      worker(PrometheusVerk, []) # \u003c----- THIS\n    ]\n\n    opts = [strategy: :one_for_one, name: MyApp.Supervisor]\n    Supervisor.start_link(children, opts)\n  end\n```\n\n## Changelog\n\nA changelog is kept in the [CHANGELOG.md](/CHANGELOG.md) file.\n\n## License\n\nThis project is licensed under the MIT license. For more details reference the\n[LICENSE](/LICENSE) file.\n\nThis software is provided \"as is\" without any kind of warranty.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonorkin%2Fprometheus_verk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonorkin%2Fprometheus_verk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonorkin%2Fprometheus_verk/lists"}