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] Monitor reports as summary up: 1 when monitor.status is down and 0 steps ran #33374

Closed
dominiqueclarke opened this issue Oct 17, 2022 · 1 comment · Fixed by #33819
Assignees
Labels
bug Heartbeat Team:obs-ds-hosted-services Label for the Observability Hosted Services team v8.6.0

Comments

@dominiqueclarke
Copy link

I encountered an issue where my monitors were reported as up, despite being down. The resulting heartbeat docs didn't not seem to agree with each other.

Exampe document

{
        "_index": ".ds-synthetics-browser-default-2022.10.17-000001",
        "_id": "klOc54MBl6I9fYHeUTuM",
        "_score": 0,
        "_source": {
          "summary": {
            "up": 1,
            "down": 0
          },
          "agent": {
            "name": "cron-73d66e3e6f7e023e-27767302-vqpvx",
            "id": "376c98ad-ab84-41f9-b019-fbe3d1583ec2",
            "type": "heartbeat",
            "ephemeral_id": "4840234c-936b-4dd6-8e23-1b2eb92195d9",
            "version": "8.4.0"
          },
          "synthetics": {
            "type": "heartbeat/summary"
          },
          "monitor": {
            "origin": "project",
            "name": "staging-8.4.2-ICMP-Create-monitor",
            "project": {
              "name": "synthetics",
              "id": "synthetics"
            },
            "id": "staging-8.4.2-ICMP-Create-monitor-synthetics-default",
            "check_group": "5c0e0386-4e59-11ed-a5e6-2691f1ce5b5b",
            "timespan": {
              "lt": "2022-10-17T20:32:03.629Z",
              "gte": "2022-10-17T20:22:03.629Z"
            },
            "type": "browser",
            "status": "down"
          },
          "error": {
            "type": "io",
            "message": "journey did not finish executing, 0 steps ran: %!w(<nil>)"
          },
          "url": {},
          "tags": [
            "feature",
            "cloud"
          ],
          "observer": {
            "geo": {
              "continent_name": "North America",
              "city_name": "Oregon",
              "country_iso_code": "US",
              "name": "North America - US West",
              "location": "44.000000, -120.500000"
            },
            "hostname": "cron-73d66e3e6f7e023e-27767302-vqpvx",
            "ip": [
              "10.2.0.10"
            ],
            "mac": [
              "26:91:f1:ce:5b:5b"
            ]
          },
          "@timestamp": "2022-10-17T20:22:03.629Z",
          "ecs": {
            "version": "8.0.0"
          },
          "config_id": "c1701c10-4e55-11ed-b398-6faa120a5004",
          "data_stream": {
            "namespace": "default",
            "type": "synthetics",
            "dataset": "browser"
          },
          "event": {
            "agent_id_status": "auth_metadata_missing",
            "ingested": "2022-10-17T20:22:04Z",
            "type": "heartbeat/summary",
            "dataset": "browser"
          }
        }
      },

This monitor was generated from the internal synthetics stack e2e repo. It's probably best to attempt to recreate with those monitors. Feel free to reach out to me for more info.

@dominiqueclarke dominiqueclarke added bug Heartbeat Team:obs-ds-hosted-services Label for the Observability Hosted Services team v8.6.0 labels Oct 17, 2022
@elasticmachine
Copy link
Collaborator

Pinging @elastic/uptime (Team:Uptime)

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

Successfully merging a pull request may close this issue.

3 participants