25370912 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 00:00.253
Run Time 00:00.006
Inserted 1h ago
Scheduled 1h ago
Completed
Cancelled
Discarded 1h ago

Args

%{
  "account_id" => "221286",
  "data" => %{
    "account_insight_agent_id" => "8f3fee2a-f842-4f7d-97ae-180caa5f8e61",
    "insights" => [
      %{
        "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 24 properties (role, rule_type_threshold_rule, savedview_category, savedview_source_logs, savedview_source_traces, sent_logs, sent_metrics, sent_traces, source, telemetry_logs_last_seen_at, telemetry_metrics_last_seen_at, telemetry_traces_last_seen_at, tenant_url, total_anomaly_based_alerts, total_dashboards_with_panel, total_logs, total_logs_based_alerts, total_logs_based_panels, total_metrics, total_metrics_based_panels, total_traces, total_traces_based_alerts, total_traces_based_panels, where_did_you_hear_about_signoz) can be hidden through Captain AI — ask it to hide them by name — or updated manually in the segment builder UI. Hiding is non-destructive — property data is retained and any property can be made visible again at any time.",
        "actions" => [
          %{
            "cta" => "Run",
            "prompt" => "Update group property 'alertmanager_channel_type' and set show_in_ui to false.",
            "title" => "Hide alertmanager_channel_type",
            "undo_prompt" => "Update group property 'alertmanager_channel_type' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property 'alert_type_metric_based_alert_count' and set show_in_ui to false.",
            "title" => "Hide alert_type_metric_based_alert_count",
            "undo_prompt" => "Update group property 'alert_type_metric_based_alert_count' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property 'alert_type_traces_based_alert_count' and set show_in_ui to false.",
            "title" => "Hide alert_type_traces_based_alert_count",
            "undo_prompt" => "Update group property 'alert_type_traces_based_alert_count' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property 'auth_token_count' and set show_in_ui to false.",
            "title" => "Hide auth_token_count",
            "undo_prompt" => "Update group property 'auth_token_count' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property 'data_region' and set show_in_ui to false.",
            "title" => "Hide data_region",
            "undo_prompt" => "Update group property 'data_region' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property 'email' and set show_in_ui to false.",
            "title" => "Hide email",
            "undo_prompt" => "Update group property 'email' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property 'familiarity_with_observability' and set show_in_ui to false.",
            "title" => "Hide familiarity_with_observability",
            "undo_prompt" => "Update group property 'familiarity_with_observability' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property 'is_free' and set show_in_ui to false.",
            "title" => "Hide is_free",
            "undo_prompt" => "Update group property 'is_free' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property 'license_plan' and set show_in_ui to false.",
            "title" => "Hide license_plan",
            "undo_prompt" => "Update group property 'license_plan' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property 'plan' and set show_in_ui to false.",
            "title" => "Hide plan",
            "undo_prompt" => "Update group property 'plan' and set show_in_ui to true."
          }
        ],
        "cta_text" => nil,
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Cleaner segment builder with only active properties",
        "finding" => "Found 34 stale group properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\nalertmanager_channel_type - [View](https://studio.appcues.com/settings/properties/group?search=alertmanager_channel_type)\n\nalert_type_metric_based_alert_count - [View](https://studio.appcues.com/settings/properties/group?search=alert_type_metric_based_alert_count)\n\nalert_type_traces_based_alert_count - [View](https://studio.appcues.com/settings/properties/group?search=alert_type_traces_based_alert_count)\n\nauth_token_count - [View](https://studio.appcues.com/settings/properties/group?search=auth_token_count)\n\ndata_region - [View](https://studio.appcues.com/settings/properties/group?search=data_region)\n\nemail - [View](https://studio.appcues.com/settings/properties/group?search=email)\n\nfamiliarity_with_observability - [View](https://studio.appcues.com/settings/properties/group?search=familiarity_with_observability)\n\nis_free - [View](https://studio.appcues.com/settings/properties/group?search=is_free)\n\nlicense_plan - [View](https://studio.appcues.com/settings/properties/group?search=license_plan)\n\nplan - [View](https://studio.appcues.com/settings/properties/group?search=plan)\n\nrole - [View](https://studio.appcues.com/settings/properties/group?search=role)\n\nrule_type_threshold_rule - [View](https://studio.appcues.com/settings/properties/group?search=rule_type_threshold_rule)\n\nsavedview_category - [View](https://studio.appcues.com/settings/properties/group?search=savedview_category)\n\nsavedview_source_logs - [View](https://studio.appcues.com/settings/properties/group?search=savedview_source_logs)\n\nsavedview_source_traces - [View](https://studio.appcues.com/settings/properties/group?search=savedview_source_traces)\n\nsent_logs - [View](https://studio.appcues.com/settings/properties/group?search=sent_logs)\n\nsent_metrics - [View](https://studio.appcues.com/settings/properties/group?search=sent_metrics)\n\nsent_traces - [View](https://studio.appcues.com/settings/properties/group?search=sent_traces)\n\nsource - [View](https://studio.appcues.com/settings/properties/group?search=source)\n\ntelemetry_logs_last_seen_at - [View](https://studio.appcues.com/settings/properties/group?search=telemetry_logs_last_seen_at)\n\ntelemetry_metrics_last_seen_at - [View](https://studio.appcues.com/settings/properties/group?search=telemetry_metrics_last_seen_at)\n\ntelemetry_traces_last_seen_at - [View](https://studio.appcues.com/settings/properties/group?search=telemetry_traces_last_seen_at)\n\ntenant_url - [View](https://studio.appcues.com/settings/properties/group?search=tenant_url)\n\ntotal_anomaly_based_alerts - [View](https://studio.appcues.com/settings/properties/group?search=total_anomaly_based_alerts)\n\ntotal_dashboards_with_panel - [View](https://studio.appcues.com/settings/properties/group?search=total_dashboards_with_panel)\n\ntotal_logs - [View](https://studio.appcues.com/settings/properties/group?search=total_logs)\n\ntotal_logs_based_alerts - [View](https://studio.appcues.com/settings/properties/group?search=total_logs_based_alerts)\n\ntotal_logs_based_panels - [View](https://studio.appcues.com/settings/properties/group?search=total_logs_based_panels)\n\ntotal_metrics - [View](https://studio.appcues.com/settings/properties/group?search=total_metrics)\n\ntotal_metrics_based_panels - [View](https://studio.appcues.com/settings/properties/group?search=total_metrics_based_panels)\n\ntotal_traces - [View](https://studio.appcues.com/settings/properties/group?search=total_traces)\n\ntotal_traces_based_alerts - [View](https://studio.appcues.com/settings/properties/group?search=total_traces_based_alerts)\n\ntotal_traces_based_panels - [View](https://studio.appcues.com/settings/properties/group?search=total_traces_based_panels)\n\nwhere_did_you_hear_about_signoz - [View](https://studio.appcues.com/settings/properties/group?search=where_did_you_hear_about_signoz)",
        "outcomes" => [],
        "priority" => "high",
        "title" => "Found 34 stale group properties to hide",
        "type" => "opportunity"
      }
    ]
  },
  "notification_id" => "e4f207c7-bbc8-4d03-8c12-4cf6ccdf5015",
  "workflow_key" => "insight-opportunity-added"
}

