Fix indentation for nested numerated list
In case of using two spaces github doesn't treat nested list as a separate numerated list.
This commit is contained in:
parent
45988676be
commit
94dc5f3df3
|
@ -28,14 +28,14 @@ The following describes the basic steps required to add a new metric (in Go).
|
||||||
|
|
||||||
2. Create a top-level var to define the metric. For this, you have to:
|
2. Create a top-level var to define the metric. For this, you have to:
|
||||||
|
|
||||||
1. Pick the type of metric. Use a Gauge for things you want to set to a
|
1. Pick the type of metric. Use a Gauge for things you want to set to a
|
||||||
particular value, a Counter for things you want to increment, or a Histogram or
|
particular value, a Counter for things you want to increment, or a Histogram or
|
||||||
Summary for histograms/distributions of values (typically for latency).
|
Summary for histograms/distributions of values (typically for latency).
|
||||||
Histograms are better if you're going to aggregate the values across jobs, while
|
Histograms are better if you're going to aggregate the values across jobs, while
|
||||||
summaries are better if you just want the job to give you a useful summary of
|
summaries are better if you just want the job to give you a useful summary of
|
||||||
the values.
|
the values.
|
||||||
2. Give the metric a name and description.
|
2. Give the metric a name and description.
|
||||||
3. Pick whether you want to distinguish different categories of things using
|
3. Pick whether you want to distinguish different categories of things using
|
||||||
labels on the metric. If so, add "Vec" to the name of the type of metric you
|
labels on the metric. If so, add "Vec" to the name of the type of metric you
|
||||||
want and add a slice of the label names to the definition.
|
want and add a slice of the label names to the definition.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue