Skip to content

Commit

Permalink
Include new stack_monitoring infix in healthcheck dataset name
Browse files Browse the repository at this point in the history
  • Loading branch information
matschaffer committed Sep 6, 2022
1 parent f8d1a09 commit 296cb0d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import { TimeRange } from '../../../../../../common/http_api/shared';

const MAX_BUCKET_SIZE = 100;

const getDataset = (product: string) => (metricset: string) => `${product}.${metricset}`;
const getDataset = (product: string) => (metricset: string) =>
`${product}.stack_monitoring.${metricset}`;
const getElasticsearchDataset = getDataset('elasticsearch');
const getKibanaDataset = getDataset('kibana');
const getLogstashDataset = getDataset('logstash');
Expand Down

0 comments on commit 296cb0d

Please sign in to comment.