Skip to content

Commit

Permalink
generic metric values
Browse files Browse the repository at this point in the history
  • Loading branch information
fgimenez committed Jun 17, 2020
1 parent 028f510 commit 5db2174
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,8 @@ export enum InstantResultType {
String = 'string'
}

export enum MetricField {
Name = '__name__',
Job = 'job',
Instance = 'instance'
}

export type Metric = {
[field in MetricField]: string;
[labelName: string]: string;
}

export type Value = [number, string];
Expand Down

0 comments on commit 5db2174

Please sign in to comment.