Debian Codegraph @

pdata/internal/generated_enum_aggregationtemporality.go

raw
1 // Copyright The OpenTelemetry Authors
2 // SPDX-License-Identifier: Apache-2.0
3
4 // Code generated by "internal/cmd/pdatagen/main.go". DO NOT EDIT.
5 // To regenerate this file run "make genpdata".
6
7 package internal
8
9 const (
10 AggregationTemporality_AGGREGATION_TEMPORALITY_UNSPECIFIED = AggregationTemporality(0)
11 AggregationTemporality_AGGREGATION_TEMPORALITY_DELTA = AggregationTemporality(1)
12 AggregationTemporality_AGGREGATION_TEMPORALITY_CUMULATIVE = AggregationTemporality(2)
13 )
14
15 // AggregationTemporality defines how a metric aggregator reports aggregated values.
16 // It describes how those values relate to the time interval over which they are aggregated.
17 type AggregationTemporality int32
18
19 var AggregationTemporality_name = map[int32]string{
20 0: "AGGREGATION_TEMPORALITY_UNSPECIFIED",
21 1: "AGGREGATION_TEMPORALITY_DELTA",
22 2: "AGGREGATION_TEMPORALITY_CUMULATIVE",
23 }
24
25 var AggregationTemporality_value = map[string]int32{
26 "AGGREGATION_TEMPORALITY_UNSPECIFIED": 0,
27 "AGGREGATION_TEMPORALITY_DELTA": 1,
28 "AGGREGATION_TEMPORALITY_CUMULATIVE": 2,
29 }