Skip to content

Commit

Permalink
chore: creating new metric kind
Browse files Browse the repository at this point in the history
  • Loading branch information
obecny committed Jun 4, 2020
1 parent dadcad7 commit 8c0679e
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, // deprecated
SUM_OBSERVER,
UP_DOWN_SUM_OBSERVER,
VALUE_OBSERVER,
}

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

0 comments on commit 8c0679e

Please sign in to comment.