{"id":28059958,"url":"https://github.com/beam-telemetry/telemetry_metrics_prometheus","last_synced_at":"2025-08-24T19:08:28.130Z","repository":{"id":42562257,"uuid":"171414611","full_name":"beam-telemetry/telemetry_metrics_prometheus","owner":"beam-telemetry","description":"Complete Telemetry.Metrics Reporter solution for Prometheus ","archived":false,"fork":false,"pushed_at":"2021-07-20T21:13:38.000Z","size":96,"stargazers_count":70,"open_issues_count":3,"forks_count":16,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-09-22T15:17:48.877Z","etag":null,"topics":["elixir","metrics","monitoring","observability","prometheus","reporter","telemetry"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/beam-telemetry.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null},"funding":{"github":"BRYANNAEGELE"}},"created_at":"2019-02-19T05:59:32.000Z","updated_at":"2024-07-15T14:11:11.000Z","dependencies_parsed_at":"2022-08-30T17:22:21.199Z","dependency_job_id":null,"html_url":"https://github.com/beam-telemetry/telemetry_metrics_prometheus","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beam-telemetry%2Ftelemetry_metrics_prometheus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beam-telemetry%2Ftelemetry_metrics_prometheus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beam-telemetry%2Ftelemetry_metrics_prometheus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beam-telemetry%2Ftelemetry_metrics_prometheus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beam-telemetry","download_url":"https://codeload.github.com/beam-telemetry/telemetry_metrics_prometheus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253702178,"owners_count":21949931,"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","metrics","monitoring","observability","prometheus","reporter","telemetry"],"created_at":"2025-05-12T08:34:43.148Z","updated_at":"2025-05-12T08:34:45.950Z","avatar_url":"https://github.com/beam-telemetry.png","language":"Elixir","funding_links":["https://github.com/sponsors/BRYANNAEGELE"],"categories":[],"sub_categories":[],"readme":"# TelemetryMetricsPrometheus\n\n[![CircleCI](https://circleci.com/gh/beam-telemetry/telemetry_metrics_prometheus/tree/master.svg?style=svg)](https://circleci.com/gh/beam-telemetry/telemetry_metrics_prometheus/tree/master) [![codecov](https://codecov.io/gh/beam-telemetry/telemetry_metrics_prometheus/branch/master/graph/badge.svg?token=ZukGAUDLwH)](https://codecov.io/gh/beam-telemetry/telemetry_metrics_prometheus) [![Hex](https://img.shields.io/hexpm/v/telemetry_metrics_prometheus.svg)](https://hex.pm/packages/telemetry_metrics_prometheus) [![Hexdocs](https://img.shields.io/badge/hex-docs-blue.svg?style=flat)](https://hexdocs.pm/telemetry_metrics_prometheus/overview.html)\n\nTelemetryMetricsPrometheus is a [Telemetry.Metrics Reporter](https://hexdocs.pm/telemetry_metrics/Telemetry.Metrics.html#module-reporters) for aggregating and exposing [Prometheus](https://prometheus.io) metrics based on `Telemetry.Metrics` definitions. TelemetryMetricsPrometheus provides a server out of the box exposing a `/metrics` endpoint, making setup a breeze.\n\n## Is this the right Prometheus package for me?\n\nIf you want to take advantage of consuming `:telemetry` events with the ease of \ndefining and managing metrics `Telemetry.Metrics` brings for Prometheus, then yes! \nThis package provides a simple and straightforward way to aggregate and report \nPrometheus metrics. Whether you're using [Prometheus](https://prometheus.io/docs/prometheus/latest/getting_started/) servers, [Datadog](https://docs.datadoghq.com/integrations/prometheus/), \nor any other monitoring solution which supports scraping, you're in luck!\n\nIf you're not interested in taking advantage of `Telemetry.Metrics` but still \nwant to implement Prometheus or use `:telemetry` in your project, have a look at \nsomething like the [OpenCensus](https://github.com/opencensus-beam) project and \nsee if it better meets your needs.\n\n### What if I don't want the bundled server?\n\n[TelemetryMetricsPrometheus.Core](https://github.com/beam-telemetry/telemetry_metrics_prometheus_core) is the core implementation. You can run Core directly, however you will need to do all\nof the plumbing to expose a `/metrics` route.\n\n## Installation\n\nThe package can be installed by adding `telemetry_metrics_prometheus` to your \nlist of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:telemetry_metrics_prometheus, \"~\u003e 1.1.0\"}\n  ]\nend\n```\n\nSee the documentation on [Hexdocs](https://hexdocs.pm/telemetry_metrics_prometheus) for more information.\n\n\n## Contributing\n\nContributors are highly welcome! \n\nAdditional documentation and tests are welcome. \n\nPlease open an issue for discussion before undertaking anything non-trivial before\njumping in and submitting a PR.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeam-telemetry%2Ftelemetry_metrics_prometheus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeam-telemetry%2Ftelemetry_metrics_prometheus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeam-telemetry%2Ftelemetry_metrics_prometheus/lists"}