Skip to content

Commit

Permalink
Update x-pack/plugins/infra/public/pages/logs/log_entry_rate/sections…
Browse files Browse the repository at this point in the history
…/anomalies/table.tsx

Co-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>
  • Loading branch information
Kerry350 and weltenwort authored Jul 13, 2020
1 parent fbf5c09 commit a2c1d2f
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -234,14 +234,13 @@ const AnomalyMessage = ({
}: {
actual: number;
typical: number;
type: string;
type: AnomalyType;
}) => {
const messageType = type === 'logRate' ? 'dataset' : 'category';
const moreThanExpectedAnomalyMessage = i18n.translate(
'xpack.infra.logs.analysis.anomaliesTableMoreThanExpectedAnomalyMessage',
{
defaultMessage: 'higher log messages in this {messageType} than expected',
values: { messageType },
defaultMessage: 'higher log messages in this {type, select, logRate {dataset}, logCategory {category}} than expected',
values: { type },
}
);

Expand Down

0 comments on commit a2c1d2f

Please sign in to comment.