Opentelemetry.MetricsSourceMetrics.
See the spec
A single metric, measuring some time-varying quantity or statistical distribution. It is composed of one or more data points that have precise values and time stamps. Each distinct metric should have a distinct name.
val float :
?start_time_unix_nano:??? ->
?now:??? ->
?attrs:??? ->
float ->
Proto.Metrics.number_data_pointNumber data point, as a float
val int :
?start_time_unix_nano:??? ->
?now:??? ->
?attrs:??? ->
int ->
Proto.Metrics.number_data_pointNumber data point, as an int
val gauge :
name:string ->
?description:??? ->
?unit_:??? ->
Proto.Metrics.number_data_point list ->
tAggregation of a scalar metric, always with the current value
val sum :
name:string ->
?description:??? ->
?unit_:??? ->
?aggregation_temporality:??? ->
?is_monotonic:??? ->
Proto.Metrics.number_data_point list ->
tSum of all reported measurements over a time interval
val histogram_data_point :
?start_time_unix_nano:??? ->
?now:??? ->
?attrs:??? ->
?exemplars:??? ->
?explicit_bounds:??? ->
?sum:??? ->
bucket_counts:int64 list ->
count:int64 ->
unit ->
Proto.Metrics.histogram_data_pointHistogram data
val histogram :
name:string ->
?description:??? ->
?unit_:??? ->
?aggregation_temporality:??? ->
Proto.Metrics.histogram_data_point list ->
tval make_resource_metrics :
?service_name:??? ->
?attrs:??? ->
t list ->
Proto.Metrics.resource_metricsAggregate metrics into a Proto.Metrics.resource_metrics