@@ -137,7 +137,7 @@ export interface Metric<R> {
137137 */
138138 labelValues ( labelValues : Tags | string [ ] ) : R ;
139139 /**
140- * Returns the metric record mechansim associated to the labelValue, if
140+ * Returns the metric record mechanism associated to the labelValue, if
141141 * existed
142142 */
143143 getRecorder ( labelValues ?: Tags | string [ ] ) : R ;
@@ -157,7 +157,7 @@ export type MetricDistributions = Distribution[];
157157
158158
159159/**
160- * Maps that contains all labelValues -> Mensuremnt of a Count or Gouge Metric
160+ * Maps that contains all labelValues -> Measurement of a Count or Gauge Metric
161161 */
162162export type MetricSingleValues = SingleValue [ ] ;
163163
@@ -166,13 +166,13 @@ export type MetricValues = MetricSingleValues|MetricDistributions;
166166
167167/** Type of MetricValues */
168168export const enum MetricValuesTypes {
169- single ,
170- distribution
169+ SINGLE ,
170+ DISTRIBUTION
171171}
172172
173- /** Config for metrics */
173+ /** Config for metrics */
174174export interface MetricConfig {
175- /** Metric descripor */
175+ /** Metric descriptor */
176176 descriptor : MetricDescriptor ;
177177 /**
178178 * Only for gauges- if true the value returned from snapshots will be the
@@ -201,7 +201,7 @@ export type SimpleRange = {
201201/** The bucket boundaries for a histogram. */
202202export type HistogramBoundaries = {
203203 range : SimpleRange ;
204- /** List of numbers defining the boundaries for a histogram. */
204+ /** List of numbers defining the boundaries for a histogram. */
205205 bucketBoundaries : number [ ] ;
206206} ;
207207
0 commit comments