Skip to content

Commit

Permalink
chore: creating new metric kind (#1145)
Browse files Browse the repository at this point in the history
* chore: creating new metric kind

* chore: adding todo to remove observer kind later
  • Loading branch information
obecny authored Jun 6, 2020
1 parent 121b03d commit a655d2b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/opentelemetry-metrics/src/export/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@ import { Resource } from '@opentelemetry/resources';
/** The kind of metric. */
export enum MetricKind {
COUNTER,
UP_DOWN_COUNTER,
VALUE_RECORDER,
OBSERVER,
OBSERVER, // @TODO remove later #1146
SUM_OBSERVER,
UP_DOWN_SUM_OBSERVER,
VALUE_OBSERVER,
}

/** Sum returns an aggregated sum. */
Expand Down

0 comments on commit a655d2b

Please sign in to comment.