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

[Heartbeat] Edited Synthetics Integration policies sometimes create duplicate monitor errors #28518

Closed
dominiqueclarke opened this issue Oct 18, 2021 · 3 comments
Assignees
Labels
bug Team:obs-ds-hosted-services Label for the Observability Hosted Services team v8.0.0 v8.1.0

Comments

@dominiqueclarke
Copy link

For confirmed bugs, please report:

  • Version: Elastic Agent 8.0.0, Heartbeat 8.0.0
  • Operating System: MacOS
  • Discuss Forum URL:
  • Steps to Reproduce: This bug is intermittent. To attempt to recreate, start the Elastic stack with elastic-package stack up --version 8.0.0-SNAPSHOT -v. Log in to Kibana at localhost:5601. Create an Elastic Synthetics policy, and wait for Uptime data to be indexed by heartbeat. Return to Fleet and edit the policy. Occasionally, editing the policy will create the following error in elastic agent's heartbeat logs, and data will stop being indexed.
13:43:14.904
elastic_agent.heartbeat
[elastic_agent.heartbeat][error] Error creating runner from config: monitor ID 90639f1a-094a-45cb-9fdc-62982ee67e82 is configured for multiple monitors! IDs must be unique values.
13:43:14.904
elastic_agent.heartbeat
[elastic_agent.heartbeat][error] 1 error: Error creating runner from config: monitor ID 90639f1a-094a-45cb-9fdc-62982ee67e82 is configured for multiple monitors! IDs must be unique values.
@dominiqueclarke dominiqueclarke added bug Team:obs-ds-hosted-services Label for the Observability Hosted Services team v8.0.0 v7.16.0 labels Oct 18, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/uptime (Team:Uptime)

andrewvc added a commit to andrewvc/beats that referenced this issue Nov 3, 2021
Fixes elastic#28518 most likely, it's one I haven't personally been able to
repro. This makes the runner list synchronous, thus preventing rapid
adds/removes from creating simultaneously live plugins of the same type.

There's definitely ways to do this more concurrently, but that sort of
optimization/complexity isn't warranted here. Heartbeat can tear down
monitors near instantaneously.
@paulb-elastic
Copy link
Contributor

This will be targetting 7.16.1, not 7.16.0

@andrewvc
Copy link
Contributor

This has been fixed in #29041

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Team:obs-ds-hosted-services Label for the Observability Hosted Services team v8.0.0 v8.1.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants