Skip to content

Commit

Permalink
[Uptime] Update heartbeat index name for 7.7 (#62172)
Browse files Browse the repository at this point in the history
* update index name

* update test
  • Loading branch information
shahzad31 authored Apr 2, 2020
1 parent ba395d3 commit 866dc65
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
*/

export const INDEX_NAMES = {
HEARTBEAT: 'heartbeat*',
HEARTBEAT: 'heartbeat-7*',
};
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ export type DynamicSettings = t.TypeOf<typeof DynamicSettingsType>;
export type DynamicSettingsSaveResponse = t.TypeOf<typeof DynamicSettingsSaveType>;

export const defaultDynamicSettings: DynamicSettings = {
heartbeatIndices: 'heartbeat*',
heartbeatIndices: 'heartbeat-7*',
};

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ describe('getMonitorStatus', () => {
},
"size": 0,
},
"index": "heartbeat*",
"index": "heartbeat-7*",
}
`);
});
Expand Down Expand Up @@ -288,7 +288,7 @@ describe('getMonitorStatus', () => {
},
"size": 0,
},
"index": "heartbeat*",
"index": "heartbeat-7*",
}
`);
});
Expand Down Expand Up @@ -390,7 +390,7 @@ describe('getMonitorStatus', () => {
},
"size": 0,
},
"index": "heartbeat*",
"index": "heartbeat-7*",
}
`);

Expand Down

0 comments on commit 866dc65

Please sign in to comment.