Skip to content

Commit

Permalink
Copy field name constants for register_apm_alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
dgieselaar committed May 12, 2021
1 parent 2677378 commit e02fccf
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ import {
import type { ObservabilityRuleTypeRegistry } from '../../../../observability/public';
import { ENVIRONMENT_ALL } from '../../../common/environment_filter_values';
import { AlertType } from '../../../common/alert_types';
import {
SERVICE_ENVIRONMENT,
SERVICE_NAME,
TRANSACTION_TYPE,
} from '../../../common/elasticsearch_fieldnames';

// copied from elasticsearch_fieldnames.ts to limit page load bundle size
const SERVICE_ENVIRONMENT = 'service.environment';
const SERVICE_NAME = 'service.name';
const TRANSACTION_TYPE = 'transaction.type';

const format = ({
pathname,
Expand Down

0 comments on commit e02fccf

Please sign in to comment.