44 lines
1.7 KiB
JavaScript
44 lines
1.7 KiB
JavaScript
/*
|
|
* Copyright The OpenTelemetry Authors
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* https://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
/**
|
|
* The aggregated point data type.
|
|
*/
|
|
export var DataPointType;
|
|
(function (DataPointType) {
|
|
/**
|
|
* A histogram data point contains a histogram statistics of collected
|
|
* values with a list of explicit bucket boundaries and statistics such
|
|
* as min, max, count, and sum of all collected values.
|
|
*/
|
|
DataPointType[DataPointType["HISTOGRAM"] = 0] = "HISTOGRAM";
|
|
/**
|
|
* An exponential histogram data point contains a histogram statistics of
|
|
* collected values where bucket boundaries are automatically calculated
|
|
* using an exponential function, and statistics such as min, max, count,
|
|
* and sum of all collected values.
|
|
*/
|
|
DataPointType[DataPointType["EXPONENTIAL_HISTOGRAM"] = 1] = "EXPONENTIAL_HISTOGRAM";
|
|
/**
|
|
* A gauge metric data point has only a single numeric value.
|
|
*/
|
|
DataPointType[DataPointType["GAUGE"] = 2] = "GAUGE";
|
|
/**
|
|
* A sum metric data point has a single numeric value and a
|
|
* monotonicity-indicator.
|
|
*/
|
|
DataPointType[DataPointType["SUM"] = 3] = "SUM";
|
|
})(DataPointType || (DataPointType = {}));
|
|
//# sourceMappingURL=MetricData.js.map
|