Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
reachfh committed Jul 14, 2024
1 parent 67b6b2d commit ab0852a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ handler to respond to metrics requests, or you can add a route/endpoint to

This module supports the standard Exometer probe types such as counter,
as well as using [labels](https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels),
which is more natural for Prometheus, e.g..
which is more natural for Prometheus, e.g.:

api_http_requests_total{method="POST", handler="/messages"}

Expand Down Expand Up @@ -43,7 +43,7 @@ The result might look something like this for an API service:
## Prometheus histograms vs Exometer histograms

There is a fundamental difference between Exometer histograms and Prometheus
histograms. Exometer histogram buckets are dynamic, so when you get e.g. the
histograms. Exometer histogram buckets are dynamic, so when you get e.g., the
95% bucket, it depends on the actual samples. Prometheus histograms have a
static range, and are perhaps best thought of as having multiple counters, one
for each bucket. Because of this, we need to predefine the bucket ranges that
Expand All @@ -64,7 +64,7 @@ This will pull in Exometer and its dependencies.

Configure Exometer to use the custom
[probes](https://github.com/Feuerlabs/exometer_core/blob/master/doc/README.md#Built-in_entries_and_probes)
defined in this module, e.g. in `config/config.exs`.
defined in this module, e.g., in `config/config.exs`.

```elixir
config :exometer_core,
Expand Down

0 comments on commit ab0852a

Please sign in to comment.