Meta

%{"orig_scheduled_at" => 1777559129206331, "structured" => true}

Errors

Attempt 5—1h ago

** (Knock.ApiKeyMissingError)   The api_key setting is required to make requests to Knock.
  Please configure :api_key in config.exs, set the KNOCK_API_KEY
  environment variable, or pass into a new client instance.

    (knock 0.5.0) lib/knock/client.ex:65: Knock.Client.new/1
    (customer_api 1.21.0+dd24b211) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+dd24b211) lib/customer_api/jobs/publish_notification_job.ex:93: CustomerApi.Jobs.PublishNotificationJob.do_publish/4
    (oban_pro 1.6.12) lib/oban/pro/worker.ex:1156: Oban.Pro.Worker.process/3
    (oban 2.20.3) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1
    (oban 2.20.3) lib/oban/queue/executor.ex:77: Oban.Queue.Executor.call/1
    (elixir 1.19.5) lib/task/supervised.ex:105: Task.Supervised.invoke_mfa/2
    (elixir 1.19.5) lib/task/supervised.ex:40: Task.Supervised.reply/4

Attempt 4—1h ago

** (Knock.ApiKeyMissingError)   The api_key setting is required to make requests to Knock.
  Please configure :api_key in config.exs, set the KNOCK_API_KEY
  environment variable, or pass into a new client instance.

    (knock 0.5.0) lib/knock/client.ex:65: Knock.Client.new/1
    (customer_api 1.21.0+dd24b211) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+dd24b211) lib/customer_api/jobs/publish_notification_job.ex:93: CustomerApi.Jobs.PublishNotificationJob.do_publish/4
    (oban_pro 1.6.12) lib/oban/pro/worker.ex:1156: Oban.Pro.Worker.process/3
    (oban 2.20.3) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1
    (oban 2.20.3) lib/oban/queue/executor.ex:77: Oban.Queue.Executor.call/1
    (elixir 1.19.5) lib/task/supervised.ex:105: Task.Supervised.invoke_mfa/2
    (elixir 1.19.5) lib/task/supervised.ex:40: Task.Supervised.reply/4

