mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-29 22:51:36 -08:00
React: Clean up formatting
Signed-off-by: beorn7 <beorn@grafana.com>
This commit is contained in:
parent
23675cad16
commit
9cfc78814e
|
@ -91,14 +91,14 @@ describe('DataTable', () => {
|
|||
histogram: [
|
||||
1572098246.599,
|
||||
{
|
||||
"count": "10",
|
||||
"sum": "3.3",
|
||||
"buckets": [
|
||||
[ 1, "-1", "-0.5", "2"],
|
||||
[ 3, "-0.5", "0.5", "3"],
|
||||
[ 0, "0.5", "1", "5"],
|
||||
]
|
||||
}
|
||||
count: '10',
|
||||
sum: '3.3',
|
||||
buckets: [
|
||||
[1, '-1', '-0.5', '2'],
|
||||
[3, '-0.5', '0.5', '3'],
|
||||
[0, '0.5', '1', '5'],
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
|
@ -110,13 +110,13 @@ describe('DataTable', () => {
|
|||
histogram: [
|
||||
1572098247.599,
|
||||
{
|
||||
"count": "5",
|
||||
"sum": "1.11",
|
||||
"buckets": [
|
||||
[ 0, "0.5", "1", "2"],
|
||||
[ 0, "1", "2", "3"],
|
||||
]
|
||||
}
|
||||
count: '5',
|
||||
sum: '1.11',
|
||||
buckets: [
|
||||
[0, '0.5', '1', '2'],
|
||||
[0, '1', '2', '3'],
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
|
@ -125,7 +125,6 @@ describe('DataTable', () => {
|
|||
label1: 'value_1',
|
||||
labeln: 'value_n',
|
||||
},
|
||||
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
|
@ -5,9 +5,9 @@ export interface Metric {
|
|||
}
|
||||
|
||||
export interface Histogram {
|
||||
count: string;
|
||||
sum: string;
|
||||
buckets: [number, string, string, string][];
|
||||
count: string;
|
||||
sum: string;
|
||||
buckets: [number, string, string, string][];
|
||||
}
|
||||
|
||||
export interface Exemplar {
|
||||
|
|
Loading…
Reference in a new issue