[APM] Fix occurrence typo (#27571)
This commit is contained in:
parent
d03df07a68
commit
2e44885e82
|
@ -37,7 +37,7 @@ exports[`DetailView should render Discover button 1`] = `
|
|||
iconType="discoverApp"
|
||||
type="button"
|
||||
>
|
||||
View 10 occurences in Discover
|
||||
View 10 occurrences in Discover
|
||||
</EuiButtonEmpty>
|
||||
</DiscoverErrorButton>
|
||||
`;
|
||||
|
|
|
@ -136,11 +136,11 @@ export function DetailView({ errorGroup, urlParams, location }: Props) {
|
|||
<Container>
|
||||
<HeaderContainer>
|
||||
<EuiTitle size="s">
|
||||
<h3>Error occurence</h3>
|
||||
<h3>Error occurrence</h3>
|
||||
</EuiTitle>
|
||||
<DiscoverErrorButton error={error} kuery={urlParams.kuery}>
|
||||
<EuiButtonEmpty iconType="discoverApp">
|
||||
{`View ${occurrencesCount} occurences in Discover`}
|
||||
{`View ${occurrencesCount} occurrences in Discover`}
|
||||
</EuiButtonEmpty>
|
||||
</DiscoverErrorButton>
|
||||
</HeaderContainer>
|
||||
|
|
|
@ -94,7 +94,7 @@ export async function getErrorGroups({
|
|||
params.body.query.bool.filter.push(esFilterQuery);
|
||||
}
|
||||
|
||||
// sort buckets by last occurence of error
|
||||
// sort buckets by last occurrence of error
|
||||
if (sortField === 'latestOccurrenceAt') {
|
||||
params.body.aggs.error_groups.terms.order = {
|
||||
max_timestamp: sortDirection
|
||||
|
|
Loading…
Reference in a new issue