Attempt 3—1h ago

** (Knock.ApiKeyMissingError)   The api_key setting is required to make requests to Knock.
  Please configure :api_key in config.exs, set the KNOCK_API_KEY
  environment variable, or pass into a new client instance.

    (knock 0.5.0) lib/knock/client.ex:65: Knock.Client.new/1
    (customer_api 1.21.0+dd24b211) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+dd24b211) lib/customer_api/jobs/publish_notification_job.ex:93: CustomerApi.Jobs.PublishNotificationJob.do_publish/4
    (oban_pro 1.6.12) lib/oban/pro/worker.ex:1156: Oban.Pro.Worker.process/3
    (oban 2.20.3) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1
    (oban 2.20.3) lib/oban/queue/executor.ex:77: Oban.Queue.Executor.call/1
    (elixir 1.19.5) lib/task/supervised.ex:105: Task.Supervised.invoke_mfa/2
    (elixir 1.19.5) lib/task/supervised.ex:40: Task.Supervised.reply/4

Attempt 2—1h ago

** (Knock.ApiKeyMissingError)   The api_key setting is required to make requests to Knock.
  Please configure :api_key in config.exs, set the KNOCK_API_KEY
  environment variable, or pass into a new client instance.

    (knock 0.5.0) lib/knock/client.ex:65: Knock.Client.new/1
    (customer_api 1.21.0+dd24b211) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+dd24b211) lib/customer_api/jobs/publish_notification_job.ex:93: CustomerApi.Jobs.PublishNotificationJob.do_publish/4
    (oban_pro 1.6.12) lib/oban/pro/worker.ex:1156: Oban.Pro.Worker.process/3
    (oban 2.20.3) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1
    (oban 2.20.3) lib/oban/queue/executor.ex:77: Oban.Queue.Executor.call/1
    (elixir 1.19.5) lib/task/supervised.ex:105: Task.Supervised.invoke_mfa/2
    (elixir 1.19.5) lib/task/supervised.ex:40: Task.Supervised.reply/4

Attempt 1—1h ago

** (Knock.ApiKeyMissingError)   The api_key setting is required to make requests to Knock.
  Please configure :api_key in config.exs, set the KNOCK_API_KEY
  environment variable, or pass into a new client instance.

    (knock 0.5.0) lib/knock/client.ex:65: Knock.Client.new/1
    (customer_api 1.21.0+dd24b211) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+dd24b211) lib/customer_api/jobs/publish_notification_job.ex:93: CustomerApi.Jobs.PublishNotificationJob.do_publish/4
    (oban_pro 1.6.12) lib/oban/pro/worker.ex:1156: Oban.Pro.Worker.process/3
    (oban 2.20.3) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1
    (oban 2.20.3) lib/oban/queue/executor.ex:77: Oban.Queue.Executor.call/1
    (elixir 1.19.5) lib/task/supervised.ex:105: Task.Supervised.invoke_mfa/2
    (elixir 1.19.5) lib/task/supervised.ex:40: Task.Supervised.reply/4