{"id":13508413,"url":"https://github.com/deadtrickster/prometheus-phoenix","last_synced_at":"2025-02-24T00:08:55.073Z","repository":{"id":54307599,"uuid":"66071134","full_name":"deadtrickster/prometheus-phoenix","owner":"deadtrickster","description":"Prometheus.io Phoenix instrumenter","archived":false,"fork":false,"pushed_at":"2021-02-25T03:53:57.000Z","size":54,"stargazers_count":71,"open_issues_count":8,"forks_count":20,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-02-16T14:24:05.580Z","etag":null,"topics":["collector","elixir","instrumentation","monitoring","phoenix","prometheus"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/deadtrickster.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2016-08-19T09:35:04.000Z","updated_at":"2024-08-08T13:51:05.000Z","dependencies_parsed_at":"2022-08-13T11:31:22.498Z","dependency_job_id":null,"html_url":"https://github.com/deadtrickster/prometheus-phoenix","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadtrickster%2Fprometheus-phoenix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadtrickster%2Fprometheus-phoenix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadtrickster%2Fprometheus-phoenix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadtrickster%2Fprometheus-phoenix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deadtrickster","download_url":"https://codeload.github.com/deadtrickster/prometheus-phoenix/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240395743,"owners_count":19794573,"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":["collector","elixir","instrumentation","monitoring","phoenix","prometheus"],"created_at":"2024-08-01T02:00:52.696Z","updated_at":"2025-02-24T00:08:55.051Z","avatar_url":"https://github.com/deadtrickster.png","language":"Elixir","funding_links":[],"categories":["Instrumenting / Monitoring"],"sub_categories":[],"readme":"# Prometheus.io Phoenix Instrumenter\n[![Hex.pm](https://img.shields.io/hexpm/v/prometheus_phoenix.svg?maxAge=2592000)](https://hex.pm/packages/prometheus_phoenix)\n[![Hex.pm](https://img.shields.io/hexpm/dt/prometheus_phoenix.svg?maxAge=2592000)](https://hex.pm/packages/prometheus_phoenix)\n[![Build Status](https://travis-ci.org/deadtrickster/prometheus-phoenix.svg?branch=master)](https://travis-ci.org/deadtrickster/prometheus-phoenix)\n[![Documentation](https://img.shields.io/badge/documentation-on%20hexdocs-green.svg)](https://hexdocs.pm/prometheus_phoenix/)\n\nPhoenix integration for [Prometheus.ex](https://github.com/deadtrickster/prometheus.ex).\n\n - IRC: #elixir-lang on Freenode;\n - [Slack](https://elixir-slackin.herokuapp.com/): #prometheus channel - [Browser](https://elixir-lang.slack.com/messages/prometheus) or App(slack://elixir-lang.slack.com/messages/prometheus).\n\n## Metrics\n\n  Metrics implemented for the following built-in events:\n\n  - `phoenix_controller_call`\n    - `phoenix_controller_call_duration_\u003cduration_unit\u003e`;\n  - `phoenix_controller_render`\n    - `phoenix_controller_render_duration_\u003cduration_unit\u003e`;\n  - `phoenix_channel_join`\n    - `phoenix_channel_join_duration_\u003cduration_unit\u003e`;\n  - `phoenix_channel_receive`\n    - `phoenix_channel_receive_duration_\u003cduration_unit\u003e`.\n    \n## Live endpoint\n\nhttps://slackinex.herokuapp.com/metrics\n\n## Configuration\n\nThis integration is configured via \u003cInstrumenterName\u003e `:prometheus` app env key. Please see `Prometheus.PhoenixInstrumenter` module documentation for more information.\n\n## Integrations / Collectors / Instrumenters\n - [Ecto collector](https://github.com/deadtrickster/prometheus-ecto)\n - [Plugs Instrumenter/Exporter](https://github.com/deadtrickster/prometheus-plugs)\n - [Elli middleware](https://github.com/elli-lib/elli_prometheus)\n - [Fuse plugin](https://github.com/jlouis/fuse#fuse_stats_prometheus)\n - [Phoenix instrumenter](https://github.com/deadtrickster/prometheus-phoenix)\n - [Process Info Collector](https://github.com/deadtrickster/prometheus_process_collector.erl)\n - [RabbitMQ Exporter](https://github.com/deadtrickster/prometheus_rabbitmq_exporter)\n\n## Installation\n\n[Available in Hex](https://hex.pm/packages/prometheus_phoenix/), the package can be installed as:\n\n1. Add `prometheus_phoenix` to your list of dependencies in `mix.exs`:\n  \n   ```elixir\n   def deps do\n     [{:prometheus_phoenix, \"~\u003e 1.3.0\"}]\n   end\n   ```\n\n2. Ensure `prometheus_phoenix` is started before your application:\n\n   ```elixir\n   def application do\n     [applications: [:prometheus_phoenix]]\n   end\n   ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadtrickster%2Fprometheus-phoenix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeadtrickster%2Fprometheus-phoenix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadtrickster%2Fprometheus-phoenix/lists"}