mention custom quantiles and buckets in readme (#41)

mention custom quantiles and buckets in readme (#41)

  • mention custom quantiles and buckets in readme

  • fix typo

From d485c752519b0be6f3197c3d44ce90f203ee9df7 Mon Sep 17 00:00:00 2001
From: Jonathan Stern <jonathan.a.stern@gmail.com>
Date: Thu, 18 Oct 2018 19:39:57 -0500
Subject: [PATCH] mention custom quantiles and buckets in readme (#41)

* mention custom quantiles and buckets in readme

* fix typo

diff --git a/README.md b/README.md
index 32b535e..06864f3 100644
--- a/README.md
+++ b/README.md
@@ -84,6 +84,17 @@ histogram.observe(0.2, api: 'twitter')
 

+#### Custom quantiles and buckets
+
+You can also choose custom quantiles for summaries and custom buckets for histograms.
+
+ruby + +summary = PrometheusExporter::Metric::Summary.new("load_time", "time to load page", [0.99, 0.75, 0.5, 0.25]) +histogram = PrometheusExporter::Metric::Histogram.new("api_time", "time to call api", buckets: [0.1, 0.5, 1]) + +
+

Multi process mode

In some cases (for example, unicorn or puma clusters) you may want to aggregate metrics across multiple processes.

[<small>GitHub</small>](https://github.com/discourse/prometheus_exporter/commit/d485c752519b0be6f3197c3d44ce90f203ee9df7)