Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use project monitors to add APM configuration #656

Open
ElasticViking opened this issue Nov 23, 2022 · 0 comments
Open

Use project monitors to add APM configuration #656

ElasticViking opened this issue Nov 23, 2022 · 0 comments

Comments

@ElasticViking
Copy link

ElasticViking commented Nov 23, 2022

I plan to use project monitors to add APM configuration (e.g. APM service name) and I want to see the documentation for it to be able to know which options would be available for a configuration such as the one below:

import type { SyntheticsConfig } from '@elastic/synthetics';

export default env => {
  const config: SyntheticsConfig = {
    params: {
      url: 'https://elastic.github.io/synthetics-demo/',
    },
    playwrightOptions: {
      ignoreHTTPSErrors: false,
    },
    /**
     * Configure global monitor settings
     */
    monitor: {
      schedule: 10,
      locations: ['us_west'],
      privateLocations: [''],
    },
  };
  if (env !== 'development') {
    /**
     * Override configuration specific to environment
     * Ex: config.params.url = ""
     */
  }
  return config;
};

Linking as part of the repo: #265

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant