2018-09-25 04:50:55 -05:00
|
|
|
export const mockData = () => {
|
|
|
|
return [
|
|
|
|
{
|
|
|
|
metric: {
|
|
|
|
__name__: 'prometheus_http_request_duration_seconds_bucket',
|
|
|
|
handler: '/label/:name/values',
|
|
|
|
instance: 'localhost:9090',
|
|
|
|
job: 'prometheus',
|
|
|
|
le: '+Inf',
|
|
|
|
},
|
2019-11-19 07:59:39 -06:00
|
|
|
values: [
|
|
|
|
[1537858100, '16'],
|
|
|
|
[1537861960, '1'],
|
|
|
|
[1537861980, '1'],
|
|
|
|
],
|
2018-09-25 04:50:55 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
metric: {
|
|
|
|
__name__: 'prometheus_http_request_duration_seconds_bucket',
|
|
|
|
handler: '/label/:name/values',
|
|
|
|
instance: 'localhost:9090',
|
|
|
|
job: 'prometheus',
|
|
|
|
le: '0.1',
|
|
|
|
},
|
2019-11-19 07:59:39 -06:00
|
|
|
values: [
|
|
|
|
[1537858100, '16'],
|
|
|
|
[1537861960, '1'],
|
|
|
|
[1537861980, '1'],
|
|
|
|
],
|
2018-09-25 04:50:55 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
metric: {
|
|
|
|
__name__: 'prometheus_http_request_duration_seconds_bucket',
|
|
|
|
handler: '/label/:name/values',
|
|
|
|
instance: 'localhost:9090',
|
|
|
|
job: 'prometheus',
|
|
|
|
le: '0.2',
|
|
|
|
},
|
2019-11-19 07:59:39 -06:00
|
|
|
values: [
|
|
|
|
[1537858100, '16'],
|
|
|
|
[1537861960, '1'],
|
|
|
|
[1537861980, '1'],
|
|
|
|
],
|
2018-09-25 04:50:55 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
metric: {
|
|
|
|
__name__: 'prometheus_http_request_duration_seconds_bucket',
|
|
|
|
handler: '/label/:name/values',
|
|
|
|
instance: 'localhost:9090',
|
|
|
|
job: 'prometheus',
|
|
|
|
le: '0.4',
|
|
|
|
},
|
2019-11-19 07:59:39 -06:00
|
|
|
values: [
|
|
|
|
[1537858100, '16'],
|
|
|
|
[1537861960, '1'],
|
|
|
|
[1537861980, '1'],
|
|
|
|
],
|
2018-09-25 04:50:55 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
metric: {
|
|
|
|
__name__: 'prometheus_http_request_duration_seconds_bucket',
|
|
|
|
handler: '/label/:name/values',
|
|
|
|
instance: 'localhost:9090',
|
|
|
|
job: 'prometheus',
|
|
|
|
le: '1',
|
|
|
|
},
|
2019-11-19 07:59:39 -06:00
|
|
|
values: [
|
|
|
|
[1537858100, '16'],
|
|
|
|
[1537861960, '1'],
|
|
|
|
[1537861980, '1'],
|
|
|
|
],
|
2018-09-25 04:50:55 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
metric: {
|
|
|
|
__name__: 'prometheus_http_request_duration_seconds_bucket',
|
|
|
|
handler: '/label/:name/values',
|
|
|
|
instance: 'localhost:9090',
|
|
|
|
job: 'prometheus',
|
|
|
|
le: '120',
|
|
|
|
},
|
2019-11-19 07:59:39 -06:00
|
|
|
values: [
|
|
|
|
[1537858100, '16'],
|
|
|
|
[1537861960, '1'],
|
|
|
|
[1537861980, '1'],
|
|
|
|
],
|
2018-09-25 04:50:55 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
metric: {
|
|
|
|
__name__: 'prometheus_http_request_duration_seconds_bucket',
|
|
|
|
handler: '/label/:name/values',
|
|
|
|
instance: 'localhost:9090',
|
|
|
|
job: 'prometheus',
|
|
|
|
le: '20',
|
|
|
|
},
|
2019-11-19 07:59:39 -06:00
|
|
|
values: [
|
|
|
|
[1537858100, '16'],
|
|
|
|
[1537861960, '1'],
|
|
|
|
[1537861980, '1'],
|
|
|
|
],
|
2018-09-25 04:50:55 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
metric: {
|
|
|
|
__name__: 'prometheus_http_request_duration_seconds_bucket',
|
|
|
|
handler: '/label/:name/values',
|
|
|
|
instance: 'localhost:9090',
|
|
|
|
job: 'prometheus',
|
|
|
|
le: '3',
|
|
|
|
},
|
2019-11-19 07:59:39 -06:00
|
|
|
values: [
|
|
|
|
[1537858100, '16'],
|
|
|
|
[1537861960, '1'],
|
|
|
|
[1537861980, '1'],
|
|
|
|
],
|
2018-09-25 04:50:55 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
metric: {
|
|
|
|
__name__: 'prometheus_http_request_duration_seconds_bucket',
|
|
|
|
handler: '/label/:name/values',
|
|
|
|
instance: 'localhost:9090',
|
|
|
|
job: 'prometheus',
|
|
|
|
le: '60',
|
|
|
|
},
|
2019-11-19 07:59:39 -06:00
|
|
|
values: [
|
|
|
|
[1537858100, '16'],
|
|
|
|
[1537861960, '1'],
|
|
|
|
[1537861980, '1'],
|
|
|
|
],
|
2018-09-25 04:50:55 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
metric: {
|
|
|
|
__name__: 'prometheus_http_request_duration_seconds_bucket',
|
|
|
|
handler: '/label/:name/values',
|
|
|
|
instance: 'localhost:9090',
|
|
|
|
job: 'prometheus',
|
|
|
|
le: '8',
|
|
|
|
},
|
2019-11-19 07:59:39 -06:00
|
|
|
values: [
|
|
|
|
[1537858100, '16'],
|
|
|
|
[1537861960, '1'],
|
|
|
|
[1537861980, '1'],
|
|
|
|
],
|
2018-09-25 04:50:55 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
metric: {
|
|
|
|
__name__: 'prometheus_http_request_duration_seconds_bucket',
|
|
|
|
handler: '/metrics',
|
|
|
|
instance: 'localhost:9090',
|
|
|
|
job: 'prometheus',
|
|
|
|
le: '+Inf',
|
|
|
|
},
|
2019-11-19 07:59:39 -06:00
|
|
|
values: [
|
|
|
|
[1537858060, '1195'],
|
|
|
|
[1537858080, '1195'],
|
|
|
|
[1537858100, '1195'],
|
|
|
|
],
|
2018-09-25 04:50:55 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
metric: {
|
|
|
|
__name__: 'prometheus_http_request_duration_seconds_bucket',
|
|
|
|
handler: '/metrics',
|
|
|
|
instance: 'localhost:9090',
|
|
|
|
job: 'prometheus',
|
|
|
|
le: '0.1',
|
|
|
|
},
|
2019-11-19 07:59:39 -06:00
|
|
|
values: [
|
|
|
|
[1537858060, '1195'],
|
|
|
|
[1537858080, '1195'],
|
|
|
|
[1537858100, '1195'],
|
|
|
|
],
|
2018-09-25 04:50:55 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
metric: {
|
|
|
|
__name__: 'prometheus_http_request_duration_seconds_bucket',
|
|
|
|
handler: '/metrics',
|
|
|
|
instance: 'localhost:9090',
|
|
|
|
job: 'prometheus',
|
|
|
|
le: '0.4',
|
|
|
|
},
|
2019-11-19 07:59:39 -06:00
|
|
|
values: [
|
|
|
|
[1537858060, '1195'],
|
|
|
|
[1537858080, '1195'],
|
|
|
|
[1537858100, '1195'],
|
|
|
|
],
|
2018-09-25 04:50:55 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
metric: {
|
|
|
|
__name__: 'prometheus_http_request_duration_seconds_bucket',
|
|
|
|
handler: '/metrics',
|
|
|
|
instance: 'localhost:9090',
|
|
|
|
job: 'prometheus',
|
|
|
|
le: '1',
|
|
|
|
},
|
2019-11-19 07:59:39 -06:00
|
|
|
values: [
|
|
|
|
[1537847900, '953'],
|
|
|
|
[1537858080, '1195'],
|
|
|
|
[1537858100, '1195'],
|
|
|
|
],
|
2018-09-25 04:50:55 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
metric: {
|
|
|
|
__name__: 'prometheus_http_request_duration_seconds_bucket',
|
|
|
|
handler: '/metrics',
|
|
|
|
instance: 'localhost:9090',
|
|
|
|
job: 'prometheus',
|
|
|
|
le: '120',
|
|
|
|
},
|
2019-11-19 07:59:39 -06:00
|
|
|
values: [
|
|
|
|
[1537858060, '1195'],
|
|
|
|
[1537858080, '1195'],
|
|
|
|
[1537858100, '1195'],
|
|
|
|
],
|
2018-09-25 04:50:55 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
metric: {
|
|
|
|
__name__: 'prometheus_http_request_duration_seconds_bucket',
|
|
|
|
handler: '/metrics',
|
|
|
|
instance: 'localhost:9090',
|
|
|
|
job: 'prometheus',
|
|
|
|
le: '20',
|
|
|
|
},
|
2019-11-19 07:59:39 -06:00
|
|
|
values: [
|
|
|
|
[1537858060, '1195'],
|
|
|
|
[1537858080, '1195'],
|
|
|
|
[1537858100, '1195'],
|
|
|
|
],
|
2018-09-25 04:50:55 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
metric: {
|
|
|
|
__name__: 'prometheus_http_request_duration_seconds_bucket',
|
|
|
|
handler: '/metrics',
|
|
|
|
instance: 'localhost:9090',
|
|
|
|
job: 'prometheus',
|
|
|
|
le: '3',
|
|
|
|
},
|
2019-11-19 07:59:39 -06:00
|
|
|
values: [
|
|
|
|
[1537858060, '1195'],
|
|
|
|
[1537858080, '1195'],
|
|
|
|
[1537858100, '1195'],
|
|
|
|
],
|
2018-09-25 04:50:55 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
metric: {
|
|
|
|
__name__: 'prometheus_http_request_duration_seconds_bucket',
|
|
|
|
handler: '/metrics',
|
|
|
|
instance: 'localhost:9090',
|
|
|
|
job: 'prometheus',
|
|
|
|
le: '60',
|
|
|
|
},
|
2019-11-19 07:59:39 -06:00
|
|
|
values: [
|
|
|
|
[1537858060, '1195'],
|
|
|
|
[1537858080, '1195'],
|
|
|
|
[1537858100, '1195'],
|
|
|
|
],
|
2018-09-25 04:50:55 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
metric: {
|
|
|
|
__name__: 'prometheus_http_request_duration_seconds_bucket',
|
|
|
|
handler: '/metrics',
|
|
|
|
instance: 'localhost:9090',
|
|
|
|
job: 'prometheus',
|
|
|
|
le: '8',
|
|
|
|
},
|
2019-11-19 07:59:39 -06:00
|
|
|
values: [
|
|
|
|
[1537858060, '1195'],
|
|
|
|
[1537858080, '1195'],
|
|
|
|
[1537858100, '1195'],
|
|
|
|
],
|
2018-09-25 04:50:55 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
metric: {
|
|
|
|
__name__: 'prometheus_http_request_duration_seconds_bucket',
|
|
|
|
handler: '/query',
|
|
|
|
instance: 'localhost:9090',
|
|
|
|
job: 'prometheus',
|
|
|
|
le: '+Inf',
|
|
|
|
},
|
2019-11-19 07:59:39 -06:00
|
|
|
values: [
|
|
|
|
[1537858100, '55'],
|
|
|
|
[1537861960, '1'],
|
|
|
|
[1537861980, '1'],
|
|
|
|
],
|
2018-09-25 04:50:55 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
metric: {
|
|
|
|
__name__: 'prometheus_http_request_duration_seconds_bucket',
|
|
|
|
handler: '/query',
|
|
|
|
instance: 'localhost:9090',
|
|
|
|
job: 'prometheus',
|
|
|
|
le: '0.1',
|
|
|
|
},
|
2019-11-19 07:59:39 -06:00
|
|
|
values: [
|
|
|
|
[1537858100, '55'],
|
|
|
|
[1537861960, '1'],
|
|
|
|
[1537861980, '1'],
|
|
|
|
],
|
2018-09-25 04:50:55 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
metric: {
|
|
|
|
__name__: 'prometheus_http_request_duration_seconds_bucket',
|
|
|
|
handler: '/query',
|
|
|
|
instance: 'localhost:9090',
|
|
|
|
job: 'prometheus',
|
|
|
|
le: '0.2',
|
|
|
|
},
|
2019-11-19 07:59:39 -06:00
|
|
|
values: [
|
|
|
|
[1537858100, '55'],
|
|
|
|
[1537861960, '1'],
|
|
|
|
[1537861980, '1'],
|
|
|
|
],
|
2018-09-25 04:50:55 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
metric: {
|
|
|
|
__name__: 'prometheus_http_request_duration_seconds_bucket',
|
|
|
|
handler: '/query',
|
|
|
|
instance: 'localhost:9090',
|
|
|
|
job: 'prometheus',
|
|
|
|
le: '0.4',
|
|
|
|
},
|
2019-11-19 07:59:39 -06:00
|
|
|
values: [
|
|
|
|
[1537858100, '55'],
|
|
|
|
[1537861960, '1'],
|
|
|
|
[1537861980, '1'],
|
|
|
|
],
|
2018-09-25 04:50:55 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
metric: {
|
|
|
|
__name__: 'prometheus_http_request_duration_seconds_bucket',
|
|
|
|
handler: '/query',
|
|
|
|
instance: 'localhost:9090',
|
|
|
|
job: 'prometheus',
|
|
|
|
le: '1',
|
|
|
|
},
|
2019-11-19 07:59:39 -06:00
|
|
|
values: [
|
|
|
|
[1537858100, '55'],
|
|
|
|
[1537861960, '1'],
|
|
|
|
[1537861980, '1'],
|
|
|
|
],
|
2018-09-25 04:50:55 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
metric: {
|
|
|
|
__name__: 'prometheus_http_request_duration_seconds_bucket',
|
|
|
|
handler: '/query',
|
|
|
|
instance: 'localhost:9090',
|
|
|
|
job: 'prometheus',
|
|
|
|
le: '120',
|
|
|
|
},
|
2019-11-19 07:59:39 -06:00
|
|
|
values: [
|
|
|
|
[1537858100, '55'],
|
|
|
|
[1537861960, '1'],
|
|
|
|
[1537861980, '1'],
|
|
|
|
],
|
2018-09-25 04:50:55 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
metric: {
|
|
|
|
__name__: 'prometheus_http_request_duration_seconds_bucket',
|
|
|
|
handler: '/query',
|
|
|
|
instance: 'localhost:9090',
|
|
|
|
job: 'prometheus',
|
|
|
|
le: '20',
|
|
|
|
},
|
2019-11-19 07:59:39 -06:00
|
|
|
values: [
|
|
|
|
[1537858100, '55'],
|
|
|
|
[1537861960, '1'],
|
|
|
|
[1537861980, '1'],
|
|
|
|
],
|
2018-09-25 04:50:55 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
metric: {
|
|
|
|
__name__: 'prometheus_http_request_duration_seconds_bucket',
|
|
|
|
handler: '/query',
|
|
|
|
instance: 'localhost:9090',
|
|
|
|
job: 'prometheus',
|
|
|
|
le: '3',
|
|
|
|
},
|
2019-11-19 07:59:39 -06:00
|
|
|
values: [
|
|
|
|
[1537857260, '55'],
|
|
|
|
[1537861960, '1'],
|
|
|
|
[1537861980, '1'],
|
|
|
|
],
|
2018-09-25 04:50:55 -05:00
|
|
|
},
|
|
|
|
];
|
|
|
|
};
|