Skip to content

[9.2](backport #48292) stop the autoops agent when it gets unauth error#48351

Merged
elasticblr merged 2 commits into
9.2from
mergify/bp/9.2/pr-48292
Jan 10, 2026
Merged

[9.2](backport #48292) stop the autoops agent when it gets unauth error#48351
elasticblr merged 2 commits into
9.2from
mergify/bp/9.2/pr-48292

Conversation

@mergify

@mergify mergify Bot commented Jan 8, 2026

Copy link
Copy Markdown
Contributor

Added the stop autoops agent logic when its credentials and deployment URL are not valid to fetch the metrics from the Elasticsearch cluster

Proposed commit message

Added the panic logic in the Autoops agent when its credentials are not valid to fetch the metrics from the Elasticsearch cluster

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation

Disruptive User Impact

None. Added more resiliency to the Autoops agent, by stopping it when it doesn't have the valid credentials

Author's Checklist

  • Ensure the agent starts with and without CCM configured.

How to test this PR locally

Run the Agent against both CCM and ECS environment

Use cases


This is an automatic backport of pull request #48292 done by [Mergify](https://mergify.com).

Added the panic logic in the Autoops agent when its credentials are not valid to fetch the metrics from the Elasticsearch cluster.

(cherry picked from commit 568454d)
@mergify mergify Bot added the backport label Jan 8, 2026
@mergify mergify Bot requested review from a team as code owners January 8, 2026 19:49
@mergify mergify Bot added the backport label Jan 8, 2026
@mergify mergify Bot requested review from khushijain21 and orestisfl and removed request for a team January 8, 2026 19:49
@botelastic botelastic Bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jan 8, 2026
@github-actions

github-actions Bot commented Jan 8, 2026

Copy link
Copy Markdown
Contributor

🤖 GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@botelastic botelastic Bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Jan 8, 2026
@elasticblr elasticblr enabled auto-merge (squash) January 9, 2026 03:55
@elasticblr elasticblr merged commit 3a052b2 into 9.2 Jan 10, 2026
37 of 38 checks passed
@elasticblr elasticblr deleted the mergify/bp/9.2/pr-48292 branch January 10, 2026 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants