Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Commit

Permalink
Merge pull request #12 from bogdandrutu/fixcomments
Browse files Browse the repository at this point in the history
Update comments to the current MetricType
  • Loading branch information
benkeith-splunk authored Feb 4, 2022
2 parents cee4991 + 09105f4 commit da08586
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions proto/signalfx_metrics.proto
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,20 @@ option (gogoproto.sizer_all) = true;
option (gogoproto.goproto_registration) = true;

enum MetricType {
/**
* Numerical: Periodic, instantaneous measurement of some state.
*/
// Periodic, instantaneous numerical measurement of some state.
GAUGE = 0;
/**
* Numerical: Count of occurrences. Generally non-negative integers.
*/

// Counts of occurrences since last report. Generally non-negative integers.
COUNTER = 1;
/**
* String: Used for non-continuous quantities (that is, measurements where there is a fixed
* set of meaningful values). This is essentially a special case of gauge.
*/

// Used for non-continuous quantities (that is, measurements where there is a fixed
// set of meaningful values). This is essentially a special case of gauge that reports a string value.
ENUM = 2;
/**
* Tracks a value that increases over time, where only the difference is important.
*/

// Tracks a value that increases over time, where only the difference is important.
//
// Counts of occurrences since since a fixed start time. This means that the current value
// depends on all previous measurements since the start time.
CUMULATIVE_COUNTER = 3;
}

Expand Down

0 comments on commit da08586

Please sign in to comment.