Skip to content

Commit

Permalink
[mdatagen] Clarify some comments in metadata.yaml schema (#6976)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitryax committed Dec 30, 2021
1 parent 6b42249 commit dfa06ab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd/mdatagen/metric-metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@ metrics:
<sum|gauge|histogram>:
# Required for sum and gauge metrics: type of number data point values.
value_type: # int | double
# Required for sum metric.
# Required for sum metric: whether the metric is monotonic (no negative delta values).
monotonic: # true | false
# Required for int sum and histogram metrics.
# Required for sum and histogram metrics: whether reported values incorporate previous measurements
# (cumulative) or not (delta).
aggregation: # delta | cumulative
# Optional: array of attributes that were defined in the attributes section that are emitted by this metric.
attributes:

0 comments on commit dfa06ab

Please sign in to comment.