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

Ability to set custom processors #750

Open
BenB196 opened this issue Apr 25, 2023 · 0 comments
Open

Ability to set custom processors #750

BenB196 opened this issue Apr 25, 2023 · 0 comments

Comments

@BenB196
Copy link

BenB196 commented Apr 25, 2023

If you try to set custom processors today, you will get an error saying they're unsupported.

heartbeat.monitors:
  - type: icmp
    name: google.com
    id: google.com
    enabled: true
    hosts:
      - "google.com."
    schedule: "@every 20s"
    processors:
      - add_fields:
          target: host
          fields:
            type: "website"

And run the command

npx @elastic/synthetics push

You will get the error message:

✖ Error
   > Unsupported Heartbeat option: monitor(tstrtr01.heroes.bayada.com)
       The following Heartbeat options are not supported for icmp project monitors in 8.6.2: processors. You monitor was not created or updated.

Use Case

Today, the Synthetics app is very limited in functionality, and extremely limited in the ability to set metadata on monitors. Without the ability to set custom metadata on monitors, the usability of this feature is extremely limited, and often requires reverting back to legacy implementation. Processors allow for the ability to set this metadata as the user desires.

(Note: I've considered using Elasticsearch ingest pipelines to add this metadata, however it is not a scalable solution when you have several thousand monitors running several times a minute)

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